Mercurial > hg > CbC > CbC_gcc
diff gcc/config/netbsd-aout.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | a06113de4d67 |
children |
line wrap: on
line diff
--- a/gcc/config/netbsd-aout.h Tue May 25 18:58:51 2010 +0900 +++ b/gcc/config/netbsd-aout.h Tue Mar 22 17:18:12 2011 +0900 @@ -1,5 +1,5 @@ /* Common configuration file for NetBSD a.out targets. - Copyright (C) 2002, 2007 Free Software Foundation, Inc. + Copyright (C) 2002, 2007, 2010 Free Software Foundation, Inc. Contributed by Wasabi Systems, Inc. This file is part of GCC. @@ -26,13 +26,6 @@ } \ while (0) -/* This defines which switch letters take arguments. */ - -#undef SWITCH_TAKES_ARG -#define SWITCH_TAKES_ARG(CHAR) \ - (DEFAULT_SWITCH_TAKES_ARG(CHAR) \ - || (CHAR) == 'R') - /* Provide an ASM_SPEC appropriate for NetBSD. Currently we only deal with the options for generating PIC code. */ @@ -64,7 +57,7 @@ "%{nostdlib:-nostdlib} \ %{!shared: \ %{!nostdlib: \ - %{!r*: \ + %{!r: \ %{!e*:-e start}}} \ -dc -dp \ %{static:-Bstatic}} \ @@ -76,8 +69,6 @@ #undef LINK_SPEC #define LINK_SPEC NETBSD_LINK_SPEC_AOUT -/* Some imports from svr4.h in support of shared libraries. */ - /* Define the strings used for the .type, .size, and .set directives. These strings generally do not vary from one system running NetBSD to another, but if a given system needs to use different pseudo-op @@ -141,7 +132,7 @@ { \ ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "function"); \ ASM_DECLARE_RESULT (FILE, DECL_RESULT (DECL)); \ - ASM_OUTPUT_LABEL(FILE, NAME); \ + ASM_OUTPUT_FUNCTION_LABEL (FILE, NAME, DECL); \ } \ while (0)