Rebase from GCC

This commit is contained in:
Anthony Green
2010-01-12 09:14:14 -05:00
parent 4b18d1f73d
commit 7b7a42f221
47 changed files with 230 additions and 142 deletions

View File

@@ -1,3 +1,21 @@
2010-01-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libffi/40701
* testsuite/libffi.call/ffitest.h [__alpha__ && __osf__] (PRIdLL,
PRIuLL, PRId64, PRIu64, PRIuPTR): Define.
* testsuite/libffi.call/cls_align_sint64.c: Add -Wno-format on
alpha*-dec-osf*.
* testsuite/libffi.call/cls_align_uint64.c: Likewise.
* testsuite/libffi.call/cls_ulonglong.c: Likewise.
* testsuite/libffi.call/return_ll1.c: Likewise.
* testsuite/libffi.call/stret_medium2.c: Likewise.
* testsuite/libffi.special/ffitestcxx.h (allocate_mmap): Cast
MAP_FAILED to char *.
2010-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* src/mips/n32.S: Use .abicalls and .eh_frame with __GNUC__.
2009-12-31 Anthony Green <green@redhat.com> 2009-12-31 Anthony Green <green@redhat.com>
* README: Update for libffi 3.0.9. * README: Update for libffi 3.0.9.

7
README
View File

@@ -43,7 +43,7 @@ Libffi has been ported to many different platforms.
For specific configuration details and testing status, please For specific configuration details and testing status, please
refer to the wiki page here: refer to the wiki page here:
http://www.moxielogic.org/wiki/index.php?title=Libffi_3.0.9 http://www.moxielogic.org/wiki/index.php?title=Libffi_3.0.10
At the time of release, the following basic configurations have been At the time of release, the following basic configurations have been
tested: tested:
@@ -52,6 +52,7 @@ tested:
| Architecture | Operating System | | Architecture | Operating System |
|--------------+------------------| |--------------+------------------|
| Alpha | Linux | | Alpha | Linux |
| Alpha | Tru64 |
| ARM | Linux | | ARM | Linux |
| AVR32 | Linux | | AVR32 | Linux |
| HPPA | HPUX | | HPPA | HPUX |
@@ -124,6 +125,10 @@ History
See the ChangeLog files for details. See the ChangeLog files for details.
3.0.10 ???-??-??
Fix the N64 build on mips-sgi-irix6.5.
Testsuite fixes for Tru64 Unix.
3.0.9 Dec-31-09 3.0.9 Dec-31-09
Add AVR32 and win64 ports. Add ARM softfp support. Add AVR32 and win64 ports. Add ARM softfp support.
Many fixes for AIX, Solaris, HP-UX, *BSD. Many fixes for AIX, Solaris, HP-UX, *BSD.

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/doc svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/doc
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,5 +1,5 @@
This is doc/libffi.info, produced by makeinfo version 4.12 from This is ../libffi/doc/libffi.info, produced by makeinfo version 4.13
./doc/libffi.texi. from ../libffi/doc/libffi.texi.
This manual is for Libffi, a portable foreign-function interface This manual is for Libffi, a portable foreign-function interface
library. library.
@@ -13,7 +13,7 @@ library.
included in the section entitled "GNU General Public License". included in the section entitled "GNU General Public License".
INFO-DIR-SECTION INFO-DIR-SECTION Development
START-INFO-DIR-ENTRY START-INFO-DIR-ENTRY
* libffi: (libffi). Portable foreign-function interface library. * libffi: (libffi). Portable foreign-function interface library.
END-INFO-DIR-ENTRY END-INFO-DIR-ENTRY
@@ -516,18 +516,18 @@ Index
 
