aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMatthew Fortune <matthew.fortune@imgtec.com>2014-08-01 14:46:25 +0000
committerMatthew Fortune <mpf@gcc.gnu.org>2014-08-01 14:46:25 +0000
commitfb01ed3883bc4a543776ef52d17d64631835ac88 (patch)
tree0acbd3613dbb695726378ed7f76eb30bec4e12fb /gcc
parent1696d58da2675e9007645304d010710e34022482 (diff)
downloadgcc-fb01ed3883bc4a543776ef52d17d64631835ac88.zip
gcc-fb01ed3883bc4a543776ef52d17d64631835ac88.tar.gz
gcc-fb01ed3883bc4a543776ef52d17d64631835ac88.tar.bz2
MIPS REGISTER_PREFIX definition
gcc/ * config/mips/mips.h (REGISTER_PREFIX): Define macro. From-SVN: r213484
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mips/mips.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 52e9ed4..57b702e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-01 Matthew Fortune <matthew.fortune@imgtec.com>
+
+ * config/mips/mips.h (REGISTER_PREFIX): Define macro.
+
2014-08-01 James Greenhalgh <james.greenhalgh@arm.com>
PR regression/61510
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 1164b4b..8d7a09f 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -1266,6 +1266,12 @@ struct mips_cpu_info {
/* By default, turn on GDB extensions. */
#define DEFAULT_GDB_EXTENSIONS 1
+/* Registers may have a prefix which can be ignored when matching
+ user asm and register definitions. */
+#ifndef REGISTER_PREFIX
+#define REGISTER_PREFIX "$"
+#endif
+
/* Local compiler-generated symbols must have a prefix that the assembler
understands. By default, this is $, although some targets (e.g.,
NetBSD-ELF) need to override this. */