summaryrefslogtreecommitdiff
path: root/binutils/embedspu.sh
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/embedspu.sh
parent8685c9a3b194126859f97a1f47654979e59c03fe (diff)
downloadbinutils-gdb-daaf07b2446eb0cb4d2c4f387b0819214c0e2a07.tar.gz
* embedspu.sh (relas): Correct sh_info parsing.
Diffstat (limited to 'binutils/embedspu.sh')
-rw-r--r--binutils/embedspu.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/embedspu.sh b/binutils/embedspu.sh
index b7b6620321c..6611172814e 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.