summaryrefslogtreecommitdiff
path: root/gcc/config/i386/freebsd.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-03-27 23:23:10 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-03-27 23:23:10 +0000
commit178f13e60fdc7668e83d934df00de60c3a7a2905 (patch)
tree8d82c3f04dc094b477c2d0782ba8ce160dcba624 /gcc/config/i386/freebsd.h
parent49419ef34dbeba56d1c9e2916bc87b5aa2c6d486 (diff)
downloadgcc-178f13e60fdc7668e83d934df00de60c3a7a2905.tar.gz
* i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
(DWARF2_UNWIND_INFO): Define to zero. David E. O'Brien sez it's the right thing to do. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18859 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/freebsd.h')
-rw-r--r--gcc/config/i386/freebsd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h
index 14b6b0c5118..d5deacdc348 100644
--- a/gcc/config/i386/freebsd.h
+++ b/gcc/config/i386/freebsd.h
@@ -35,7 +35,7 @@ Boston, MA 02111-1307, USA. */
#include "i386/perform.h"
#undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-Dunix -Di386 -D__FreeBSD__ -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
+#define CPP_PREDEFINES "-Dunix -Di386 -D__FreeBSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
/* Like the default, except no -lg. */
#define LIB_SPEC "%{!shared:%{!pg:-lc}%{pg:-lc_p}}"
@@ -66,6 +66,9 @@ Boston, MA 02111-1307, USA. */
#undef ASM_APP_OFF
#define ASM_APP_OFF "#NO_APP\n"
+
+/* FreeBSD using a.out does not support DWARF2 unwinding mechanisms. */
+#define DWARF2_UNWIND_INFO 0
/* The following macros are stolen from i386v4.h */
/* These have to be defined to get PIC code correct */