Fix embedspu symbol truncation

Alan Modra amodra@bigpond.net.au
Tue Feb 13 07:46:00 GMT 2007


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



More information about the Binutils mailing list