aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>2000-03-08 04:13:39 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>2000-03-08 04:13:39 +0000
commitdb14c6a02ac1b0bf45568e01cf8bdf2e142c0c97 (patch)
treead4410c6643585c808e533375f6ce41225ff3842 /gcc
parent707beebb3d7b232b28ad14af2f55d062c25422de (diff)
downloadgcc-db14c6a02ac1b0bf45568e01cf8bdf2e142c0c97.zip
gcc-db14c6a02ac1b0bf45568e01cf8bdf2e142c0c97.tar.gz
gcc-db14c6a02ac1b0bf45568e01cf8bdf2e142c0c97.tar.bz2
c4x.h (PUT_SDB_TYPE): Define so that the type info is output as hexadecimal rather than the default octal.
* config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is output as hexadecimal rather than the default octal. From-SVN: r32400
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/c4x/c4x.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4422685..9455195 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
+
+ * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
+ output as hexadecimal rather than the default octal.
+
2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
* cpphash.c (special_symbol): Fix thinko in previous commit.
diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h
index 6d54c6e..b83bfd8 100644
--- a/gcc/config/c4x/c4x.h
+++ b/gcc/config/c4x/c4x.h
@@ -2398,6 +2398,9 @@ asm_fprintf (FILE, "%s%d:\n", PREFIX, NUM)
#define SDB_DELIM "\n"
#define SDB_DEBUGGING_INFO
+/* Don't use octal since this can confuse gas for the c4x. */
+#define PUT_SDB_TYPE(a) fprintf(asm_out_file, "\t.type\t0x%x%s", a, SDB_DELIM)
+
#define PUT_SDB_DEF(A) \
do { fprintf (asm_out_file, "\t.sdef\t"); \
ASM_OUTPUT_LABELREF (asm_out_file, A); \