summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-08-30 10:12:33 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-08-30 10:12:33 +0000
commite5b502affd08829a36b018a485230a06fe3ce3c9 (patch)
tree6891587bccc2746d879dc062ca9ec2df43a25bfe
parent7d39118a94a85336b1f36711c7ed7fe5c362cbdd (diff)
Notes
-rw-r--r--contrib/gcc/config/xm-freebsd.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/contrib/gcc/config/xm-freebsd.h b/contrib/gcc/config/xm-freebsd.h
index 70df44dd538c..41b08a4fb92e 100644
--- a/contrib/gcc/config/xm-freebsd.h
+++ b/contrib/gcc/config/xm-freebsd.h
@@ -22,15 +22,16 @@ Boston, MA 02111-1307, USA. */
running FreeBSD. This file should not be specified as $xm_file itself;
instead $xm_file should be CPU/xm-freebsd.h, which should include both
CPU/xm-CPU.h and this file xm-freebsd.h. */
-
-#define HAVE_PUTENV
-#define HAVE_STRERROR
+#ifndef HAVE_ATEXIT
+#define HAVE_ATEXIT
+#endif
+
+/* Tell gcc and collect2 that FreeBSD targets support putenv(3). */
+#define HAVE_PUTENV
/* We have _sys_siglist, but the declaration in <signal.h> conflicts with
the declarations in collect2.c and mips-tfile.c, so disable the declarations
in those files. */
-#define DONT_DECLARE_SYS_SIGLIST
-
-#define HOST_PTR_PRINTF "%p"
+#define SYS_SIGLIST_DECLARED