summaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-06-03 09:50:01 +0000
committerIan Lance Taylor <ian@airs.com>1999-06-03 09:50:01 +0000
commit174419c1231afcc09fdf141a1b2b85bb7e8f64fa (patch)
tree8686703da7a6bdb0efb78aeecede392f1a336832 /gas/config/tc-arm.h
parentbf27257ea628954b2d1a6803dc3da34a1111d30f (diff)
downloadbinutils-gdb-174419c1231afcc09fdf141a1b2b85bb7e8f64fa.tar.gz
* config/tc-arm.h: Update for symbol handling changes.
* config/tc-arm.c: Likewise. (symbol_make_empty): Remove. Just use symbol_create.
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r--gas/config/tc-arm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h
index 7f676e7d53e..72a5713e075 100644
--- a/gas/config/tc-arm.h
+++ b/gas/config/tc-arm.h
@@ -122,9 +122,9 @@
/* We need to keep some local information on symbols. */
#define TC_SYMFIELD_TYPE unsigned int
-#define ARM_GET_FLAG(s) ((s)->sy_tc)
-#define ARM_SET_FLAG(s,v) ((s)->sy_tc |= (v))
-#define ARM_RESET_FLAG(s,v) ((s)->sy_tc &= ~(v))
+#define ARM_GET_FLAG(s) (*symbol_get_tc (s))
+#define ARM_SET_FLAG(s,v) (*symbol_get_tc (s) |= (v))
+#define ARM_RESET_FLAG(s,v) (*symbol_get_tc (s) &= ~(v))
#define ARM_FLAG_THUMB (1 << 0) /* The symbol is a Thumb symbol rather than an Arm symbol. */
#define ARM_FLAG_INTERWORK (1 << 1) /* The symbol is attached to code that suppports interworking. */