This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[GOLD] [PATCH] Casting plugin onload entry point


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

Attachment: binutils-gold-plugin-onload-cast.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]