aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-02-13 07:33:32 +0000
committerAlan Modra <amodra@gmail.com>2007-02-13 07:33:32 +0000
commit41160f02e6e2806cb3436954afc7e1c332e6fc50 (patch)
treecc326c36b237ff3f3394a25e0e00909e83da49f5 /binutils
parente4e0193e2b544e10aa8bd2edc85b4b40a08d646e (diff)
downloadgdb-41160f02e6e2806cb3436954afc7e1c332e6fc50.zip
gdb-41160f02e6e2806cb3436954afc7e1c332e6fc50.tar.gz
gdb-41160f02e6e2806cb3436954afc7e1c332e6fc50.tar.bz2
* embedspu.sh: Add -W to readelf invocation.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/embedspu.sh4
2 files changed, 6 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 5524705..a3d568c 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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.
diff --git a/binutils/embedspu.sh b/binutils/embedspu.sh
index b3f8a89..86535b4 100644
--- a/binutils/embedspu.sh
+++ b/binutils/embedspu.sh
@@ -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 = ""; \