Patch to not create GOT and dynamic relocation entries for unresolved symbols with --warn-unresolved-symbols.

Cary Coutant ccoutant@gmail.com
Thu Apr 23 18:01:00 GMT 2015


        * options.h (--weak-unresolved-symbols): New option.
        * symtab.cc (Symbol_table::sized_write_globals): Change symbol
        binding to weak with new option.
        * symtab.h (is_weak_undefined): Check for new option.
        (is_strong_undefined): Check for new option.
        * testsuite/Makefile.am(weak_unresolved_symbols_test): New test.
        * testsuite/Makefile.in: Regenerate.
        * testsuite/weak_unresolved_symbols_test.cc: New file.

Space before '('.

+// Copyright (C) 2014-2015 Free Software Foundation, Inc.

This should just say '2015'.

OK with those fixes. Thanks!

-cary



More information about the Binutils mailing list