PATCH: cygwin/mingw32 PE Define useful TLS and compatibility symbols.
Christopher Faylor
me@cgf.cx
Sun Jun 6 20:43:00 GMT 2004
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__.
More information about the Binutils
mailing list