Does GCC support TLS or SEH?

Jonathan Wilson jonwil@tpgi.com.au
Mon Sep 1 01:58:00 GMT 2003


Does the GCC core contain support for Thread Local Storage or Structured 
Exception Handling?

I would like to see if it is fesable to implement windows specific TLS and 
SEH and if there is some sort of hooks in the GCC core already, it would 
make it easier.

Both Watcom and Microsofts linkers have a feature used for constructors and 
also for TLS whereby a segment named .tls, a segment named .tls$ and a 
segment named .tls$$$ will be combined into 1 segment called .tls with .tls 
first then .tls$ and .tls$$$
Does the GCC linker have a similar feature?
If not, how does GCC handle constructors?




More information about the Gcc mailing list