Commit 0a9bdce3 by Paul Eggert Committed by Jeff Law

sol2-sld.h: New file.

        * config/sparc/sol2-sld.h: New file.
        * configure.in (sparc-*-solaris2*): Use it when using the
        system linker.

From-SVN: r18105
parent 556e0f21
1998-02-19 Paul Eggert <eggert@twinsun.com>
* config/sparc/sol2-sld.h: New file.
* configure.in (sparc-*-solaris2*): Use it when using the
system linker.
Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com) Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
* loop.c (force_movables): Fix typo. * loop.c (force_movables): Fix typo.
......
/* Definitions of target machine for GNU compiler, for SPARC running Solaris 2
using the system linker. */
#include "sparc/sol2.h"
/* Disable any support for DWARF and DWARF2 if we are using the system linker.
At least up through Solaris 2.6,
the system linker does not work with DWARF or DWARF2,
since it does not have working support for relocations
to unaligned data. */
#ifdef DWARF2_DEBUGGING_INFO
#undef DWARF2_DEBUGGING_INFO
#endif
#ifdef DWARF_DEBUGGING_INFO
#undef DWARF_DEBUGGING_INFO
#endif
...@@ -2365,7 +2365,12 @@ for machine in $build $host $target; do ...@@ -2365,7 +2365,12 @@ for machine in $build $host $target; do
tm_file=sparc/rtems.h tm_file=sparc/rtems.h
;; ;;
sparc-*-solaris2*) sparc-*-solaris2*)
tm_file=sparc/sol2.h if [[ x$gnu_ld = xyes ]]
then
tm_file=sparc/sol2.h
else
tm_file=sparc/sol2-sld.h
fi
xm_file=sparc/xm-sol2.h xm_file=sparc/xm-sol2.h
tmake_file=sparc/t-sol2 tmake_file=sparc/t-sol2
xmake_file=sparc/x-sysv4 xmake_file=sparc/x-sysv4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment