From 9b192ed8a6a931281ba10d67f75c1201bf27ad5e Mon Sep 17 00:00:00 2001 From: "m.hayes" Date: Wed, 8 Mar 2000 04:13:39 +0000 Subject: [PATCH] * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is output as hexadecimal rather than the default octal. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32400 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/c4x/c4x.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4422685941f..94551952a85 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-03-08 Michael Hayes + + * 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 * cpphash.c (special_symbol): Fix thinko in previous commit. diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h index 6d54c6e9d31..b83bfd8b011 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); \ -- 2.11.0