diff options
author | Alan Modra <amodra@gmail.com> | 2010-01-08 01:41:11 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-01-08 01:41:11 +0000 |
commit | b903363e43c8ea7d9b37b599bc15591036d03690 (patch) | |
tree | 4aed4ec70abdd5572dab28d79b45148e186b6b43 /ld/emultempl | |
parent | 0edfa059eeab1fc1df76dc84e3e09b2f5abedae0 (diff) | |
download | gdb-b903363e43c8ea7d9b37b599bc15591036d03690.zip gdb-b903363e43c8ea7d9b37b599bc15591036d03690.tar.gz gdb-b903363e43c8ea7d9b37b599bc15591036d03690.tar.bz2 |
PR 11107
* emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/vxworks.em | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/vxworks.em b/ld/emultempl/vxworks.em index 3748ddb..7a21ac3 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 <<EOF |