This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Patch to not create GOT and dynamic relocation entries for unresolved symbols with --warn-unresolved-symbols.
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Sriraman Tallam <tmsriram at google dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, binutils <binutils at sourceware dot org>, Paul Pluzhnikov <ppluzhnikov at google dot com>, Rong Xu <xur at google dot com>, Brooks Moses <bmoses at google dot com>, Ollie Wild <aaw at google dot com>, David Li <davidxl at google dot com>, Teresa Johnson <tejohnson at google dot com>, Ian Lance Taylor <iant at google dot com>
- Date: Thu, 23 Apr 2015 11:01:32 -0700
- Subject: Re: Patch to not create GOT and dynamic relocation entries for unresolved symbols with --warn-unresolved-symbols.
- Authentication-results: sourceware.org; auth=none
- References: <CAAs8Hmxe3fNV-7MLyNhk_=DOaR91-s=dFw3E-cFdqCCiGxxreA at mail dot gmail dot com> <CAJimCsG4yZAA1o-_nVEWH=9DwBjQZiCwDGQzNcDa+GY_XbMwvw at mail dot gmail dot com> <CAMe9rOr4SgwoF7Y-dpFogchwqpVK5z0DyYn9S9m1ZXJdu-2U4g at mail dot gmail dot com> <CAAs8Hmw2USAPrpxucvp0oE_5kidHde1-nYz7Q-YKWzpdn+L0ow at mail dot gmail dot com> <CAJimCsFyeMN-ya9pHbg3=PCEMTa5keyBvAVev=QHk-_1zOqo3w at mail dot gmail dot com> <CAJimCsF_2wuY8nqN=6aNEBSq0jD2_X1QwXrZSCLEsHozVt1zaQ at mail dot gmail dot com> <CAAs8HmzR3YUH7w9j=fjX2pgZKnphPmxRVjaa+n4YHmO_ads25g at mail dot gmail dot com>
* 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