Commit 295d926b by Joseph Myers Committed by Joseph Myers

freebsd.h (ASM_SPEC): Define.

	* config/sparc/freebsd.h (ASM_SPEC): Define.
	* config/sparc/vxworks.h (ASM_SPEC): Define.

From-SVN: r169867
parent bdeb2471
2011-02-06 Joseph Myers <joseph@codesourcery.com> 2011-02-06 Joseph Myers <joseph@codesourcery.com>
* config/sparc/freebsd.h (ASM_SPEC): Define.
* config/sparc/vxworks.h (ASM_SPEC): Define.
2011-02-06 Joseph Myers <joseph@codesourcery.com>
* config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}. * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}.
2011-02-06 Steven Bosscher <steven@gcc.gnu.org> 2011-02-06 Steven Bosscher <steven@gcc.gnu.org>
......
/* Definitions for Sun SPARC64 running FreeBSD using the ELF format /* Definitions for Sun SPARC64 running FreeBSD using the ELF format
Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2010 Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2010, 2011
Free Software Foundation, Inc. Free Software Foundation, Inc.
Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi. Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
...@@ -30,6 +30,9 @@ along with GCC; see the file COPYING3. If not see ...@@ -30,6 +30,9 @@ along with GCC; see the file COPYING3. If not see
#define CPP_CPU64_DEFAULT_SPEC \ #define CPP_CPU64_DEFAULT_SPEC \
"-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__arch64__" "-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__arch64__"
#undef ASM_SPEC
#define ASM_SPEC "%{fpic|fPIC|fpie|fPIE:-K PIC} %(asm_cpu)"
#define LINK_SPEC "%(link_arch) \ #define LINK_SPEC "%(link_arch) \
%{!mno-relax:%{!r:-relax}} \ %{!mno-relax:%{!r:-relax}} \
%{p:%nconsider using '-pg' instead of '-p' with gprof(1)} \ %{p:%nconsider using '-pg' instead of '-p' with gprof(1)} \
......
/* Definitions of target machine for GNU compiler, /* Definitions of target machine for GNU compiler,
for SPARC targeting the VxWorks run time environment. for SPARC targeting the VxWorks run time environment.
Copyright (C) 2007, 2010 Free Software Foundation, Inc. Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -33,6 +33,9 @@ along with GCC; see the file COPYING3. If not see ...@@ -33,6 +33,9 @@ along with GCC; see the file COPYING3. If not see
#undef CPP_SUBTARGET_SPEC #undef CPP_SUBTARGET_SPEC
#define CPP_SUBTARGET_SPEC VXWORKS_ADDITIONAL_CPP_SPEC #define CPP_SUBTARGET_SPEC VXWORKS_ADDITIONAL_CPP_SPEC
#undef ASM_SPEC
#define ASM_SPEC "%{fpic|fPIC|fpie|fPIE:-K PIC} %(asm_cpu)"
#undef LIB_SPEC #undef LIB_SPEC
#define LIB_SPEC VXWORKS_LIB_SPEC #define LIB_SPEC VXWORKS_LIB_SPEC
#undef LINK_SPEC #undef LINK_SPEC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment