This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]