From 48d8dc645fb3217a6cffa9a64717e07c046cb22e Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 27 Mar 2007 02:10:58 +0000 Subject: [PATCH] * 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 bb5790b49b0..dd477f3aa74 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2007-03-27 Alan Modra + + * embedspu.sh: Correct toe_addr quoting. + 2007-03-27 Alan Modra * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten diff --git a/binutils/embedspu.sh b/binutils/embedspu.sh index 693b5a4b155..3269ab86107 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]); \ -- 2.30.2