summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-08-30 10:12:33 +0000
committerobrien <obrien@FreeBSD.org>1999-08-30 10:12:33 +0000
commit1d16d23ff83319ceebd55093221e7e582892c7a4 (patch)
treee5460a652d4d0b4ed18596586b3fda349e58057e /contrib
parent04d539c0b68a83b9fb9e3876ce8d8ac6221a3ba1 (diff)
downloadFreeBSD-src-1d16d23ff83319ceebd55093221e7e582892c7a4.zip
FreeBSD-src-1d16d23ff83319ceebd55093221e7e582892c7a4.tar.gz
This brings rev 1.2 into EGCS 1.1.2. Also tweaks gleemed from EGCS
ChangeLog's. Note that rev 1.3 changes (HOST_PTR_PRINTF) was not brought into EGCS 1.1.2 as that is the default.
Diffstat (limited to 'contrib')
-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 70df44d..41b08a4 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
OpenPOWER on IntegriCloud