diff options
| author | Mark Wielaard <[email protected]> | 2016-08-06 15:13:19 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2016-08-15 09:58:09 +0200 |
| commit | 6ff6c215bfa4153874751cdc0bae26acfbba4a81 (patch) | |
| tree | d66b9e7fd602ed1733cca45dcfab8edd05425b00 /src/ChangeLog | |
| parent | a8b2529facfbabfe4c8a0ca1a4387fe482d1c955 (diff) | |
strip: Handle compressed relocation target sections.
binutils 2.27 assembler will create compressed sections for x86 ELF
targets. The linker will decompress them again and it doesn't do this
for any other target. This broke one of the run-strip-reloc.sh self tests.
Fix by checking if the target of a relocation section is compressed and
first decompressing it before applying relocations and then compressing
again if necessary.
Add explicit testcases for compressed and uncompressed ET_REL files
to run-strip-reloc.sh.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e5a3fce3..835888da 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2016-08-06 Mark Wielaard <[email protected]> + + * strip.c (handle_elf): Uncompress and recompress relocation target + section if necessary. + 2016-07-08 Mark Wielaard <[email protected]> * Makefile.am (strip_LDADD): Add libdw. |
