summaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-14 22:35:45 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-14 22:35:45 +0000
commit9763286fde60c0d8ae2ee601507f9ca23ebe7689 (patch)
tree62236d67c72f1dbf592d84fecf321d16a77b3880 /gcc/rtl.h
parent36e2606813dfea0d1ccfab3b8b254a6d55cd3813 (diff)
downloadgcc-9763286fde60c0d8ae2ee601507f9ca23ebe7689.tar.gz
2003-04-14 Janis Johnson <janis287@us.ibm.com>
* rtl.h (SYMBOL_REF_TLS_MODEL): Fix mask value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65602 138bc75d-0d04-0410-961f-82ee72b054a4
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 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) \