From 319c0cb45871a5c7a1d1e357b007355cbd896ceb Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 21 Jun 2007 00:31:39 +0000 Subject: * embedspu.sh (relas): Correct sh_info parsing. --- binutils/embedspu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'binutils/embedspu.sh') 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. -- cgit v1.2.1