testsuite


Log

Author Commit Date CI Message
Alan Modra ab79d6e2 2013-11-21T06:12:35 This separates the 32-bit sysv/linux/bsd code from the 64-bit linux code, and makes it possible to link code compiled with different options to those used to compile libffi. For example, a -mlong-double-128 libffi can be used with -mlong-double-64 code. Using the return value area as a place to pass parameters wasn't such a good idea, causing a failure of cls_ulonglong.c. I didn't see this when running the mainline gcc libffi testsuite because that version of the test is inferior to the upstreamm libffi test. Using NUM_FPR_ARG_REGISTERS rather than NUM_FPR_ARG_REGISTERS64 meant that a parameter save area could be allocated before it was strictly necessary. Wrong but harmless. Found when splitting apart ffi.c into 32-bit and 64-bit support.
Alan Modra ac753688 2013-11-21T06:12:35 This separates the 32-bit sysv/linux/bsd code from the 64-bit linux code, and makes it possible to link code compiled with different options to those used to compile libffi. For example, a -mlong-double-128 libffi can be used with -mlong-double-64 code. Using the return value area as a place to pass parameters wasn't such a good idea, causing a failure of cls_ulonglong.c. I didn't see this when running the mainline gcc libffi testsuite because that version of the test is inferior to the upstreamm libffi test. Using NUM_FPR_ARG_REGISTERS rather than NUM_FPR_ARG_REGISTERS64 meant that a parameter save area could be allocated before it was strictly necessary. Wrong but harmless. Found when splitting apart ffi.c into 32-bit and 64-bit support.
Alan Modra 164283f4 2013-11-16T06:38:55 The powerpc64 support opted to pass floating point values both in the fpr area and the parameter save area, necessary when the backend doesn't know if a function argument corresponds to the ellipsis arguments of a variadic function. This patch adds powerpc support for variadic functions, and changes the code to only pass fp in the ABI mandated area. ELFv2 needs this change since the parameter save area may not exist there. This also fixes two faulty tests that used a non-variadic function cast to call a variadic function, and spuriously reasoned that this is somehow necessary for static functions..
Andrew Haley db0ace3a 2013-11-16T06:29:25 Fix broken test cases
David Schneider cdf405d5 2013-11-13T15:50:21 add a testcase for the double/float issue on ARMHF
Anthony Green c2422174 2013-11-02T14:08:23 Merge pull request #45 from foss-for-synopsys-dwc-arc-processors/arc_support arc: Fix build error
Sandra Loosemore 2f5626ce 2013-10-15T15:32:16 Fix testsuite bug
Marcus Shawcroft f64e4a86 2013-10-15T15:20:14 Fix many.c testcase for Aarch64
Anthony Green 128cd1d2 2013-10-08T06:45:51 Fix spelling errors
Anthony Green d2fcbcdf 2013-10-08T06:27:46 Add m88k and VAX support. Update some configury bits.
David Schneider dd26f1f3 2013-03-28T15:39:01 add a failing test for closures on ARM hardfloat
David Schneider b9f01378 2013-03-25T13:27:36 add a testcase, that on ARM hardfloat needs more than the 8 VFP argument registers to pass arguments to a call
David Schneider 2fbdb0f2 2013-03-25T13:26:02 use the absolute value to check the test result against an epsilon
Anthony Green f308faf1 2013-02-11T14:25:13 Add moxie support. Release 3.0.12.
Anthony Green 10e77227 2013-02-10T08:47:26 mend
Anthony Green a9521411 2013-02-09T06:54:40 sparc v8 and testsuite fixes
Anthony Green 63ba1fa7 2013-02-08T15:18:19 Remove xfail for arm*-*-*.
Anthony Green 7aab825c 2013-02-08T13:26:21 Add missing files to dist
Anthony Green 95eecebb 2013-02-07T15:32:46 Remove a.out cruft from dist
Anthony Green f3a4f3fd 2013-02-07T09:57:20 Fixes for AIX xlc compiler.
Anthony Green 522f8fef 2013-02-06T20:31:31 Fix man page. Clean out junk.
Anthony Green aeb8719a 2013-01-21T07:37:30 New microblaze support
Anthony Green 40860245 2013-01-21T07:37:30 New microblaze support
Anthony Green f03eab08 2013-01-11T17:14:11 Remove obsolete inline test functions
Anthony Green 05fbe1fa 2013-01-11T16:54:40 xlc compiler support
Anthony Green 51415430 2013-01-10T07:35:53 Don't run EH tests with non-GNU compiler
Anthony Green 8308984e 2013-01-08T15:14:21 Make sure we're running dejagnu tests with the right compiler.
Anthony Green f26c7ca6 2013-01-08T14:47:05 Make compiler options in dejagnu runs compiler specific
Anthony Green f7879bc3 2013-01-08T07:30:28 Testsuite fix for Solaris vendor compiler
Thorsten Glaser 0de3277b 2012-12-03T00:02:31 Testsuite fixes (was Re: [PATCH] Fix libffi on m68k-linux-gnu, completely) Dixi quod… >although I believe some 3.0.11 checks to be broken: And indeed, with a few minor changes on top of git master, I still get a full run of PASS plus one XPASS on amd64-linux! With the other patches (from this message’s parent) and these applied, I get a full PASS on m68k-linux as well. So, please git am these three diffs ☺ bye, //mirabilos -- FWIW, I'm quite impressed with mksh interactively. I thought it was much *much* more bare bones. But it turns out it beats the living hell out of ksh93 in that respect. I'd even consider it for my daily use if I hadn't wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh From 5cb15a3bad1f0fb360520dd48bfc938c821cdcca Mon Sep 17 00:00:00 2001 From: Thorsten Glaser <tg@mirbsd.org> Date: Sun, 2 Dec 2012 23:20:56 +0000 Subject: [PATCH 1/2] Fix tests writing to a closure retval via pointer casts As explained in <Pine.BSM.4.64L.1212022014490.23442@herc.mirbsd.org> all other tests that do the same cast to an ffi_arg pointer instead. PASS on amd64-linux (Xen domU) and m68k-linux (ARAnyM) Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Anthony Green ccee09a4 2013-01-02T08:41:55 +2012-03-21 Peter Rosin <peda@lysator.liu.se> + + * testsuite/lib/target-libpath.exp [*-*-cygwin*, *-*-mingw*] + (set_ld_library_path_env_vars): Add the library search dir to PATH + (and save PATH for later). + (restore_ld_library_path_env_vars): Restore PATH.
Anthony Green 8bad679a 2013-01-02T08:28:35 New stand-alone patch
Anthony Green 981c32ee 2013-01-02T07:34:03 Merge with GCC. Eliminate quilt bits.
Anthony Green 69da33a0 2012-11-12T15:25:47 Pull in config.sub for aarch64 support and more
Anthony Green f680b598 2012-11-06T16:00:40 Add missing aarch64 configury bits
Anthony Green 58e8b66f 2012-10-30T07:07:19 AArch64 port
Anthony Green fa5d7479 2012-10-30T07:07:19 AArch64 port
Anthony Green 6993a668 2012-10-30T06:59:32 Fix autoconf macros
Anthony Green 048d2f41 2012-10-11T10:55:25 Rebase
Anthony Green 213ed15c 2012-04-27T01:34:15 Add blackfin supprt from Alexandre Keunecke.
Anthony Green a098b44f 2012-04-06T17:04:35 Reapply missing testsuite changes for arm
Anthony Green 59bb61a3 2012-04-06T08:26:14 Update libtool version, README, tests dists
Anthony Green f2981454 2012-04-05T15:45:19 Revert debug code changes
Zachary Waldowski 39dccddb 2012-04-05T12:32:41 Fix building with Clang for Darwin (OS X 10.6+ and iOS 4.0+)
Peter Rosin 0a1ab12a 2012-03-30T08:14:08 Various MSVC-related changes.
Anthony Green e72ed5ee 2012-03-21T09:52:28 Fix vararg float test
Anthony Green bd78c9c3 2012-03-21T08:09:30 More cygwin fixes
Anthony Green 84d3253f 2012-03-19T23:07:35 Rebase post GCC merge
Anthony Green d578b896 2012-02-15T00:18:18 Fix ABI check regression
Anthony Green dee20f8e 2012-02-10T13:06:46 Rebased from gcc
Anthony Green 4130e197 2012-02-03T13:18:27 Refresh autoconf-archive m4 scripts
Anthony Green 1ff9c604 2012-02-01T16:34:30 Rebase from GCC
Anthony Green 164e6fe0 2012-01-23T12:41:06 m68k fixes
Anthony Green c365ee75 2012-01-23T11:13:18 Refresh
Anthony Green 03e9ee32 2011-11-18T15:13:00 Fix cls_double_va.c and update docs
Anthony Green 95f31151 2011-11-12T23:46:05 Rerun automake
Anthony Green ff9454da 2011-11-12T17:18:51 Add David Gilbert's variadic function call support
Anthony Green 3d56106b 2011-11-12T07:20:24 Rebase
Anthony Green 8c01954c 2011-09-06T14:26:32 Build assembly files with debug info
Anthony Green ee6696fd 2011-08-23T12:30:29 3.0.11-rc1. soname bump.
Anthony Green c6265c36 2011-08-23T10:31:33 Version 3.0.10
Anthony Green cc5e41bf 2011-08-22T16:34:24 Fix use of autoconf macros
Anthony Green 049d8386 2011-08-22T14:50:10 Many new patches
Anthony Green d992ac54 2011-07-29T17:32:53 Refresh from GCC
Anthony Green 74ee6ea8 2011-02-25T15:52:14 rc7. More AIX fixes.
Anthony Green cbb062cc 2011-02-17T20:39:21 Another non-GCC configury fix
Anthony Green 1fbf9dc4 2011-02-13T08:06:39 Fix bad_abi test. rc5.
Anthony Green 71c792f5 2011-02-12T09:33:11 rc4
Anthony Green 7c7c9f32 2011-02-12T09:29:29 ungccify parts of the build
Anthony Green 17d9e9e6 2011-02-11T12:23:20 Use newer autotools. Only build debug.c when --enable-debug.
Anthony Green f1fb139b 2011-02-09T18:30:02 Fix tests
Anthony Green 747d6c32 2011-02-09T14:56:23 Add Interix support
Anthony Green 69dbe845 2011-02-09T07:38:43 Fix xfails
Anthony Green 630b9c0a 2011-02-09T06:24:23 Update to rc2
Anthony Green 09cb76f2 2011-02-08T20:39:51 Add missing change
Anthony Green 2e3a48cc 2011-02-08T20:37:26 Fix make dist
Anthony Green 857fe3de 2011-02-08T19:39:20 Clean ups
Anthony Green 1106229a 2011-02-08T19:20:09 Add iOS support
Anthony Green bc9d0be2 2011-02-08T17:04:26 3.0.10rc0 changes
Anthony Green 3b836249 2011-02-08T14:28:59 Rebase from GCC
Anthony Green 0e584399 2011-02-08T07:52:40 Refresh from GCC
Anthony Green 2db72615 2010-11-21T10:50:56 Rebase
Anthony Green 3f5b1375 2010-07-12T14:39:18 rebase
Anthony Green 9dc9a293 2010-04-13T10:33:52 Rebase to latest GCC sources
Anthony Green c3813b6d 2010-01-26T16:48:56 Rebuild Makefiles with automake 1.11.1 for CVE-2009-4029.
Anthony Green 7b7a42f2 2010-01-12T09:14:14 Rebase from GCC
Anthony Green c3042afa 2010-01-01T08:08:02 Reset quilt patches post 3.0.9 merge with GCC
Anthony Green 2e7e03d0 2009-12-31T07:43:22 Final updates before 3.0.9
Anthony Green 0cfe60e9 2009-12-29T10:06:04 3.0.9rc12
Anthony Green 14e2e92e 2009-12-27T21:03:33 3.0.9rc11
Anthony Green 88440278 2009-12-26T12:57:23 HPUX support and avr32 test fixes.
Anthony Green 01c78756 2009-12-26T10:05:18 3.0.9rc9
Anthony Green 70868464 2009-12-26T09:58:03 Remove xfails for mips and arm
Anthony Green 7e37eaaf 2009-12-26T07:46:50 Fix huge_struct for solaris
Anthony Green 07cc7a37 2009-12-26T07:23:04 3.0.9rc8
Anthony Green 9458d88f 2009-12-26T07:02:27 Rebase from GCC
Anthony Green 1d04af52 2009-12-25T09:50:36 Updated some mips XFAILs
Anthony Green 1fe3dc7c 2009-12-25T01:39:00 Add windows support patch.
Anthony Green f7c0bc61 2009-12-25T01:22:11 3.0.9rc6
Anthony Green da11bece 2009-12-24T05:34:46 Release 3.0.9rc5