aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mmix.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2008-10-07 14:21:59 +0000
committerH.J. Lu <hjl.tools@gmail.com>2008-10-07 14:21:59 +0000
commit97c4f2d9c95f8a9dcf3941010277428b3c0baf79 (patch)
tree6887c56bdb11855be8329174fe05c19961c899f2 /gas/config/tc-mmix.h
parent9124fe4822e9f9bf1b746dcf987541ebb31bd67a (diff)
downloadgdb-97c4f2d9c95f8a9dcf3941010277428b3c0baf79.zip
gdb-97c4f2d9c95f8a9dcf3941010277428b3c0baf79.tar.gz
gdb-97c4f2d9c95f8a9dcf3941010277428b3c0baf79.tar.bz2
2008-10-07 H.J. Lu <hongjiu.lu@intel.com>
* read.c (pseudo_set): Don't allow global register symbol only if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined. * symbols.c (S_SET_EXTERNAL): Likewise. * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined. * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
Diffstat (limited to 'gas/config/tc-mmix.h')
-rw-r--r--gas/config/tc-mmix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-mmix.h b/gas/config/tc-mmix.h
index 0e72d98..1fa3463 100644
--- a/gas/config/tc-mmix.h
+++ b/gas/config/tc-mmix.h
@@ -224,3 +224,6 @@ extern void mmix_md_do_align (int, char *, int, int);
/* This target is buggy, and sets fix size too large. */
#define TC_FX_SIZE_SLACK(FIX) 6
+
+/* MMIX has global register symbols. */
+#define TC_GLOBAL_REGISTER_SYMBOL_OK