From 11d5fa8985cfd0148edb9521fd2d97296d8995c6 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 1 Mar 2007 06:14:37 +0000 Subject: [PATCH] * embedspu.sh: Set type and size of global program handle symbol. --- binutils/ChangeLog | 4 ++++ binutils/embedspu.sh | 2 ++ 2 files changed, 6 insertions(+) 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 + + * embedspu.sh: Set type and size of global program handle symbol. + 2007-02-28 Alan Modra * 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 } -- 2.30.2