aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-06-21 00:31:39 +0000
committerAlan Modra <amodra@gmail.com>2007-06-21 00:31:39 +0000
commitdaaf07b2446eb0cb4d2c4f387b0819214c0e2a07 (patch)
treec8e7dec26527c51c5dcefb59aa57724962953b2c /binutils
parent8685c9a3b194126859f97a1f47654979e59c03fe (diff)
downloadgdb-daaf07b2446eb0cb4d2c4f387b0819214c0e2a07.zip
gdb-daaf07b2446eb0cb4d2c4f387b0819214c0e2a07.tar.gz
gdb-daaf07b2446eb0cb4d2c4f387b0819214c0e2a07.tar.bz2
* embedspu.sh (relas): Correct sh_info parsing.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/embedspu.sh2
2 files changed, 6 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 41b184d..99e4de8 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2007-06-21 Alan Modra <amodra@bigpond.net.au>
+
+ * embedspu.sh (relas): Correct sh_info parsing.
+
2007-06-19 Danny Smith <dannysmith@users.sourceforge.net>
* objdump.c: Include sys/stat.h.
@@ -49,7 +53,7 @@
* doc/binutils.texi: Document new option.
* NEWS: Mention new features of windres.
-2007-06-18 Brian D. Watt <bwatt@us.ibm.com>
+2007-06-18 Brian D. Watt <bwatt@us.ibm.com>
* embedspu.sh: Parse _SPUEAR_ symbol values as hex.
diff --git a/binutils/embedspu.sh b/binutils/embedspu.sh
index b7b6620..6611172 100644
--- a/binutils/embedspu.sh
+++ b/binutils/embedspu.sh
@@ -124,7 +124,7 @@ main ()
sections=`echo ${sections}`
# For relocation sections, pick off file offset and info (points to
# section where relocs apply)
- relas=`${READELF} -S ${INFILE} | sed -n -e 's, *\[ *[0-9]*\] *[^ ]* *RELA *[0-9a-f]* *0*\([0-9a-f][0-9a-f]*\) .*\([0-9a-f][0-9a-f]*\) *[0-9a-f][0-9a-f]*$,\1 \2,p'`
+ relas=`${READELF} -S ${INFILE} | sed -n -e 's, *\[ *[0-9]*\] *[^ ]* *RELA *[0-9a-f]* *0*\([0-9a-f][0-9a-f]*\).* \([0-9a-f][0-9a-f]*\) *[0-9a-f][0-9a-f]*$,\1 \2,p'`
relas=`echo ${relas}`
# Build embedded SPU image.