Re: [PATCH 7/9] i386: Add address space for tls

2015-10-08 Thread Florian Weimer
On 10/08/2015 06:59 AM, Richard Henderson wrote: >cpp_define (parse_in, "__SEG_FS"); >cpp_define (parse_in, "__SEG_GS"); > + cpp_define (parse_in, "__SEG_TLS"); Is there a good place to document these #defines? I looked at your glibc patch and wonder where __SEG_TLS was coming from. Flo

[PATCH 7/9] i386: Add address space for tls

2015-10-07 Thread Richard Henderson
* config/i386/i386-protos.h (ADDR_SPACE_SEG_TLS): New. * config/i386/i386-c.c (ix86_target_macros): Define __SEG_TLS. (ix86_register_pragmas): Register __seg_tls. * config/i386/i386.c (ix86_print_operand_address_as): Handle ADDR_SPACE_SEG_TLS. (ix86_a