summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/netbsd.h
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-20 15:29:31 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-20 15:29:31 +0000
commitde784bee66a1ec1d0dad00d9eedbe9b1667dd883 (patch)
treef7fa71d18b358e9b3f83e733d9571d6e7bb01b03 /gcc/config/rs6000/netbsd.h
parent5525a5c1951bcd1ecd62592959a25261b19576eb (diff)
downloadgcc-de784bee66a1ec1d0dad00d9eedbe9b1667dd883.tar.gz
* config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't define.
(DBX_REGISTER_NUMBER): Define. * config/rs6000/lynx.h (DBX_REGISTER_NUMBER): Define. * config/rs6000/netbsd.h (DBX_REGISTER_NUMBER): Define. * config/rs6000/sysv4.h (SIZE_TYPE): Define. (ASM_SPEC): Define without using SVR4_ASM_SPEC. (DBX_REGISTER_NUMBER): Undefine. * config.gcc (powerpc-*-eabispe*, powerpc-*-eabisimaltivec*, powerpc-*-eabisim*, powerpc-*-elf*, powerpc-*-eabialtivec*, powerpc-xilinx-eabi*, powerpc-*-eabi*, powerpc-*-rtems*, powerpc-*-linux* | powerpc64-*-linux*, powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, powerpc-wrs-vxworks|powerpc-wrs-vxworksae, powerpcle-*-elf*, powerpcle-*-eabisim*, powerpcle-*-eabi*): Don't use svr4.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168085 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/netbsd.h')
-rw-r--r--gcc/config/rs6000/netbsd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/rs6000/netbsd.h b/gcc/config/rs6000/netbsd.h
index 637060e63f5..de16b37227c 100644
--- a/gcc/config/rs6000/netbsd.h
+++ b/gcc/config/rs6000/netbsd.h
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler,
for PowerPC NetBSD systems.
- Copyright 2002, 2003, 2007, 2008 Free Software Foundation, Inc.
+ Copyright 2002, 2003, 2007, 2008, 2010 Free Software Foundation, Inc.
Contributed by Wasabi Systems, Inc.
This file is part of GCC.
@@ -89,3 +89,5 @@
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (NetBSD/powerpc ELF)");
+
+#define DBX_REGISTER_NUMBER(REGNO) rs6000_dbx_register_number (REGNO)