From: jsm28 Date: Thu, 2 Dec 2010 19:40:27 +0000 (+0000) Subject: * config/i386/freebsd.h (LINK_SPEC): Cut long comment. X-Git-Tag: upstream/4.9.2~24426 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efe15a411a305c71b67f59f3ea86e1750881b07a;p=platform%2Fupstream%2Flinaro-gcc.git * config/i386/freebsd.h (LINK_SPEC): Cut long comment. * config/i386/linux.h (LINK_SPEC): Cut long comment. * config/i386/netware.h (LINK_SPEC): Remove %{V}. * config/m32r/linux.h (LINK_SPEC): Cut long comment. * config/m68k/linux.h (LINK_SPEC): Cut long comment. * config/sparc/linux.h (LINK_SPEC): Cut long comment. (ASM_SPEC): Remove %{V} and %{v:%{!V:-V}}. * config/sparc/linux64.h (LINK_SPEC): Cut long comment. (ASM_SPEC): Remove %{V} and %{v:%{!V:-V}}. * config/sparc/netbsd-elf.h (ASM_SPEC): Remove %{V} and %{v:%{!V:-V}}. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167386 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 64eaa71..ee54726 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,19 @@ 2010-12-02 Joseph Myers + * config/i386/freebsd.h (LINK_SPEC): Cut long comment. + * config/i386/linux.h (LINK_SPEC): Cut long comment. + * config/i386/netware.h (LINK_SPEC): Remove %{V}. + * config/m32r/linux.h (LINK_SPEC): Cut long comment. + * config/m68k/linux.h (LINK_SPEC): Cut long comment. + * config/sparc/linux.h (LINK_SPEC): Cut long comment. + (ASM_SPEC): Remove %{V} and %{v:%{!V:-V}}. + * config/sparc/linux64.h (LINK_SPEC): Cut long comment. + (ASM_SPEC): Remove %{V} and %{v:%{!V:-V}}. + * config/sparc/netbsd-elf.h (ASM_SPEC): Remove %{V} and + %{v:%{!V:-V}}. + +2010-12-02 Joseph Myers + * gcc.c (trad_capable_cpp, default_compilers): Don't handle -ftraditional. diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h index 1d27044..f23a424 100644 --- a/gcc/config/i386/freebsd.h +++ b/gcc/config/i386/freebsd.h @@ -88,13 +88,7 @@ along with GCC; see the file COPYING3. If not see /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support for the special GCC options -static and -shared, which allow us to link things in one of these three modes by applying the appropriate - combinations of options at link-time. We like to support here for - as many of the other GNU linker options as possible. But I don't - have the time to search for those flags. I am sure how to add - support for -soname shared_object_name. H.J. - - I took out %{v:%{!V:-V}}. It is too much :-(. They can use - -Wl,-V. + combinations of options at link-time. When the -shared link option is used a final link is not being done. */ diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index bb4a72f..a1eca56 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -85,13 +85,7 @@ along with GCC; see the file COPYING3. If not see /* Provide a LINK_SPEC appropriate for Linux. Here we provide support for the special GCC options -static and -shared, which allow us to link things in one of these three modes by applying the appropriate - combinations of options at link-time. We like to support here for - as many of the other GNU linker options as possible. But I don't - have the time to search for those flags. I am sure how to add - support for -soname shared_object_name. H.J. - - I took out %{v:%{!V:-V}}. It is too much :-(. They can use - -Wl,-V. + combinations of options at link-time. When the -shared link option is used a final link is not being done. */ diff --git a/gcc/config/i386/netware.h b/gcc/config/i386/netware.h index 7f90e1d..6eb949e 100644 --- a/gcc/config/i386/netware.h +++ b/gcc/config/i386/netware.h @@ -31,7 +31,7 @@ along with GCC; see the file COPYING3. If not see /* Kinda useless, but what the hell */ #undef LINK_SPEC -#define LINK_SPEC "%{h*} %{V} %{v:%{!V:-V}} \ +#define LINK_SPEC "%{h*} %{v:-V} \ %{b} \ %{Qy:} %{!Qn:-Qy}" diff --git a/gcc/config/m32r/linux.h b/gcc/config/m32r/linux.h index 9856e81..cb94da4 100644 --- a/gcc/config/m32r/linux.h +++ b/gcc/config/m32r/linux.h @@ -41,13 +41,7 @@ /* Provide a LINK_SPEC appropriate for Linux. Here we provide support for the special GCC options -static and -shared, which allow us to link things in one of these three modes by applying the appropriate - combinations of options at link-time. We like to support here for - as many of the other GNU linker options as possible. But I don't - have the time to search for those flags. I am sure how to add - support for -soname shared_object_name. H.J. - - I took out %{v:%{!V:-V}}. It is too much :-(. They can use - -Wl,-V. + combinations of options at link-time. When the -shared link option is used a final link is not being done. */ diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h index 1d73ee0..6e6ad0c 100644 --- a/gcc/config/m68k/linux.h +++ b/gcc/config/m68k/linux.h @@ -71,13 +71,7 @@ along with GCC; see the file COPYING3. If not see /* Provide a LINK_SPEC appropriate for GNU/Linux. Here we provide support for the special GCC options -static and -shared, which allow us to link things in one of these three modes by applying the appropriate - combinations of options at link-time. We like to support here for - as many of the other GNU linker options as possible. But I don't - have the time to search for those flags. I am sure how to add - support for -soname shared_object_name. H.J. - - I took out %{v:%{!V:-V}}. It is too much :-(. They can use - -Wl,-V. + combinations of options at link-time. When the -shared link option is used a final link is not being done. */ diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index 2b0bd73..97ce5ee 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -70,13 +70,7 @@ along with GCC; see the file COPYING3. If not see /* Provide a LINK_SPEC appropriate for GNU/Linux. Here we provide support for the special GCC options -static and -shared, which allow us to link things in one of these three modes by applying the appropriate - combinations of options at link-time. We like to support here for - as many of the other GNU linker options as possible. But I don't - have the time to search for those flags. I am sure how to add - support for -soname shared_object_name. H.J. - - I took out %{v:%{!V:-V}}. It is too much :-(. They can use - -Wl,-V. + combinations of options at link-time. When the -shared link option is used a final link is not being done. */ @@ -99,8 +93,6 @@ along with GCC; see the file COPYING3. If not see It's safe to pass -s always, even if -g is not used. */ #undef ASM_SPEC #define ASM_SPEC "\ -%{V} \ -%{v:%{!V:-V}} \ %{!Qn:-Qy} \ %{n} \ %{T} \ diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 7f413c7..d50094b 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -96,13 +96,7 @@ along with GCC; see the file COPYING3. If not see /* Provide a LINK_SPEC appropriate for GNU/Linux. Here we provide support for the special GCC options -static and -shared, which allow us to link things in one of these three modes by applying the appropriate - combinations of options at link-time. We like to support here for - as many of the other GNU linker options as possible. But I don't - have the time to search for those flags. I am sure how to add - support for -soname shared_object_name. H.J. - - I took out %{v:%{!V:-V}}. It is too much :-(. They can use - -Wl,-V. + combinations of options at link-time. When the -shared link option is used a final link is not being done. */ @@ -228,8 +222,6 @@ along with GCC; see the file COPYING3. If not see It's safe to pass -s always, even if -g is not used. */ #undef ASM_SPEC #define ASM_SPEC "\ -%{V} \ -%{v:%{!V:-V}} \ %{!Qn:-Qy} \ %{n} \ %{T} \ diff --git a/gcc/config/sparc/netbsd-elf.h b/gcc/config/sparc/netbsd-elf.h index ebd0260..90f48d0 100644 --- a/gcc/config/sparc/netbsd-elf.h +++ b/gcc/config/sparc/netbsd-elf.h @@ -1,6 +1,7 @@ /* Definitions of target machine for GCC, for ELF on NetBSD/sparc and NetBSD/sparc64. - Copyright (C) 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2004, 2005, 2007, 2010 + Free Software Foundation, Inc. Contributed by Matthew Green (mrg@eterna.com.au). This file is part of GCC. @@ -71,7 +72,7 @@ along with GCC; see the file COPYING3. If not see #define USER_LABEL_PREFIX "" #undef ASM_SPEC -#define ASM_SPEC "%{fpic|fPIC|fpie|fPIE:-K PIC} %{V} %{v:%{!V:-V}} \ +#define ASM_SPEC "%{fpic|fPIC|fpie|fPIE:-K PIC} \ %{mlittle-endian:-EL} \ %(asm_cpu) %(asm_arch) %(asm_relax)"