Commit 15bc166f by Kaveh R. Ghazi Committed by Kaveh Ghazi

nextstep-protos.h: New file.

	* nextstep-protos.h: New file.
	* nextstep.c: Include "rtl.h", "output.h" & "tm_p.h".
	* nextstep.h (INCLUDE_DEFAULTS): Delete LOCAL_INCLUDE_DIR and
	STANDARD_INCLUDE_DIR from the CROSS_COMPILE clause.
	(nextstep_asm_out_constructor, nextstep_asm_out_destructor,
	handle_pragma): Move prototypes to nextstep-protos.h.
	* config.gcc (i[34567]86-next-*, m68k-next-nextstep2*,
	m68k-next-nextstep[34]*): Append nextstep-protos.h to tm_p_file.

From-SVN: r48067
parent 7759fccd
2001-12-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* nextstep-protos.h: New file.
* nextstep.c: Include "rtl.h", "output.h" & "tm_p.h".
* nextstep.h (INCLUDE_DEFAULTS): Delete LOCAL_INCLUDE_DIR and
STANDARD_INCLUDE_DIR from the CROSS_COMPILE clause.
(nextstep_asm_out_constructor, nextstep_asm_out_destructor,
handle_pragma): Move prototypes to nextstep-protos.h.
* config.gcc (i[34567]86-next-*, m68k-next-nextstep2*,
m68k-next-nextstep[34]*): Append nextstep-protos.h to tm_p_file.
2001-12-16 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR other/3725
......
......@@ -1029,6 +1029,7 @@ i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
tmake_file=i386/t-crtpic
;;
i[34567]86-next-*)
tm_p_file="${tm_p_file} nextstep-protos.h"
tm_file=i386/next.h
tmake_file=i386/t-next
extra_objs=nextstep.o
......@@ -1854,6 +1855,7 @@ m68k-sony-bsd* | m68k-sony-newsos*)
float_format=m68k
;;
m68k-next-nextstep2*)
tm_p_file="${tm_p_file} nextstep-protos.h"
tm_file=m68k/next21.h
tmake_file=m68k/t-next
xmake_file=m68k/x-next
......@@ -1863,6 +1865,7 @@ m68k-next-nextstep2*)
float_format=m68k
;;
m68k-next-nextstep[34]*)
tm_p_file="${tm_p_file} nextstep-protos.h"
tm_file=m68k/next.h
tmake_file=m68k/t-next
xmake_file=m68k/x-next
......
/* Operating system specific defines to be used when targeting GCC
for NeXTSTEP.
Copyright (C) 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
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. */
extern void nextstep_asm_out_constructor PARAMS ((struct rtx_def *, int));
extern void nextstep_asm_out_destructor PARAMS ((struct rtx_def *, int));
extern int handle_pragma PARAMS ((int(*)(void), void (*)(int), const char *));
extern void constructor_section PARAMS ((void));
extern void destructor_section PARAMS ((void));
extern void nextstep_exception_section PARAMS ((void));
extern void nextstep_eh_frame_section PARAMS ((void));
......@@ -23,7 +23,10 @@ Boston, MA 02111-1307, USA. */
#include "system.h"
#include "flags.h"
#include "tree.h"
#include "rtl.h"
#include "toplev.h"
#include "output.h"
#include "tm_p.h"
/* Make everything that used to go in the text section really go there. */
......
......@@ -55,14 +55,12 @@ Boston, MA 02111-1307, USA. */
{ \
{ GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1 }, \
{ GPLUSPLUS_INCLUDE_DIR, 0, 1, 1 }, \
{ LOCAL_INCLUDE_DIR, 0, 0, 1 }, \
{ GCC_INCLUDE_DIR, "GCC", 0, 0 }, \
{ GCC_INCLUDE_DIR "/ansi", 0, 0, 0 }, \
{ GCC_INCLUDE_DIR "/bsd", 0, 0, 0 }, \
{ TOOL_INCLUDE_DIR, "BINUTILS", 0, 1 }, \
{ TOOL_INCLUDE_DIR "/ansi", 0, 0, 0 }, \
{ TOOL_INCLUDE_DIR "/bsd", 0, 0, 0 }, \
{ STANDARD_INCLUDE_DIR, 0, 0, 0 }, \
{ "/usr/include/bsd", 0, 0, 0 }, \
{ 0, 0, 0, 0 } \
}
......@@ -214,8 +212,6 @@ Boston, MA 02111-1307, USA. */
#define TARGET_ASM_CONSTRUCTOR nextstep_asm_out_constructor
#define TARGET_ASM_DESTRUCTOR nextstep_asm_out_destructor
extern void nextstep_asm_out_constructor PARAMS ((struct rtx_def *, int));
extern void nextstep_asm_out_destructor PARAMS ((struct rtx_def *, int));
#define TARGET_ASM_EXCEPTION_SECTION nextstep_exception_section
......@@ -241,7 +237,6 @@ extern void nextstep_asm_out_destructor PARAMS ((struct rtx_def *, int));
#undef HANDLE_PRAGMA
#define HANDLE_PRAGMA(GETC, UNGETC, NAME) handle_pragma (GETC, UNGETC, NAME)
extern int handle_pragma PARAMS ((int(*)(void), void (*)(int), const char *));
/* Give methods pretty symbol names on NeXT. */
......
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