diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c01cc9e03035..7eb21fb20754 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 6cdc006d84f9..81d27bb723c2 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 c54ea356cd05..ce3689b179b7 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} \