summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-03-01 06:14:37 +0000
committerAlan Modra <amodra@gmail.com>2007-03-01 06:14:37 +0000
commit11d5fa8985cfd0148edb9521fd2d97296d8995c6 (patch)
tree665b35933eeb45acf1e6112de33d2721cda8b022
parent9c95710e8b782fdc063e041e716067ddd29ce3d6 (diff)
downloadbinutils-gdb-11d5fa8985cfd0148edb9521fd2d97296d8995c6.tar.gz
* embedspu.sh: Set type and size of global program handle symbol.
-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 5b465f94a1f..010f52ce27d 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 86535b49b7f..0d41865ba5b 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
}