X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2Fembedspu.sh;h=6611172814e62a9d58692c7d705a3579eeab006c;hb=36fc76aebb7315571094d66b35e13d69d512fbe2;hp=7a321589d1b8455f773b24be0494239045e5580e;hpb=ece5ef60797fafabe50aae16758ecb33b033871d;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/embedspu.sh b/binutils/embedspu.sh index 7a321589d1..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. @@ -146,11 +146,6 @@ main () # 5. Write a table of _SPUEAR_ symbols. ${CC} ${FLAGS} -x assembler-with-cpp -nostartfiles -nostdlib \ -Wa,-mbig -Wl,-r -Wl,-x -o ${OUTFILE} - <