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 win32]: Allow exports of def-file reserved keywords as symbol


On 10/07/2010 19:54, Kai Tietz wrote:

> this patch fixes a small nit in respect to the dllexport attribute and
> x64 windows without leading underscores. As it is possible now that
> somebody tries to export symbol (for example) named 'data', which is a
> reserved keyword of def-file parser present in ld, the export would
> fail by a linker error. By quoting the symbol name by ', this issue is
> fixed.
> 
> ChangeLog
> 
>         * config/i386/winnt.c (i386_pe_file_end): Quote symbol name
>         in directive -export.
> 
> I'll apply this patch in a couple of hours, if there are no objections.

  Kai will have already received this directly, but for the sake of the
archives and Danny: please see

http://sourceware.org/ml/binutils/2010-07/msg00106.html

    cheers,
      DaveK


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