From: Alan Modra Date: Tue, 27 Mar 2007 02:10:58 +0000 (+0000) Subject: * embedspu.sh: Correct toe_addr quoting. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48d8dc645fb3217a6cffa9a64717e07c046cb22e;p=binutils-gdb.git * embedspu.sh: Correct toe_addr quoting. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index bb5790b49b0..dd477f3aa74 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2007-03-27 Alan Modra + + * embedspu.sh: Correct toe_addr quoting. + 2007-03-27 Alan Modra * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten diff --git a/binutils/embedspu.sh b/binutils/embedspu.sh index 693b5a4b155..3269ab86107 100644 --- a/binutils/embedspu.sh +++ b/binutils/embedspu.sh @@ -149,7 +149,7 @@ __speelf__: __spetoe__: `${READELF} -s -W ${INFILE} | grep ' _EAR_' | sort -k 2 | awk \ 'BEGIN { \ - addr = strtonum ("0x" '${toe_addr-0}'); \ + addr = strtonum ("0x" "'${toe_addr-0}'"); \ split ("'"${sections}"'", s, " "); \ for (i = 1; i in s; i += 3) { \ sec_off[s[i]] = strtonum ("0x" s[i+2]) - strtonum ("0x" s[i+1]); \