libffi for ARM

Andrew Haley aph-gcc@littlepinkcloud.COM
Tue Jul 3 16:29:00 GMT 2007


This enables the libffi invocation interface, needed for the gcj
interpreter.

Andrew.


2007-05-18  Aurelien Jarno  <aurelien@aurel32.net>

	* src/arm/ffi.c (ffi_prep_closure_loc): Renamed and ajusted
	from (ffi_prep_closure): ... this.
	(FFI_INIT_TRAMPOLINE): Adjust.

2005-12-31  Phil Blundell  <pb@reciva.com>

	* src/arm/ffi.c (ffi_prep_incoming_args_SYSV, 
        ffi_closure_SYSV_inner, ffi_prep_closure): New, add closure support.
	* src/arm/sysv.S(ffi_closure_SYSV): Likewise.
	* src/arm/ffitarget.h (FFI_TRAMPOLINE_SIZE): Likewise.
	(FFI_CLOSURES): Enable closure support.

2007-07-03  Andrew Haley  <aph@hedges.billgatliff.com>

        * testsuite/libffi.call/cls_multi_ushort.c,
        testsuite/libffi.call/cls_align_uint16.c,
        testsuite/libffi.call/nested_struct1.c,
        testsuite/libffi.call/nested_struct3.c,
        testsuite/libffi.call/cls_7_1_byte.c,
        testsuite/libffi.call/cls_double.c,
        testsuite/libffi.call/nested_struct5.c,
        testsuite/libffi.call/nested_struct7.c,
        testsuite/libffi.call/cls_sint.c,
        testsuite/libffi.call/nested_struct9.c,
        testsuite/libffi.call/cls_20byte1.c,
        testsuite/libffi.call/cls_multi_sshortchar.c,
        testsuite/libffi.call/cls_align_sint64.c,
        testsuite/libffi.call/cls_3byte2.c,
        testsuite/libffi.call/cls_multi_schar.c,
        testsuite/libffi.call/cls_multi_uchar.c,
        testsuite/libffi.call/cls_19byte.c,
        testsuite/libffi.call/cls_9byte1.c,
        testsuite/libffi.call/cls_align_float.c,
        testsuite/libffi.call/closure_fn1.c,
        testsuite/libffi.call/problem1.c,
        testsuite/libffi.call/closure_fn3.c,
        testsuite/libffi.call/cls_sshort.c,
        testsuite/libffi.call/closure_fn5.c,
        testsuite/libffi.call/cls_align_double.c,
        testsuite/libffi.call/cls_2byte.c,
        testsuite/libffi.call/nested_struct.c,
        testsuite/libffi.call/nested_struct10.c,
        testsuite/libffi.call/cls_4byte.c,
        testsuite/libffi.call/cls_6byte.c,
        testsuite/libffi.call/cls_8byte.c,
        testsuite/libffi.call/cls_multi_sshort.c,
        testsuite/libffi.call/cls_align_uint32.c,
        testsuite/libffi.call/cls_align_sint16.c,
        testsuite/libffi.call/cls_float.c,
        testsuite/libffi.call/cls_20byte.c,
        testsuite/libffi.call/cls_5_1_byte.c,
        testsuite/libffi.call/nested_struct2.c,
        testsuite/libffi.call/cls_24byte.c,
        testsuite/libffi.call/nested_struct4.c,
        testsuite/libffi.call/nested_struct6.c,
        testsuite/libffi.call/cls_64byte.c,
        testsuite/libffi.call/nested_struct8.c,
        testsuite/libffi.call/cls_uint.c,
        testsuite/libffi.call/cls_multi_ushortchar.c,
        testsuite/libffi.call/cls_schar.c,
        testsuite/libffi.call/cls_uchar.c,
        testsuite/libffi.call/cls_align_uint64.c,
        testsuite/libffi.call/cls_ulonglong.c,
        testsuite/libffi.call/cls_align_longdouble.c,
        testsuite/libffi.call/cls_1_1byte.c,
        testsuite/libffi.call/cls_12byte.c,
        testsuite/libffi.call/cls_3_1byte.c,
        testsuite/libffi.call/cls_3byte1.c,
        testsuite/libffi.call/cls_4_1byte.c,
        testsuite/libffi.call/cls_6_1_byte.c,
        testsuite/libffi.call/cls_16byte.c,
        testsuite/libffi.call/cls_18byte.c,
        testsuite/libffi.call/closure_fn0.c,
        testsuite/libffi.call/cls_9byte2.c,
        testsuite/libffi.call/closure_fn2.c,
        testsuite/libffi.call/closure_fn4.c,
        testsuite/libffi.call/cls_ushort.c,
        testsuite/libffi.call/closure_fn6.c,
        testsuite/libffi.call/cls_5byte.c,
        testsuite/libffi.call/cls_align_pointer.c,
        testsuite/libffi.call/cls_7byte.c,
        testsuite/libffi.call/cls_align_sint32.c,
        testsuite/libffi.special/unwindtest_ffi_call.cc,
        testsuite/libffi.special/unwindtest.cc: Enable for ARM.

Index: libffi/src/arm/ffitarget.h
===================================================================
--- libffi/src/arm/ffitarget.h	(revision 126194)
+++ libffi/src/arm/ffitarget.h	(working copy)
@@ -40,7 +40,8 @@
 
 /* ---- Definitions for closures ----------------------------------------- */
 
-#define FFI_CLOSURES 0
+#define FFI_CLOSURES 1
+#define FFI_TRAMPOLINE_SIZE 20
 #define FFI_NATIVE_RAW_API 0
 
 #endif
Index: libffi/src/arm/ffi.c
===================================================================
--- libffi/src/arm/ffi.c	(revision 126194)
+++ libffi/src/arm/ffi.c	(working copy)
@@ -168,3 +168,122 @@
       break;
     }
 }
+
+/** private members **/
+
+static void ffi_prep_incoming_args_SYSV (char *stack, void **ret,
+					 void** args, ffi_cif* cif);
+
+void ffi_closure_SYSV (ffi_closure *);
+
+/* This function is jumped to by the trampoline */
+
+unsigned int
+ffi_closure_SYSV_inner (closure, respp, args)
+     ffi_closure *closure;
+     void **respp;
+     void *args;
+{
+  // our various things...
+  ffi_cif       *cif;
+  void         **arg_area;
+
+  cif         = closure->cif;
+  arg_area    = (void**) alloca (cif->nargs * sizeof (void*));  
+
+  /* this call will initialize ARG_AREA, such that each
+   * element in that array points to the corresponding 
+   * value on the stack; and if the function returns
+   * a structure, it will re-set RESP to point to the
+   * structure return address.  */
+
+  ffi_prep_incoming_args_SYSV(args, respp, arg_area, cif);
+
+  (closure->fun) (cif, *respp, arg_area, closure->user_data);
+
+  return cif->flags;
+}
+
+/*@-exportheader@*/
+static void 
+ffi_prep_incoming_args_SYSV(char *stack, void **rvalue,
+			    void **avalue, ffi_cif *cif)
+/*@=exportheader@*/
+{
+  register unsigned int i;
+  register void **p_argv;
+  register char *argp;
+  register ffi_type **p_arg;
+
+  argp = stack;
+
+  if ( cif->flags == FFI_TYPE_STRUCT ) {
+    *rvalue = *(void **) argp;
+    argp += 4;
+  }
+
+  p_argv = avalue;
+
+  for (i = cif->nargs, p_arg = cif->arg_types; (i != 0); i--, p_arg++)
+    {
+      size_t z;
+
+      /* Align if necessary */
+      if ((sizeof(int) - 1) & (unsigned) argp) {
+	argp = (char *) ALIGN(argp, sizeof(int));
+      }
+
+      z = (*p_arg)->size;
+
+      /* because we're little endian, this is what it turns into.   */
+
+      *p_argv = (void*) argp;
+
+      p_argv++;
+      argp += z;
+    }
+  
+  return;
+}
+
+/* How to make a trampoline.  */
+
+#define FFI_INIT_TRAMPOLINE(TRAMP,FUN,CTX) \
+({ unsigned char *__tramp = (unsigned char*)(TRAMP); \
+   unsigned int  __fun = (unsigned int)(FUN); \
+   unsigned int  __ctx = (unsigned int)(CTX); \
+   *(unsigned int*) &__tramp[0] = 0xe92d000f; /* stmfd sp!, {r0-r3} */	\
+   *(unsigned int*) &__tramp[4] = 0xe59f0000; /* ldr r0, [pc] */ \
+   *(unsigned int*) &__tramp[8] = 0xe59ff000; /* ldr pc, [pc] */ \
+   *(unsigned int*) &__tramp[12] = __ctx; \
+   *(unsigned int*) &__tramp[16] = __fun; \
+   register unsigned long _beg __asm ("a1") = (unsigned long) (&__tramp[0]);	\
+   register unsigned long _end __asm ("a2") = (unsigned long) (&__tramp[19]);	\
+   register unsigned long _flg __asm ("a3") = 0;			\
+   __asm __volatile ("swi 0x9f0002		@ sys_cacheflush"	\
+	   		    : "=r" (_beg)				\
+	   		    : "0" (_beg), "r" (_end), "r" (_flg));	\
+ })
+
+
+/* the cif must already be prep'ed */
+
+ffi_status
+ffi_prep_closure_loc (ffi_closure* closure,
+		      ffi_cif* cif,
+		      void (*fun)(ffi_cif*,void*,void**,void*),
+		      void *user_data,
+		      void *codeloc)
+{
+  FFI_ASSERT (cif->abi == FFI_SYSV);
+
+  FFI_INIT_TRAMPOLINE (&closure->tramp[0], \
+		       &ffi_closure_SYSV,  \
+		       codeloc);
+    
+  closure->cif  = cif;
+  closure->user_data = user_data;
+  closure->fun  = fun;
+
+  return FFI_OK;
+}
Index: libffi/src/arm/sysv.S
===================================================================
--- libffi/src/arm/sysv.S	(revision 126194)
+++ libffi/src/arm/sysv.S	(working copy)
@@ -207,3 +207,51 @@
 .ffi_call_SYSV_end:
         .size    CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV)
 
