* embedspu.sh: Add -W to readelf invocation.
authorAlan Modra <amodra@gmail.com>
Tue, 13 Feb 2007 07:33:32 +0000 (07:33 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 13 Feb 2007 07:33:32 +0000 (07:33 +0000)
binutils/ChangeLog
binutils/embedspu.sh

index 5524705..a3d568c 100644 (file)
@@ -1,3 +1,7 @@
+2007-02-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * embedspu.sh: Add -W to readelf invocation.
+
 2007-02-06  Dave Brolley  <brolley@redhat.com>
 
        * MAINTAINERS: Add myself as the maintainer of the MeP port.
index b3f8a89..86535b4 100644 (file)
@@ -1,7 +1,7 @@
 #! /bin/sh 
 # Embed an SPU ELF executable into a PowerPC object file.
 #
-# Copyright 2006 Free Software Foundation, Inc.
+# Copyright 2006, 2007 Free Software Foundation, Inc.
 #
 # This file is part of GNU Binutils.
 #
@@ -138,7 +138,7 @@ __speelf__:
  .section .data.spetoe,"aw",@progbits
  .p2align 7
 __spetoe__:
-`${READELF} -s ${INFILE} | grep ' _EAR_' | sort -k 2 | awk \
+`${READELF} -s -W ${INFILE} | grep ' _EAR_' | sort -k 2 | awk \
 'BEGIN { \
   last_addr = 0; \
   last_sym = ""; \