[PATCH][RFC] Explicitly set ELF symbol size to zero for undefined symbols -- libbfd, gold
Chris Demetriou
cgd@google.com
Tue Jul 22 21:06:00 GMT 2008
On Mon, Jul 14, 2008 at 03:48, Simon Baldwin <simonb@google.com> wrote:
> This patch explicitly sets the size of undefined ELF symbols to zero for
> linker output.
Ian pointed out off-list that the gold patch had been approved by him
for commit after the bfd patch was done, and that I didn't check it
in.
So, I just applied it, tested (gold / as / binutils on i686-linux),
and checked it in.
[gold/ChangeLog]
2008-07-22 Simon Baldwin <simonb@google.com>
* symtab.cc (Symbol_table::sized_write_symbol): Set symbol size
to zero when writing undefined symbols.
chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x.patch
Type: text/x-patch
Size: 991 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20080722/9f2b7c76/attachment.bin>
More information about the Binutils
mailing list