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]

Re: PATCH: Add "-z muldefs" (Re: question of ld)


On Tue, May 21, 2002 at 08:09:03PM -0700, H . J . Lu wrote:
> 2002-05-21  H.J. Lu  (hjl@gnu.org)
> 
> 	* linker.c (_bfd_generic_link_add_one_symbol): Allow multiple
> 	definition.
> 
> 2002-05-21  H.J. Lu  (hjl@gnu.org)
> 
> 	* bfdlink.h (bfd_link_info): Add allow_multiple_definition.
> 
> 2002-05-21  H.J. Lu  (hjl@gnu.org)
> 
> 	* emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
> 	"-z muldefs".
> 	(gld${EMULATION_NAME}_list_options): Add "-z muldefs".
> 
> 	* ldmain.c (main): Initialize the allow_multiple_definition
> 	field to false.
> 
> 	* lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
> 	(ld_options): Add --allow-multiple-definition.
> 	(parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.

OK.  Please fix the formatting when applying your linker.c patch.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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