* emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
This commit is contained in:
Alan Modra 2010-01-08 01:41:11 +00:00
parent 0edfa059ee
commit b903363e43
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-01-08 Alan Modra <amodra@gmail.com>
PR 11107
* emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
For older changes see ChangeLog-2009

View File

@ -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