This gold patch implements --unresolved-symbols more or less as it exists in GNU ld. Gold generally acts as like GNU ld using --unresolved-symbols=ignore-in-shared-libs, and this patch does not change that behaviour. Committed to mainline. Ian 2011-07-08 Ian Lance Taylor PR gold/12386 * options.h (class General_options): Add --unresolved-symbols. * target-reloc.h (issue_undefined_symbol_error): Check --unresolved-symbols. Add comments.