summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-08-19 09:16:23 +0000
committerobrien <obrien@FreeBSD.org>1999-08-19 09:16:23 +0000
commit5b15ba9a9bb280c433490f21e32e80162449860f (patch)
treed41b6ba0ffcbf1109357ae5843387a621c5861c8 /contrib/gcc
parentf578da99f5e68f6d969138bb3bcd10f6bb3a1925 (diff)
downloadFreeBSD-src-5b15ba9a9bb280c433490f21e32e80162449860f.zip
FreeBSD-src-5b15ba9a9bb280c433490f21e32e80162449860f.tar.gz
Move two of the DBX config directives to the common configuration header.
Also simply CPP_PREDEFINES a little.
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/config/alpha/freebsd4.h11
-rw-r--r--contrib/gcc/config/freebsd.h9
2 files changed, 10 insertions, 10 deletions
diff --git a/contrib/gcc/config/alpha/freebsd4.h b/contrib/gcc/config/alpha/freebsd4.h
index f10b264..ad7fb38 100644
--- a/contrib/gcc/config/alpha/freebsd4.h
+++ b/contrib/gcc/config/alpha/freebsd4.h
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler,
for Alpha FreeBSD systems.
- Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright (C) 1998-9 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -31,10 +31,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef EXTENDED_COFF
#define OBJECT_FORMAT_ELF
-/* This is BSD, so it wants DBX format. */
-
-#define DBX_DEBUGGING_INFO
-
/* This is the char to use for continuation (in case we need to turn
continuation back on). */
@@ -55,7 +51,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES \
- "-D__alpha__ -D__alpha -D__ELF__ -Acpu(alpha) -Amachine(alpha)" \
+ "-D__alpha__ -D__ELF__ -Acpu(alpha) -Amachine(alpha)" \
CPP_FBSD_PREDEFINES
#undef CPP_SPEC
@@ -479,9 +475,6 @@ dtors_section () \
#undef TARGET_GAS
#define TARGET_GAS 1
-#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
-
#undef LINK_SPEC
#define LINK_SPEC "-m elf64alpha \
%{p:%e`-p' not supported; use `-pg' and gprof(1)} \
diff --git a/contrib/gcc/config/freebsd.h b/contrib/gcc/config/freebsd.h
index 4ec89d5..35b0c38 100644
--- a/contrib/gcc/config/freebsd.h
+++ b/contrib/gcc/config/freebsd.h
@@ -1,4 +1,4 @@
-/* $Id: freebsd.h,v 1.16 1999/08/15 21:59:46 obrien Exp $ */
+/* $Id: freebsd.h,v 1.17 1999/08/15 22:02:47 obrien Exp $ */
/* Base configuration file for all FreeBSD targets.
Copyright (C) 1999 Free Software Foundation, Inc.
@@ -83,6 +83,13 @@ Boston, MA 02111-1307, USA. */
#undef DEFAULT_VTABLE_THUNKS
#define DEFAULT_VTABLE_THUNKS 1
+/* This is BSD, so we want the DBX format. */
+#define DBX_DEBUGGING_INFO
+
+/* Use stabs instead of DWARF debug format. */
+#undef PREFERRED_DEBUGGING_TYPE
+#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
+
/* Miscellaneous parameters. */
OpenPOWER on IntegriCloud