--- gcc/config/aix386.h 2018/04/24 17:51:30 1.1 +++ gcc/config/aix386.h 2018/04/24 18:03:33 1.1.1.3 @@ -30,10 +30,6 @@ the Free Software Foundation, 675 Mass A #include "att386.h" -/* By default, target has a 80387. */ - -#define TARGET_DEFAULT 1 - /* Use crt1.o as a startup file and crtn.o as a closing file. */ #define STARTFILE_SPEC \ @@ -79,20 +75,6 @@ the Free Software Foundation, 675 Mass A #define ASM_FILE_START_1(FILE) fprintf (FILE, "\t.noopt\n"); #endif -/* Machines that use the AT&T assembler syntax - also return floating point values in an FP register. */ -/* Define how to find the value returned by a function. - VALTYPE is the data type of the value (as a tree). - If the precise function being called is known, FUNC is its FUNCTION_DECL; - otherwise, FUNC is 0. */ - -#define VALUE_REGNO(MODE) \ - (((MODE)==SFmode || (MODE)==DFmode) ? FIRST_FLOAT_REG : 0) - -/* 1 if N is a possible register number for a function value. */ - -#define FUNCTION_VALUE_REGNO_P(N) ((N) == 0 || (N)== FIRST_FLOAT_REG) - /* Output assembler code to FILE to increment profiler label # LABELNO for profiling a function entry. */ @@ -109,16 +91,16 @@ the Free Software Foundation, 675 Mass A ASM_OUTPUT_LABEL ((FILE), (NAME)), \ fprintf ((FILE), "\t.set .,.+%u\n", (ROUNDED))) -/* Define a few machine-specific details - of the implementation of constructors. */ +/* Define a few machine-specific details of the implementation of + constructors. */ #undef INIT_SECTION_ASM_OP #define INIT_SECTION_ASM_OP ".section .init,\"x\"" -#define CTORS_SECTION_ASM_OP \ - INIT_SECTION_ASM_OP "\n" \ - "\tpushl $0\n\t" \ - DATA_SECTION_ASM_OP +#define CTOR_LIST_BEGIN \ + asm (INIT_SECTION_ASM_OP); \ + asm ("pushl $0") +#define CTOR_LIST_END CTOR_LIST_BEGIN #define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \ do { \