* embedspu.sh: Add -W to readelf invocation.

This commit is contained in:
Alan Modra 2007-02-13 07:33:32 +00:00
parent e4e0193e2b
commit 41160f02e6
2 changed files with 6 additions and 2 deletions

View 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.

View 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 = ""; \