This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Fix embedspu symbol truncation
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Tue, 13 Feb 2007 18:02:30 +1030
- Subject: Fix embedspu symbol truncation
Without -W (--wide), readelf truncates symbols.
* embedspu.sh: Add -W to readelf invocation.
Index: binutils/embedspu.sh
===================================================================
RCS file: /cvs/src/src/binutils/embedspu.sh,v
retrieving revision 1.1
diff -u -p -r1.1 embedspu.sh
--- binutils/embedspu.sh 11 Jan 2007 06:24:40 -0000 1.1
+++ binutils/embedspu.sh 13 Feb 2007 07:07:13 -0000
@@ -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 = ""; \
--
Alan Modra
IBM OzLabs - Linux Technology Centre