This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I didn't realize I needed an additional setting in the linker emulation template to get linker scripts for PIE. The ones for shared libs were working fine, but I guess we'd better have it right, since PIE is fully supported. As for the regression, the patch Jakub installed on May 11 removed the dynamic index used for the .got section, but FRV FDPIC needs every section referenced in dynamic relocations to have a dynamic index. *ABS* relocations won't do, because segments relocate independently. 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?
Attachment:
frv-ld-pie-linker-script.patch.bz2
Description: BZip2 compressed data
-- Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org} Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |