This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH 1/2] libgloss: Eliminate unrecommended use of vector keyword on SPU
Patch checked in.
-- Jeff J.
Kazunori Asayama wrote:
Attached is a patch to eliminate 'vector' keywords in libgloss.
2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
* libgloss/spu/syscalls.c: Replace vector with __vector.
----
Index: newlib/libgloss/spu/syscalls.c
===================================================================
--- newlib.orig/libgloss/spu/syscalls.c
+++ newlib/libgloss/spu/syscalls.c
@@ -29,7 +29,6 @@ POSSIBILITY OF SUCH DAMAGE.
Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
*/
-#include <spu_intrinsics.h>
#include "jsre.h"
void
@@ -38,7 +37,7 @@ _send_to_ppe (unsigned int signalcode, u
unsigned int combined = ( ( opcode<<24 )&0xff000000 ) | ( ( unsigned int )data & 0x00ffffff );
- vector unsigned int stopfunc = {
+ __vector unsigned int stopfunc = {
signalcode, /* stop */
(unsigned int) combined,
0x4020007f, /* nop */