X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fconfig%2Frs6000%2Fnetbsd.h;h=de16b37227cb60995ae9b735a78ebce2ad58b370;hb=381d8e2109c307de7a8e2091e24ba83b1db82f05;hp=e0c519654d3b2e5a296428b324b0ee753fce9695;hpb=3a5a28e23d2c4a230fc1e1b5b4dc60aeca690add;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/config/rs6000/netbsd.h b/gcc/config/rs6000/netbsd.h index e0c519654d3..de16b37227c 100644 --- a/gcc/config/rs6000/netbsd.h +++ b/gcc/config/rs6000/netbsd.h @@ -1,13 +1,13 @@ /* Definitions of target machine for GNU compiler, for PowerPC NetBSD systems. - Copyright 2002, 2003 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. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published - by the Free Software Foundation; either version 2, or (at your + by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT @@ -16,9 +16,8 @@ License for more details. You should have received a copy of the GNU General Public License - along with GCC; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. */ + along with GCC; see the file COPYING3. If not see + . */ #undef TARGET_OS_CPP_BUILTINS /* FIXME: sysv4.h should not define this! */ #define TARGET_OS_CPP_BUILTINS() \ @@ -76,8 +75,7 @@ #define STARTFILE_SPEC NETBSD_STARTFILE_SPEC #undef ENDFILE_SPEC -#define ENDFILE_SPEC \ - "crtsavres%O%s %(netbsd_endfile_spec)" +#define ENDFILE_SPEC "%(netbsd_endfile_spec)" #undef LIB_SPEC #define LIB_SPEC NETBSD_LIB_SPEC @@ -91,3 +89,5 @@ #undef TARGET_VERSION #define TARGET_VERSION fprintf (stderr, " (NetBSD/powerpc ELF)"); + +#define DBX_REGISTER_NUMBER(REGNO) rs6000_dbx_register_number (REGNO)