rtl.h (SYMBOL_REF_TLS_MODEL): Fix mask value.

2003-04-14  Janis Johnson  <janis287@us.ibm.com>

	* rtl.h (SYMBOL_REF_TLS_MODEL): Fix mask value.

From-SVN: r65602
This commit is contained in:
Janis Johnson 2003-04-14 22:35:45 +00:00 committed by Janis Johnson
parent 8951a63507
commit 629f6514b8
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-04-14 Janis Johnson <janis287@us.ibm.com>
* rtl.h (SYMBOL_REF_TLS_MODEL): Fix mask value.
2003-04-14 Neil Booth <neil@daikokuya.co.uk>
* Makefile.in (c-opts.o): Use custom action.

View File

@ -1276,7 +1276,7 @@ do { \
SYMBOL_REF_TLS_MODEL to extract the field as an enum tls_model. */
#define SYMBOL_FLAG_TLS_SHIFT 3
#define SYMBOL_REF_TLS_MODEL(RTX) \
((enum tls_model) ((SYMBOL_REF_FLAGS (RTX) >> SYMBOL_FLAG_TLS_SHIFT) & 3))
((enum tls_model) ((SYMBOL_REF_FLAGS (RTX) >> SYMBOL_FLAG_TLS_SHIFT) & 7))
/* Set if this symbol is not defined in this translation unit. */
#define SYMBOL_FLAG_EXTERNAL (1 << 6)
#define SYMBOL_REF_EXTERNAL_P(RTX) \