--- gcc/config/i860v3.h 2018/04/24 17:51:37 1.1.1.1 +++ gcc/config/i860v3.h 2018/04/24 18:05:51 1.1.1.4 @@ -22,9 +22,12 @@ the Free Software Foundation, 675 Mass A #include "i860.h" #include "svr3.h" +#undef TARGET_VERSION +#define TARGET_VERSION fprintf (stderr, " (i860, System V Release 3)") + /* Provide a set of pre-definitions and pre-assertions appropriate for the i860 running svr3. */ -#define CPP_PREDEFINES "-Di860 -Dunix -DSVR3" +#define CPP_PREDEFINES "-Di860 -Dunix -D__svr3__" /* Use crt1.o as a startup file and crtn.o as a closing file. */ @@ -103,7 +106,7 @@ extern char *current_function_original_n fprintf ((FILE), "\"\n"); \ bytes_in_chunk = 0; \ } \ - fprintf ((FILE), "%s\t%d\n", ASM_BYTE_OP, ch); \ + fprintf ((FILE), "\t%s\t%d\n", ASM_BYTE_OP, ch); \ } \ else \ { \ @@ -125,14 +128,14 @@ extern char *current_function_original_n #undef CTORS_SECTION_ASM_OP -#define CTORS_SECTION_ASM_OP "\t.section\t.ctors,\"x\"\n" +#define CTORS_SECTION_ASM_OP ".section\t.ctors,\"x\"" #undef DTORS_SECTION_ASM_OP -#define DTORS_SECTION_ASM_OP "\t.section\t.dtors,\"x\"\n" +#define DTORS_SECTION_ASM_OP ".section\t.dtors,\"x\"" /* Add definitions to support the .tdesc section as specified in the svr4 ABI for the i860. */ -#define TDESC_SECTION_ASM_OP "\t.section\t.tdesc" +#define TDESC_SECTION_ASM_OP ".section\t.tdesc" #undef EXTRA_SECTIONS #define EXTRA_SECTIONS in_const, in_ctors, in_dtors, in_tdesc @@ -156,4 +159,5 @@ tdesc_section () \ } /* Enable the `const' section that svr3.h defines how to use. */ +#undef USE_CONST_SECTION #define USE_CONST_SECTION 1