aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/c4x/c4x.h8
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 74109d7..3fa0386 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-12-17 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
+
+ * c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.
+
2000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
* c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h
index 4834531..c651b38 100644
--- a/gcc/config/c4x/c4x.h
+++ b/gcc/config/c4x/c4x.h
@@ -2264,6 +2264,14 @@ asm_fprintf (FILE, "%s%d:\n", PREFIX, NUM)
( (OUTPUT) = (char *) alloca (strlen ((NAME)) + 10), \
sprintf ((OUTPUT), "%s$%d", (NAME), (LABELNO)))
+/* A C statement to output to the stdio stream STREAM assembler code which
+ defines (equates) the symbol NAME to have the value VALUE. */
+
+#define ASM_OUTPUT_DEF(STREAM, NAME, VALUE) \
+do { \
+ assemble_name (STREAM, NAME); \
+ fprintf (STREAM, "\t.set\t%s\n", VALUE); \
+} while (0)
/* Output of Dispatch Tables. */