diff options
author | Alan Modra <amodra@gmail.com> | 2007-03-27 02:10:58 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-03-27 02:10:58 +0000 |
commit | 48d8dc645fb3217a6cffa9a64717e07c046cb22e (patch) | |
tree | a539a170905f0fa9ec386970a5b14934f6777d26 | |
parent | 89daedbdbc647d2f04d69942c60ed6621777eca5 (diff) | |
download | gdb-48d8dc645fb3217a6cffa9a64717e07c046cb22e.zip gdb-48d8dc645fb3217a6cffa9a64717e07c046cb22e.tar.gz gdb-48d8dc645fb3217a6cffa9a64717e07c046cb22e.tar.bz2 |
* 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 bb5790b..dd477f3 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 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]); \ |