sol27-sld.h: Rename from sol26-sld.h.

* 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
This commit is contained in:
Richard Henderson 2002-04-30 19:47:56 -07:00 committed by Richard Henderson
parent 87417d6a53
commit 233b817811
3 changed files with 17 additions and 6 deletions

View 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

View 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

View 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