]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c4x.h (PUT_SDB_TYPE): Define so that the type info is output as hexadecimal rather...
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>
Wed, 8 Mar 2000 04:13:39 +0000 (04:13 +0000)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Wed, 8 Mar 2000 04:13:39 +0000 (04:13 +0000)
* 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

gcc/ChangeLog
gcc/config/c4x/c4x.h

index 4422685941f1ba3ca6ea8b71a24bbfb740dd3d21..94551952a85a0fbeef282869abad570d4ee32a41 100644 (file)
@@ -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.
index 6d54c6e9d31db90a710377ae0aa46bc15f34ed1e..b83bfd8b011fe2cd597b315606a1b3f3bba1c067 100644 (file)
@@ -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);    \