Tag Table: Tag Table:
Node: Top670 Node: Top700
Node: Introduction1406 Node: Introduction1436
Node: Using libffi3042 Node: Using libffi3072
Node: The Basics3477 Node: The Basics3507
Node: Simple Example6084 Node: Simple Example6114
Node: Types7111 Node: Types7141
Node: Primitive Types7394 Node: Primitive Types7424
Node: Structures9214 Node: Structures9244
Node: Type Example10074 Node: Type Example10104
Node: Multiple ABIs11297 Node: Multiple ABIs11327
Node: The Closure API11668 Node: The Closure API11698
Node: Missing Features14588 Node: Missing Features14618
Node: Index15081 Node: Index15111
 
End Tag Table End Tag Table

View File

@@ -125,6 +125,9 @@
/* Define to the one symbol short name of this package. */ /* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME #undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */ /* Define to the version of this package. */
#undef PACKAGE_VERSION #undef PACKAGE_VERSION

View File

@@ -1,14 +1,14 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/include svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/include
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc
2009-12-26T04:59:25.888276Z 2009-12-31T17:44:32.724697Z
155470 155540
green green
@@ -62,7 +62,7 @@ green
Makefile.in Makefile.in
file file
155540

View File

@@ -1,14 +1,14 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/man svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/man
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc
2009-12-26T05:01:43.471937Z 2009-12-31T17:44:32.724697Z
155471 155540
green green
@@ -62,7 +62,7 @@ green
Makefile.in Makefile.in
file file
155540

0
mdate-sh Normal file → Executable file
View File

View File

@@ -43662,7 +43662,24 @@ Index: libffi/README
page for updates: <URL:http://sourceware.org/libffi/>. page for updates: <URL:http://sourceware.org/libffi/>.
@@ -83,6 +80,7 @@ tested: @@ -46,7 +43,7 @@ Libffi has been ported to many different
For specific configuration details and testing status, please
refer to the wiki page here:
- http://www.moxielogic.org/wiki/index.php?title=Libffi_3.0.9
+ http://www.moxielogic.org/wiki/index.php?title=Libffi_3.0.10
At the time of release, the following basic configurations have been
tested:
@@ -55,6 +52,7 @@ tested:
| Architecture | Operating System |
|--------------+------------------|
| Alpha | Linux |
+| Alpha | Tru64 |
| ARM | Linux |
| AVR32 | Linux |
| HPPA | HPUX |
@@ -83,6 +81,7 @@ tested:
| X86-64 | FreeBSD | | X86-64 | FreeBSD |
| X86-64 | Linux | | X86-64 | Linux |
| X86-64 | OpenBSD | | X86-64 | OpenBSD |
@@ -43670,6 +43687,17 @@ Index: libffi/README
|--------------+------------------| |--------------+------------------|
Please send additional platform test results to Please send additional platform test results to
@@ -126,6 +125,10 @@ History
See the ChangeLog files for details.
+3.0.10 ???-??-??
+ Fix the N64 build on mips-sgi-irix6.5.
+ Testsuite fixes for Tru64 Unix.
+
3.0.9 Dec-31-09
Add AVR32 and win64 ports. Add ARM softfp support.
Many fixes for AIX, Solaris, HP-UX, *BSD.
Index: libffi/testsuite/Makefile.am Index: libffi/testsuite/Makefile.am
=================================================================== ===================================================================
--- libffi.orig/testsuite/Makefile.am --- libffi.orig/testsuite/Makefile.am

View File

@@ -1,15 +1,15 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc
2009-12-28T18:19:18.861565Z 2010-01-06T14:22:26.213598Z
155492 155674
dje ro

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/alpha svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/alpha
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/arm svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/arm
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/avr32 svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/avr32
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/cris svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/cris
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/frv svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/frv
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/ia64 svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/ia64
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/m32r svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/m32r
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/m68k svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/m68k
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,15 +1,15 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/mips svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/mips
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc
2009-12-26T04:59:25.888276Z 2010-01-06T14:22:26.213598Z
155470 155674
green ro
@@ -66,11 +66,11 @@ file
2009-12-26T04:53:55.605975Z 2010-01-12T13:53:13.607017Z
673e7f68577075b8b9f6a9da7fc13913 4c056027b348911ad47c503c6c3b3f17
2009-12-26T04:59:25.888276Z 2010-01-06T14:22:26.213598Z
155470 155674
green ro
@@ -92,7 +92,7 @@ green
14490 14517
o32.S o32.S
file file

