diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-03-26 08:22:08 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-03-26 08:22:55 -0700 |
commit | b19a8f8545100a08ee2a64c05631aff6f651faa1 (patch) | |
tree | a1400638db4f72f3359a2c20932b58a2d607dbcf /zlib | |
parent | 20d35291fb30a2fa5de46af56887f9bc4da7e53e (diff) | |
download | gdb-b19a8f8545100a08ee2a64c05631aff6f651faa1.zip gdb-b19a8f8545100a08ee2a64c05631aff6f651faa1.tar.gz gdb-b19a8f8545100a08ee2a64c05631aff6f651faa1.tar.bz2 |
Skip gc-sections if relocation is incompatible
This patch skips gc-sections if input relocation is incompatible with
output.
bfd/
PR ld/18160
* elflink.c (elf_gc_sweep): Skip if relocation is incompatible.
(bfd_elf_gc_sections): Likewise.
ld/testsuite/
PR ld/18160
* ld-x86-64/pr18160.d: New file.
* ld-x86-64/pr18160.s: Likewise.
* ld-x86-64/pr18160.t: Likewise.
* ld-x86-64/x86-64.exp: Run pr18160.
Diffstat (limited to 'zlib')
0 files changed, 0 insertions, 0 deletions