* embedspu.sh: Set type and size of global program handle symbol.
authorAlan Modra <amodra@gmail.com>
Thu, 1 Mar 2007 06:14:37 +0000 (06:14 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 1 Mar 2007 06:14:37 +0000 (06:14 +0000)
binutils/ChangeLog
binutils/embedspu.sh

index 5b465f9..010f52c 100644 (file)
@@ -1,3 +1,7 @@
+2007-03-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * embedspu.sh: Set type and size of global program handle symbol.
+
 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
 
        * Makefile.am (PROGS): Delete.
index 86535b4..0d41865 100644 (file)
@@ -166,6 +166,7 @@ $8 != "_EAR_" { \
 
  .section .data,"aw",@progbits
  .globl ${SYMBOL}
+ .type ${SYMBOL}, @object
 # fill in a struct spe_program_handle
 #ifdef _LP64
  .p2align 3
@@ -181,6 +182,7 @@ ${SYMBOL}:
  .int __speelf__
  .int __spetoe__
 #endif
+ .size ${SYMBOL}, . - ${SYMBOL}
 EOF
 }