View File

@@ -1,5 +1,5 @@
/* ----------------------------------------------------------------------- /* -----------------------------------------------------------------------
n32.S - Copyright (c) 1996, 1998, 2005 Red Hat, Inc. n32.S - Copyright (c) 1996, 1998, 2005, 2007, 2009, 2010 Red Hat, Inc.
MIPS Foreign Function Interface MIPS Foreign Function Interface
@@ -40,7 +40,7 @@
#define SIZEOF_FRAME ( 8 * FFI_SIZEOF_ARG ) #define SIZEOF_FRAME ( 8 * FFI_SIZEOF_ARG )
#ifdef linux #ifdef __GNUC__
.abicalls .abicalls
#endif #endif
.text .text
@@ -529,7 +529,7 @@ cls_epilogue:
.LFE2: .LFE2:
.end ffi_closure_N32 .end ffi_closure_N32
#ifdef linux #ifdef __GNUC__
.section .eh_frame,"aw",@progbits .section .eh_frame,"aw",@progbits
.Lframe1: .Lframe1:
.4byte .LECIE1-.LSCIE1 # length .4byte .LECIE1-.LSCIE1 # length
@@ -586,6 +586,6 @@ cls_epilogue:
.uleb128 (SIZEOF_FRAME2 - RA_OFF2)/4 .uleb128 (SIZEOF_FRAME2 - RA_OFF2)/4
.align EH_FRAME_ALIGN .align EH_FRAME_ALIGN
.LEFDE3: .LEFDE3:
#endif /* linux */ #endif /* __GNUC__ */
#endif #endif

View File

@@ -1,5 +1,5 @@
/* ----------------------------------------------------------------------- /* -----------------------------------------------------------------------
n32.S - Copyright (c) 1996, 1998, 2005 Red Hat, Inc. n32.S - Copyright (c) 1996, 1998, 2005, 2007, 2009, 2010 Red Hat, Inc.
MIPS Foreign Function Interface MIPS Foreign Function Interface
@@ -40,7 +40,7 @@
#define SIZEOF_FRAME ( 8 * FFI_SIZEOF_ARG ) #define SIZEOF_FRAME ( 8 * FFI_SIZEOF_ARG )
#ifdef linux #ifdef __GNUC__
.abicalls .abicalls
#endif #endif
.text .text
@@ -529,7 +529,7 @@ cls_epilogue:
.LFE2: .LFE2:
.end ffi_closure_N32 .end ffi_closure_N32
#ifdef linux #ifdef __GNUC__
.section .eh_frame,"aw",@progbits .section .eh_frame,"aw",@progbits
.Lframe1: .Lframe1:
.4byte .LECIE1-.LSCIE1 # length .4byte .LECIE1-.LSCIE1 # length
@@ -586,6 +586,6 @@ cls_epilogue:
.uleb128 (SIZEOF_FRAME2 - RA_OFF2)/4 .uleb128 (SIZEOF_FRAME2 - RA_OFF2)/4
.align EH_FRAME_ALIGN .align EH_FRAME_ALIGN
.LEFDE3: .LEFDE3:
#endif /* linux */ #endif /* __GNUC__ */
#endif #endif

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/pa svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/pa
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/powerpc svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/powerpc
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/s390 svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/s390
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/sh svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/sh
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/sh64 svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/sh64
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/sparc svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/sparc
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/x86 svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/src/x86
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,15 +1,15 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/testsuite svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/testsuite
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc
2009-12-15T23:55:56.203674Z 2010-01-07T20:35:33.358709Z
155277 155710
danglin ro
@@ -28,7 +28,7 @@ danglin
Makefile.in Makefile.in
file file
155540

