This is the mail archive of the binutils@sourceware.org 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]

Re: Allow copy relocations with pie links


> All changes done and new patch attached.  Tested *only* for x86_64.
> Appreciate help in testing  other targets.

I ran the i386 tests. David, Alan, Walt, and Doug, can you help test
this patch on your respective targets?

-cary

> * symtab.h (may_need_copy_reloc): Remove check for position independent
> code.
> * x86_64.cc (Target_x86_64<size>::Scan::global): Add check for no
> position independence before pc absolute may_need_copy_reloc call.
> Add check for executable output befor pc relative may_need_copy_reloc
> call.
> * i386.cc: Ditto.
> * arm.cc: Ditto.
> * sparc.cc: Ditto.
> * powerpc.cc: Ditto.
> * tilegx.cc: Ditto.
> * testsuite/pie_copyrelocs_test.cc: New file.
> * testsuite/pie_copyrelocs_shared_test.cc: New file.
> * Makefile.am (pie_copyrelocs_test): New test.
> * Makefile.in: Regenerate.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]