diff options
author | Alan Modra <amodra@gmail.com> | 2023-12-04 08:48:34 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-12-05 13:00:34 +1030 |
commit | 21a2a3d567a2af583768b5f614403e65611c58a5 (patch) | |
tree | 4eedce742fd996ec862069695b9abee0ec8d3b3b /sim/ppc | |
parent | 9d0b2b5daf40ed8eb3d77b94c998b1ffdcb4173d (diff) | |
download | binutils-21a2a3d567a2af583768b5f614403e65611c58a5.zip binutils-21a2a3d567a2af583768b5f614403e65611c58a5.tar.gz binutils-21a2a3d567a2af583768b5f614403e65611c58a5.tar.bz2 |
aarch64-elf: FAIL: indirect call stub to BTI stub relaxation
aarch64-elf fails the ld-aarch64/bfd-far-3.d test, due to the stubs
being emitted in a different order to that of aarch64-linux. They are
emitted in a different order due to stub names for local symbols
having the section id in the stub name. aarch64-linux-ld generates
one more section than aarch64-elf-ld. That section is .gnu.hash. So
the stub names differ and are hashed to different slots in
stub_hash_table.
Fix this by running the test with --hash-style=sysv, and adjust
expected output. I've also changed the branch over stubs emitted at
the start of a group of stubs to not care about the symbol, for all
groups not just the one that needed changing.
* ld-aarch64/bti-far-3.d: Add --hash-style=sysv. Adjust
expected output.
Diffstat (limited to 'sim/ppc')
0 files changed, 0 insertions, 0 deletions