diff options
author | Christophe Lyon <christophe.lyon@arm.com> | 2023-01-02 15:46:31 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@arm.com> | 2023-01-09 16:51:53 +0100 |
commit | 2b70b1b838388cc4186933a724eccd0be6b2a955 (patch) | |
tree | 69036d38b22879b05c0edbf1bb07b20caa97b434 /bfd/elf32-cr16.h | |
parent | 4004cf83310e7f8e4cc699261cb69a8fbf6c4dda (diff) | |
download | gdb-2b70b1b838388cc4186933a724eccd0be6b2a955.zip gdb-2b70b1b838388cc4186933a724eccd0be6b2a955.tar.gz gdb-2b70b1b838388cc4186933a724eccd0be6b2a955.tar.bz2 |
Fix PR18841 ifunc relocation ordering
In order to get the ifunc relocs properly sorted the correct class
needs to be returned. The code mimics what has been done for AArch64.
Fixes:
FAIL: Run pr18841 with libpr18841b.so
FAIL: Run pr18841 with libpr18841c.so
FAIL: Run pr18841 with libpr18841bn.so (-z now)
FAIL: Run pr18841 with libpr18841cn.so (-z now)
bfd/
PR ld/18841
* elf32-arm.c (elf32_arm_reloc_type_class): Return
reloc_class_ifunc for ifunc symbols.
ld/testsuite/
* ld-arm/ifunc-12.rd: Update relocations order.
* ld-arm/ifunc-3.rd: Likewise.
* ld-arm/ifunc-4.rd: Likewise.
Diffstat (limited to 'bfd/elf32-cr16.h')
0 files changed, 0 insertions, 0 deletions