From: jsm28 Date: Thu, 9 Dec 2010 16:28:45 +0000 (+0000) Subject: * config/ia64/hpux.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=622e35a9eb49f95663bbbc61b21ad33b94f060be;ds=sidebyside * config/ia64/hpux.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for non-GNU assembler. * config/m68k/netbsd-elf.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove. * config/m68k/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove. * config/mips/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove. * config/sol2.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for non-GNU assembler. * config/sparc/sparc.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove. * config/svr4.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167646 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 839ffc6a161..ca60d29ce5c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,16 @@ +2010-12-09 Joseph Myers + + * config/ia64/hpux.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for + non-GNU assembler. + * config/m68k/netbsd-elf.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): + Remove. + * config/m68k/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove. + * config/mips/openbsd.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove. + * config/sol2.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Define for + non-GNU assembler. + * config/sparc/sparc.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove. + * config/svr4.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): Remove. + 2010-12-09 Martin Jambor * ipa-prop.c (compute_complex_ancestor_jump_func): Work also if the diff --git a/gcc/config/ia64/hpux.h b/gcc/config/ia64/hpux.h index 38a005b0626..d627f9d5735 100644 --- a/gcc/config/ia64/hpux.h +++ b/gcc/config/ia64/hpux.h @@ -68,6 +68,10 @@ do { \ #undef ASM_EXTRA_SPEC #define ASM_EXTRA_SPEC "%{milp32:-milp32} %{mlp64:-mlp64}" +#ifndef USE_GAS +#define AS_NEEDS_DASH_FOR_PIPED_INPUT +#endif + #undef ENDFILE_SPEC #undef STARTFILE_SPEC diff --git a/gcc/config/m68k/netbsd-elf.h b/gcc/config/m68k/netbsd-elf.h index fd654188e05..1238d26e766 100644 --- a/gcc/config/m68k/netbsd-elf.h +++ b/gcc/config/m68k/netbsd-elf.h @@ -1,7 +1,8 @@ /* Definitions of target machine for GNU compiler, for m68k (including m68010) NetBSD platforms using the ELF object format. - Copyright (C) 2002, 2003, 2004, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2004, 2006, 2007, 2009, 2010 + Free Software Foundation, Inc. Contributed by Wasabi Systems. Inc. This file is derived from , , @@ -73,8 +74,6 @@ along with GCC; see the file COPYING3. If not see #undef ASM_SPEC #define ASM_SPEC "%(asm_cpu_spec) %{fpic|fpie:-k} %{fPIC|fPIE:-k -K}" -#define AS_NEEDS_DASH_FOR_PIPED_INPUT - /* Provide a LINK_SPEC appropriate for a NetBSD/m68k ELF target. */ #undef LINK_SPEC diff --git a/gcc/config/m68k/openbsd.h b/gcc/config/m68k/openbsd.h index b2ff062ea34..8478855dfc5 100644 --- a/gcc/config/m68k/openbsd.h +++ b/gcc/config/m68k/openbsd.h @@ -1,5 +1,6 @@ /* Configuration file for an m68k OpenBSD target. - Copyright (C) 1999, 2002, 2003, 2007 Free Software Foundation, Inc. + Copyright (C) 1999, 2002, 2003, 2007, 2009, 2010 + Free Software Foundation, Inc. This file is part of GCC. @@ -36,8 +37,6 @@ along with GCC; see the file COPYING3. If not see #undef ASM_SPEC #define ASM_SPEC "%(asm_cpu_spec) %{fpic|fpie:-k} %{fPIC|fPIE:-k -K}" -#define AS_NEEDS_DASH_FOR_PIPED_INPUT - /* Layout of source language data types. */ /* This must agree with */ diff --git a/gcc/config/mips/openbsd.h b/gcc/config/mips/openbsd.h index b067227f7f6..4936131c3f6 100644 --- a/gcc/config/mips/openbsd.h +++ b/gcc/config/mips/openbsd.h @@ -24,8 +24,6 @@ along with GCC; see the file COPYING3. If not see #undef SUBTARGET_ASM_SPEC #define SUBTARGET_ASM_SPEC "%{fPIC|fPIE:-KPIC}" -#define AS_NEEDS_DASH_FOR_PIPED_INPUT - /* CPP specific OpenBSD specs. */ #undef SUBTARGET_CPP_SPEC #define SUBTARGET_CPP_SPEC OBSD_CPP_SPEC diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index 943ff8bb726..0ad98aabd43 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -291,6 +291,9 @@ __enable_execute_stack (void *addr) \ #ifndef USE_GAS #undef TARGET_ASM_ASSEMBLE_VISIBILITY #define TARGET_ASM_ASSEMBLE_VISIBILITY solaris_assemble_visibility + +#define AS_NEEDS_DASH_FOR_PIPED_INPUT + #endif extern GTY(()) tree solaris_pending_aligns; diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 9927333cc13..596fc15953c 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -453,8 +453,6 @@ extern enum cmodel sparc_cmodel; %{!pg:%{!p:%{fpic|fPIC|fpie|fPIE:-k}}} %{keep-local-as-symbols:-L} \ %(asm_cpu) %(asm_relax)" -#define AS_NEEDS_DASH_FOR_PIPED_INPUT - /* This macro defines names of additional specifications to put in the specs that can be used in various specifications like CC1_SPEC. Its definition is an initializer with a subgrouping for each command option. diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h index 9d756df2704..701428d567b 100644 --- a/gcc/config/svr4.h +++ b/gcc/config/svr4.h @@ -72,8 +72,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #undef ASM_SPEC #define ASM_SPEC SVR4_ASM_SPEC -#define AS_NEEDS_DASH_FOR_PIPED_INPUT - /* Under svr4, the normal location of the `ld' and `as' programs is the /usr/ccs/bin directory. */