Move two of the DBX config directives to the common configuration header.

Also simply CPP_PREDEFINES a little.
This commit is contained in:
obrien 1999-08-19 09:16:23 +00:00
parent ad5cdf0ec1
commit d62f36e63b
2 changed files with 10 additions and 10 deletions

View File

@ -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)} \

View File

@ -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. */