pie for frv-uclinux, and fix regression in .got dynamic relocations
Nick Clifton
nickc@redhat.com
Mon Jun 21 14:14:00 GMT 2004
Hi Alex,
(Sorry for the long delay...)
> This patch introduces an entry point in the elf backend data structure
> that enables a BFD to override Jakub's default implementation with
> something that makes sense for the target, and adds such an overrider
> for FRV FDPIC. It does the right thing now.
>
> I've also update the fdpic tests with the current results and verified
> that they look reasonable. They were a mess before :-(
>
> Ok to install?
Approved - please apply.
Cheers
Nick
> Index: bfd/ChangeLog
> from Alexandre Oliva <aoliva@redhat.com>
>
> * elf-bfd.h (struct elf_backend_data): Added
> elf_backend_omit_section_dynsym.
> (_bfd_elf_link_omit_section_dynsym): Declare.
> * elf32-frv.c (_frvfdpic_link_omit_section_dynsym): New.
> (elf_backend_omit_section_dynsym): Use it for frvfdpic.
> * elflink.c (_bfd_elf_link_omit_section_dynsym): Split out of...
> (_bfd_elf_link_renumber_dynsyms): ... this function.
> * elfxx-target.h (elf_backend_omit_section_dynsym): Default to
> _bfd_elf_link_omit_section_dynsym).
> (elfNN_bed): Added elf_backend_omit_section_dynsym.
>
> Index: ld/ChangeLog
> from Alexandre Oliva <aoliva@redhat.com>
>
> * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
>
> Index: ld/testsuite/ChangeLog
> from Alexandre Oliva <aoliva@redhat.com>
>
> * ld-frv/fdpic-pie-1.d: Adjust for pie-specific link script.
> * ld-frv/fdpic-pie-2.d: Likewise.
> * ld-frv/fdpic-pie-6.d: Likewise.
> * ld-frv/fdpic-pie-7.d: Likewise.
> * ld-frv/fdpic-pie-8.d: Likewise.
> * ld-frv/fdpic-shared-1.d: Likewise.
> * ld-frv/fdpic-shared-2.d: Likewise.
> * ld-frv/fdpic-shared-3.d: Likewise.
> * ld-frv/fdpic-shared-4.d: Likewise.
> * ld-frv/fdpic-shared-5.d: Likewise.
> * ld-frv/fdpic-shared-6.d: Likewise.
> * ld-frv/fdpic-shared-7.d: Likewise.
> * ld-frv/fdpic-shared-8.d: Likewise.
> * ld-frv/fdpic-shared-local-2.d: Likewise.
> * ld-frv/fdpic-shared-local-8.d: Likewise.
More information about the Binutils
mailing list