diff options
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/strip.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 835888da..e5b3b202 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2016-08-25 Mark Wielaard <[email protected]> + + * strip.c (handle_elf): Recompress with ELF_CHF_FORCE. + 2016-08-06 Mark Wielaard <[email protected]> * strip.c (handle_elf): Uncompress and recompress relocation target diff --git a/src/strip.c b/src/strip.c index f56554f7..da093e97 100644 --- a/src/strip.c +++ b/src/strip.c @@ -1986,7 +1986,7 @@ handle_elf (int fd, Elf *elf, const char *prefix, const char *fname, gelf_update_shdr (scn, shdr); if (tcompress_type != 0) - if (elf_compress (tscn, tcompress_type, 0) != 1) + if (elf_compress (tscn, tcompress_type, ELF_CHF_FORCE) != 1) INTERNAL_ERROR (fname); } } |
