From 5b15ba9a9bb280c433490f21e32e80162449860f Mon Sep 17 00:00:00 2001 From: obrien Date: Thu, 19 Aug 1999 09:16:23 +0000 Subject: Move two of the DBX config directives to the common configuration header. Also simply CPP_PREDEFINES a little. --- contrib/gcc/config/alpha/freebsd4.h | 11 ++--------- contrib/gcc/config/freebsd.h | 9 ++++++++- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'contrib') 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. */ -- cgit v1.1