aboutsummaryrefslogtreecommitdiff
path: root/gcc/frame.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-02-01 21:30:52 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-02-01 21:30:52 +0000
commit2e39bdbe4b92cea918f54624604e241cd1672a52 (patch)
treebd349f655e668c3f79a4ea423341713cac116e61 /gcc/frame.c
parented672cd0e9fe098b273c2dfd2dcac08b59e4a381 (diff)
downloadgcc-2e39bdbe4b92cea918f54624604e241cd1672a52.zip
gcc-2e39bdbe4b92cea918f54624604e241cd1672a52.tar.gz
gcc-2e39bdbe4b92cea918f54624604e241cd1672a52.tar.bz2
tsystem.h: New file.
* tsystem.h: New file. * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o, s-crtS): Depend on tsystem.h. * crtstuff.c: Include tsystem.h. * frame.c: Likewise. * libgcc2.c: Likewise. From-SVN: r31741
Diffstat (limited to 'gcc/frame.c')
-rw-r--r--gcc/frame.c23
1 files changed, 2 insertions, 21 deletions
diff --git a/gcc/frame.c b/gcc/frame.c
index 697d3f4..717849f 100644
--- a/gcc/frame.c
+++ b/gcc/frame.c
@@ -1,6 +1,6 @@
/* Subroutines needed for unwinding stack frames for exception handling. */
/* Compile this one with gcc. */
-/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
Contributed by Jason Merrill <jason@cygnus.com>.
This file is part of GNU CC.
@@ -32,31 +32,12 @@ Boston, MA 02111-1307, USA. */
do not apply. */
#include "tconfig.h"
-
-/* We disable this when inhibit_libc, so that gcc can still be built without
- needing header files first. */
-/* ??? This is not a good solution, since prototypes may be required in
- some cases for correct code. See also libgcc2.c/crtstuff.c. */
-#ifndef inhibit_libc
-/* fixproto guarantees these system headers exist. */
-#include <stdlib.h>
-#include <unistd.h>
-
-#else
-#include <stddef.h>
-#ifndef malloc
-extern void *malloc (size_t);
-#endif
-#ifndef free
-extern void free (void *);
-#endif
-#endif
+#include "tsystem.h"
#include "defaults.h"
#ifdef DWARF2_UNWIND_INFO
#include "dwarf2.h"
-#include <stddef.h>
#include "frame.h"
#include "gthr.h"