View File

@@ -1,7 +1,7 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/testsuite/config svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/testsuite/config
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc

View File

@@ -1,15 +1,15 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/testsuite/lib svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/testsuite/lib
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc
2009-07-11T06:10:49.813211Z 2010-01-01T12:32:24.799527Z
149508 155549
rsandifo green
@@ -28,7 +28,7 @@ rsandifo
libffi-dg.exp libffi-dg.exp
file file
155549

View File

@@ -1,15 +1,15 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/testsuite/libffi.call svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/testsuite/libffi.call
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc
2009-12-15T23:55:56.203674Z 2010-01-07T20:35:33.358709Z
155277 155710
danglin ro
@@ -96,7 +96,7 @@ aph
stret_medium.c stret_medium.c
file file
155548
@@ -130,7 +130,7 @@ green
cls_align_longdouble_split2.c cls_align_longdouble_split2.c
file file
155548
@@ -708,7 +708,7 @@ aph
cls_pointer.c cls_pointer.c
file file
155548
@@ -882,11 +882,11 @@ file
2009-12-20T06:01:57.937806Z 2010-01-12T13:53:13.725804Z
1d647c48703602a6f43399507dea040b 11ecc6aca1f00fa662a97100ae0415a3
2009-06-16T10:15:31.432585Z 2010-01-07T20:35:33.358709Z
148521 155710
aph ro
@@ -908,7 +908,7 @@ aph
2571 2633
many.c many.c
file file
@@ -1048,7 +1048,7 @@ aph
stret_large.c stret_large.c
file file
155548
@@ -1252,7 +1252,7 @@ aph
cls_align_longdouble_split.c cls_align_longdouble_split.c
file file
155548
@@ -1800,11 +1800,11 @@ file
2009-12-20T06:01:57.943803Z 2010-01-12T13:53:13.727013Z
4464c6fa615810685c3fa04a8f9be7a3 675d8bc6e828c9d48fcea15ef768bba6
2009-06-16T10:15:31.432585Z 2010-01-07T20:35:33.358709Z
148521 155710
aph ro
@@ -1826,7 +1826,7 @@ aph
995 1057
cls_4byte.c cls_4byte.c
file file
@@ -1932,7 +1932,7 @@ aph
cls_longdouble.c cls_longdouble.c
file file
155548
@@ -1966,7 +1966,7 @@ green
huge_struct.c huge_struct.c
file file
155538
@@ -2136,7 +2136,7 @@ aph
cls_double_va.c cls_double_va.c
file file
155551
@@ -2238,7 +2238,7 @@ andreast
cls_pointer_stack.c cls_pointer_stack.c
file file
155548
@@ -2986,7 +2986,7 @@ aph
stret_large2.c stret_large2.c
file file
155548
@@ -3126,11 +3126,11 @@ file
2009-12-20T06:01:57.951813Z 2010-01-12T13:53:13.744999Z
0975f1a6228b3fa9cb4aa9ad0971df85 94ddbe50a41192f72cce1a94e88f327f
2009-06-16T10:15:31.432585Z 2010-01-07T20:35:33.358709Z
148521 155710
aph ro
@@ -3152,7 +3152,7 @@ aph
2574 2636
cls_align_longdouble.c cls_align_longdouble.c
file file
@@ -3228,11 +3228,11 @@ file
2009-12-20T06:01:57.951813Z 2010-01-12T13:53:13.746013Z
157a65bbf1f2ffea80bf4657214771cf e2793918ba20624ce732ad88c3d61093
2009-06-16T10:15:31.432585Z 2010-01-07T20:35:33.358709Z
148521 155710
aph ro
@@ -3254,7 +3254,7 @@ aph
1382 1444
return_ll.c return_ll.c
file file
@@ -3462,15 +3462,15 @@ aph
ffitest.h ffitest.h
file file
155550
2010-01-01T12:32:57.612320Z
91d3eace525dd3fdece89ebb069dd8a5 2010-01-12T13:53:13.747013Z
2010-01-01T12:36:07.805985Z 14775c89efa8ec6961cb5cc6e4e18b9c
155550 2010-01-07T20:35:33.358709Z
green 155710
ro
@@ -3492,7 +3492,7 @@ green
2171 2447
cls_16byte.c cls_16byte.c
file file
@@ -3632,7 +3632,7 @@ aph
cls_longdouble_va.c cls_longdouble_va.c
file file
155551
@@ -3836,15 +3836,15 @@ aph
stret_medium2.c stret_medium2.c
file file
155548
2009-12-31T17:54:32.267337Z
db952271eda288e8fd1e9b7c2addf6ab 2010-01-12T13:53:13.747013Z
2010-01-01T12:26:49.969276Z 9e86da993ed48e9e5e4b8abd4cded2b2
155548 2010-01-07T20:35:33.358709Z
green 155710
ro
@@ -3866,7 +3866,7 @@ green
3827 3889
negint.c negint.c
file file

