PR 11107, build failure on solaris

Alan Modra amodra@gmail.com
Fri Jan 8 01:39:00 GMT 2010


Applying mainline and branch.

	PR 11107
	* emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.

Index: ld/emultempl/vxworks.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/vxworks.em,v
retrieving revision 1.8
diff -u -p -r1.8 vxworks.em
--- ld/emultempl/vxworks.em	2 Sep 2009 07:25:35 -0000	1.8
+++ ld/emultempl/vxworks.em	8 Jan 2010 01:17:50 -0000
@@ -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_LIS
 #	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

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list