On Tue, May 14, 2013 at 11:13 AM, Michael Matz <m...@suse.de> wrote: > 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.
Uh, yes. So instead of a) and b), there should be: #define DEFAULT_TLS_SEG_REG TARGET_64BIT ? SEG_FS : SEG_GS in i386.h. Uros.