summaryrefslogtreecommitdiff
path: root/binutils/embedspu.sh
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2007-06-21 00:31:39 +0000
committerAlan Modra <amodra@bigpond.net.au>2007-06-21 00:31:39 +0000
commit319c0cb45871a5c7a1d1e357b007355cbd896ceb (patch)
tree1e4411aa1f7275eed599fbfed118ddaf2c4b8f85 /binutils/embedspu.sh
parent8652fe6e7a4bb2aca3caed248d3db76b7a102fd1 (diff)
downloadbinutils-redhat-319c0cb45871a5c7a1d1e357b007355cbd896ceb.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 b7b6620321..6611172814 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.