--- gcc/config/sun3.h 2018/04/24 17:59:38 1.1.1.3 +++ gcc/config/sun3.h 2018/04/24 18:05:27 1.1.1.4 @@ -72,7 +72,8 @@ the Free Software Foundation, 675 Mass A /* These compiler options take an argument. We ignore -target for now. */ #define WORD_SWITCH_TAKES_ARG(STR) \ - (!strcmp (STR, "Tdata") || !strcmp (STR, "include") \ + (!strcmp (STR, "Tdata") || !strcmp (STR, "Ttext") \ + || !strcmp (STR, "Tbss") || !strcmp (STR, "include") \ || !strcmp (STR, "imacros") || !strcmp (STR, "target") \ || !strcmp (STR, "assert") || !strcmp (STR, "aux-info")) @@ -148,7 +149,7 @@ the Free Software Foundation, 675 Mass A /* Provide required defaults for linker -e and -d switches. */ #define LINK_SPEC \ - "%{!nostdlib:%{!e*:-e start}} -dc -dp %{static:-Bstatic} %{assert*}" + "%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*}" /* Every structure or union's size must be a multiple of 2 bytes. */ @@ -205,7 +206,7 @@ the Free Software Foundation, 675 Mass A #define ASM_OUTPUT_FLOAT_OPERAND(FILE,VALUE) \ (REAL_VALUE_ISINF ((VALUE)) \ ? (asm_fprintf (FILE, "%I0r%s99e999", ((VALUE) > 0 ? "" : "-")), 0) \ - : (VALUE) == -0.0 \ + : REAL_VALUE_MINUS_ZERO (VALUE) \ ? (asm_fprintf (FILE, "%I0r-0.0"), 0) \ : (asm_fprintf (FILE, "%I0r%.9g", (VALUE)), 0)) @@ -213,6 +214,6 @@ the Free Software Foundation, 675 Mass A #define ASM_OUTPUT_DOUBLE_OPERAND(FILE,VALUE) \ (REAL_VALUE_ISINF ((VALUE)) \ ? (asm_fprintf (FILE, "%I0r%s99e999", ((VALUE) > 0 ? "" : "-")), 0) \ - : (VALUE) == -0.0 \ + : REAL_VALUE_MINUS_ZERO (VALUE) \ ? (asm_fprintf (FILE, "%I0r-0.0"), 0) \ : (asm_fprintf (FILE, "%I0r%.17g", (VALUE)), 0))