aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-07-20 09:52:35 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-07-20 09:58:45 -0700
commitd5f4da5e334dc4d87d7751a816c15d2bf4db3d43 (patch)
tree70f6e200b0b9df1cd0f892ccccf72da086c5a2d9 /sim
parent2d38991535ecfcd092f3c57da84844efc3d49877 (diff)
downloadgdb-d5f4da5e334dc4d87d7751a816c15d2bf4db3d43.zip
gdb-d5f4da5e334dc4d87d7751a816c15d2bf4db3d43.tar.gz
gdb-d5f4da5e334dc4d87d7751a816c15d2bf4db3d43.tar.bz2
ld: Discard .rel.* and .rela.* sections
On many targets, like x86, .rel.dyn/.rela.dyn section is combined from different .rel/.rela sections by -z combreloc. To discard dynamic relocation section, we need to discard .rel.* and .rela.* sections instead of .rel.dyn and .rela.dyn sections. Note: This test fails for targets which issue a warning when dynamic section is discarded. * testsuite/ld-elf/reloc-discard.ld: Discard .rel.* and .rela.* sections instead of .rel.dyn and .rela.dyn sections.
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions