diff options
author | Alan Modra <amodra@gmail.com> | 2014-02-12 21:04:32 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-02-12 22:10:09 +1030 |
commit | 9f7552cff4367fc58246f72223d7a1de84c660b7 (patch) | |
tree | a37cb13f33379a021514dd739f7a5301d3634e85 /bfd/aout32.c | |
parent | 795bc6b3eac9e3f80279df69c05d70fc44eaaa4c (diff) | |
download | gdb-9f7552cff4367fc58246f72223d7a1de84c660b7.zip gdb-9f7552cff4367fc58246f72223d7a1de84c660b7.tar.gz gdb-9f7552cff4367fc58246f72223d7a1de84c660b7.tar.bz2 |
Fix bad interaction between --relax and tls optimisation
Adding long-branch stubs for __tls_get_addr calls that are optimised
away is silly. It also causes assertion failures on newer object files
that use R_PPC_TLSGD and R_PPC_TLSLD marker relocs, and half-optimised
(ie. broken) code for older object files.
PR 16546
* elf32-ppc.c (ppc_elf_relax_section): Don't build long-branch
stubs for calls to __tls_get_addr that we know will later be
optimised away.
Diffstat (limited to 'bfd/aout32.c')
0 files changed, 0 insertions, 0 deletions