[patch] Mark the start symbol as LDPR_PREVAILING_DEF.
Rafael Espindola
espindola@google.com
Mon Jun 14 22:38:00 GMT 2010
Currently if the start symbol is in a file claimed by a plugin, we
will return LDPR_PREVAILING_DEF_IRONLY for it. This causes the plugin
to drop it and we get a binary that cannot be executed.
The attached patch sets the in_real_elf flag for the start symbol.
Thanks a lot to Cary for pointing me to the correct place to do this!
2010-06-14 Rafael Espindola <espindola@google.com>
* plugin.cc (Plugin_hook::run): Set in_real_elf for the start symbol.
Cheers,
--
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: start.patch
Type: text/x-patch
Size: 661 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100614/84131b70/attachment.bin>
More information about the Binutils
mailing list