[GOLD] [PATCH] Casting plugin onload entry point
Viktor Kutuzov
vkutuzov@accesssoftek.com
Thu Dec 10 01:59:00 GMT 2009
Hello everyone,
Depending on the version of the compiler, the way how plugin onload entry point is casted may give a compilation error: "ISO C++
forbids casting between pointer-to-function and pointer-to-object".
The attached patch fixes this issue by using the workaround introduced by the POSIX.1-2003.
Thanks,
Viktor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-gold-plugin-onload-cast.diff
Type: application/octet-stream
Size: 571 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20091210/61c8529a/attachment.obj>
More information about the Binutils
mailing list