From: Jim Wilson Date: Tue, 31 May 1994 23:54:27 +0000 (-0700) Subject: (PUT_SDB_TYPE): Adjust value for compatibility with GNU960 toolchain. X-Git-Tag: misc/cutover-egcs-0~6540 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c2eb9e1db7af12ce025b62c1e5bdd39f7b2efe7;p=thirdparty%2Fgcc.git (PUT_SDB_TYPE): Adjust value for compatibility with GNU960 toolchain. From-SVN: r7403 --- diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h index 5a2fb53577e1..6cce7b1ca83d 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. */