diff options
author | Alan Modra <amodra@gmail.com> | 2019-04-10 11:58:15 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-04-10 13:30:32 +0930 |
commit | 53b81c6de19a1f89e3c797631e72d05ba41444dc (patch) | |
tree | b6bb3e21aa731f82ab8fc369ba3b278da27e1a0e /libiberty/simple-object.txh | |
parent | c55b17b8098abde4ae7dfe0ec1f3b22a7fb0a34d (diff) | |
download | gdb-53b81c6de19a1f89e3c797631e72d05ba41444dc.zip gdb-53b81c6de19a1f89e3c797631e72d05ba41444dc.tar.gz gdb-53b81c6de19a1f89e3c797631e72d05ba41444dc.tar.bz2 |
cskyelf.em branch stub handling
This fixes the csky-elf ld-elf/pr21884 and ld-unique/pr21529 failures,
by disabling branch stubs for binary (and other non-csky) output.
The csky-linux target gets branch stubs off by default because
presumably there are reasons why branch stubs were disabled, but
rather than killing the support completely it can be enabled by
--branch-stub.
* emultempl/cskyelf.em (csk_elf_before_parse): New function,
setting use_branch_stub false for linux.
(csky_elf_create_output_section_statements): Do emit this
function and all others in the file for linux, plus the branch
option control. Disable branch stubs when non-ELF.
Diffstat (limited to 'libiberty/simple-object.txh')
0 files changed, 0 insertions, 0 deletions