This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: cygwin/mingw32 PE Define useful TLS and compatibility symbols.
- From: Christopher Faylor <me at cgf dot cx>
- To: binutils at sources dot redhat dot com
- Date: Sun, 6 Jun 2004 16:43:08 -0400
- Subject: Re: PATCH: cygwin/mingw32 PE Define useful TLS and compatibility symbols.
- References: <40C2E4CD.3020302@aaronwl.com>
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__.