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

Alan Modra amodra@bigpond.net.au
Tue May 21 21:38:00 GMT 2002


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



More information about the Binutils mailing list