View File

@@ -5,6 +5,7 @@
Originator: <hos@tamanegi.org> 20031203 */ Originator: <hos@tamanegi.org> 20031203 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h" #include "ffitest.h"
typedef struct cls_struct_align { typedef struct cls_struct_align {

View File

@@ -6,6 +6,7 @@
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h" #include "ffitest.h"
typedef struct cls_struct_align { typedef struct cls_struct_align {

View File

@@ -5,6 +5,7 @@
Originator: <andreast@gcc.gnu.org> 20030828 */ Originator: <andreast@gcc.gnu.org> 20030828 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h" #include "ffitest.h"
static void cls_ret_ulonglong_fn(ffi_cif* cif __UNUSED__, void* resp, static void cls_ret_ulonglong_fn(ffi_cif* cif __UNUSED__, void* resp,

View File

@@ -60,6 +60,18 @@
#define PRIuLL "llu" #define PRIuLL "llu"
#endif #endif
/* Tru64 UNIX kludge. */
#if defined(__alpha__) && defined(__osf__)
/* Tru64 UNIX V4.0 doesn't support %lld/%lld, but long is 64-bit. */
#undef PRIdLL
#define PRIdLL "ld"
#undef PRIuLL
#define PRIuLL "lu"
#define PRId64 "ld"
#define PRIu64 "lu"
#define PRIuPTR "lu"
#endif
/* PA HP-UX kludge. */ /* PA HP-UX kludge. */
#if defined(__hppa__) && defined(__hpux__) && !defined(PRIuPTR) #if defined(__hppa__) && defined(__hpux__) && !defined(PRIuPTR)
#define PRIuPTR "lu" #define PRIuPTR "lu"

View File

@@ -5,6 +5,7 @@
Originator: <andreast@gcc.gnu.org> 20050222 */ Originator: <andreast@gcc.gnu.org> 20050222 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h" #include "ffitest.h"
static long long return_ll(int ll0, long long ll1, int ll2) static long long return_ll(int ll0, long long ll1, int ll2)
{ {

View File

@@ -7,6 +7,7 @@
Originator: Blake Chaffin 6/21/2007 */ Originator: Blake Chaffin 6/21/2007 */
/* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */ /* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h" #include "ffitest.h"
typedef struct struct_72byte { typedef struct struct_72byte {

View File

@@ -5,6 +5,7 @@
Originator: <hos@tamanegi.org> 20031203 */ Originator: <hos@tamanegi.org> 20031203 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h" #include "ffitest.h"
typedef struct cls_struct_align { typedef struct cls_struct_align {

View File

@@ -6,6 +6,7 @@
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h" #include "ffitest.h"
typedef struct cls_struct_align { typedef struct cls_struct_align {

View File

@@ -5,6 +5,7 @@
Originator: <andreast@gcc.gnu.org> 20030828 */ Originator: <andreast@gcc.gnu.org> 20030828 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h" #include "ffitest.h"
static void cls_ret_ulonglong_fn(ffi_cif* cif __UNUSED__, void* resp, static void cls_ret_ulonglong_fn(ffi_cif* cif __UNUSED__, void* resp,

View File

@@ -60,6 +60,18 @@
#define PRIuLL "llu" #define PRIuLL "llu"
#endif #endif
/* Tru64 UNIX kludge. */
#if defined(__alpha__) && defined(__osf__)
/* Tru64 UNIX V4.0 doesn't support %lld/%lld, but long is 64-bit. */
#undef PRIdLL
#define PRIdLL "ld"
#undef PRIuLL
#define PRIuLL "lu"
#define PRId64 "ld"
#define PRIu64 "lu"
#define PRIuPTR "lu"
#endif
/* PA HP-UX kludge. */ /* PA HP-UX kludge. */
#if defined(__hppa__) && defined(__hpux__) && !defined(PRIuPTR) #if defined(__hppa__) && defined(__hpux__) && !defined(PRIuPTR)
#define PRIuPTR "lu" #define PRIuPTR "lu"

View File

@@ -5,6 +5,7 @@
Originator: <andreast@gcc.gnu.org> 20050222 */ Originator: <andreast@gcc.gnu.org> 20050222 */
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h" #include "ffitest.h"
static long long return_ll(int ll0, long long ll1, int ll2) static long long return_ll(int ll0, long long ll1, int ll2)
{ {

View File

@@ -7,6 +7,7 @@
Originator: Blake Chaffin 6/21/2007 */ Originator: Blake Chaffin 6/21/2007 */
/* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */ /* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */
/* { dg-options "-Wno-format" { target alpha*-dec-osf* } } */
#include "ffitest.h" #include "ffitest.h"
typedef struct struct_72byte { typedef struct struct_72byte {

View File

@@ -1,15 +1,15 @@
10 10
dir dir
155537 155837
svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/testsuite/libffi.special svn+ssh://green@gcc.gnu.org/svn/gcc/trunk/libffi/testsuite/libffi.special
svn+ssh://green@gcc.gnu.org/svn/gcc svn+ssh://green@gcc.gnu.org/svn/gcc
2009-06-16T10:15:31.432585Z 2010-01-07T20:35:33.358709Z
148521 155710
aph ro
@@ -62,7 +62,7 @@ daney
unwindtest.cc unwindtest.cc
file file
155550
@@ -130,15 +130,15 @@ jakub
ffitestcxx.h ffitestcxx.h
file file
155540
2009-12-31T17:36:45.977318Z
c6b374a7b78e1a90bd6e5d1386c4d57a 2010-01-12T13:53:13.773035Z
2009-12-31T17:44:32.724697Z d47c79b281339983862a8e52d8c73f0f
155540 2010-01-07T20:35:33.358709Z
green 155710
ro
@@ -160,5 +160,5 @@ green
1722 1731

View File

@@ -84,7 +84,7 @@ allocate_mmap (size_t size)
MAP_PRIVATE, dev_zero_fd, 0); MAP_PRIVATE, dev_zero_fd, 0);
#endif #endif
if (page == MAP_FAILED) if (page == (char *) MAP_FAILED)
{ {
perror ("virtual memory exhausted"); perror ("virtual memory exhausted");
exit (1); exit (1);

View File

@@ -84,7 +84,7 @@ allocate_mmap (size_t size)
MAP_PRIVATE, dev_zero_fd, 0); MAP_PRIVATE, dev_zero_fd, 0);
#endif #endif
if (page == MAP_FAILED) if (page == (char *) MAP_FAILED)
{ {
perror ("virtual memory exhausted"); perror ("virtual memory exhausted");
exit (1); exit (1);