+/*
+	unsigned int FFI_HIDDEN
+	ffi_closure_SYSV_inner (closure, respp, args)
+	     ffi_closure *closure;
+	     void **respp;
+  	     void *args;
+*/
+
+ARM_FUNC_START ffi_closure_SYSV
+	add	ip, sp, #16
+	stmfd	sp!, {ip, lr}
+	add	r2, sp, #8
+	sub	sp, sp, #16
+	str	sp, [sp, #8]
+	add	r1, sp, #8
+	bl	ffi_closure_SYSV_inner
+	cmp	r0, #FFI_TYPE_INT
+	beq	.Lretint
+	cmp	r0, #FFI_TYPE_FLOAT
+	beq	.Lretfloat
+	cmp	r0, #FFI_TYPE_DOUBLE
+	beq	.Lretdouble
+	cmp	r0, #FFI_TYPE_LONGDOUBLE
+	beq	.Lretlongdouble
+	cmp	r0, #FFI_TYPE_SINT64
+	beq	.Lretlonglong
+.Lclosure_epilogue:
+	add	sp, sp, #16
+	ldmfd	sp, {sp, pc}
+.Lretint:
+	ldr	r0, [sp]
+	b	.Lclosure_epilogue
+.Lretlonglong:
+	ldr	r0, [sp]
+	ldr	r1, [sp, #4]
+	b	.Lclosure_epilogue
+.Lretfloat:
+	ldfs	f0, [sp]
+	b	.Lclosure_epilogue
+.Lretdouble:
+	ldfd	f0, [sp]
+	b	.Lclosure_epilogue
+.Lretlongdouble:
+	ldfd	f0, [sp]
+	b	.Lclosure_epilogue
+.ffi_closure_SYSV_end:
+        .size    CNAME(ffi_closure_SYSV),.ffi_closure_SYSV_end-CNAME(ffi_closure_SYSV)
+
Index: libffi/testsuite/libffi.call/cls_multi_ushort.c
===================================================================
--- libffi/testsuite/libffi.call/cls_multi_ushort.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_multi_ushort.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		PR13221.
    Originator:	<andreast@gcc.gnu.org> 20031129  */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 unsigned short test_func_fn(unsigned short a1, unsigned short a2)
Index: libffi/testsuite/libffi.call/cls_align_uint16.c
===================================================================
--- libffi/testsuite/libffi.call/cls_align_uint16.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_align_uint16.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<hos@tamanegi.org> 20031203	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_align {
Index: libffi/testsuite/libffi.call/nested_struct1.c
===================================================================
--- libffi/testsuite/libffi.call/nested_struct1.c	(revision 126194)
+++ libffi/testsuite/libffi.call/nested_struct1.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_16byte1 {
Index: libffi/testsuite/libffi.call/nested_struct3.c
===================================================================
--- libffi/testsuite/libffi.call/nested_struct3.c	(revision 126194)
+++ libffi/testsuite/libffi.call/nested_struct3.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030911	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct A {
Index: libffi/testsuite/libffi.call/cls_7_1_byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_7_1_byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_7_1_byte.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20050708	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_7byte {
Index: libffi/testsuite/libffi.call/cls_double.c
===================================================================
--- libffi/testsuite/libffi.call/cls_double.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_double.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 static void cls_ret_double_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
Index: libffi/testsuite/libffi.call/nested_struct5.c
===================================================================
--- libffi/testsuite/libffi.call/nested_struct5.c	(revision 126194)
+++ libffi/testsuite/libffi.call/nested_struct5.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20051010	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct A {
Index: libffi/testsuite/libffi.call/nested_struct7.c
===================================================================
--- libffi/testsuite/libffi.call/nested_struct7.c	(revision 126194)
+++ libffi/testsuite/libffi.call/nested_struct7.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20051010	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct A {
Index: libffi/testsuite/libffi.call/cls_sint.c
===================================================================
--- libffi/testsuite/libffi.call/cls_sint.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_sint.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20031108	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 static void cls_ret_sint_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
Index: libffi/testsuite/libffi.call/nested_struct9.c
===================================================================
--- libffi/testsuite/libffi.call/nested_struct9.c	(revision 126194)
+++ libffi/testsuite/libffi.call/nested_struct9.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20051010	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct A {
Index: libffi/testsuite/libffi.call/cls_20byte1.c
===================================================================
--- libffi/testsuite/libffi.call/cls_20byte1.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_20byte1.c	(working copy)
@@ -5,7 +5,9 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+
+
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_20byte {
Index: libffi/testsuite/libffi.call/cls_multi_sshortchar.c
===================================================================
--- libffi/testsuite/libffi.call/cls_multi_sshortchar.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_multi_sshortchar.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		PR13221.
    Originator:	<andreast@gcc.gnu.org> 20031129  */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 signed short test_func_fn(signed char a1, signed short a2,
Index: libffi/testsuite/libffi.call/cls_align_sint64.c
===================================================================
--- libffi/testsuite/libffi.call/cls_align_sint64.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_align_sint64.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<hos@tamanegi.org> 20031203	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_align {
Index: libffi/testsuite/libffi.call/cls_3byte2.c
===================================================================
--- libffi/testsuite/libffi.call/cls_3byte2.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_3byte2.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_3byte_1 {
Index: libffi/testsuite/libffi.call/cls_multi_schar.c
===================================================================
--- libffi/testsuite/libffi.call/cls_multi_schar.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_multi_schar.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		PR13221.
    Originator:	<hos@tamanegi.org> 20031129  */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 signed char test_func_fn(signed char a1, signed char a2)
Index: libffi/testsuite/libffi.call/cls_multi_uchar.c
===================================================================
--- libffi/testsuite/libffi.call/cls_multi_uchar.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_multi_uchar.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		PR13221.
    Originator:	<andreast@gcc.gnu.org> 20031129  */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 unsigned char test_func_fn(unsigned char a1, unsigned char a2,
Index: libffi/testsuite/libffi.call/cls_19byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_19byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_19byte.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030915	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_19byte {
Index: libffi/testsuite/libffi.call/cls_9byte1.c
===================================================================
--- libffi/testsuite/libffi.call/cls_9byte1.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_9byte1.c	(working copy)
@@ -7,7 +7,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030914	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_9byte {
Index: libffi/testsuite/libffi.call/cls_align_float.c
===================================================================
--- libffi/testsuite/libffi.call/cls_align_float.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_align_float.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<hos@tamanegi.org> 20031203	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_align {
Index: libffi/testsuite/libffi.call/closure_fn1.c
===================================================================
--- libffi/testsuite/libffi.call/closure_fn1.c	(revision 126194)
+++ libffi/testsuite/libffi.call/closure_fn1.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 
Index: libffi/testsuite/libffi.call/problem1.c
===================================================================
--- libffi/testsuite/libffi.call/problem1.c	(revision 126194)
+++ libffi/testsuite/libffi.call/problem1.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct my_ffi_struct {
Index: libffi/testsuite/libffi.call/closure_fn3.c
===================================================================
--- libffi/testsuite/libffi.call/closure_fn3.c	(revision 126194)
+++ libffi/testsuite/libffi.call/closure_fn3.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 static void closure_test_fn3(ffi_cif* cif __UNUSED__, void* resp, void** args,
Index: libffi/testsuite/libffi.call/cls_sshort.c
===================================================================
--- libffi/testsuite/libffi.call/cls_sshort.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_sshort.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20031108	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 static void cls_ret_sshort_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
Index: libffi/testsuite/libffi.call/closure_fn5.c
===================================================================
--- libffi/testsuite/libffi.call/closure_fn5.c	(revision 126194)
+++ libffi/testsuite/libffi.call/closure_fn5.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20031026	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 static void
Index: libffi/testsuite/libffi.call/cls_align_double.c
===================================================================
--- libffi/testsuite/libffi.call/cls_align_double.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_align_double.c	(working copy)
@@ -4,7 +4,9 @@
    PR:		none.
    Originator:	<hos@tamanegi.org> 20031203	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+
+
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_align {
Index: libffi/testsuite/libffi.call/cls_2byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_2byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_2byte.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_2byte {
Index: libffi/testsuite/libffi.call/nested_struct.c
===================================================================
--- libffi/testsuite/libffi.call/nested_struct.c	(revision 126194)
+++ libffi/testsuite/libffi.call/nested_struct.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_16byte1 {
Index: libffi/testsuite/libffi.call/nested_struct10.c
===================================================================
--- libffi/testsuite/libffi.call/nested_struct10.c	(revision 126194)
+++ libffi/testsuite/libffi.call/nested_struct10.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20051010	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct A {
Index: libffi/testsuite/libffi.call/cls_4byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_4byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_4byte.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 
 #include "ffitest.h"
 
Index: libffi/testsuite/libffi.call/cls_6byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_6byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_6byte.c	(working copy)
@@ -5,7 +5,8 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_6byte {
Index: libffi/testsuite/libffi.call/cls_8byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_8byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_8byte.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_8byte {
Index: libffi/testsuite/libffi.call/cls_multi_sshort.c
===================================================================
--- libffi/testsuite/libffi.call/cls_multi_sshort.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_multi_sshort.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		PR13221.
    Originator:	<andreast@gcc.gnu.org> 20031129  */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 signed short test_func_fn(signed short a1, signed short a2)
Index: libffi/testsuite/libffi.call/cls_align_uint32.c
===================================================================
--- libffi/testsuite/libffi.call/cls_align_uint32.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_align_uint32.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<hos@tamanegi.org> 20031203	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_align {
Index: libffi/testsuite/libffi.call/cls_align_sint16.c
===================================================================
--- libffi/testsuite/libffi.call/cls_align_sint16.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_align_sint16.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<hos@tamanegi.org> 20031203	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_align {
Index: libffi/testsuite/libffi.call/cls_float.c
===================================================================
--- libffi/testsuite/libffi.call/cls_float.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_float.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 static void cls_ret_float_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
Index: libffi/testsuite/libffi.call/cls_20byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_20byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_20byte.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_20byte {
Index: libffi/testsuite/libffi.call/cls_5_1_byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_5_1_byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_5_1_byte.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20050708	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_5byte {
Index: libffi/testsuite/libffi.call/nested_struct2.c
===================================================================
--- libffi/testsuite/libffi.call/nested_struct2.c	(revision 126194)
+++ libffi/testsuite/libffi.call/nested_struct2.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030911	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct A {
Index: libffi/testsuite/libffi.call/cls_24byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_24byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_24byte.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_24byte {
Index: libffi/testsuite/libffi.call/nested_struct4.c
===================================================================
--- libffi/testsuite/libffi.call/nested_struct4.c	(revision 126194)
+++ libffi/testsuite/libffi.call/nested_struct4.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		PR 25630.
    Originator:	<andreast@gcc.gnu.org> 20051010	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct A {
Index: libffi/testsuite/libffi.call/nested_struct6.c
===================================================================
--- libffi/testsuite/libffi.call/nested_struct6.c	(revision 126194)
+++ libffi/testsuite/libffi.call/nested_struct6.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		PR 25630.
    Originator:	<andreast@gcc.gnu.org> 20051010	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct A {
Index: libffi/testsuite/libffi.call/cls_64byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_64byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_64byte.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_64byte {
Index: libffi/testsuite/libffi.call/nested_struct8.c
===================================================================
--- libffi/testsuite/libffi.call/nested_struct8.c	(revision 126194)
+++ libffi/testsuite/libffi.call/nested_struct8.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20051010	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct A {
Index: libffi/testsuite/libffi.call/cls_uint.c
===================================================================
--- libffi/testsuite/libffi.call/cls_uint.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_uint.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 static void cls_ret_uint_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
Index: libffi/testsuite/libffi.call/cls_multi_ushortchar.c
===================================================================
--- libffi/testsuite/libffi.call/cls_multi_ushortchar.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_multi_ushortchar.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		PR13221.
    Originator:	<andreast@gcc.gnu.org> 20031129  */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 unsigned short test_func_fn(unsigned char a1, unsigned short a2,
Index: libffi/testsuite/libffi.call/cls_schar.c
===================================================================
--- libffi/testsuite/libffi.call/cls_schar.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_schar.c	(working copy)
@@ -4,7 +4,9 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20031108	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+
+
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 static void cls_ret_schar_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
Index: libffi/testsuite/libffi.call/cls_uchar.c
===================================================================
--- libffi/testsuite/libffi.call/cls_uchar.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_uchar.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 static void cls_ret_uchar_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
Index: libffi/testsuite/libffi.call/cls_align_uint64.c
===================================================================
--- libffi/testsuite/libffi.call/cls_align_uint64.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_align_uint64.c	(working copy)
@@ -4,7 +4,8 @@
    PR:		none.
    Originator:	<hos@tamanegi.org> 20031203	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_align {
Index: libffi/testsuite/libffi.call/cls_ulonglong.c
===================================================================
--- libffi/testsuite/libffi.call/cls_ulonglong.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_ulonglong.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 static void cls_ret_ulonglong_fn(ffi_cif* cif __UNUSED__, void* resp,
Index: libffi/testsuite/libffi.call/cls_align_longdouble.c
===================================================================
--- libffi/testsuite/libffi.call/cls_align_longdouble.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_align_longdouble.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<hos@tamanegi.org> 20031203	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 
 #include "ffitest.h"
 
Index: libffi/testsuite/libffi.call/cls_1_1byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_1_1byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_1_1byte.c	(working copy)
@@ -6,7 +6,9 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030902	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+
+
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_1_1byte {
Index: libffi/testsuite/libffi.call/cls_12byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_12byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_12byte.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_12byte {
Index: libffi/testsuite/libffi.call/cls_3_1byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_3_1byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_3_1byte.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030902	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_3_1byte {
Index: libffi/testsuite/libffi.call/cls_3byte1.c
===================================================================
--- libffi/testsuite/libffi.call/cls_3byte1.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_3byte1.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_3byte {
Index: libffi/testsuite/libffi.call/cls_4_1byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_4_1byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_4_1byte.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030902	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_4_1byte {
Index: libffi/testsuite/libffi.call/cls_6_1_byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_6_1_byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_6_1_byte.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20050708	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_6byte {
Index: libffi/testsuite/libffi.call/cls_16byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_16byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_16byte.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_16byte {
Index: libffi/testsuite/libffi.call/cls_18byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_18byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_18byte.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030915	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_18byte {
Index: libffi/testsuite/libffi.call/closure_fn0.c
===================================================================
--- libffi/testsuite/libffi.call/closure_fn0.c	(revision 126194)
+++ libffi/testsuite/libffi.call/closure_fn0.c	(working copy)
@@ -6,7 +6,10 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+
+
+
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 static void
Index: libffi/testsuite/libffi.call/cls_9byte2.c
===================================================================
--- libffi/testsuite/libffi.call/cls_9byte2.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_9byte2.c	(working copy)
@@ -7,7 +7,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030914	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_9byte {
Index: libffi/testsuite/libffi.call/closure_fn2.c
===================================================================
--- libffi/testsuite/libffi.call/closure_fn2.c	(revision 126194)
+++ libffi/testsuite/libffi.call/closure_fn2.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 static void closure_test_fn2(ffi_cif* cif __UNUSED__, void* resp, void** args,
Index: libffi/testsuite/libffi.call/closure_fn4.c
===================================================================
--- libffi/testsuite/libffi.call/closure_fn4.c	(revision 126194)
+++ libffi/testsuite/libffi.call/closure_fn4.c	(working copy)
@@ -6,7 +6,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20031026	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 
 #include "ffitest.h"
 
Index: libffi/testsuite/libffi.call/cls_ushort.c
===================================================================
--- libffi/testsuite/libffi.call/cls_ushort.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_ushort.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 static void cls_ret_ushort_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
Index: libffi/testsuite/libffi.call/closure_fn6.c
===================================================================
--- libffi/testsuite/libffi.call/closure_fn6.c	(revision 126194)
+++ libffi/testsuite/libffi.call/closure_fn6.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		PR23404
    Originator:	<andreast@gcc.gnu.org> 20050830	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 static void
Index: libffi/testsuite/libffi.call/cls_5byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_5byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_5byte.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_5byte {
Index: libffi/testsuite/libffi.call/cls_align_pointer.c
===================================================================
--- libffi/testsuite/libffi.call/cls_align_pointer.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_align_pointer.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<hos@tamanegi.org> 20031203	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_align {
Index: libffi/testsuite/libffi.call/cls_7byte.c
===================================================================
--- libffi/testsuite/libffi.call/cls_7byte.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_7byte.c	(working copy)
@@ -5,7 +5,7 @@
    PR:		none.
    Originator:	<andreast@gcc.gnu.org> 20030828	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_7byte {
Index: libffi/testsuite/libffi.call/cls_align_sint32.c
===================================================================
--- libffi/testsuite/libffi.call/cls_align_sint32.c	(revision 126194)
+++ libffi/testsuite/libffi.call/cls_align_sint32.c	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	<hos@tamanegi.org> 20031203	 */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitest.h"
 
 typedef struct cls_struct_align {
Index: libffi/testsuite/libffi.special/unwindtest_ffi_call.cc
===================================================================
--- libffi/testsuite/libffi.special/unwindtest_ffi_call.cc	(revision 126194)
+++ libffi/testsuite/libffi.special/unwindtest_ffi_call.cc	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	Andreas Tobler <andreast@gcc.gnu.org> 20061213  */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitestcxx.h"
 
 static int checking(int a __UNUSED__, short b __UNUSED__,
Index: libffi/testsuite/libffi.special/unwindtest.cc
===================================================================
--- libffi/testsuite/libffi.special/unwindtest.cc	(revision 126194)
+++ libffi/testsuite/libffi.special/unwindtest.cc	(working copy)
@@ -4,7 +4,7 @@
    PR:		none.
    Originator:	Jeff Sturm <jsturm@one-point.com>  */
 
-/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-do run { xfail mips64*-*-* } } */
 #include "ffitestcxx.h"
 
 void



More information about the Gcc-patches mailing list