From: Alan Modra Date: Fri, 8 Jan 2010 01:41:11 +0000 (+0000) Subject: PR 11107 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b903363e43c8ea7d9b37b599bc15591036d03690;p=binutils-gdb.git PR 11107 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr. --- 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 <