PowerPC64 DT_RELR
Fangrui Song
i@maskray.me
Wed Mar 9 01:25:08 GMT 2022
More information about the Binutils mailing list
Wed Mar 9 01:25:08 GMT 2022
- Previous message (by thread): PowerPC64 DT_RELR relative reloc addresses
- Next message (by thread): PowerPC64 DT_RELR
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Mar 2, 2022 at 12:41 AM Alan Modra via Binutils <binutils@sourceware.org> wrote: > > I had a look today at DT_RELR again, and found I need to do some work > in the linker. Just keeping addresses of relative relocs isn't > enough, because data addresses can change between ppc64_elf_size_stubs > and ppc64_elf_build_stubs. Anyway, the reason for the email is to > inform anyone playing with DT_RELR on powerpc64 that the current > support is definitely experimental! Also, you might like to apply the > attached patch to gitlab.com/x86-glibc/glibc users/hjl/relr/master > branch. glibc regressions went from 574 to 17. > > -- > Alan Modra > Australia Development Lab, IBM Thanks for testing it on PowerPC. It seems cleaner to fold 0006-elf-ELF_DYNAMIC_RELOCATE-order-relr-before-rel-rela.patch into patch 1. I adjusted my https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/maskray/relr H.J. may adjust https://sourceware.org/pipermail/libc-alpha/2022-March/136783.html ("[PATCH v5 1/5] elf: Support DT_RELR relative relocation format [BZ #27924]") HJ's series looks good to me (https://sourceware.org/pipermail/libc-alpha/2022-March/136784.html).
- Previous message (by thread): PowerPC64 DT_RELR relative reloc addresses
- Next message (by thread): PowerPC64 DT_RELR
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list