summaryrefslogtreecommitdiff
path: root/binutils/embedspu.sh
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2007-03-27 02:10:58 +0000
committerAlan Modra <amodra@bigpond.net.au>2007-03-27 02:10:58 +0000
commitc6eb9d3344585293799f6e97bd4c4219d7a428fb (patch)
tree0fbc5c96c6c1c6c8b2a2240f2aa854b1d23c675f /binutils/embedspu.sh
parent5e5d27b2de856dda1df3da7cff2ff822414ddfaa (diff)
downloadbinutils-redhat-c6eb9d3344585293799f6e97bd4c4219d7a428fb.tar.gz
* embedspu.sh: Correct toe_addr quoting.
Diffstat (limited to 'binutils/embedspu.sh')
-rw-r--r--binutils/embedspu.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/embedspu.sh b/binutils/embedspu.sh
index 693b5a4b15..3269ab8610 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]); \