Commit fbd68e5d by Richard Kenner Committed by Richard Kenner

config.gcc (sparc-*-elf): Include sparc/sol2.h.

	* config.gcc (sparc-*-elf): Include sparc/sol2.h.
	(sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
	(sparclite-*-elf*, sparc86x-*-elf*): Likewise.
	* config/sparc/elf.h: No longer include sol2.h.
	* config/sparc/lifeelf.h: No longer include sparc/elf.h.
	* config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.

From-SVN: r38587
parent 7a2bf7af
Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config.gcc (sparc-*-elf): Include sparc/sol2.h.
(sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
(sparclite-*-elf*, sparc86x-*-elf*): Likewise.
* config/sparc/elf.h: No longer include sol2.h.
* config/sparc/lifeelf.h: No longer include sparc/elf.h.
* config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.
* config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
2001-01-01 Michael Hayes <mhayes@redhat.com>
......
......@@ -2973,7 +2973,7 @@ sparc-*-bsd*)
tm_file=sparc/bsd.h
;;
sparc-*-elf*)
tm_file=sparc/elf.h
tm_file="sparc/sol2.h sparc/elf.h"
tmake_file=sparc/t-elf
extra_parts="crti.o crtn.o crtbegin.o crtend.o"
#float_format=i128
......@@ -3025,7 +3025,7 @@ sparc-*-rtemsaout*)
fi
;;
sparc-*-rtems*|sparc-*-rtemself*)
tm_file="sparc/rtemself.h"
tm_file="sparc/sol2.h sparc/elf.h sparc/rtemself.h"
tmake_file="sparc/t-elf t-rtems"
extra_parts="crti.o crtn.o crtbegin.o crtend.o"
#float_format=i128
......@@ -3185,7 +3185,7 @@ sparclite-*-aout*)
tmake_file=sparc/t-sparclite
;;
sparclite-*-elf*)
tm_file="sparc/liteelf.h"
tm_file="sparc/sol2.h sparc/elf.h sparc/liteelf.h"
tmake_file=sparc/t-sparclite
extra_parts="crtbegin.o crtend.o"
;;
......@@ -3194,7 +3194,7 @@ sparc86x-*-aout*)
tmake_file=sparc/t-sp86x
;;
sparc86x-*-elf*)
tm_file="sparc/sp86x-elf.h"
tm_file="sparc/sol2.h sparc./elf.h sparc/sp86x-elf.h"
tmake_file=sparc/t-sp86x
extra_parts="crtbegin.o crtend.o"
;;
......
......@@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "sol2.h"
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dsparc -D__elf__ -Acpu=sparc -Amachine=sparc"
......
......@@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "sparc/elf.h"
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__sparc__ -D__sparclite__ -Acpu=sparc -Amachine=sparc"
......
......@@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "sparc/elf.h"
/* Specify predefined symbols in preprocessor. */
#undef CPP_PREDEFINES
......@@ -35,4 +33,3 @@ Boston, MA 02111-1307, USA. */
/* Get machine-independent configuration parameters for RTEMS. */
#include <rtems.h>
/* end of sparc/rtemself.h */
......@@ -19,8 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "sparc/elf.h"
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__sparc__ -D__sparclite86x__ -Acpu=sparc -Amachine=sparc"
......
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