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] |
Hi, This patch added a -z nocopyreloc option for compatiblity with ld. Tested on x86_64 with no regression. -Doug 2009-09-30 Doug Kwan <dougkwan@google.com> * copy-relocs.cc (Copy_relocs::need_copy_reloc): Return false if -z nocopyreloc is given in command line. (Copy_relocs::emit_copy_reloc): Assert that -z nocopyreloc is not given in command line. * options.h (-z nocopyreloc): New option. * arm.cc (Target_arm::may_need_copy_reloc): Return false if -z nocopyreloc is given in command line. * i386.cc (Target_i386::may_need_copy_reloc): Ditto. * powerpc.cc (Target_powerpc::may_need_copy_reloc): Ditto. * sparc.cc (Target_powerpc::may_need_copy_reloc): Ditto. * x86_64.cc (Target_x86_64::may_need_copy_reloc): Ditto.
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |