]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sol27-sld.h: Rename from sol26-sld.h.
authorRichard Henderson <rth@redhat.com>
Wed, 1 May 2002 02:47:56 +0000 (19:47 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 1 May 2002 02:47:56 +0000 (19:47 -0700)
        * config/sparc/sol27-sld.h: Rename from sol26-sld.h.
        (PREFERRED_DEBUGGING_TYPE, ASM_DEBUG_SPEC): Undef.
        * config.gcc (sparc-solaris): Adjust test for native ld bug.
        Add it after the biarch headers.

From-SVN: r52987

gcc/ChangeLog
gcc/config.gcc
gcc/config/sparc/sol27-sld.h [moved from gcc/config/sparc/sol26-sld.h with 57% similarity]

index 023fc736148550f8290a936213129b68ddd86a86..09c19494fd3f6e18b6488784dd462b18bc7325c5 100644 (file)
@@ -1,3 +1,10 @@
+2002-04-30  Richard Henderson  <rth@redhat.com>
+
+       * config/sparc/sol27-sld.h: Rename from sol26-sld.h.
+       (PREFERRED_DEBUGGING_TYPE, ASM_DEBUG_SPEC): Undef.
+       * config.gcc (sparc-solaris): Adjust test for native ld bug.
+       Add it after the biarch headers.
+
 2002-04-30  Richard Henderson  <rth@redhat.com>
 
        PR opt/6516
index 9ae90244b6e3588a366cd29b6a1fde52ecff2428..c516c52d670eef944756f3f4fe0458b28b9a3056 100644 (file)
@@ -3222,11 +3222,6 @@ sparc-*-solaris2*)
                tmake_file="$tmake_file t-slibgcc-sld"
        fi
        case $machine in
-       *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*)
-               if test x$gnu_ld = xno; then
-                       tm_file="${tm_file} sparc/sol26-sld.h"
-               fi
-               ;;
        *-*-solaris2.[789])
                tm_file="sparc/biarch64.h ${tm_file} sparc/sol2-bi.h"
                if test x$gnu_ld = xyes; then
@@ -3238,6 +3233,13 @@ sparc-*-solaris2*)
                tmake_file="$tmake_file sparc/t-sol2-64"
                ;;
        esac
+       case $machine in
+       *-*-solaris2.[0-7] | *-*-solaris2.[0-7].*)
+               if test x$gnu_ld = xno; then
+                       tm_file="${tm_file} sparc/sol27-sld.h"
+               fi
+               ;;
+       esac
        xm_defines=POSIX
        extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
        case $machine in
similarity index 57%
rename from gcc/config/sparc/sol26-sld.h
rename to gcc/config/sparc/sol27-sld.h
index 74b54335011cdd8677a90b8ad4f88f769cccddb8..fb47b61f44861572954c8fc612409cabde62f00e 100644 (file)
@@ -1,6 +1,8 @@
-/* Up through Solaris 2.6, the system linker does not work with DWARF
+/* Up through Solaris 2.7, the system linker does not work with DWARF
    or DWARF2, since it does not have working support for relocations
    to unaligned data.  */
 
 #undef DWARF_DEBUGGING_INFO
 #undef DWARF2_DEBUGGING_INFO
+#undef PREFERRED_DEBUGGING_TYPE
+#undef ASM_DEBUG_SPEC