From 43ee67856a31aa205c7f535a84673c552519a231 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 14 Jan 2011 18:42:32 +0000 Subject: [PATCH] linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{version:-v}. * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{version:-v}. * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. From-SVN: r168801 --- gcc/ChangeLog | 6 ++++++ gcc/config/arm/linux-elf.h | 2 +- gcc/config/lm32/uclinux-elf.h | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c01cc9e0303..7eb21fb2075 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-01-14 Joseph Myers + + * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove + %{version:-v}. + * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. + 2011-01-14 Joseph Myers * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}. diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h index 6cdc006d84f..81d27bb723c 100644 --- a/gcc/config/arm/linux-elf.h +++ b/gcc/config/arm/linux-elf.h @@ -64,7 +64,7 @@ #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" -#define LINUX_TARGET_LINK_SPEC "%{h*} %{version:-v} \ +#define LINUX_TARGET_LINK_SPEC "%{h*} \ %{static:-Bstatic} \ %{shared:-shared} \ %{symbolic:-Bsymbolic} \ diff --git a/gcc/config/lm32/uclinux-elf.h b/gcc/config/lm32/uclinux-elf.h index c54ea356cd0..ce3689b179b 100644 --- a/gcc/config/lm32/uclinux-elf.h +++ b/gcc/config/lm32/uclinux-elf.h @@ -1,6 +1,6 @@ /* Definitions for LM32 running Linux-based GNU systems using ELF Copyright (C) 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, - 2009, 2010 Free Software Foundation, Inc. + 2009, 2010, 2011 Free Software Foundation, Inc. Contributed by Philip Blundell This file is part of GCC. @@ -67,7 +67,7 @@ "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s" #undef LINK_SPEC -#define LINK_SPEC "%{h*} %{version:-v} \ +#define LINK_SPEC "%{h*} \ %{static:-Bstatic} \ %{shared:-shared} \ %{symbolic:-Bsymbolic} \