Hi,

On Tue, 14 May 2013, Uros Bizjak wrote:

> I'd propose to introduce:
> 
> a) #define DEFAULT_TLS_SEG_REG in i386.h to SEG_GS
> 
> b) #undef and #define DEFAULT_TLS_SEG_REG in x86-64.h to SEG_FS

This would break -m32.

> c) #undef and #define DEFAULT_TLS_SEG_REG in rdos.h to SEG_GS
> 
> Then use DEFAULT_TLS_SEG_REG everywhere.
> 
> This will avoid compile-time and runtime checks.

... which you can't avoid in a multilib compiler.


Ciao,
Michael.

Reply via email to