* embedspu.sh (relas): Correct sh_info parsing.
authorAlan Modra <amodra@gmail.com>
Thu, 21 Jun 2007 00:31:39 +0000 (00:31 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 21 Jun 2007 00:31:39 +0000 (00:31 +0000)
binutils/ChangeLog
binutils/embedspu.sh

index 41b184d5b8b7f8c26d7f274ac09eb7102e68adc3..99e4de8785d57e2118f24bb9b572910a4fba7991 100644 (file)
@@ -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.
 
index b7b6620321c520cdc15bc095627c178a6c31f2eb..6611172814e62a9d58692c7d705a3579eeab006c 100644 (file)
@@ -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.
This page took 0.026045 seconds and 4 git commands to generate.