aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJanis Johnson <janis187@us.ibm.com>2003-04-14 22:35:45 +0000
committerJanis Johnson <janis@gcc.gnu.org>2003-04-14 22:35:45 +0000
commit629f6514b833a56608fb06fe6a0832a1782a04c9 (patch)
tree62236d67c72f1dbf592d84fecf321d16a77b3880 /gcc/rtl.h
parent8951a63507b56f46c9d9aa8cca49be619395c884 (diff)
downloadgcc-629f6514b833a56608fb06fe6a0832a1782a04c9.zip
gcc-629f6514b833a56608fb06fe6a0832a1782a04c9.tar.gz
gcc-629f6514b833a56608fb06fe6a0832a1782a04c9.tar.bz2
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
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index fa5ef84..f1b40a2 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) \