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: [PATCH] add --ignore-unresolved-symbol from NetBSD (bug#14426)


Jan Beich <jbeich@tormail.org> writes:

> Allow a specific symbol to be unresolved. This can be useful to let
> runtime linker resolve the symbol despite using -Wl,-z,defs.

2012-08-01  Jan Beich <jbeich@tormail.org>

	bfd/
	PR ld/14426
	* bfdlink.h (bfd_link_info): Add ignore_hash.

	ld/
	PR ld/14426
	* ldlex.h (option_values): Add OPTION_IGNORE_UNRESOLVED_SYMBOL.
	* lexsup.c (parse_args): Likewise.
	* lexsup.c (ld_options): Add --ignore-unresolved-symbol description.
	* ldmain.h (add_ignoresym): Declare.
	* ldmain.c (add_ignoresym): Define.
	* ldmain.c (undefined_symbol): Return if the symbol is ignored.
	And when config.warn_once store the hash in info->ignore_hash.


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