From b903363e43c8ea7d9b37b599bc15591036d03690 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 8 Jan 2010 01:41:11 +0000 Subject: [PATCH] PR 11107 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr. --- ld/ChangeLog | 4 ++++ ld/emultempl/vxworks.em | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 4a2a6da1165..1efe70ae96c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2010-01-08 Alan Modra + + PR 11107 + * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr. For older changes see ChangeLog-2009 diff --git a/ld/emultempl/vxworks.em b/ld/emultempl/vxworks.em index 3748ddb37c2..7a21ac3fbcc 100644 --- a/ld/emultempl/vxworks.em +++ b/ld/emultempl/vxworks.em @@ -1,5 +1,5 @@ # This shell script emits a C file. -*- C -*- -# Copyright 2006, 2007, 2008 Free Software Foundation, Inc. +# Copyright 2006, 2007, 2008, 2010 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -90,7 +90,7 @@ PARSE_AND_LIST_ARGS_CASES=$PARSE_AND_LIST_ARGS_CASES' # something other than gld${EMULATION_NAME}_foo. We handle # this case in the same way as (1). for override in before_parse after_open; do - var="LDEMUL_`echo ${override} | tr a-z A-Z`" + var="LDEMUL_`echo ${override} | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`" eval value=\$${var} if test "${value}" = "gld${EMULATION_NAME}_${override}"; then fragment <