From 48d8dc645fb3217a6cffa9a64717e07c046cb22e Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 27 Mar 2007 02:10:58 +0000 Subject: * embedspu.sh: Correct toe_addr quoting. --- binutils/ChangeLog | 4 ++++ binutils/embedspu.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index bb5790b..dd477f3 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,9 @@ 2007-03-27 Alan Modra + * embedspu.sh: Correct toe_addr quoting. + +2007-03-27 Alan Modra + * 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 693b5a4..3269ab8 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]); \ -- cgit v1.1