[gold patch] Fix internal error with --start-lib and object file with no global syms
Ian Lance Taylor
iant@google.com
Fri Aug 27 18:02:00 GMT 2010
"H.J. Lu" <hjl.tools@gmail.com> writes:
> Your patch changed testsuite/start_lib_test_3.c to
>
> static char t3[] = "t3";
>
> I got
>
> cc1: warnings being treated as errors
> /net/gnu-6/export/linux/src/binutils/binutils/gold/testsuite/start_lib_test_3.c:25:
> warning: ‘t3’ defined but not used
>
> and this test failed.
Fixed like so. Committed to mainline.
Ian
2010-08-27 Ian Lance Taylor <iant@google.com>
* testsuite/start_lib_test_3.c: Mark t3 as used.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 506 bytes
Desc: used
URL: <https://sourceware.org/pipermail/binutils/attachments/20100827/90e142c9/attachment.bin>
More information about the Binutils
mailing list