diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-05-31 16:54:27 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-05-31 16:54:27 -0700 |
commit | 3c2eb9e1db7af12ce025b62c1e5bdd39f7b2efe7 (patch) | |
tree | 42b30e142d9aac539687e4fff6a010e514ed0f6a | |
parent | 54a53d8cf50eaa45201e59a6a209e04bfc126148 (diff) | |
download | gcc-3c2eb9e1db7af12ce025b62c1e5bdd39f7b2efe7.zip gcc-3c2eb9e1db7af12ce025b62c1e5bdd39f7b2efe7.tar.gz gcc-3c2eb9e1db7af12ce025b62c1e5bdd39f7b2efe7.tar.bz2 |
(PUT_SDB_TYPE): Adjust value for compatibility with GNU960 toolchain.
From-SVN: r7403
-rw-r--r-- | gcc/config/i960/i960.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h index 5a2fb53..6cce7b1 100644 --- a/gcc/config/i960/i960.h +++ b/gcc/config/i960/i960.h @@ -105,8 +105,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Generate DBX_DEBUGGING_INFO by default. */ #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG -/* Redefine this to print in hex like iC960. */ -#define PUT_SDB_TYPE(A) fprintf (asm_out_file, "\t.type\t0x%x;", A) +/* Redefine this to print in hex and adjust values like GNU960. The extra + bit is used to handle the type long double. Gcc does not support long + double in sdb output, but we do support the non-standard format. */ +#define PUT_SDB_TYPE(A) \ + fprintf (asm_out_file, "\t.type\t0x%x;", (A & 0xf) + 2 * (A & ~0xf)) /* Run-time compilation parameters selecting different hardware subsets. */ |