aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-01-08 01:41:11 +0000
committerAlan Modra <amodra@gmail.com>2010-01-08 01:41:11 +0000
commitb903363e43c8ea7d9b37b599bc15591036d03690 (patch)
tree4aed4ec70abdd5572dab28d79b45148e186b6b43 /ld
parent0edfa059eeab1fc1df76dc84e3e09b2f5abedae0 (diff)
downloadgdb-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')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/emultempl/vxworks.em4
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 4a2a6da..1efe70a 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
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