aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/embedspu.sh2
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 5b465f9..010f52c 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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.
diff --git a/binutils/embedspu.sh b/binutils/embedspu.sh
index 86535b4..0d41865 100644
--- a/binutils/embedspu.sh
+++ b/binutils/embedspu.sh
@@ -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
}