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 /ld/ChangeLog | |
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 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 4df91b7..0f36d6c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,13 @@ 2019-04-10 Alan Modra <amodra@gmail.com> + * 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. + +2019-04-10 Alan Modra <amodra@gmail.com> + * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em. (ecskyelf_linux.c): Depend on cskyelf.sh. (eelf32microblazeel.c): Depend on elf32microblaze.sh. |