This is the mail archive of the binutils@sources.redhat.com 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]

Re: PATCH: cygwin/mingw32 PE Define useful TLS and compatibility symbols.


On Sun, Jun 06, 2004 at 04:33:01AM -0500, Aaron W. LaFramboise wrote:
>Hi,
>
>This small patch adds some useful symbols for TLS support and MSVC 
>compatibility.
>
>___crt_xl_start__ is necessary for TLS callback support, something I'm 
>hoping to do nice things with in the near future.
>
>The other similarly named symbols make compatibility with MSVC-generated 
>code a little easier to accomplish (in particular, ctors and dtors).
>
>___tls_start__ and ___tls_end___ simplify the TLS support code.

This seems fine to me.  Better MSVC compatibility seems like a good goal.
I'll check this in in the next couple of days unless someone objects.

cgf

>2004-06-06  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
>
>	* ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
>	___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__,
>	___crt_xl_start__, ___crt_xp_start__, ___crt_xp_end__,
>	___crt_xt_start__ and ___crt_xt_end__.
>	(.tls): Define ___tls_start__ and ___tls_end__.


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