This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [patch i386 windows]: Fix weak-symbol support for 64-bit windows target


On 11/04/2010 07:29 AM, Kai Tietz wrote:
> Hello,
> 
> This patch fixes the handling of weak symbols for 64-bit windows
> pe-coff target and providing same feature as for 32-bit pe-coff
> windows targets. As this target has set
> the pic-flag, but pe-coff doesn't support GOT table, some trickery was
> necessary to avoid the emitting
> of GOT table dereferencing for this target.

I think you'd better explain how weak symbols work for x64-pe.

At minimum abusing the name GOTPCREL and failing to de-reference
suggests that you should be abusing a different name that's more
suggestive of the actual operation.


r~


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