diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/rtl.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5b74c1a66bb..db01c06a68a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/rtl.h b/gcc/rtl.h index fa5ef84963c..f1b40a21c25 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -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) \ |