diff options
author | Alan Modra <amodra@bigpond.net.au> | 2007-03-27 02:10:58 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2007-03-27 02:10:58 +0000 |
commit | c6eb9d3344585293799f6e97bd4c4219d7a428fb (patch) | |
tree | 0fbc5c96c6c1c6c8b2a2240f2aa854b1d23c675f | |
parent | 5e5d27b2de856dda1df3da7cff2ff822414ddfaa (diff) | |
download | binutils-redhat-c6eb9d3344585293799f6e97bd4c4219d7a428fb.tar.gz |
* embedspu.sh: Correct toe_addr quoting.
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/embedspu.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index bb5790b49b..dd477f3aa7 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,9 @@ 2007-03-27 Alan Modra <amodra@bigpond.net.au> + * embedspu.sh: Correct toe_addr quoting. + +2007-03-27 Alan Modra <amodra@bigpond.net.au> + * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten .toe section and .toe address checks. Use .reloc for _EAR* symbols defined in non-BSS sections. Build table for _SPUEAR_ 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]); \ |