summaryrefslogtreecommitdiff
path: root/binutils/embedspu.sh
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2007-02-13 07:33:32 +0000
committerAlan Modra <amodra@bigpond.net.au>2007-02-13 07:33:32 +0000
commita423f29ec1222396f427bcefbca1d461a420d014 (patch)
tree6ab64545c70c8a5fcd89618fee5ce36516c45cfe /binutils/embedspu.sh
parent71ef7b3f4347c635bb9ce6e793c943ee9c8ef95c (diff)
downloadbinutils-redhat-a423f29ec1222396f427bcefbca1d461a420d014.tar.gz
* embedspu.sh: Add -W to readelf invocation.
Diffstat (limited to 'binutils/embedspu.sh')
-rw-r--r--binutils/embedspu.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/embedspu.sh b/binutils/embedspu.sh
index b3f8a89ab1..86535b49b7 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 = ""; \