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 12:57 PM, Kai Tietz wrote:
> Here is the updated patch for x64 weak symbols (for static libraries).
> Prior patch misused the UNSPEC_GOTPCREL for expressing a pc-relative
> only. I added for this to i386.md the new UNSPEC_PCREL and added
> necessary checks to i386.c for handling new pic_address more correct.
> 
> Tested for x86_64-w64-mingw32. Ok for apply?

For 4.7, I'd like to investigate removing the flag_pic hack which
is causing some of this ugliness.

But for the purposes of 4.6 this patch is ok.


r~


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