[Patch, AArch64] Fix ld ifunc test failures in aarch64-*-elf
Yufeng Zhang
Yufeng.Zhang@arm.com
Fri Jun 14 13:24:00 GMT 2013
The patch fixes the failures of the ld ifunc tests in aarch64-*-elf.
The failures are due to two reasons:
1. the expected dump contains hard-coded immediate offsets that seem to
be from the linux-gnu environment.
2. the change to emulparams/aarch64elf.sh of adding IREL_IN_PLT seems to
be forgotten to commit; this causes the mismatch of relocation section
name (.rela.plt versus .rela.dyn). This missing change was mentioned in
the changelog entry for the original ifunc patch.
OK for the trunk?
Thanks,
Yufeng
ld/
* emulparams/aarch64elf.sh: Add IREL_IN_PLT.
ld/testsuite/
* ld-aarch64/ifunc-1-local.d: Replace hard-coded immediate offset
with regexp.
* ld-aarch64/ifunc-1.d: Likewise.
* ld-aarch64/ifunc-2-local.d: Likewise.
* ld-aarch64/ifunc-2.d: Likewise.
* ld-aarch64/ifunc-3a.d: Likewise.
* ld-aarch64/ifunc-2-local.s: Change not to declare __GI_foo and foo
global.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-ifunc-failures.patch
Type: text/x-patch
Size: 3008 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20130614/6e758d3e/attachment.bin>
More information about the Binutils
mailing list