* embedspu.sh: Correct toe_addr quoting.
This commit is contained in:
parent
89daedbdbc
commit
48d8dc645f
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
|
@ -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]); \
|
||||
|
|
Loading…
Reference in a new issue