1commit f9ea41683444ebe11cfa45b05223899764df28fb 2Author: Anthony Green <green@moxielogic.com> 3Date: Mon Jun 28 21:10:49 2021 -0400 4 5 Update version to 3.4.2 6 7commit 2bdc8e52efb78d939f23efb4f9c515355610bff5 8Author: Anthony Green <green@moxielogic.com> 9Date: Mon Jun 28 19:50:29 2021 -0400 10 11 Version 3.4.1 12 13commit c1d09bf08c2859abb40c476c57ae521d208f92a8 14Author: Anthony Green <green@moxielogic.com> 15Date: Mon Jun 28 18:50:31 2021 -0400 16 17 Update version to 3.4.0 18 19commit 1ed0aa73806872f0c31dccf2c689c762239d3353 20Author: Anthony Green <green@moxielogic.com> 21Date: Mon Jun 28 18:45:11 2021 -0400 22 23 Fix warnings 24 25commit 0a2cc2ec2893821f62b36b269da1dbc0442a5617 26Author: Anthony Green <green@moxielogic.com> 27Date: Mon Jun 28 14:59:07 2021 -0400 28 29 Add missing test cases to distribution 30 31commit ee3ef737857e13cc01a15dbef298478d90188805 32Author: Hood Chatham <hood@mit.edu> 33Date: Mon Jun 28 11:51:35 2021 -0700 34 35 Add tests for single entry structs (#653) 36 37commit f08c5ace5750f1e1f234f52f4d3d772bb8d276a0 38Author: Hood Chatham <hood@mit.edu> 39Date: Mon Jun 28 07:24:19 2021 -0700 40 41 Fix the assertions in cls-24byte (#652) 42 43 * Fix the assertions in cls-24byte 44 45 * Update print statement too 46 47commit 4557f232926353f5cdec0f2f459e4d59ce8f19e4 48Author: Anthony Green <green@moxielogic.com> 49Date: Mon Jun 28 09:53:01 2021 -0400 50 51 3.4.0 release candidate 2 52 53commit cd4428911d5c4d25ce2c24e6728124792124bba2 54Author: Jeremy Huddleston Sequoia <jeremyhu@users.noreply.github.com> 55Date: Mon Jun 28 04:56:30 2021 -0700 56 57 Add missing FFI_HIDDEN to ffi_tramp_is_present declaration (#651) 58 59 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 60 61commit 9fa94c607852081adce33547bde292fe4313cff7 62Author: Hood Chatham <hood@mit.edu> 63Date: Sun Jun 27 11:02:33 2021 -0700 64 65 Print more information when an assertion fails in test suite (#649) 66 67commit 91eaadfb2e4b79d12a45d24002b06563e5905e5d 68Author: Hood Chatham <hood@mit.edu> 69Date: Sun Jun 27 09:49:31 2021 -0700 70 71 Fix signature of function pointer in cls_dbls_struct (#648) 72 73commit 132699b95d3ee4d889ea2a80540acf3300987dad 74Author: Sergei Trofimovich <slyfox@gentoo.org> 75Date: Sun Jun 27 16:50:20 2021 +0100 76 77 configure.ac: add --disable-exec-static-tramp flag (#647) 78 79 Some projects like GHC (Glasgow Haskell Compiler) and 80 gobject-introspection use `ffi_closure_alloc()` as a way 81 to allocate executable memory. exec static tramp 82 interferes with it (unclear how exactly yet). 83 84 GHC symptom: ffi closure freeing cimplains about unexpected 85 trampoline (GHC manually fills one): 86 87 ``` 88 $ ghci 89 GHCi, version 8.10.5: https://www.haskell.org/ghc/ :? for help 90 ghc: freeHaskellFunctionPtr: not for me, guv! 0x7f0417a1efe8 91 ghc: freeHaskellFunctionPtr: not for me, guv! 0x7f0417a1efc8 92 ``` 93 94 gobject-introspection symptom: 95 96 ``` 97 $ meld 98 Segmentation fault (core dumped) 99 100 $ gdb --args /usr/bin/python3.9 /usr/bin/meld 101 (gdb) run 102 ... 103 Thread 1 "python3.9" received signal SIGSEGV, Segmentation fault. 104 0x00007fffe9ac1ae8 in g_callable_info_free_closure ( 105 callable_info=0x555555d45990, closure=0x7fffe9e70c20) 106 at ../gobject-introspection-1.68.0/girepository/girffi.c:428 107 428 g_free (wrapper->ffi_closure.cif->arg_types); 108 (gdb) bt 109 callable_info=0x555555d45990, closure=0x7fffe9e70c20) 110 at ../gobject-introspection-1.68.0/girepository/girffi.c:428 111 data=0x555555d252d0) 112 at ../pygobject-3.40.1/gi/pygi-closure.c:635 113 ... 114 ``` 115 116 To ease downstreams narrowing down the actual problem let's 117 provide a knob to disable exec static trampolines. 118 119 The change for not affect current default. 120 121 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 122 123commit 4e07374c2773711902ec12905d5c64d95d22d050 124Author: Anthony Green <green@moxielogic.com> 125Date: Sun Jun 27 11:25:06 2021 -0400 126 127 Remove caveat about varargs support 128 129commit 11f9713887e1d8e9bdf861c1555de55aba9fc46c 130Author: Anthony Green <green@moxielogic.com> 131Date: Sun Jun 27 07:46:12 2021 -0400 132 133 Update contact info 134 135commit f792adb61a27aa2a7d24573b956ce29ebdb82e03 136Author: Sergei Trofimovich <slyfox@gentoo.org> 137Date: Sat Jun 26 22:26:52 2021 +0100 138 139 configure.ac: allow user to specify READELF (#646) 140 141 Before the change with x86_64-pc-linux-gnu cross-compiler 142 installed the configure was not able to find cross-readelf: 143 144 ``` 145 $ ./configure --host=x86_64-pc-linux-gnu 146 ... 147 checking whether .eh_frame section should be read-only... .././configure: line 19540: readelf: command not found 148 yes 149 ... 150 ``` 151 152 The change uses AC_CHECK_TOOL to automatically seatch for ${host}-readelf, 153 readelf. And as a bonus it also allows user to override readelf with 154 something like READELF=llvm-readelf. 155 156 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 157 158commit 9cf15b3a284d8e79f3673b8743d4157739df5d36 159Author: Anthony Green <green@moxielogic.com> 160Date: Sat Jun 26 12:12:06 2021 -0400 161 162 Make 3.4 release candidate 1 163 164commit 1e5dc8de825d03f5493884a45e1edeacda2106c5 165Author: Anthony Green <green@moxielogic.com> 166Date: Sat Jun 26 12:08:35 2021 -0400 167 168 Add missing file from make dist. Add missing license info. 169 170commit c0b210c7fd1e5b4a17e9fc839a4cf1d75483d591 171Author: Anthony Green <green@moxielogic.com> 172Date: Sat Jun 26 10:55:57 2021 -0400 173 174 Remove test case 175 176commit 87429ce726ead7bb789d194c6d979c5b0c4086e9 177Author: Matthew Green <85970515+squidhacks@users.noreply.github.com> 178Date: Sat Jun 26 08:49:45 2021 -0400 179 180 This test includes a closure and must live in the closures test directory. (#645) 181 182 Co-authored-by: Matthew Green <squidhacks@users.noreply.github.com> 183 184commit 8d83c7c1fa331b93e58967979c59c38600df1ee9 185Author: Hood Chatham <roberthoodchatham@gmail.com> 186Date: Fri Jun 25 19:50:33 2021 -0700 187 188 Make test methods static (#644) 189 190commit becae7397873d6bb85a271b16961f055e71f42a6 191Author: Anthony Green <green@moxielogic.com> 192Date: Tue Jun 22 13:01:06 2021 -0400 193 194 Switch from travis-ci.org to travis-ci.com. 195 196commit fa1ef887d4dc5d18696517e32e2ae98310f0040d 197Author: Anthony Green <green@moxielogic.com> 198Date: Tue Jun 22 08:48:24 2021 -0400 199 200 Avoid undefined behaviour 201 202commit 84bb56914756845371be62e2753041521fd5d261 203Author: Tres Finocchiaro <tres.finocchiaro@gmail.com> 204Date: Tue Jun 22 07:33:46 2021 -0400 205 206 Remove libtool-ldflags file from .gitignore (#600) 207 208 This is correct. Thank you! 209 210commit 5651bea284ad0822eafe768e3443c2f4d7da2c8f 211Author: Jakub Jelinek <jakub@redhat.com> 212Date: Tue Jun 15 15:19:26 2021 -0400 213 214 2021-06-15 Jakub Jelinek <jakub@redhat.com> 215 216 * src/x86/ffi64.c (classify_argument): For FFI_TYPE_STRUCT set words 217 to number of words needed for type->size + byte_offset bytes rather 218 than just type->size bytes. Compute pos before the loop and check 219 total size of the structure. 220 * testsuite/libffi.call/nested_struct12.c: New test. 221 222commit f56eb85227bbcc7bd81232a338655146385a77ca 223Author: DJ Delorie <dj@delorie.com> 224Date: Tue Jun 15 08:50:20 2021 -0400 225 226 Don't stop test on copy failure (#636) 227 228 * Don't stop test on copy failure 229 230 Static-library tests were failing only because there were 231 no DLLs to copy. This change makes a copy failure not stop 232 the build; if a failed copy would otherwise be relevent, the 233 later tests would fail anyway. 234 235 While there are more clever ways to solve this, a brute force 236 fix is sufficient. 237 238 * [TEST] Try cygwin64; install more packages explicitly 239 240 * use correct cygwin64 directory name 241 242 appveyor has cygwin64 pre-installed in /cygwin64, and 32-bit cygwin 243 in /cygwin 244 245 * More testing - revert VS change, bump travis timeout 246 247 * Add -g to update the rest of perl 248 249 * Skip execution tests on non-native platforms 250 251 Special site.exp that skips the unix_load() command for arm platforms. 252 253 Unset TERM to avoid cruft in stdout 254 255 Try harder to find the libffi libraries 256 257commit ff059dd96af6ba4daf7bc9ddf22d1d2dbf6a177b 258Author: vhankala <81743325+vhankala@users.noreply.github.com> 259Date: Thu Jun 10 18:41:02 2021 +0000 260 261 Fix build on OpenBSD/mips64 (#638) 262 263 The build fails on OpenBSD/mips64 because clang 11's integrated 264 assembler expects read-only .eh_frame: 265 266 ../src/mips/n32.S:585:9: error: changed section flags for .eh_frame, expected: 0x2 267 .section .eh_frame,"aw",@progbits 268 ^ 269 270 Use EH_FRAME_FLAGS to get matching flags for the section. 271 272commit e6eb59cde6580607544160f8e7dedc326b4799fd 273Author: Cheng Jin <jincheng@ca.ibm.com> 274Date: Wed Jun 9 16:00:10 2021 -0400 275 276 Add struct test to verify a nested float struct (#640) 277 278 The test aims to check a nested float struct 279 [float, [float,float]] to see whether it works good 280 with libffi. 281 282 Signed-off-by: Cheng Jin <jincheng@ca.ibm.com> 283 284commit 6eb38863bc0b21854959ebf845f8672c44a99684 285Author: Anthony Green <green@moxielogic.com> 286Date: Wed Jun 9 15:45:31 2021 -0400 287 288 Remove reference to old test case 289 290commit ca2235ecfe717ecaed6abbef3a2ca2918a91c60b 291Author: Anthony Green <green@moxielogic.com> 292Date: Fri Jun 4 18:20:24 2021 -0400 293 294 Revert appveyor changes 295 296commit 243004cc4c8be552503a5d10710ebb252b406064 297Author: Anthony Green <green@moxielogic.com> 298Date: Tue Jun 1 23:00:29 2021 -0400 299 300 Update vs version 301 302commit 04c157f49a1b83798c102f3259bc397b9b7f7266 303Author: Anthony Green <green@moxielogic.com> 304Date: Tue Jun 1 22:57:47 2021 -0400 305 306 Upgrade to vs2019 307 308commit 03a78e88402fff424426a1968e014be93666b86f 309Author: Anthony Green <green@moxielogic.com> 310Date: Tue Jun 1 22:53:44 2021 -0400 311 312 Try updating automake 313 314commit 1f1829bd4ce19b58d0354db3bef21cb8402cdf82 315Author: Anthony Green <green@moxielogic.com> 316Date: Tue Jun 1 22:34:37 2021 -0400 317 318 Bring in the latest version of perl 319 320commit dd5bd03075149d7cf8441875c1a344e8beb57dde 321Author: Martin Storsjö <martin@martin.st> 322Date: Wed Apr 7 05:42:10 2021 +0300 323 324 Fix building for arm windows with mingw toolchains (#631) 325 326 * arm: Check _WIN32 instead of _M_ARM or _MSC_VER for detecting windows 327 328 This matches what was done for ARM64 in 329 c06468fa6674d3783a0edb1d0fae9afc8bc28513. 330 331 * arm: Only use armasm source when building with MSVC 332 333 When building for windows/arm with clang, the normal gas style .S 334 source works fine (if fixed up to support thumb and other windows 335 specifics). 336 337 This matches what was done for ARM64 in 338 c06468fa6674d3783a0edb1d0fae9afc8bc28513. 339 340 * arm: Fix sysv.S to work in thumb mode 341 342 Align cases in jump tables (adding nop padding to make sure each 343 case starts where expected). 344 345 Rewrite instructions that add directly to the pc register. 346 347 For ffi_closure_ret, factor out a call_epilogue subroutine that 348 restores both sp and pc from the stack; the thumb version of ldm 349 can't load into the sp register. To avoid excessive ifdeffing, keep 350 using call_epilogue in arm mode, but keep the shorter "ldm sp, {sp, pc}" 351 epilogue in that case. 352 353 * arm: Add win32 version of trampoline to sysv.S 354 355 This matches the version of it in sysv_msvc_arm32.S. The calling 356 C code expects a specific form of the trampoline on windows; make 357 sure these work the same on windows regardless of the form of 358 assembly used. 359 360 * arm: Avoid optimizing out clearing the thumb bit of ffi_arm_trampoline 361 362 We clear the thumb bit of ffi_arm_trampoline with a bitmask before 363 memcpying its instructions into closure->tramp. 364 365 If the bit isn't cleared, the memcpy of the trampoline function 366 copies the wrong instructions. 367 368 If the ffi_arm_trampoline symbol is declared as an array of int, 369 the compiler can assume that it is aligned to a 4 byte boundary 370 and the bitmask operation is a no-op, and optimize it out. 371 372 See https://godbolt.org/z/dE3jE1WTz; both Clang and GCC optimize 373 out the bitmask as it is, while MSVC doesn't. By declaring the 374 trampoline as an array of unsigned char, the bitmask works as 375 intended. 376 377commit 95ef857d5c6ed15c6c6ba5f8a5b26c0a38b417ab 378Author: Anthony Green <green@moxielogic.com> 379Date: Thu Mar 25 10:43:05 2021 -0400 380 381 Verbose brew update. 382 383commit 78c97c9ff4491e14e78992ffabdd043674c05e15 384Author: Anthony Green <green@moxielogic.com> 385Date: Thu Mar 25 09:15:37 2021 -0400 386 387 Move container images to quay.io. 388 389commit 58dfdf6a84b98296ceb2b8b4237d37aa75bb2cd4 390Author: Sergei Trofimovich <slyfox@gentoo.org> 391Date: Wed Mar 24 23:19:54 2021 +0000 392 393 testsuite: fix compiler vendor detection on dash as /bin/sh (#594) 394 395 In https://bugs.gentoo.org/753299 Paolo Pedroni reported 396 a single test failure out of all libffi. Here is the minimal 397 reproducer: 398 399 ``` 400 $ ./autogen 401 $ CONFIG_SHELL=/bin/dash ./configure --host=x86_64-pc-linux-gnu 402 $ make check RUNTESTFLAGS='complex.exp' 403 ... 404 FAIL: libffi.complex/cls_align_complex_float.c (test for excess errors) 405 ``` 406 407 This happens because under 'dash' shell autoconf generates slightly 408 different style of string quotation in `config.log`: 409 410 - on bash: `ax_cv_c_compiler_vendor=gnu` 411 - on dash: `ax_cv_c_compiler_vendor='gnu'` 412 413 To avoid shell quotation parsing the change just embeds 414 `compiler_vendor` into `local.exp` at configure time. 415 416 Reported-by: Paolo Pedroni 417 Bug: https://bugs.gentoo.org/753299 418 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 419 420commit eafab2356e8dcf5f01d2bcfa311cafba3b395a7e 421Author: Jeremy Huddleston Sequoia <jeremyhu@users.noreply.github.com> 422Date: Wed Mar 24 11:38:36 2021 -0700 423 424 arm64e: Pull in pointer authentication code from Apple's arm64e libffi port (#565) 425 426 NOTES: This changes the ptrauth support from #548 to match what Apple is 427 shipping in its libffi-27 tag. 428 429 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 430 431commit 01b56f4b3e89a349228c4ccf55061d847153c8d6 432Author: ericLemanissier <ericLemanissier@users.noreply.github.com> 433Date: Wed Mar 24 12:20:27 2021 +0100 434 435 fix windows tests (#595) 436 437 * Update .appveyor.yml 438 439 * add (debug+release)*(shared+static) CI 440 441 * fix libversion 442 443commit 1aeb26714ec30649f5d9de5b4884a4ac46f5f474 444Author: Ole André Vadla Ravnås <oleavr@gmail.com> 445Date: Wed Mar 24 12:16:12 2021 +0100 446 447 x86: Fix thiscall and fastcall stack cleanup behavior (#611) 448 449 These are meant to use callee clean-up. 450 451commit e92c81a549924c80d70666ecbe5ed0c2fcd7963a 452Author: Anthony Green <green@moxielogic.com> 453Date: Wed Mar 24 07:07:53 2021 -0400 454 455 Mention MSVC runtime stack checking improvement 456 457commit f88add14e40de398706c732e578620e8106062c7 458Author: Ole André Vadla Ravnås <oleavr@gmail.com> 459Date: Wed Mar 24 12:04:51 2021 +0100 460 461 x86: Fix MSVC runtime checks interop (#612) 462 463 MSVC can add runtime code that checks if a stack frame is mismanaged, 464 however our custom assembly deliberately accesses and modifies the parent 465 stack frame. Fortunately we can disable that specific check for the 466 function call so do that. 467 468 Co-authored-by: Matthew Waters <matthew@centricular.com> 469 470commit aa4dafb159a2e0f74aa39353a1bf23a943f36656 471Author: Anthony Green <green@moxielogic.com> 472Date: Tue Mar 23 19:06:08 2021 -0400 473 474 Mention LIBFFI_TMPDIR 475 476commit 70ea259c603e0f84eda766be29d4259f1e8fe5b7 477Author: DJ Delorie <dj@delorie.com> 478Date: Tue Mar 23 19:03:45 2021 -0400 479 480 Search $LIBFFI_TMPDIR also (#605) 481 482 Most temp file directories need to be hardened against execution, but 483 libffi needs execute privileges. Add a libffi-specific temp directory 484 that can be set up by sysadmins as needed with suitable permissions. 485 This both ensures that libffi will have a valid temp directory to use 486 as well as preventing attempts to access other directories. 487 488commit f58e5ee63263657a7e8f2892d27c012a16facc1a 489Author: AndreRH <andre.hentschel@ok.de> 490Date: Tue Mar 23 23:54:00 2021 +0100 491 492 aarch64: Fix closures for win64 (#606) 493 494commit 5865450decd13275b2bde064bd4a0f79bca6dba2 495Author: Francisco Boni <boboniboni@gmail.com> 496Date: Tue Mar 23 19:50:09 2021 -0300 497 498 Update ax_cc_maxopt m4 macro (#617) 499 500 Keeps libffi's specific changes 501 (https://github.com/libffi/libffi/commit/cec3a3a201f17a7f018f25e1a0917bd5206e5a5a#diff-2396a1256ac4b1c6849c931ddb8018bdd984bb2383be21bb819a33b95d8d603f) 502 and updates to the latest ax_cc_maxopt.m4 503 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commit;h=73ee1b396c21062ee8eeb8721ba5323322110fb5): 504 505 ax_cc_maxopt.m4: retain setting of CFLAGS by configure 506 507 AX_CC_MAXOPT checks whether CFLAGS was set by the user; if so, the user’s 508 setting is respected. This behavior is retained, of course. 509 510 However, AX_CC_MAXOPT was then setting CFLAGS="". This overrode the default 511 setting by configure, which usually includes -g. Hence, if CFLAGS was not 512 set by the user, retain the default setting, to preserve the ability to 513 debug. 514 515 A typical default setting from configure is "-g -O2". This means that 516 AX_CC_MAXOPT might typically set CFLAGS to "-g -O2 -O3". This is fine, 517 because the later -O3 will override the earlier -O2. (The only assumption is 518 that all compilers that AX_CC_MAXOPT knows behave in this sane way.) 519 520commit 8f44384df17b536615caef951a615655a967103f 521Author: Anthony Green <green@moxielogic.com> 522Date: Tue Mar 23 14:24:54 2021 -0400 523 524 Fix formatting 525 526commit 9d491b5e21ffd7fcf2370d998a4832b755d1c9e9 527Author: Anthony Green <green@moxielogic.com> 528Date: Tue Mar 23 12:26:37 2021 -0400 529 530 Mention KVX 531 532commit 205cf01b57972fdc8c090fc79192b464dc43fc0d 533Author: Anthony Green <green@moxielogic.com> 534Date: Tue Mar 23 11:31:08 2021 -0400 535 536 Bug #680. Don't accept floats or small ints as var args. (#628) 537 538 * Bug #680. Don't accept floats or small ints as var args. 539 540 * Bug #680. Don't accept floats or small ints as var args. 541 542 * Bug #680. Don't accept floats or small ints as var args. 543 544commit d271dbe0a8b230e566fa3385babdc9cc0ca214ea 545Author: Jeremy Huddleston Sequoia <jeremyhu@users.noreply.github.com> 546Date: Sat Mar 20 06:06:28 2021 -0700 547 548 Add some missing #if conditionals from Apple's code drop (#620) 549 550 * arm/aarch64: Add FFI_CLOSURES conditionals where appropriate 551 552 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 553 554 * aarch64: Don't emit the do_closure label when building without FFI_GO_CLOSURES 555 556 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 557 558commit bae695da367b6abd83152f8f1e9b1a8b79794c8d 559Author: Russell Keith-Magee <russell@keith-magee.com> 560Date: Sat Mar 6 00:09:17 2021 +0800 561 562 Add configuration generator for tvOS and watchOS. (#625) 563 564commit 9ba559217bea0803263a9a9a0bafcf9203606f5b 565Author: Madhavan T. Venkataraman <75220914+madvenka786@users.noreply.github.com> 566Date: Fri Mar 5 10:07:30 2021 -0600 567 568 Static tramp v5 (#624) 569 570 * Static Trampolines 571 572 Closure Trampoline Security Issue 573 ================================= 574 575 Currently, the trampoline code used in libffi is not statically defined in 576 a source file (except for MACH). The trampoline is either pre-defined 577 machine code in a data buffer. Or, it is generated at runtime. In order to 578 execute a trampoline, it needs to be placed in a page with executable 579 permissions. 580 581 Executable data pages are attack surfaces for attackers who may try to 582 inject their own code into the page and contrive to have it executed. The 583 security settings in a system may prevent various tricks used in user land 584 to write code into a page and to have it executed somehow. On such systems, 585 libffi trampolines would not be able to run. 586 587 Static Trampoline 588 ================= 589 590 To solve this problem, the trampoline code needs to be defined statically 591 in a source file, compiled and placed in the text segment so it can be 592 mapped and executed naturally without any tricks. However, the trampoline 593 needs to be able to access the closure pointer at runtime. 594 595 PC-relative data referencing 596 ============================ 597 598 The solution implemented in this patch set uses PC-relative data references. 599 The trampoline is mapped in a code page. Adjacent to the code page, a data 600 page is mapped that contains the parameters of the trampoline: 601 602 - the closure pointer 603 - pointer to the ABI handler to jump to 604 605 The trampoline code uses an offset relative to its current PC to access its 606 data. 607 608 Some architectures support PC-relative data references in the ISA itself. 609 E.g., X64 supports RIP-relative references. For others, the PC has to 610 somehow be loaded into a general purpose register to do PC-relative data 611 referencing. To do this, we need to define a get_pc() kind of function and 612 call it to load the PC in a desired register. 613 614 There are two cases: 615 616 1. The call instruction pushes the return address on the stack. 617 618 In this case, get_pc() will extract the return address from the stack 619 and load it in the desired register and return. 620 621 2. The call instruction stores the return address in a designated register. 622 623 In this case, get_pc() will copy the return address to the desired 624 register and return. 625 626 Either way, the PC next to the call instruction is obtained. 627 628 Scratch register 629 ================ 630 631 In order to do its job, the trampoline code would need to use a scratch 632 register. Depending on the ABI, there may not be a register available for 633 scratch. This problem needs to be solved so that all ABIs will work. 634 635 The trampoline will save two values on the stack: 636 637 - the closure pointer 638 - the original value of the scratch register 639 640 This is what the stack will look like: 641 642 sp before trampoline ------> -------------------- 643 | closure pointer | 644 -------------------- 645 | scratch register | 646 sp after trampoline -------> -------------------- 647 648 The ABI handler can do the following as needed by the ABI: 649 650 - the closure pointer can be loaded in a desired register 651 652 - the scratch register can be restored to its original value 653 654 - the stack pointer can be restored to its original value 655 (the value when the trampoline was invoked) 656 657 To do this, I have defined prolog code for each ABI handler. The legacy 658 trampoline jumps to the ABI handler directly. But the static trampoline 659 defined in this patch jumps tp the prolog code which performs the above 660 actions before jumping to the ABI handler. 661 662 Trampoline Table 663 ================ 664 665 In order to reduce the trampoline memory footprint, the trampoline code 666 would be defined as a code array in the text segment. This array would be 667 mapped into the address space of the caller. The mapping would, therefore, 668 contain a trampoline table. 669 670 Adjacent to the trampoline table mapping, there will be a data mapping that 671 contains a parameter table, one parameter block for each trampoline. The 672 parameter block will contain: 673 674 - a pointer to the closure 675 - a pointer to the ABI handler 676 677 The static trampoline code would finally look like this: 678 679 - Make space on the stack for the closure and the scratch register 680 by moving the stack pointer down 681 - Store the original value of the scratch register on the stack 682 - Using PC-relative reference, get the closure pointer 683 - Store the closure pointer on the stack 684 - Using PC-relative reference, get the ABI handler pointer 685 - Jump to the ABI handler 686 687 Mapping size 688 ============ 689 690 The size of the code mapping that contains the trampoline table needs to be 691 determined on a per architecture basis. If a particular architecture 692 supports multiple base page sizes, then the largest supported base page size 693 needs to be chosen. E.g., we choose 16K for ARM64. 694 695 Trampoline allocation and free 696 ============================== 697 698 Static trampolines are allocated in ffi_closure_alloc() and freed in 699 ffi_closure_free(). 700 701 Normally, applications use these functions. But there are some cases out 702 there where the user of libffi allocates and manages its own closure 703 memory. In such cases, static trampolines cannot be used. These will 704 fall back to using legacy trampolines. The user has to make sure that 705 the memory is executable. 706 707 ffi_closure structure 708 ===================== 709 710 I did not want to make any changes to the size of the closure structure for 711 this feature to guarantee compatibility. But the opaque static trampoline 712 handle needs to be stored in the closure. I have defined it as follows: 713 714 - char tramp[FFI_TRAMPOLINE_SIZE]; 715 + union { 716 + char tramp[FFI_TRAMPOLINE_SIZE]; 717 + void *ftramp; 718 + }; 719 720 If static trampolines are used, then tramp[] is not needed to store a 721 dynamic trampoline. That space can be reused to store the handle. Hence, 722 the union. 723 724 Architecture Support 725 ==================== 726 727 Support has been added for x64, i386, aarch64 and arm. Support for other 728 architectures can be added very easily in the future. 729 730 OS Support 731 ========== 732 733 Support has been added for Linux. Support for other OSes can be added very 734 easily. 735 736 Signed-off-by: Madhavan T. Venkataraman <madvenka@linux.microsoft.com> 737 738 * x86: Support for Static Trampolines 739 740 - Define the arch-specific initialization function ffi_tramp_arch () 741 that returns trampoline size information to common code. 742 743 - Define the trampoline code mapping and data mapping sizes. 744 745 - Define the trampoline code table statically. Define two tables, 746 actually, one with CET and one without. 747 748 - Introduce a tiny prolog for each ABI handling function. The ABI 749 handlers addressed are: 750 751 - ffi_closure_unix64 752 - ffi_closure_unix64_sse 753 - ffi_closure_win64 754 755 The prolog functions are called: 756 757 - ffi_closure_unix64_alt 758 - ffi_closure_unix64_sse_alt 759 - ffi_closure_win64_alt 760 761 The legacy trampoline jumps to the ABI handler. The static 762 trampoline jumps to the prolog function. The prolog function uses 763 the information provided by the static trampoline, sets things up 764 for the ABI handler and then jumps to the ABI handler. 765 766 - Call ffi_tramp_set_parms () in ffi_prep_closure_loc () to 767 initialize static trampoline parameters. 768 769 Signed-off-by: Madhavan T. Venkataraman <madvenka@linux.microsoft.com> 770 771 * i386: Support for Static Trampolines 772 773 - Define the arch-specific initialization function ffi_tramp_arch () 774 that returns trampoline size information to common code. 775 776 - Define the trampoline code table statically. Define two tables, 777 actually, one with CET and one without. 778 779 - Define the trampoline code table statically. 780 781 - Introduce a tiny prolog for each ABI handling function. The ABI 782 handlers addressed are: 783 784 - ffi_closure_i386 785 - ffi_closure_STDCALL 786 - ffi_closure_REGISTER 787 788 The prolog functions are called: 789 790 - ffi_closure_i386_alt 791 - ffi_closure_STDCALL_alt 792 - ffi_closure_REGISTER_alt 793 794 The legacy trampoline jumps to the ABI handler. The static 795 trampoline jumps to the prolog function. The prolog function uses 796 the information provided by the static trampoline, sets things up 797 for the ABI handler and then jumps to the ABI handler. 798 799 - Call ffi_tramp_set_parms () in ffi_prep_closure_loc () to 800 initialize static trampoline parameters. 801 802 Signed-off-by: Madhavan T. Venkataraman <madvenka@linux.microsoft.com> 803 804 * arm64: Support for Static Trampolines 805 806 - Define the arch-specific initialization function ffi_tramp_arch () 807 that returns trampoline size information to common code. 808 809 - Define the trampoline code mapping and data mapping sizes. 810 811 - Define the trampoline code table statically. 812 813 - Introduce a tiny prolog for each ABI handling function. The ABI 814 handlers addressed are: 815 816 - ffi_closure_SYSV 817 - ffi_closure_SYSV_V 818 819 The prolog functions are called: 820 821 - ffi_closure_SYSV_alt 822 - ffi_closure_SYSV_V_alt 823 824 The legacy trampoline jumps to the ABI handler. The static 825 trampoline jumps to the prolog function. The prolog function uses 826 the information provided by the static trampoline, sets things up 827 for the ABI handler and then jumps to the ABI handler. 828 829 - Call ffi_tramp_set_parms () in ffi_prep_closure_loc () to 830 initialize static trampoline parameters. 831 832 Signed-off-by: Madhavan T. Venkataraman <madvenka@linux.microsoft.com> 833 834 * arm: Support for Static Trampolines 835 836 - Define the arch-specific initialization function ffi_tramp_arch () 837 that returns trampoline size information to common code. 838 839 - Define the trampoline code mapping and data mapping sizes. 840 841 - Define the trampoline code table statically. 842 843 - Introduce a tiny prolog for each ABI handling function. The ABI 844 handlers addressed are: 845 846 - ffi_closure_SYSV 847 - ffi_closure_VFP 848 849 The prolog functions are called: 850 851 - ffi_closure_SYSV_alt 852 - ffi_closure_VFP_alt 853 854 The legacy trampoline jumps to the ABI handler. The static 855 trampoline jumps to the prolog function. The prolog function uses 856 the information provided by the static trampoline, sets things up 857 for the ABI handler and then jumps to the ABI handler. 858 859 - Call ffi_tramp_set_parms () in ffi_prep_closure_loc () to 860 initialize static trampoline parameters. 861 862 Signed-off-by: Madhavan T. Venkataraman <madvenka@linux.microsoft.com> 863 864commit 5c63b463b87d3c06102a4a7f05f395929d9ea79b 865Author: DJ Delorie <dj@delorie.com> 866Date: Wed Dec 2 16:14:27 2020 -0500 867 868 Use memfd_create() (#604) 869 870 memfd_create creates a file in a memory-only filesystem that may 871 bypass strict security protocols in filesystem-based temporary 872 files. 873 874commit cb8474368cdef3207638d047bd6c707ad8fcb339 875Author: hjl-tools <hjl.tools@gmail.com> 876Date: Wed Dec 2 12:52:12 2020 -0800 877 878 libffi/x86: Always check __x86_64__ for x32 hosts (#601) (#602) 879 880 Since for x86_64-*x32 and x86_64-x32-* hosts, -m32 generates ia32 codes. 881 We should always check __x86_64__ for x32 hosts. 882 883commit e70bf987daa7b7b5df2de7579d5c51a888e8bf7d 884Author: Tres Finocchiaro <tres.finocchiaro@gmail.com> 885Date: Tue Nov 24 19:13:57 2020 -0500 886 887 Properly quote and resolve msvcc.sh params (#596) 888 889commit 8cc8f446f5aac13e107161dffbc15d1ee1a58878 890Author: Mike Hommey <mh@glandium.org> 891Date: Tue Nov 10 20:41:33 2020 +0900 892 893 Allow to build with mingw-clang (#579) 894 895 For some reason, compiling sysv.S with mingw-clang fails with: 896 ``` 897 error: invalid variant 'ffi_closure_inner@8' 898 ``` 899 900 This can be fixed (worked around?) by quoting the symbol. This works 901 fine with mingw-gcc too. 902 903commit d817d0daa312c58548d7a081aa876027ca103766 904Author: Mike Hommey <mh@glandium.org> 905Date: Tue Nov 10 20:39:25 2020 +0900 906 907 Don't use FFI_TYPE_LONGDOUBLE in the jump table in win64*.S (#580) 908 909 It may have the same value as FFI_TYPE_DOUBLE per ffi.h, which 910 possibly can make things go wrong with .org/ORG. 911 912 For instance, GCC complains about "Error: attempt to move .org 913 backwards" 914 915commit 56f7df711f70414d4f3663b34e54b122b38bab88 916Author: AndreRH <andre.hentschel@ok.de> 917Date: Tue Nov 10 12:27:59 2020 +0100 918 919 aarch64: Allow FFI_WIN64 for winelib (#593) 920 921commit 8111cd06921e80d5d7192ce8d1f64733072fdbcd 922Author: Brandon Bergren <git@bdragon.rtk0.net> 923Date: Tue Oct 27 09:07:38 2020 -0500 924 925 Add support for powerpc64le-*-freebsd*. (#581) 926 927 Tests pass with no additional changes needed, tested on hardware. 928 929commit 484c1a0d7536be60002473f7bb82223efe139883 930Author: Ken <21211439+kencu@users.noreply.github.com> 931Date: Tue Oct 27 07:07:07 2020 -0700 932 933 darwin powerpc: use go closures only if enabled (#583) 934 935 SHA: 0ff9419f2e75652426469e256cb7d0748064ad58 added go closures for darwin powerpc AIX, but 936 these have not yet been implemented for non-AIX systems 937 938 use the go closures only if enabled 939 940commit 032b3cd6f7850f3ebc1269eeab7d1db3ea518d29 941Author: Jeremy Huddleston Sequoia <jeremyhu@users.noreply.github.com> 942Date: Tue Oct 27 07:06:21 2020 -0700 943 944 Support building x86 and arm64 without FFI_GO_CLOSURES (#586) 945 946 * x86: Support building without FFI_GO_CLOSURES 947 948 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 949 950 * arm: Support building without FFI_GO_CLOSURES 951 952 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 953 954commit 93cf288ddd59c7cb203c1aba25de5e5b8f308da6 955Author: Jeremy Huddleston Sequoia <jeremyhu@users.noreply.github.com> 956Date: Tue Oct 27 07:05:28 2020 -0700 957 958 testsuite: Add a missing include of <inttypes.h> to fix build failure in test suite (#587) 959 960 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 961 962commit c78fcf88ab13a5cc414826a018dd46c3f886adee 963Author: petersn <schmidtnielsenpeter@gmail.com> 964Date: Tue Oct 27 07:02:36 2020 -0700 965 966 Removing unnecessary instruction from ffi_call_unix64 (#588) 967 968 unix64.S's `ffi_call_unix64` looks like it used to take six parameters, 969 where the sixth said the number of SSE register arguments. However, 970 currently the function only takes five parameters, and the number of SSE 971 register arguments is encoded in the `struct register_args *` passed as 972 the first parameter to `ffi_call_unix64`. This change removes an 973 instruction that tries to use this missing sixth parameter as the number 974 of SSE arguments. 975 976 This fix should not change any behavior, nor fix any bugs, because a few 977 instructions later the value moved from %r9d into %eax is overwritten by 978 the correct value anyway. This change merely makes the code a tad less 979 confusing, because currently the assembly moves from a register (r9) 980 whose value is never set. 981 982commit 2d86809db6d1d626a9df40c283ec564ac98ff85d 983Author: jacobly0 <jacobly0@users.noreply.github.com> 984Date: Tue Oct 27 10:00:03 2020 -0400 985 986 Fix read-only .eh_frame section test when CFLAGS contains -flto. (#590) 987 988commit f4435980fa2da335fe388db431d4a7946a99a2b9 989Author: Alan Modra <amodra@gmail.com> 990Date: Tue Oct 27 23:36:21 2020 +1030 991 992 Power10 libffi fixes (#585) 993 994 Power10 pc-relative code doesn't use or preserve r2 as a TOC pointer. 995 That means calling between pc-relative and TOC using code can't be 996 done without intervening linker stubs, and a call from TOC code to 997 pc-relative code must have a nop after the bl in order to restore r2. 998 999 Now the PowerPC libffi assembly code doesn't use r2 except for the 1000 implicit use when making calls back to C, ffi_closure_helper_LINUX64 1001 and ffi_prep_args64. So changing the assembly to interoperate with 1002 pc-relative code without stubs is easily done. 1003 1004 * src/powerpc/linux64.S (ffi_call_LINUX64): Don't emit global 1005 entry when __PCREL__. Call using @notoc. Add nops. 1006 * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Likewise. 1007 (ffi_go_closure_linux64): Likewise. 1008 1009commit 407394c0aac2db4a1978a7691035889db9924a01 1010Author: Tim Gates <tim.gates@iress.com> 1011Date: Sun Oct 11 15:07:40 2020 +1100 1012 1013 docs: fix simple typo, paramters -> parameters (#589) 1014 1015 There is a small typo in src/x86/ffi.c. 1016 1017 Should read `parameters` rather than `paramters`. 1018 1019commit ead65ca8711aa07efc0453f67136aff82f33c01f 1020Author: Anthony Green <green@moxielogic.com> 1021Date: Wed Aug 19 08:34:09 2020 -0400 1022 1023 Re-enable s390x testing 1024 1025commit 8276f812a99b10d1f2c387dbd6ef2ca4f597c733 1026Author: Niclas Zeising <zeising+github@daemonic.se> 1027Date: Fri Aug 7 21:05:23 2020 +0200 1028 1029 Upstream local FreeBSD patches (#567) 1030 1031 * Add support for FreeBSD mips 1032 1033 Add support for FreeBSD mips, this has been a local patch in the FreeBSD 1034 ports tree for quite some time. 1035 1036 Originally submitted by sson, and committed by sbruno AT FreeBSD DOT org 1037 See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191909 for 1038 background details. 1039 1040 Signed-off-by: Niclas Zeising <zeising@daemonic.se> 1041 1042 * Add support for FreeBSD powerpcspe 1043 1044 Add support for powerpcspe on FreeBSD 1045 This has been in the FreeBSD ports tree for some time. 1046 Originally submitted by jhibbits AT FreeBSD DOT org. 1047 1048 Signed-off-by: Niclas Zeising <zeising@daemonic.se> 1049 1050 * Fix abort() on FreeBSD arm related to __clear_cache() 1051 1052 This patch has been in the FreeBSD ports tree for a number of years. 1053 Original commit by koobs AT FreeBSD DOT org 1054 1055 Original commit message: 1056 > devel/libffi: Fix abort() on ARM related to __clear_cache() 1057 > 1058 > The current FreeBSD/ARM __clear_cache() implementation does nothing #if 1059 > __i386__ || __x86_64__ #else abort(); 1060 > 1061 > cognet@ advises this is an issue for anything !Apple that is using the 1062 > libcompiler_rt provided by Clang on ARM, and requires upstreaming. 1063 1064 See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=149167 for some 1065 background details. 1066 1067 Signed-off-by: Niclas Zeising <zeising@daemonic.se> 1068 1069commit 392afbaf60663e530bd740da0b5a39ee9f4ba052 1070Author: Anthony Green <green@moxielogic.com> 1071Date: Wed Aug 5 21:38:51 2020 -0400 1072 1073 Don't test s390. Travis-ci is broken. 1074 1075commit e08eb1ced18598a26cd7f14fea05693e89638ed2 1076Author: Anthony Green <green@moxielogic.com> 1077Date: Wed Aug 5 17:59:59 2020 -0400 1078 1079 Add support for eabisim back. This was removed upstream. 1080 1081commit 4661ba7928b49588aec9e6976673208c8cbf0295 1082Merge: 45875da 1a4b786 1083Author: Tom Tromey <tom@tromey.com> 1084Date: Tue Aug 4 11:08:19 2020 -0600 1085 1086 Merge pull request #576 from froydnj/config-updates 1087 1088 update config.{guess,sub} 1089 1090commit 1a4b786df34b61af7b6738a2ce7b8d34f5377a71 1091Author: Nathan Froyd <froydnj@gmail.com> 1092Date: Tue Aug 4 12:17:04 2020 -0400 1093 1094 update config.{guess,sub} 1095 1096 This change is primarily for aarch64 macOS support, since that configuration 1097 is now properly supported upstream. 1098 1099commit 45875da4bc71578f6f45471141c14e1743239b7e 1100Merge: fbd1de8 8e58f88 1101Author: Tom Tromey <tom@tromey.com> 1102Date: Wed Jul 1 09:32:37 2020 -0600 1103 1104 Merge pull request #570 from jwilk-forks/spelling 1105 1106 aarch64: Fix typo 1107 1108commit 8e58f88d33eb878b0fbca1433f83bbf872d5d0f3 1109Author: Jakub Wilk <jwilk@jwilk.net> 1110Date: Tue Jun 30 22:59:28 2020 +0200 1111 1112 aarch64: Fix typo 1113 1114commit fbd1de85f6532f8a8f61abbd7892f8cb58b233d0 1115Author: Ma Jun <majun258@linux.alibaba.com> 1116Date: Mon Jun 29 08:02:20 2020 -0400 1117 1118 Add support for csky 1119 1120commit 0027b072627aa9d3ada71c4374561966064ecd5a 1121Author: M. Herdiansyah <herdiansyah@netc.eu> 1122Date: Thu Jun 11 19:40:24 2020 +0700 1123 1124 Makefile: increase compatibility with bmake (#551) 1125 1126commit b7af8f47d5fff2957521dc269637c00b8a4b6c75 1127Author: Andre Miras <AndreMiras@users.noreply.github.com> 1128Date: Thu Jun 11 14:38:59 2020 +0200 1129 1130 Fixes macOS build on Python 3 (#563) 1131 1132 The error was: 1133 ``` 1134 Traceback (most recent call last): 1135 File "_generate-darwin-source-and-headers.py", line 209, in <module> 1136 generate_source_and_headers(generate_osx=not args.only_ios, generate_ios=not args.only_osx) 1137 File "_generate-darwin-source-and-headers.py", line 197, in generate_source_and_headers 1138 for header_name, tag_tuples in platform_headers.iteritems(): 1139 AttributeError: 'collections.defaultdict' object has no attribute 'iteritems' 1140 ``` 1141 1142commit 5c45c40c04f89cf67ade3fdfa99915ca5409e51a 1143Author: Kentaro Hayashi <kenhys@gmail.com> 1144Date: Thu Jun 11 21:37:41 2020 +0900 1145 1146 Fix Free software foundation address (#564) 1147 1148 ref. https://www.fsf.org/about/contact/ 1149 1150commit 2e90bb5577ea1fe3bc1716954e790999bc3549f7 1151Author: Anthony Green <green@moxielogic.com> 1152Date: Sun Jun 7 14:31:06 2020 -0400 1153 1154 Add gcc bug tests back 1155 1156commit 5e6ca054148dfb4d78e6f79457d48b745f919def 1157Author: Yann Sionneau <yann@sionneau.net> 1158Date: Fri May 1 13:59:11 2020 +0200 1159 1160 Add support for Kalray KVX architecture (#559) 1161 1162commit 4f9e20ac51ce13d46fed3c869e1deb6d9bb89444 1163Author: Andrew Geissler <geissonator@users.noreply.github.com> 1164Date: Fri May 1 06:58:30 2020 -0500 1165 1166 ffi_powerpc.h: fix build failure with powerpc7 (#561) 1167 1168 This is a patch pulled down from the following: 1169 https://github.com/buildroot/buildroot/blob/78926f610b1411b03464152472fd430012deb9ac/package/libffi/0004-ffi_powerpc.h-fix-build-failure-with-powerpc7.patch 1170 1171 This issue is being hit on OpenBMC code when pulling the latest 1172 libffi tag and building on a P8 ppc64le machine. I verified this 1173 patch fixes the issue we are seeing. 1174 1175 Below is the original commit message: 1176 1177 Sicne commit 73dd43afc8a447ba98ea02e9aad4c6898dc77fb0, build on powerpc7 1178 fails on: 1179 1180 In file included from ../src/powerpc/ffi.c:33:0: 1181 ../src/powerpc/ffi_powerpc.h:61:9: error: '_Float128' is not supported on this target 1182 typedef _Float128 float128; 1183 ^~~~~~~~~ 1184 1185 Fix this build failure by checking for __HAVE_FLOAT128 before using 1186 _Float128, as _Float128 is enabled only on specific conditions, see 1187 output/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/bits/floatn.h: 1188 1189 /* Defined to 1 if the current compiler invocation provides a 1190 floating-point type with the IEEE 754 binary128 format, and this glibc 1191 includes corresponding *f128 interfaces for it. */ 1192 #if defined _ARCH_PWR8 && defined __LITTLE_ENDIAN__ && (_CALL_ELF == 2) \ 1193 && defined __FLOAT128__ && !defined __NO_LONG_DOUBLE_MATH 1194 # define __HAVE_FLOAT128 1 1195 #else 1196 # define __HAVE_FLOAT128 0 1197 #endif 1198 1199 Fixes: 1200 - http://autobuild.buildroot.org/results/5c9dd8fb3b6a128882b6250f197c80232d8a3b53 1201 1202 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> 1203 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> 1204 1205 Co-authored-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> 1206 1207commit 053b04c525a00abdc25ec646096a44208a1b9423 1208Author: Martin Storsjö <martin@martin.st> 1209Date: Sun Apr 26 05:02:14 2020 +0300 1210 1211 arm: Fix the clang specific version of the assembly (#556) 1212 1213 Also fix the same error in the comment for the non-clang case. 1214 That typo there seems to have existed since the code was written 1215 in that form, in e7f15f60e86 - and when the clang specific codepath 1216 was added in e3d2812ce43, the typo in the comment made it into the 1217 actual code. 1218 1219commit c543849c3767cc0f0a84e3ed7b664a63724ed516 1220Author: Martin Storsjö <martin@martin.st> 1221Date: Sun Apr 26 05:01:03 2020 +0300 1222 1223 win64_armasm: Fix the spelling of ALIGN (#553) 1224 1225commit 15d3ea31a53bd0e5b828c90a9f7c4285c58f73e1 1226Author: Martin Storsjö <martin@martin.st> 1227Date: Sun Apr 26 04:59:35 2020 +0300 1228 1229 Use __builtin_ffs instead of ffs (#554) 1230 1231 USE_BUILTIN_FFS is defined to 1 within __GNUC__, and the __builtin_ffs 1232 function is available since GCC 3.x at least, while the ffs function 1233 only exists on some OSes. 1234 1235 This fixes compilation for non-x86 mingw platforms. For x86, 1236 USE_BUILTIN_FFS is explicitly disabled for windows targets - but 1237 if USE_BUILTIN_FFS is enabled based on __GNUC__, it should also use 1238 the builtin which actually is available correspondingly, not dependent 1239 on the target OS. 1240 1241commit c06468fa6674d3783a0edb1d0fae9afc8bc28513 1242Author: Martin Storsjö <martin@martin.st> 1243Date: Sun Apr 26 04:58:33 2020 +0300 1244 1245 Fix building for aarch64 windows with mingw toolchains (#555) 1246 1247 * aarch64: Check _WIN32 instead of _M_ARM64 for detecting windows 1248 1249 This fixes building for aarch64 with mingw toolchains. _M_ARM64 is 1250 predefined by MSVC, while mingw compilers predefine __aarch64__. 1251 1252 In aarch64 specific code, change checks for _M_ARM64 into checks for 1253 _WIN32. 1254 1255 In arch independent code, check for 1256 (defined(_M_ARM64) || defined(__aarch64__)) && defined(_WIN32) 1257 instead of just _M_ARM64. 1258 1259 In src/closures.c, coalesce checks like 1260 defined(X86_WIN32) || defined(X86_WIN64) || defined(_M_ARM64) 1261 into plain defined(_WIN32). Technically, this enables code for 1262 ARM32 windows where it wasn't, but as far as I can see it, those 1263 codepaths should be fine for that architecture variant as well. 1264 1265 * aarch64: Only use armasm source when building with MSVC 1266 1267 When building for windows/arm64 with clang, the normal gas style .S 1268 source works fine. sysv.S and win64_armasm.S seem to be functionally 1269 equivalent, with only differences being due to assembler syntax. 1270 1271commit 8c50837f0b58ba5b2bcb1b424a2a4bfa01559fb2 1272Author: Fangrui Song <i@maskray.me> 1273Date: Tue Mar 10 04:36:09 2020 -0700 1274 1275 Improve read-write .eh_frame check (#546) 1276 1277 llvm-objdump -h does not print BFD SEC_* constants like "READONLY", 1278 so the check will consider .eh_frame writable. 1279 clang 11 (since https://reviews.llvm.org/D73999) will error for mismatching section flags. 1280 1281 Use readelf -S and check "WA" instead. 1282 1283commit 4a6414f2785a60f455c91fdd04f7745fe7fc11e0 1284Author: Moxie Bot <bot@moxielogic.com> 1285Date: Mon Mar 9 21:10:53 2020 -0400 1286 1287 Mention ARM Pointer Authentication 1288 1289commit 909b37ffffe2a0bb08947b07508a3a4eed5f36a8 1290Author: Moxie Bot <bot@moxielogic.com> 1291Date: Mon Mar 9 21:10:33 2020 -0400 1292 1293 Test on aarch64 Linux with clang 1294 1295commit 4c7bde32ea3af479babdf527d94f241282951cb9 1296Author: Ole André Vadla Ravnås <oleavr@gmail.com> 1297Date: Tue Mar 10 02:05:42 2020 +0100 1298 1299 Port to iOS/arm64e (#548) 1300 1301commit 211e929df4388a6724b0dba4df4e3a1283dc49e9 1302Author: Anthony Green <green@moxielogic.com> 1303Date: Mon Mar 9 12:39:22 2020 -0400 1304 1305 Try to fix RLGL_KEY nonsense (#547) 1306 1307 * Try to fix RLGL_KEY nonsense 1308 1309 * Hard code policy bound API key 1310 1311 Co-authored-by: Anthony Green <green@moxielogic.com> 1312 1313commit 8eb2d2b05626b1cbbed100725bc440709499e8a6 1314Author: Moxie Bot <bot@moxielogic.com> 1315Date: Mon Feb 24 10:29:20 2020 -0500 1316 1317 Revamp PA_LINUX and PA_HPUX target closures to use function descriptors. 1318 1319 2020-02-23 John David Anglin <danglin@gcc.gnu.org> 1320 1321 * include/ffi.h.in (FFI_CLOSURE_PTR, FFI_RESTORE_PTR): Define. 1322 * src/closures.c (ffi_closure_alloc): Convert closure pointer 1323 return by malloc to function pointer. 1324 (ffi_closure_free): Convert function pointer back to malloc pointer. 1325 * src/pa/ffi.c (ffi_closure_inner_pa32): Use union to double word 1326 align return address on stack. Adjust statements referencing return 1327 address. Convert closure argument from function pointer to standard 1328 closure pointer. 1329 (ffi_prep_closure_loc): Likewise convert closure argument back to 1330 closure pointer. Remove assembler trampolines. Setup simulated 1331 function descriptor as on ia64. 1332 src/pa/ffitarget.h (FFI_TRAMPOLINE_SIZE): Reduce to 12. 1333 src/pa/hpux32.S (ffi_closure_pa32): Retrieve closure pointer and real 1334 gp from fake gp value in register %r19. 1335 src/pa/linux.S (ffi_closure_pa32): Likewise. 1336 1337commit be815544c1588c6ca70120361c168b196376aa56 1338Author: hjl-tools <hjl.tools@gmail.com> 1339Date: Sun Feb 23 07:45:42 2020 -0800 1340 1341 Update the ABI version to LIBFFI_BASE_8.0 (#544) 1342 1343 Since x86 and x86-64 FFI_TRAMPOLINE_SIZE have been increased, we must 1344 bump the ABI version. This fixes: 1345 1346 https://github.com/libffi/libffi/issues/543 1347 1348commit d9abffeabe4f38bac12b864146cf974ede814411 1349Author: hjl-tools <hjl.tools@gmail.com> 1350Date: Sat Feb 22 06:32:22 2020 -0800 1351 1352 x86: Fix ffi_prep_closure_loc (#542) 1353 1354 Since FFI_TRAMPOLINE_SIZE is increased by 4 bytes to add ENDBR32, adjust 1355 jump displacement by 4 bytes. 1356 1357commit 624c7a35f7e1d12f917453d6c657cd5947ac57f7 1358Merge: 4c775d7 7855656 1359Author: Moxie Bot <bot@moxielogic.com> 1360Date: Fri Feb 21 22:13:14 2020 -0500 1361 1362 Merge branch 'master' of github.com:/libffi/libffi 1363 1364commit 4c775d7cd6e914c6a2f66465497106cff360aeb5 1365Author: Moxie Bot <bot@moxielogic.com> 1366Date: Fri Feb 21 22:12:34 2020 -0500 1367 1368 Update for pending 3.4 release. 1369 1370commit 7855656148b96c7070ec362d2a73af840025a2b7 1371Author: hjl-tools <hjl.tools@gmail.com> 1372Date: Fri Feb 21 19:08:06 2020 -0800 1373 1374 x86: Add indirect branch tracking support (#540) 1375 1376 Intel Control-flow Enforcement Technology (CET): 1377 1378 https://software.intel.com/en-us/articles/intel-sdm 1379 1380 contains shadow stack (SHSTK) and indirect branch tracking (IBT). When 1381 CET is enabled, ELF object files must be marked with .note.gnu.property 1382 section. When Intel CET is enabled, include <cet.h> in assembly codes 1383 to mark Intel CET support. 1384 1385 Also when IBT is enabled, all indirect branch targets must start with 1386 ENDBR instruction and notrack prefix can be used to disable IBT on 1387 indirect branch. <cet.h> defines _CET_ENDBR which can be used in 1388 assembly codes for ENDBR instruction. If <cet.h> isn't included, 1389 define _CET_ENDBR as empty so that _CET_ENDBR can be used in assembly 1390 codes. 1391 1392 Trampoline must be enlarged to add ENDBR instruction unconditionally, 1393 which is NOP on non-CET processors. This is required regardless if 1394 libffi is enabled with CET since libffi.so will be marked in legacy 1395 bitmap, but trampoline won't. Update library version for larger 1396 FFI_TRAMPOLINE_SIZE. 1397 1398 This fixed: 1399 1400 https://github.com/libffi/libffi/issues/474 1401 1402 Tested with 1403 1404 $ CC="gcc -Wl,-z,cet-report=error -fcf-protection" CXX="g++ -Wl,-z,cet-report=error -fcf-protection" .../configure 1405 1406 on Linux CET machines in i686, x32 and x86-64 modes. 1407 1408commit 4d6d2866ae43e55325e8ee96561221804602cd7a 1409Author: Samuel Holland <samuel@sholland.org> 1410Date: Fri Feb 21 21:06:15 2020 -0600 1411 1412 Update powerpc sysv assembly for ffi_powerpc.h changes (#541) 1413 1414 Some of the flag bits were moved when adding powerpc64 vector support. 1415 1416 Fixes #536 1417 1418commit b844a9c7f1ca792a1dfb0c09d5dae576178e6729 1419Author: Anthony Green <green@moxielogic.com> 1420Date: Fri Jan 10 10:22:10 2020 -0500 1421 1422 Update copyright year. 1423 1424commit 81b5491a4ef46103f2e1be79d368e76dba021ffa 1425Author: Anthony Green <green@moxielogic.com> 1426Date: Sun Jan 5 21:37:05 2020 -0500 1427 1428 Fix script 1429 1430commit 1e08a45535d929915e14e48af38e45f8c8e4f8de 1431Author: Anthony Green <green@moxielogic.com> 1432Date: Sun Jan 5 21:18:23 2020 -0500 1433 1434 Use rlgl API key on login 1435 1436commit e50b9ef8b910fa642ef158f6642e60d54d7ad740 1437Author: Khem Raj <raj.khem@gmail.com> 1438Date: Sat Dec 7 02:34:14 2019 -0800 1439 1440 powerpc64: Use memcpy to help platforms with no __int128. (#534) 1441 1442 Signed-off-by: Khem Raj <raj.khem@gmail.com> 1443 1444commit f9da75e157ab089363d079a781644c3e6f7db2c3 1445Author: Anthony Green <green@moxielogic.com> 1446Date: Sat Nov 30 07:37:19 2019 -0500 1447 1448 Remove 32-bit x86 file references to fix macosx builds 1449 1450commit 76c0cfea70f78586231d7994492396eebfb12d5f 1451Author: Carl Hurd <carl.m.hurd@gmail.com> 1452Date: Fri Nov 29 14:46:11 2019 -0500 1453 1454 Fixed missed #ifndef for __mips_soft_float (#442) 1455 1456 Thank you! 1457 1458commit 98da256096c63406ef77f92369ada622c50ce388 1459Author: Anthony Green <green@moxielogic.com> 1460Date: Fri Nov 29 14:29:51 2019 -0500 1461 1462 Clean up macosx builds 1463 1464commit 6663047f56c2932a6b10a790f4ac6666dd181326 1465Author: Anthony Green <green@moxielogic.com> 1466Date: Fri Nov 29 07:00:35 2019 -0500 1467 1468 Address platforms with no __int128. 1469 1470commit 0069526c5adea9e6268b8a0087a6120c9c5c89fa 1471Author: Anthony Green <green@moxielogic.com> 1472Date: Thu Nov 28 18:58:40 2019 -0500 1473 1474 Make build errors easier to debug 1475 1476commit 43887a9108f10124d05c8e0e67f3942cd980cb86 1477Author: Anthony Green <green@moxielogic.com> 1478Date: Thu Nov 28 17:44:51 2019 -0500 1479 1480 Add powerpc-eabi 1481 1482commit 29297445da5c2c9437de0e20f3189799a27f0301 1483Author: Anthony Green <green@moxielogic.com> 1484Date: Thu Nov 28 17:31:44 2019 -0500 1485 1486 Test on powerpc-eabisim 1487 1488commit 01a75ed76ea7e57f1b7a5c183e2b1e890e6aa0fd 1489Author: Sergei Trofimovich <slyfox@gentoo.org> 1490Date: Thu Nov 28 12:42:41 2019 +0000 1491 1492 powerpc: fix build failure on power7 and older (#532) 1493 1494 Build failure looks as: 1495 ``` 1496 libtool: compile: powerpc-unknown-linux-gnu-gcc \ 1497 -O2 -mcpu=powerpc -mtune=powerpc -pipe ... -c src/powerpc/ffi.c ... 1498 In file included from src/powerpc/ffi.c:33: 1499 src/powerpc/ffi_powerpc.h:65:9: error: '__int128' is not supported on this target 1500 65 | typedef __int128 float128; 1501 | ^~~~~~~~ 1502 ``` 1503 1504 The fix avoids using __int128 in favour of aligned char[16]. 1505 1506 Closes: https://github.com/libffi/libffi/issues/531 1507 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 1508 1509commit 1ec01ea81cf18e12748082f48f7c279a3fdd505d 1510Author: Anthony Green <green@moxielogic.com> 1511Date: Sun Nov 24 22:47:48 2019 -0500 1512 1513 Run aarch64-linux-gnu tests on travi-ci directly 1514 1515commit 66022e52ec0409f9170eb0884c6d0bdd048bc04e 1516Author: Anthony Green <green@moxielogic.com> 1517Date: Sun Nov 24 16:52:14 2019 -0500 1518 1519 Fixes for ppc64le and s390x travis testing 1520 1521commit 932e5bb68a603885e4bd9cf1bd5146542f736ccf 1522Author: Anthony Green <green@moxielogic.com> 1523Date: Sun Nov 24 16:26:14 2019 -0500 1524 1525 Force the use of docker 1526 1527commit 803db14c5a0aeb52ee521fe4fe4a7919926373de 1528Merge: 86be66c fb914c3 1529Author: Anthony Green <green@moxielogic.com> 1530Date: Sun Nov 24 16:10:22 2019 -0500 1531 1532 Merge branch 'master' of github.com:libffi/libffi 1533 1534commit 86be66c8f608a84caea2ef724698093d2da2e5e2 1535Author: Anthony Green <green@moxielogic.com> 1536Date: Sun Nov 24 16:09:44 2019 -0500 1537 1538 Try travis-ci's new ppc64le and s390x support 1539 1540commit fb914c366fabb29ac373050ca0bfa4d9c1fef149 1541Author: Panayotis <panayotis@panayotis.com> 1542Date: Sun Nov 24 18:25:13 2019 +0200 1543 1544 disable obsolete 32-bit targets in macOS (#511) 1545 1546commit fd99c95f90f85963f5ec88630c0428a8132012db 1547Author: Anthony Green <green@moxielogic.com> 1548Date: Sun Nov 24 11:11:25 2019 -0500 1549 1550 Minor clean-up 1551 1552commit 5dcb741f1544c5e18c9dbf96aeb8b61cc556a616 1553Author: Anthony Green <green@moxielogic.com> 1554Date: Sat Nov 23 10:24:58 2019 -0500 1555 1556 Move nested_struct3 test to closures directory 1557 1558commit 1aca33301a791f503d943f5e3abe2c720296eb8f 1559Author: Anthony Green <green@moxielogic.com> 1560Date: Sat Nov 23 09:42:04 2019 -0500 1561 1562 Add missing closing brace 1563 1564commit d996cb283cf373936498defa902be040ec20455e 1565Author: Anthony Green <green@moxielogic.com> 1566Date: Sat Nov 23 09:00:14 2019 -0500 1567 1568 Version 3.3 1569 1570commit c72b82f465148b89f118ee73f8956dafdbac9b65 1571Author: Anthony Green <green@moxielogic.com> 1572Date: Sat Nov 23 08:48:53 2019 -0500 1573 1574 Remove junk file from dist 1575 1576commit 642d40ee6ae9a779b3c5ad930785d4b33cf94029 1577Author: Anthony Green <green@moxielogic.com> 1578Date: Sat Nov 23 07:49:58 2019 -0500 1579 1580 Account for moved test files 1581 1582commit 049da08a22b0ca6d63d2be6c209da5ac1335365c 1583Author: Anthony Green <green@moxielogic.com> 1584Date: Sat Nov 23 07:44:26 2019 -0500 1585 1586 Add dejagnu directives accidentally removed 1587 1588commit 36730f5d87c2a432e1b3bf1a0129fedbf4b0a488 1589Author: Anthony Green <green@moxielogic.com> 1590Date: Fri Nov 22 19:49:38 2019 -0500 1591 1592 Move closure test to closure directory 1593 1594commit c88c0e92a9fbb4e69513394682c61aa848a035cc 1595Author: Anthony Green <green@moxielogic.com> 1596Date: Fri Nov 22 19:27:34 2019 -0500 1597 1598 More more closure tests to the closure test directory 1599 1600commit a37cc1755cc276b2b9e601b9b112919f8c882a2e 1601Merge: 332a539 247a5e7 1602Author: Anthony Green <green@moxielogic.com> 1603Date: Fri Nov 22 18:55:36 2019 -0500 1604 1605 Merge branch 'master' of github.com:libffi/libffi 1606 1607commit 332a539e88d26a0524c10a39283a3099d071ca10 1608Author: Anthony Green <green@moxielogic.com> 1609Date: Fri Nov 22 18:54:30 2019 -0500 1610 1611 Move closure tests so we can easily XFAIL them for some targets 1612 1613commit 1761a10645dadc0840bf1ff3a4998f9a342e8cad 1614Author: Anthony Green <green@moxielogic.com> 1615Date: Fri Nov 22 18:53:09 2019 -0500 1616 1617 Remove gccbug detection. GCC is good now. 1618 1619commit 247a5e7878379b7af33338d51898d7fb9e82e686 1620Author: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> 1621Date: Fri Nov 22 20:17:58 2019 +0100 1622 1623 Capture x86-windows host like x86_64-windows (#529) 1624 1625commit 8e3935fa761d3e6f19ccf5e6733fd40dee637d94 1626Author: Anthony Green <green@moxielogic.com> 1627Date: Fri Nov 22 12:42:26 2019 -0500 1628 1629 Manual clean-ups, and include the PDF in the source distribution. 1630 1631commit d01088a5194ff1a2250e7dbee04a9a167b582db7 1632Author: Anthony Green <green@moxielogic.com> 1633Date: Thu Nov 21 05:36:06 2019 -0500 1634 1635 Mention more major port contributors 1636 1637commit 970b7fce4f804df57ec582a0220c22eaeccc239a 1638Author: Anthony Green <green@moxielogic.com> 1639Date: Thu Nov 21 05:04:54 2019 -0500 1640 1641 Update autoconf-archive m4 macros 1642 1643commit 34a3a661b80c0fa7817c0654ae9fd0686d3b8cd2 1644Author: Anthony Green <green@moxielogic.com> 1645Date: Thu Nov 21 04:59:39 2019 -0500 1646 1647 Fix formatting of README. 1648 1649commit 91a7fbe94e3884536cf2eb8e644bc79d6b19c80e 1650Author: Anthony Green <green@moxielogic.com> 1651Date: Wed Nov 20 07:16:41 2019 -0500 1652 1653 Fix or1k lack-of-g++ checking in testsuite 1654 1655commit 31543c799a224ef446cef19a2372b054ecad3822 1656Author: Anthony Green <green@moxielogic.com> 1657Date: Wed Nov 20 06:15:55 2019 -0500 1658 1659 Add work-around for users who manage their own closure memory 1660 1661 As suggested by DJ 1662 1663commit bd3a4687c0743076f420dee2a02075fd64fa547e 1664Author: Anthony Green <green@moxielogic.com> 1665Date: Tue Nov 19 17:14:23 2019 -0500 1666 1667 No C++ for or1k-unknown-elf 1668 1669commit d6e4f96b482690e6cdaf67a70bb33d1bfe0acd15 1670Author: Anthony Green <green@moxielogic.com> 1671Date: Tue Nov 19 13:36:49 2019 -0500 1672 1673 No C++ for or1k 1674 1675commit 497018686d4df0012ea7bf1a4ab41b918b5e65bc 1676Author: Anthony Green <green@moxielogic.com> 1677Date: Tue Nov 19 10:07:16 2019 -0500 1678 1679 Disable type warnings for or1k. 1680 1681commit 262cf74fd4003a928ca73e96ef8698546e535c46 1682Author: Anthony Green <green@moxielogic.com> 1683Date: Tue Nov 19 10:06:57 2019 -0500 1684 1685 No c++ for or1k-elf 1686 1687commit 54fc80dfd8d608ec718cade762c358b8fd819f38 1688Author: Anthony Green <green@moxielogic.com> 1689Date: Mon Nov 18 15:20:00 2019 -0500 1690 1691 Fake TRAVIS_BUILD_DIR 1692 1693commit 6f734f8a5ff13d106f81741c11c7cb2551706c7f 1694Author: Anthony Green <green@moxielogic.com> 1695Date: Mon Nov 18 15:13:16 2019 -0500 1696 1697 Adapt for new old ChangeLog file 1698 1699commit 27d31130cabfe82683fc0e3e82247fd522f45607 1700Author: Anthony Green <green@moxielogic.com> 1701Date: Mon Nov 18 15:06:51 2019 -0500 1702 1703 Fix DEJAGNU variable 1704 1705commit da1358816e7b02e6f8431e4df336d0934bcabd4c 1706Author: Anthony Green <green@moxielogic.com> 1707Date: Mon Nov 18 14:54:14 2019 -0500 1708 1709 Set vars 1710 1711commit 9a394c24951f3fc5cfbd0ff268278a7b45afc77e 1712Author: Anthony Green <green@moxielogic.com> 1713Date: Mon Nov 18 14:45:29 2019 -0500 1714 1715 Remove verbosity 1716 1717commit 14bfbec0fd312001f7922ee6100cbc3155ae585b 1718Author: Anthony Green <green@moxielogic.com> 1719Date: Mon Nov 18 14:40:30 2019 -0500 1720 1721 Pull before running 1722 1723commit dfa60e5eb44482d45b8c79b815e6b6789e62ce18 1724Author: Anthony Green <green@moxielogic.com> 1725Date: Mon Nov 18 14:02:33 2019 -0500 1726 1727 Fix cross builds for or1k 1728 1729commit a8223271a3d7ff1e8a1553c2a5ed9b4e1a24a774 1730Author: Anthony Green <green@moxielogic.com> 1731Date: Mon Nov 18 13:59:10 2019 -0500 1732 1733 More cross build debugging 1734 1735commit 8c9cf44cb2a2d46ddcb148508fb5350438b4a62b 1736Author: Anthony Green <green@moxielogic.com> 1737Date: Mon Nov 18 13:47:42 2019 -0500 1738 1739 Set path to simulator. Add debugging output. 1740 1741commit 581048f91e9e25e3b17a2906edd8840f35999918 1742Author: Anthony Green <green@moxielogic.com> 1743Date: Mon Nov 18 13:17:27 2019 -0500 1744 1745 Be specific when building CI container images 1746 1747commit bbea6394f9f27de68aac037abb264151d6de9f64 1748Author: Anthony Green <green@moxielogic.com> 1749Date: Mon Nov 18 13:06:26 2019 -0500 1750 1751 Capture more or1k hosts 1752 1753commit 97e3b1fe1a0fbdb43bf28fe6198cb26eaa719c93 1754Author: Anthony Green <green@moxielogic.com> 1755Date: Mon Nov 18 13:02:44 2019 -0500 1756 1757 Add test support for or1k. Fix yaml typo. 1758 1759commit c88f4d2677d4dc6659a1aa6418e636f8fcf9bd9b 1760Author: Anthony Green <green@moxielogic.com> 1761Date: Mon Nov 18 12:25:51 2019 -0500 1762 1763 Fix typo for m32r and bfin builds 1764 1765commit 93c203b347ea7d110355e12f832725f755e10eff 1766Merge: d087b59 73dd43a 1767Author: Anthony Green <green@moxielogic.com> 1768Date: Mon Nov 18 06:35:19 2019 -0500 1769 1770 Merge branch 'master' of github.com:libffi/libffi 1771 1772commit d087b595637ebb795c0cec1ff0c4409befb486b7 1773Author: Anthony Green <green@moxielogic.com> 1774Date: Mon Nov 18 06:34:42 2019 -0500 1775 1776 Build/test for m32r-elf and bfin-elf 1777 1778commit b6804d16453890b78844b1b3c1acf16af98cadb8 1779Author: Anthony Green <green@moxielogic.com> 1780Date: Sun Nov 17 09:19:14 2019 -0500 1781 1782 Mention binary128 long double support for Power 1783 1784commit 73dd43afc8a447ba98ea02e9aad4c6898dc77fb0 1785Author: Samuel Holland <samuel@sholland.org> 1786Date: Sun Nov 17 07:22:25 2019 -0600 1787 1788 IEEE754 binary128 long double support for PowerPC64 (#526) 1789 1790 * powerpc: Adjust flags to make room for vector types 1791 1792 * powerpc64 ELFv2 IEEE128 long double support 1793 1794commit b58bd77236e7d41fc04b4be7edd1c6728626c99b 1795Author: Anthony Green <green@moxielogic.com> 1796Date: Fri Nov 15 11:18:59 2019 -0500 1797 1798 Re-enable mingw32 tests. 1799 1800commit 6f221e8269aa16f6b5eec41cfd1d7d90a9fbea0c 1801Author: Anthony Green <green@moxielogic.com> 1802Date: Fri Nov 15 11:06:17 2019 -0500 1803 1804 Disable wine builds. 1805 1806commit 09dc0a71a44c95ee0d2f47de94b6b59534c2ce24 1807Author: Anthony Green <green@moxielogic.com> 1808Date: Fri Nov 15 10:19:00 2019 -0500 1809 1810 Stretch out timeout for test 1811 1812commit 28a7cc464c21b4955fba28cc55a6f095ddf5838b 1813Author: Anthony Green <green@moxielogic.com> 1814Date: Fri Nov 15 06:07:51 2019 -0500 1815 1816 Consolidate all of the old ChangeLog files into ChangeLog.old. 1817 1818commit 86d3d3767a40fe1cae10c419a913dd97e7e6cd23 1819Author: Anthony Green <green@moxielogic.com> 1820Date: Wed Nov 13 10:07:00 2019 -0500 1821 1822 Don't build aarch64-linux-gnu 1823 1824commit db198a19375858879dbcc51a443c193efa0b6c0a 1825Author: Anthony Green <green@moxielogic.com> 1826Date: Wed Nov 13 10:05:36 2019 -0500 1827 1828 Extend timeout for builds. 1829 1830commit 54af0256a00a40b2218950f93e5415c60f675714 1831Author: Anthony Green <green@moxielogic.com> 1832Date: Wed Nov 13 09:15:05 2019 -0500 1833 1834 Platform test tweaks 1835 1836commit 3a7580da73b7f16f275277316d00e3497cbb5a8c 1837Author: Anthony Green <green@moxielogic.com> 1838Date: Wed Nov 13 07:59:18 2019 -0500 1839 1840 Mark java raw APIs as deprecated. 1841 1842commit cda60c1a8aec070a7a822c047d89d0f18cf7c5fc 1843Author: Anthony Green <green@moxielogic.com> 1844Date: Wed Nov 13 06:51:44 2019 -0500 1845 1846 Disable mips64 tests. Fix log grabbing. 1847 1848commit a34254bdc1dee2857b759a22e657f92aadfa85dc 1849Author: Anthony Green <green@moxielogic.com> 1850Date: Wed Nov 13 06:37:26 2019 -0500 1851 1852 Re-add wine based testing 1853 1854commit 9bd3a9742c04d2fac489f236163d7e7fbb1b7568 1855Author: Anthony Green <green@moxielogic.com> 1856Date: Wed Nov 13 06:35:40 2019 -0500 1857 1858 Add wine-sim.exp for wine-based testing 1859 1860commit de6df6dce6420d4643598c228b72da4e455a0da7 1861Author: Anthony Green <green@moxielogic.com> 1862Date: Wed Nov 13 06:32:46 2019 -0500 1863 1864 Fix log file URL extraction. Grab rlgl cli for OSX 1865 1866commit c8986e871f82b497493d28c36be1a755c2ea6b8d 1867Author: Anthony Green <green@moxielogic.com> 1868Date: Wed Nov 13 06:01:43 2019 -0500 1869 1870 Fix log name extraction 1871 1872commit 6630764d244aeb3bc0797d0c3c7ccc79084061a8 1873Author: Anthony Green <green@moxielogic.com> 1874Date: Tue Nov 12 22:56:37 2019 -0500 1875 1876 Account for shorter ==LOGFILE== string 1877 1878commit aa975ec3e4ac07bd7dacec18f1c8282baeb7c398 1879Author: Anthony Green <green@moxielogic.com> 1880Date: Tue Nov 12 22:35:47 2019 -0500 1881 1882 Fix grep matcher 1883 1884commit 6dd88bc5b3f3d3d975409b7336f4127ae18da4b3 1885Author: Anthony Green <green@moxielogic.com> 1886Date: Tue Nov 12 18:44:27 2019 -0500 1887 1888 Debug 1889 1890commit 7e318cf50d8c481957b3be76e508054c70cbdf9b 1891Author: Anthony Green <green@moxielogic.com> 1892Date: Tue Nov 12 17:55:35 2019 -0500 1893 1894 Pull test logs from cfarm 1895 1896commit 5123e9cf0193031bdc580cb221427cbd29ba3677 1897Author: Anthony Green <green@moxielogic.com> 1898Date: Tue Nov 12 09:21:57 2019 -0500 1899 1900 Use rlgl for cfarm test results 1901 1902commit 486f88f985affa215a9daaadcdc703c8baea9020 1903Author: Anthony Green <green@moxielogic.com> 1904Date: Tue Nov 12 09:20:21 2019 -0500 1905 1906 Use rlgl for cross builds. 1907 1908commit 042c6671b0456d17af24d61b79cbd3f9261c3f2b 1909Author: Anthony Green <green@moxielogic.com> 1910Date: Tue Nov 12 09:14:20 2019 -0500 1911 1912 Always exit build container successfully. Don't test mingw. 1913 1914commit 82f7f80aa9ac3cd753bcb6d2b88cc930aee72bcc 1915Author: Anthony Green <green@moxielogic.com> 1916Date: Tue Nov 12 08:58:52 2019 -0500 1917 1918 Run rlgl outside of the build container. 1919 1920commit 5b297e036e61ad1ecac9c8a3e57895737c55feb7 1921Author: Anthony Green <green@moxielogic.com> 1922Date: Tue Nov 12 05:51:09 2019 -0500 1923 1924 Don't bother dumping logs. Use rlgl instead. 1925 1926commit 2a8d88d92d56747101078c5592ab2473e6c5cb29 1927Author: Anthony Green <green@moxielogic.com> 1928Date: Mon Nov 11 21:24:58 2019 -0500 1929 1930 Fix rlgl usage 1931 1932commit 3c2b810e99a10f97d1eb6ba485eb09bfdb158084 1933Author: Anthony Green <green@moxielogic.com> 1934Date: Mon Nov 11 21:11:59 2019 -0500 1935 1936 Test rlgl 1937 1938commit 2cc11720be0c4d3bbe906be5a4aad3b2dc167072 1939Author: Anthony Green <green@moxielogic.com> 1940Date: Mon Nov 11 16:19:45 2019 -0500 1941 1942 Debug in-container builds 1943 1944commit 0de0c6a28006902c203e8dc6629cd9ef35d61e09 1945Author: Anthony Green <green@moxielogic.com> 1946Date: Sun Nov 10 08:20:46 2019 -0500 1947 1948 Build both iOS and Macosx 1949 1950commit 4e3e0586efbbc7828c15fb48e49401840beefcdd 1951Author: Anthony Green <green@moxielogic.com> 1952Date: Thu Nov 7 12:35:27 2019 -0500 1953 1954 Fix tpyo 1955 1956commit f764f278160831f7e4d8ee8a48d18f5a7937f742 1957Author: Anthony Green <green@moxielogic.com> 1958Date: Thu Nov 7 12:17:29 2019 -0500 1959 1960 Change s390x options 1961 1962commit 188de63c597f23b0ccdb953b076c8cb0711fbcf0 1963Author: Anthony Green <green@moxielogic.com> 1964Date: Thu Nov 7 12:03:19 2019 -0500 1965 1966 Mark xfail for m68k and alpha. 1967 1968commit 0da221f8094ec504d91b5f88c74e98b8b9aa9eda 1969Author: Anthony Green <green@moxielogic.com> 1970Date: Thu Nov 7 12:03:01 2019 -0500 1971 1972 Clean up. Debug s390x cpu support. 1973 1974commit 7e0fbf41934020c9ff76816fde5000482c7e6a6c 1975Author: Anthony Green <green@moxielogic.com> 1976Date: Thu Nov 7 11:50:08 2019 -0500 1977 1978 Try coldfire for m68k builds 1979 1980commit 6a9fa770a436bbb71dbe8311e75123353e6836cc 1981Author: Anthony Green <green@moxielogic.com> 1982Date: Thu Nov 7 11:37:25 2019 -0500 1983 1984 Add GCC_OPTIONS flag 1985 1986commit eebcbb1113742df7d41fc3d39eca970a026ad1d1 1987Author: Anthony Green <green@moxielogic.com> 1988Date: Thu Nov 7 11:26:53 2019 -0500 1989 1990 Compile m68k target for m5208 1991 1992commit 08cb33ff5824b2ea24b2b62841cca1934a27f36f 1993Author: Anthony Green <green@moxielogic.com> 1994Date: Thu Nov 7 11:15:13 2019 -0500 1995 1996 Dump supported CPUs 1997 1998commit 16c935000d459b1aba9e1f7b48e2c1d7dadc8cf1 1999Author: Anthony Green <green@moxielogic.com> 2000Date: Thu Nov 7 11:00:09 2019 -0500 2001 2002 Fix shell script 2003 2004commit 588e87461fe48441806be4bb5654f058e1c37649 2005Author: Anthony Green <green@moxielogic.com> 2006Date: Thu Nov 7 10:56:40 2019 -0500 2007 2008 Print debug output. Use podman when available. 2009 2010commit 04d14a66ff807a0ac2578ce886ef338aa2066b4d 2011Author: Anthony Green <green@moxielogic.com> 2012Date: Thu Nov 7 09:23:10 2019 -0500 2013 2014 Set QEMU_CPU within the build containers 2015 2016commit 28d9c019dbbf6dea1ed127e1a7de829cece86639 2017Author: Anthony Green <green@moxielogic.com> 2018Date: Thu Nov 7 07:36:11 2019 -0500 2019 2020 Set QEMU_CPU for m68k 2021 2022commit 75464caf658f176848db6f48325c5067cdf94a9b 2023Author: Anthony Green <green@moxielogic.com> 2024Date: Wed Nov 6 22:02:11 2019 -0500 2025 2026 Add alpha and m68k testing 2027 2028commit 259c497a2f326cc89344766e106cf73e62485a2a 2029Author: Anthony Green <green@moxielogic.com> 2030Date: Wed Nov 6 11:31:17 2019 -0500 2031 2032 Sett CC and CXX for cross builds 2033 2034commit d23d3959fdb764984cfb888c5d6aed910926dd5f 2035Author: Anthony Green <green@moxielogic.com> 2036Date: Wed Nov 6 11:21:46 2019 -0500 2037 2038 autogen before cross building 2039 2040commit a6dc8ef270c1f022720aedadb6b0d2678d1bc39e 2041Author: Anthony Green <green@moxielogic.com> 2042Date: Wed Nov 6 11:10:59 2019 -0500 2043 2044 Fix typo. Don't double test. 2045 2046commit 136a235d3f36408628c0459d8740546acad0ca5a 2047Author: Anthony Green <green@moxielogic.com> 2048Date: Wed Nov 6 10:51:33 2019 -0500 2049 2050 Use the right cross build container image 2051 2052commit 92f5309def05c66e6c5034c10d620d6fbc7a1018 2053Author: Anthony Green <green@moxielogic.com> 2054Date: Wed Nov 6 10:49:04 2019 -0500 2055 2056 Try s390x and sh4 cross builds/tests 2057 2058commit d4a28fee720c8f389b138b3f7726157fbcb7eaaf 2059Author: Anthony Green <green@moxielogic.com> 2060Date: Wed Nov 6 06:47:05 2019 -0500 2061 2062 Revert to older test cross compilers 2063 2064commit 0fb9ee21e68ca3e70cf236a63ba00b5ca32031ff 2065Author: Anthony Green <green@moxielogic.com> 2066Date: Wed Nov 6 06:44:19 2019 -0500 2067 2068 Use older test compiler. Enable s390x testing. 2069 2070commit 36d281ab70daf7dcf890df9c3f5bdd76f665bb68 2071Author: Anthony Green <green@moxielogic.com> 2072Date: Wed Nov 6 06:30:52 2019 -0500 2073 2074 Test cross-builds for hppa-linux-gnu 2075 2076commit c95cc4b354f24dbbf5776eb297fa036bcbfed252 2077Author: Anthony Green <green@moxielogic.com> 2078Date: Wed Nov 6 06:30:20 2019 -0500 2079 2080 Reference FFI_BUILDING_DLL 2081 2082commit 88a76477debe83ed6a75f96394853c891fb1dac4 2083Author: Anthony Green <green@moxielogic.com> 2084Date: Sun Nov 3 06:28:51 2019 -0500 2085 2086 rc2. hack as per: https://github.com/travis-ci/travis-ci/issues/6934 2087 2088commit 45ba4aefed15be24fdbaaffec805fb02b1343e0f 2089Author: Anthony Green <green@moxielogic.com> 2090Date: Thu Oct 31 19:07:04 2019 -0400 2091 2092 Add sparc64-linux-gnu testing back 2093 2094commit a26323b7e0824f0becaeaffc8d3b700dc09f741c 2095Author: Anthony Green <green@moxielogic.com> 2096Date: Thu Oct 31 15:32:48 2019 -0400 2097 2098 Don't build sparc. Build mips. 2099 2100commit f325324818a6aaa9e8a75782d75c412872e6b21c 2101Author: Anthony Green <green@moxielogic.com> 2102Date: Thu Oct 31 14:35:43 2019 -0400 2103 2104 Test mips64el-linux-gnu 2105 2106commit 39bad2f396de7885c9569144b5bb6e8a639ac011 2107Author: Anthony Green <green@moxielogic.com> 2108Date: Thu Oct 31 12:33:22 2019 -0400 2109 2110 Don't run autogen.sh all the time. 2111 2112commit 82719cbba06c2fc527df156d728341867d86f82c 2113Author: Anthony Green <green@moxielogic.com> 2114Date: Thu Oct 31 12:23:11 2019 -0400 2115 2116 Test sparc64-linux-gnu on travis 2117 2118commit 0348d0e4fa585d9a3d9762132a3eee94f918fe3b 2119Author: Anthony Green <green@moxielogic.com> 2120Date: Thu Oct 31 10:53:37 2019 -0400 2121 2122 Try new cfarm build for power 2123 2124commit 290bc3164bb0e0b3fb912c457b49e61f9a728eef 2125Author: Anthony Green <green@moxielogic.com> 2126Date: Sat Oct 26 10:13:20 2019 -0400 2127 2128 Add make_sunver.pl to distribution. 2129 2130commit a8efc2f7897b439fdf2144329d35fea820498dc7 2131Author: Andreas Schwab <schwab@linux-m68k.org> 2132Date: Sat Oct 26 14:57:05 2019 +0200 2133 2134 Fix FFI_STDCALL ABI (#514) 2135 2136 Even for a stdcall function, the stack alignment is still the 2137 responsibility of the caller. Remember the original, not stack-aligned 2138 argument size, but align when setting up a stack frame. In 2139 ffi_closure_inner, return the true argument size, so that 2140 ffi_[go_]closure_STDCALL doesn't adjust too much. 2141 2142commit ca112537df7b9cdbccad7541aa3cb43b2a2dac9a 2143Author: Anthony Green <green@moxielogic.com> 2144Date: Sat Oct 26 07:26:30 2019 -0400 2145 2146 Add missing build script, make_sunver.pl. 2147 2148commit 52b066f04fdd81c1037e1cb714a07a2a352bcf9b 2149Author: Anthony Green <green@moxielogic.com> 2150Date: Thu Oct 24 07:03:43 2019 -0400 2151 2152 Update versions to 3.3-rc1 2153 2154commit 9b10df3be2d8f81876b7cc90ee5d8833ccdf6b34 2155Author: Anthony Green <green@moxielogic.com> 2156Date: Thu Oct 24 06:41:11 2019 -0400 2157 2158 Remove some debugging output 2159 2160commit ec042885cfa5a9450bfcc87152a41529d26545de 2161Author: Anthony Green <green@moxielogic.com> 2162Date: Thu Oct 24 06:39:00 2019 -0400 2163 2164 Don't test ppc64le with buggy qemu. 2165 2166commit 90fb897839bb7006a2f751d283e3d23b3bfec1ea 2167Author: Anthony Green <green@moxielogic.com> 2168Date: Thu Oct 24 06:24:14 2019 -0400 2169 2170 Strip build status from README.md at 'make dist' time. 2171 2172commit 1d6059446fb986d2de933f7ccf6fe38bcdf0c76c 2173Author: Anthony Green <green@moxielogic.com> 2174Date: Thu Oct 24 05:25:11 2019 -0400 2175 2176 Add missing dist files. 2177 2178commit 825b2a359468af8bf3570a5a0695e8b805c5446f 2179Author: Anthony Green <green@moxielogic.com> 2180Date: Wed Oct 16 16:05:46 2019 -0400 2181 2182 Test on arm32v7-linux-gnu, ppc64le-linux-gnu and aarch64-linux-gnu. 2183 2184 Use docker images and qemu to test libffi for non-x86 architectures on 2185 travis-ci. 2186 Use the LIBFFI_TEST_OPTIMIZATION environment variable to 2187 force specific optimization levels at test time. 2188 2189commit d2a4095af68f4530571bc3fa613dd7f5e5b815a3 2190Author: Anthony Green <green@moxielogic.com> 2191Date: Mon Oct 14 06:46:52 2019 -0400 2192 2193 Fix comments. 2194 2195commit 058aa4130445b4ef3c2f77f796c33506873031ca 2196Author: Anthony Green <green@moxielogic.com> 2197Date: Mon Oct 14 05:47:07 2019 -0400 2198 2199 Update copyright year 2200 2201commit c4f61240ab19401bd86c0dfb271e243e8159abb4 2202Author: zhanhb <6323014+zhanhb@users.noreply.github.com> 2203Date: Wed Oct 9 18:59:32 2019 +0800 2204 2205 Add long double test (#492) 2206 2207 Required to fix build error on macos with gcc-9 2208 2209commit 09f9d856112f2f105337e95e32ba9e2da63f65ae 2210Author: pichikaudaykiran <51439150+pichikaudaykiran@users.noreply.github.com> 2211Date: Wed Oct 9 16:26:06 2019 +0530 2212 2213 Making the change to correct the comment when SUN (#521) 2214 2215 and GCC are used together 2216 2217commit 55c22092dc54e706a64af3a49ae9d5471a9e8317 2218Author: pnallan <46887249+pnallan@users.noreply.github.com> 2219Date: Tue Oct 8 18:46:47 2019 +0530 2220 2221 handle compilation warnings with ftruncate API (#508) 2222 2223 * fix me: avoid warning while handle ftruncate API 2224 2225 Signed-off-by: Prasad Nallani <prasad.nallani@intel.com> 2226 2227 * Update closures.c 2228 2229commit e5f0eb1552f222eb2630e40ee348b090d56412a3 2230Author: John Ericson <git@JohnEricson.me> 2231Date: Tue Oct 8 06:58:52 2019 -0400 2232 2233 Clean up line endings (#509) 2234 2235 The CLRF visual studio files can be kept that way, but recognized as 2236 text. The assembly file can be converted to LF. 2237 2238commit ea9b6639c69cbffeacd1ce0c1953c1997cf29d2e 2239Author: Samuel Holland <samuel@sholland.org> 2240Date: Tue Oct 8 05:57:28 2019 -0500 2241 2242 PowerPC bugfixes (#520) 2243 2244 * powerpc: Silence warnings about unused labels 2245 2246 * powerpc: Fix a couple of comments 2247 2248 * powerpc: Fix alignment after float structs 2249 2250 * powerpc: Don't pad rvalues copied from FP regs 2251 2252 * powerpc: Add missing check in struct alignment 2253 2254 * powerpc: Support homogeneous long double structs 2255 2256commit 25cf9cc4a5ce4a272252de3f681d60dafd838ceb 2257Author: Anthony Green <green@moxielogic.com> 2258Date: Tue Oct 8 06:24:55 2019 -0400 2259 2260 Use https for moxie toolchain repo 2261 2262commit c2a6859012d928b67a83619bd5087674a96b9254 2263Author: Paul Monson <paulmon@users.noreply.github.com> 2264Date: Wed Aug 7 11:57:45 2019 -0700 2265 2266 fix mingw build and crashing bugs for Python Windows ARM64 (#496) 2267 2268 * fix mingw build and crashing bugs for Python Windows ARM64 2269 2270 * Fix issues found in PR review 2271 2272commit e0b4f84fb71c6760068c9d1306e77c9382e76d8d 2273Author: Anthony Green <green@moxielogic.com> 2274Date: Wed Jun 26 06:18:48 2019 -0400 2275 2276 Clear the apt cache 2277 2278commit 68668fe4f22dea7b829fb84b724f5a74091f22f2 2279Author: Anthony Green <green@moxielogic.com> 2280Date: Wed Jun 26 06:01:15 2019 -0400 2281 2282 More debugging output 2283 2284commit 1d7635d18ae4aebe4ec1cd129b0b4f71b685131e 2285Author: Anthony Green <green@moxielogic.com> 2286Date: Tue Jun 25 23:39:52 2019 -0400 2287 2288 Debug moxie builds in travis 2289 2290commit d856743e6b02fcb5911491204131e277a7a4e10b 2291Author: ossdev07 <39188636+ossdev07@users.noreply.github.com> 2292Date: Wed Jun 26 07:31:22 2019 +0530 2293 2294 libffi: added ARM64 support for Windows (#486) 2295 2296 * libffi: added ARM64 support for Windows 2297 2298 1. ported sysv.S to win64_armasm.S for armasm64 assembler 2299 2. added msvc_build folder for visual studio solution 2300 3. updated README.md for the same 2301 4. MSVC solution created with the changes, and below test suites are tested 2302 with test script written in python. 2303 2304 libffi.bhaible 2305 libffi.call 2306 5. Basic functionality of above test suites are getting passed 2307 2308 Signed-off-by: ossdev07 <ossdev@puresoftware.com> 2309 2310 * Update README.md 2311 2312commit 80d07104c33045ea34a4d5185600495dc7461a12 2313Author: Anthony Green <green@moxielogic.com> 2314Date: Sun Apr 28 07:36:24 2019 -0400 2315 2316 uuencode compressed log files for travis 2317 2318commit fadf1eb530713fde0be9774d926bc8202c97e379 2319Author: Sergei Trofimovich <slyfox@gentoo.org> 2320Date: Sat Apr 27 20:53:29 2019 +0100 2321 2322 hppa: avoid TEXTREL in .eh_frame section (#447) 2323 2324 Before the change hand-crafted .eh_frame section contained 2325 ABS relocation and caused TEXTREL tag to be emitted: 2326 2327 ``` 2328 $ ./configure --host=hppa2.0-unknown-linux-gnu LDFLAGS=-Wl,-z,text 2329 $ make 2330 ... 2331 /usr/libexec/gcc/hppa2.0-unknown-linux-gnu/ld: 2332 read-only segment has dynamic relocations. 2333 ``` 2334 2335 Link failure is caused by absolute address of FDEs 2336 encoded into .eh_frame entries. 2337 2338 Fixed TEXTREL by using pcrel (instead of ABS) encoding 2339 for absolute addresses (__PIC__ code) by adding augmentation 2340 information ("zR" CIE type). 2341 2342 All tests still pass on hppa2.0. The specific tests that still pass 2343 and exercise this code path: 2344 testsuite/libffi.call/unwindtest.cc 2345 testsuite/libffi.call/unwindtest_ffi_call.cc 2346 2347 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 2348 2349commit 06bf1a9deaa781b711c4d3718561e7faf303a842 2350Author: driver1998 <driver1998.ms@outlook.com> 2351Date: Sun Apr 28 03:21:44 2019 +0800 2352 2353 fix x86/x64 MSVC build (#487) 2354 2355commit db5706ff285c476aa3c0f811ff2b188319ac3ebe 2356Author: Paul Monson <paulmon@users.noreply.github.com> 2357Date: Fri Apr 26 04:58:58 2019 -0700 2358 2359 add support for 32-bit ARM on Windows (#477) 2360 2361 * add support for 32-bit ARM on Windows 2362 2363 * fix mismatched brace in appveyor.yml 2364 2365 * remove arm platform from appveyor.yml for now 2366 2367 * fix arm build 2368 2369 * fix typo 2370 2371 * fix assembler names 2372 2373 * try Visual Studio 2017 2374 2375 * add windows arm32 to .appveyor.yml 2376 2377 * update README.md 2378 2379commit d1e9b4b96cc8d237c3532cf83da0d4b99d19abb5 2380Merge: 05a1796 a7d6396 2381Author: Tom Tromey <tom@tromey.com> 2382Date: Tue Apr 9 14:00:10 2019 -0600 2383 2384 Merge pull request #482 from sharkcz/aarch64 2385 2386 fix check for Linux/aarch64 2387 2388commit a7d6396f06d5e1a726f24b746b509514f466380f 2389Author: Dan Horák <dan@danny.cz> 2390Date: Fri Mar 29 14:19:20 2019 +0100 2391 2392 fix check for Linux/aarch64 2393 2394 fixes #473 2395 2396commit 05a1796419f68267250c0b8ae7138da36ab60b01 2397Author: Jeremy Huddleston Sequoia <jeremyhu@users.noreply.github.com> 2398Date: Tue Feb 19 04:11:28 2019 -0800 2399 2400 Cleanup symbol exports on darwin and add architecture preprocessor checks to assist in building fat binaries (eg: i386+x86_64 on macOS or arm+aarch64 on iOS) (#450) 2401 2402 * x86: Ensure _efi64 suffixed symbols are not exported 2403 2404 * x86: Ensure we do not export ffi_prep_cif_machdep 2405 2406 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 2407 2408 * x86: Ensure we don't export ffi_call_win64, ffi_closure_win64, or ffi_go_closure_win64 2409 2410 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 2411 2412 * closures: Silence a semantic warning 2413 2414 libffi/src/closures.c:175:23: This function declaration is not a prototype 2415 2416 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 2417 2418 * aarch64: Ensure we don't export ffi_prep_cif_machdep 2419 2420 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 2421 2422 * arm: Ensure we don't export ffi_prep_cif_machdep 2423 2424 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 2425 2426 * aarch64, arm, x86: Add architecture preprocessor checks to support easier fat builds (eg: iOS) 2427 2428 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 2429 2430 * x86: Silence some static analysis warnings 2431 2432 libffi/src/x86/ffi64.c:286:21: The left operand of '!=' is a garbage value due to array index out of bounds 2433 libffi/src/x86/ffi64.c:297:22: The left operand of '!=' is a garbage value due to array index out of bounds 2434 2435 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 2436 2437 * aarch: Use FFI_HIDDEN rather than .hidden 2438 2439 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 2440 2441 * ffi.h: Don't advertise ffi_java_rvalue_to_raw, ffi_prep_java_raw_closure, and ffi_prep_java_raw_closure_loc when FFI_NATIVE_RAW_API is 0 2442 2443 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 2444 2445commit 3ec522bc1c1c5a7fb66b85d4fb6a0fe80581d597 2446Author: dabrain34 <scerveau@gmail.com> 2447Date: Tue Feb 19 13:09:09 2019 +0100 2448 2449 Fix cfi checks for old compiler (#453) 2450 2451 cfi_sections can be unsupported when cfi_startproc 2452 and cfi_endproc are. 2453 2454commit e1118af50599314a2cbac3eb51a81896e8e21d0c 2455Author: Paul Monson <paulmon@users.noreply.github.com> 2456Date: Tue Feb 19 03:58:25 2019 -0800 2457 2458 changes for win32 on windows (#468) 2459 2460commit 44a6c28545186d78642487927952844156fc7ab5 2461Author: Florian Weimer <fw@deneb.enyo.de> 2462Date: Tue Feb 19 12:55:11 2019 +0100 2463 2464 aarch64: Flush code mapping in addition to data mapping (#471) 2465 2466 This needs a new function, ffi_data_to_code_pointer, to translate 2467 from data pointers to code pointers. 2468 2469 Fixes issue #470. 2470 2471commit 042ef8c314a946ef1cd58c6e10cd74e403ef5bf9 2472Author: Anthony Green <green@moxielogic.com> 2473Date: Tue Feb 12 08:50:30 2019 -0500 2474 2475 Remove -Os testing. No ABI impact, and helps trim log lengths. 2476 2477commit 8fa88373a1d433c675b11200ccd58418e91f81e4 2478Merge: 737d4fa 2c5b164 2479Author: Tom Tromey <tom@tromey.com> 2480Date: Wed Dec 19 14:18:40 2018 -0700 2481 2482 Merge pull request #461 from NativeScript/bektchiev/fix-visibility-hidden-check-in-configure 2483 2484 fix(configure): Correctly detect visibility("hidden") support on Darwin 2485 2486commit 2c5b164288712cc048048d73a3cd841d845a132c 2487Author: Martin Bektchiev <martin.bektchiev@progress.com> 2488Date: Wed Dec 19 18:33:08 2018 +0200 2489 2490 fix(configure): Correctly detect visibility("hidden") support on Darwin 2491 2492commit 737d4faa00d681b4c758057f67e1a02d813d01c2 2493Merge: a5ea752 4a84df4 2494Author: Tom Tromey <tom@tromey.com> 2495Date: Fri Nov 30 08:16:00 2018 -0700 2496 2497 Merge pull request #457 from NativeScript/bektchiev/fix-arm64-q3-q4-args 2498 2499 Fix Q registers parameter passing on ARM64 2500 2501commit 4a84df4ae9d33bb766fb34ce8a871d84d6e0ed9c 2502Author: Martin Bektchiev <martin.bektchiev@progress.com> 2503Date: Wed Oct 31 15:53:54 2018 +0200 2504 2505 Fix Q registers parameter passing on ARM64 2506 2507 The second two quads are located at offset 32 not 16 2508 2509commit a5ea7527cda8d9b7d011eb4004dfcbad54583bd2 2510Merge: b11b08c ba73a67 2511Author: Tom Tromey <tom@tromey.com> 2512Date: Wed Sep 19 07:29:36 2018 -0600 2513 2514 Merge pull request #443 from jeremyhu/master 2515 2516 Update FFI_HIDDEN() to use .private_extern on Apple platforms and use the macro where appropriate 2517 2518commit b11b08ca8daacb08943ae5ea8c124771a8b82dde 2519Merge: 980908b e6eac78 2520Author: Tom Tromey <tom@tromey.com> 2521Date: Tue Sep 18 08:26:31 2018 -0600 2522 2523 Merge pull request #449 from gpakosz/align-macros 2524 2525 Prefix ALIGN_DOWN macro with FFI_ 2526 2527commit e6eac7863e2bf1a009ea863041b354bdb4af6b67 2528Author: Gregory Pakosz <gregory.pakosz@gmail.com> 2529Date: Tue Sep 18 15:19:53 2018 +0200 2530 2531 Prefix ALIGN_DOWN macro with FFI_ 2532 2533commit 980908b47bbde09fab88ee4b2b61d8bc5d4378a7 2534Merge: 65da63a 4cb776b 2535Author: Tom Tromey <tom@tromey.com> 2536Date: Sat Aug 11 09:53:15 2018 -0600 2537 2538 Merge pull request #445 from andreas-schwab/master 2539 2540 RISC-V go closures 2541 2542commit 4cb776bc8075332d2f3e59f51785d621fcda48f6 2543Author: Andreas Schwab <schwab@suse.de> 2544Date: Thu Aug 9 12:12:29 2018 +0200 2545 2546 RISC-V go closures 2547 2548 This implements go closures for RISC-V. It has been tested on 2549 riscv64-suse-linux and against the libgo testsuite. 2550 2551commit ba73a671cb49f8e2c4417723a9dc233e328926ae 2552Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org> 2553Date: Fri Jul 20 09:37:43 2018 -0700 2554 2555 Update FFI_HIDDEN() to use .private_extern on Apple platforms and use the macro where appropriate 2556 2557 Fix issue #439 2558 2559 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org> 2560 2561commit 65da63abc843fe448aaa86015d094cf016f325ba 2562Author: Jeremy Huddleston Sequoia <jeremyhu@users.noreply.github.com> 2563Date: Mon Jun 25 04:38:58 2018 -0700 2564 2565 Add compact unwind for darwin/i386 (#440) 2566 2567 * x86: Add implementation of compact unwind for ffi_call_i386, et al. 2568 2569 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org> 2570 2571 * x86: Use __text as the section name to avoid deprecated section name warnings. 2572 2573 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org> 2574 2575 * darwin: Add missing regular,debug attributes for compact unwind sections 2576 2577 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org> 2578 2579commit 2309b58448b0c8349156d687d7fa8709dfb68992 2580Author: Shoaib Meenai <shoaib.meenai@gmail.com> 2581Date: Sun Jun 17 17:04:24 2018 -0700 2582 2583 Mark sysv.S as SafeSEH compatible (#438) 2584 2585 It contains no exception handler, so we can just emit the special 2586 @feat.00 symbol to indicate that it's trivially SafeSEH compatible. 2587 SafeSEH only applies to x86 and not x86-64, hence its inclusion in the 2588 x86-specific block. See [1] for details. 2589 2590 [1] https://msdn.microsoft.com/en-us/library/windows/desktop/ms680547(v=vs.85).aspx#the_.sxdata_section_ 2591 2592commit 1d704051b2da207d715351b8613e74437d8e2eb7 2593Author: Jeremy Huddleston Sequoia <jeremyhu@users.noreply.github.com> 2594Date: Sun Jun 17 17:01:50 2018 -0700 2595 2596 i386: Fix missing break; in case statement leading to incorrectly returned FFI_BAD_ABI (#437) 2597 2598 * i386: Add missing break triggering dead store static analyzer checks. 2599 2600 Register calling sequence is being reported as bad ABI instead of working as intended. 2601 2602 Found-by: Clang Static Analysis 2603 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org> 2604 2605 * Mark ffi arm sysv entry points as private_extern. 2606 2607 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org> 2608 2609 * x86_64: Add implementation of compact unwind for ffi_call_unix64. 2610 2611 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 2612 2613commit b55baf0b500ccc7636a8a55e0506d9da787ad2dd 2614Author: Anthony Green <green@moxielogic.com> 2615Date: Wed May 9 13:21:02 2018 -0400 2616 2617 Handle FFI_GNUW64 on non-Windows systems (EFI) 2618 2619commit 8206253fdf01226173c36f087226d8ea53584566 2620Author: Anthony Green <green@moxielogic.com> 2621Date: Wed May 9 10:50:46 2018 -0400 2622 2623 Mark some cases as xfail due to GCC bug 2624 2625commit b5ee395710e2db830749c3c95558c91b66ac111f 2626Author: Anthony Green <green@moxielogic.com> 2627Date: Sat May 5 07:41:53 2018 -0400 2628 2629 Revert "Remove some symbol exports and cleanup newline warnings (#433)" 2630 2631 This reverts commit a5a0f3cf36dfb4d64316414a872288c3170e6c1d. 2632 2633commit a5a0f3cf36dfb4d64316414a872288c3170e6c1d 2634Author: Jeremy Huddleston Sequoia <jeremyhu@users.noreply.github.com> 2635Date: Sat May 5 03:44:33 2018 -0700 2636 2637 Remove some symbol exports and cleanup newline warnings (#433) 2638 2639 * build: Ensure darwin generated sources end with a new line 2640 2641 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org> 2642 2643 * build: Use .private_extern where missing to prevent exporting symbols that are not API 2644 2645 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org> 2646 2647commit d3c54cf3a2b2bb2e889173b6a0a959517b42c47f 2648Author: hjl-tools <hjl.tools@gmail.com> 2649Date: Wed May 2 06:19:58 2018 -0700 2650 2651 Re-enable msabi testing (#436) 2652 2653 * Revert "disable msabi testing for now" 2654 2655 This reverts commit 7b7638eb0eac2adfa72f7ec9f254ba287c9947e2. 2656 2657 * x86: Correct testing for 64-bit x86-64 2658 2659 Since passing -m32 to x86-64 compiler will generate i386 code, we 2660 need to check both __ILP32__ and __i386__ for 64-bit x86-64. 2661 2662 * x86: Check __i386__ instead of i?86-*-* targets 2663 2664 Since passing -m32 to x86-64 compiler will generate i386 code, we need 2665 to check __i386__ instead of i?86-*-* targets for i386 targets. 2666 2667 * i386: Properly passing integer parameters in registers 2668 2669 For thiscall and fastcall, if the paramter passed as 64-bit integer or 2670 struct, all following integer paramters will be passed on stack. 2671 2672 * test: Add ABI_ATTR to callback_code 2673 2674 Add ABI_ATTR to callback_code to properly test different ABIs. 2675 2676commit ebf241663cc0fd0d76e4db8101e842e1630a2c78 2677Author: Alan Modra <amodra@gmail.com> 2678Date: Wed May 2 13:55:29 2018 +0930 2679 2680 PowerPC64 ELFv1 fp arg fixes 2681 2682 The ELFv1 ABI says: "Single precision floating point values are mapped 2683 to the second word in a single doubleword" and also "Floating point 2684 registers f1 through f13 are used consecutively to pass up to 13 2685 floating point values, one member aggregates passed by value 2686 containing a floating point value, and to pass complex floating point 2687 values". 2688 2689 libffi wasn't expecting float args in the second word, and wasn't 2690 passing one member aggregates in fp registers. This patch fixes those 2691 problems, making use of the existing ELFv2 homogeneous aggregate 2692 support since a one element fp struct is a special case of an 2693 homogeneous aggregate. 2694 2695 I've also set a flag when returning pointers that might be used one 2696 day. This is just a tidy since the ppc64 assembly support code 2697 currently doesn't test FLAG_RETURNS_64BITS for integer types.. 2698 2699 * src/powerpc/ffi_linux64.c (discover_homogeneous_aggregate): 2700 Compile for ELFv1 too, handling single element aggregates. 2701 (ffi_prep_cif_linux64_core): Call discover_homogeneous_aggregate 2702 for ELFv1. Set FLAG_RETURNS_64BITS for FFI_TYPE_POINTER return. 2703 (ffi_prep_args64): Call discover_homogeneous_aggregate for ELFv1, 2704 and handle single element structs containing float or double 2705 as if the element wasn't wrapped in a struct. Store floats in 2706 second word of doubleword slot when big-endian. 2707 (ffi_closure_helper_LINUX64): Similarly. 2708 2709commit a2c6c7af9ffb9500a944abc666ced0922d0de762 2710Author: Anthony Green <green@moxielogic.com> 2711Date: Tue May 1 06:46:30 2018 -0400 2712 2713 Add license for build-time tools 2714 2715commit 4c2206ace07f2fb4bef43cd4bfe952ccb584dcec 2716Author: Tom Tromey <tom@tromey.com> 2717Date: Sat Apr 28 04:46:10 2018 -0600 2718 2719 Fix two "return" issues in x86/ffi64.c (#431) 2720 2721 Issue #70 pointed out that at least one compiler didn't like: 2722 2723 return ffi_call_efi64(cif, fn, rvalue, avalue); 2724 2725 ... where the return type is "void". This patch splits the statement 2726 into two. 2727 2728 I also noticed that ffi_call_go here seems to do a double call. I 2729 suspect a "return" is missing here, so this patch adds it as well. 2730 2731commit ed3ed4d801a4d417ea304715d4d8ae581a6c6903 2732Merge: 8e250c3 b69f95d 2733Author: Tom Tromey <tom@tromey.com> 2734Date: Fri Apr 27 10:48:51 2018 -0600 2735 2736 Merge pull request #429 from yousong/m4subst 2737 2738 build: fix subst toolexecdir, toolexeclibdir 2739 2740commit b69f95d6562b6a57c9be36da0cdf2a500adb94e9 2741Author: Yousong Zhou <yszhou4tech@gmail.com> 2742Date: Thu Apr 26 19:27:54 2018 +0800 2743 2744 build: fix subst toolexecdir, toolexeclibdir 2745 2746 On CentOS 7.4, configure script generated by autogen.sh will output the 2747 following values when compiling GCC source code 2748 2749 toolexecdir='NONE/$(target_alias)' 2750 toolexeclibdir='NONE/$(target_alias)/lib' 2751 2752 and cause build error 2753 2754 ... -o libffi.la -rpath NONE/riscv64-bs-linux-gnu/lib ... 2755 checking for shl_load in -ldld... libtool: link: only absolute run-paths are allowed 2756 2757commit 8e250c390a45f722387c1881ae5f99849a2d1e22 2758Author: Stephen <stephengroat@users.noreply.github.com> 2759Date: Wed Apr 25 13:17:32 2018 -0700 2760 2761 update to https for cygwin download (#428) 2762 2763commit 7d3cab7926d08aad9a8e54420d6878cb17efd185 2764Author: Lucas Pluvinage <lucas.pluvinage@gmail.com> 2765Date: Sat Apr 21 00:24:50 2018 +0200 2766 2767 xtensa-linux: use cache flush instruction only if it is available (#426) 2768 2769commit 159b94e5fd4aa2d88e1b5b389092cefd9472a741 2770Author: James Cowgill <jcowgill@users.noreply.github.com> 2771Date: Thu Apr 19 01:28:23 2018 +0100 2772 2773 Various MIPS Fixes (#425) 2774 2775 * mips: simplify closure #defines 2776 2777 This commit should have no visible effect. 2778 2779 * mips: add special handling of variadic functions 2780 2781 MIPS requires special handling of variadic functions which pass floating 2782 point arguments: 2783 * In the o32 ABI, all float arguments are passed in integer registers. 2784 * In the n32/n64 ABIs, float arguments after the ellipsis are passed in 2785 integer registers. 2786 2787 Implement this in libffi. To support this in n32/n64 closures, we need to add 2788 a new mips_nfixedargs field to ffi_cif which will break the libffi ABI. 2789 2790 This fixes the libffi.call/cls_longdouble_va.c test which was failing on 2791 64-bit MIPS. 2792 2793 * mips: align argn for all 64-bit types in o32 closure handler 2794 2795 Ensure that argn is pre-aligned for all 64-bit argument types (including 2796 doubles) and not just integer types. 2797 2798 This fixes closures of the form "f(float, double, <some integer args>)". 2799 Previously the first integer argument would be read from a2 which is garbage 2800 at this point (the float arguments have already "consumed" a0-a3). After 2801 this commit, argn is correctly padded between the "float" and "double" 2802 arguments so that the first integer argument is read from the stack. 2803 2804 Fixes "double f(float,double,int)" test in #371 2805 2806 * mips: do not read from floating point register if returning a struct 2807 2808 In the o32 ABI, the pointer passed in a0 used to return structures 2809 indirectly is treated as the first argument for argument allocation purposes. 2810 This means that it should inhibit floating point registers the same way that 2811 other integer arguments do. 2812 2813 Fixes "Double f(float,Double,double)" test in #371 2814 2815 * mips: fix pointer cast warnings 2816 2817 Fix two pointer cast warnings when compiled on 64-bit mips by casting 2818 through uintptr_t. 2819 2820 Fixes mips64el part of #404 2821 2822commit f2afda08e85b02888350449dcf39a6c37cfb7bc4 2823Merge: e27f70b 801c1bd 2824Author: Anthony Green <green@moxielogic.com> 2825Date: Sun Apr 8 18:25:43 2018 -0400 2826 2827 Merge branch 'master' of github.com:/libffi/libffi 2828 2829commit e27f70b8cf2a537bef84b2cb29ad8ea6209a11b8 2830Author: Anthony Green <green@moxielogic.com> 2831Date: Sun Apr 8 18:25:34 2018 -0400 2832 2833 Fix case where callback arg value is split across regs and stack 2834 2835commit 801c1bd712ff8c76675b7aa69c29948907f1eeff 2836Author: Andreas Krebbel <38103320+Andreas-Krebbel@users.noreply.github.com> 2837Date: Thu Apr 5 14:27:32 2018 +0200 2838 2839 Fix issue #421 (#422) 2840 2841 Fantastic - thanks for digging into this. 2842 2843commit 8660e6935971c5abd7b528eaf54deeccd4bbaccd 2844Author: Anthony Green <green@moxielogic.com> 2845Date: Mon Apr 2 08:30:17 2018 -0400 2846 2847 3.3 release candidate 0 2848 2849commit 7b7638eb0eac2adfa72f7ec9f254ba287c9947e2 2850Author: Anthony Green <green@moxielogic.com> 2851Date: Mon Apr 2 08:24:44 2018 -0400 2852 2853 disable msabi testing for now 2854 2855commit af6773d6ab4db0577bc6b932ab5a2f98a0a8dca2 2856Author: fwg <fwg@users.noreply.github.com> 2857Date: Mon Apr 2 13:55:31 2018 +0200 2858 2859 Fix appveyor windows build (#420) 2860 2861 * Fix msvcc dll build by adding dllexport decorations to all API declarations 2862 2863 * Fix appveyor build for VS 2013 2864 2865 Use the new -DFFI_BUILDING_DLL for producing a working DLL. Update the 2866 msvcc.sh wrapper script to successfully compile the testsuite files. 2867 2868 * MSVC build: suppress warnings in testsuite 2869 2870 * fix testsuite on appveyor 2871 2872commit 48bdb02867edb7e9f3785ccb4bdff1087fb44246 2873Author: Anthony Green <green@moxielogic.com> 2874Date: Thu Mar 29 07:22:57 2018 -0400 2875 2876 Trim some optimization tests 2877 2878commit f98e0f0d777bf962057e18d036989b2b89fdf416 2879Author: Anthony Green <green@moxielogic.com> 2880Date: Thu Mar 29 07:22:38 2018 -0400 2881 2882 Simplify matrix 2883 2884commit fa72b054e10acaea33ec8cc395e0ea5b31c9ac9e 2885Author: Anthony Green <green@moxielogic.com> 2886Date: Thu Mar 29 07:10:23 2018 -0400 2887 2888 Remove warning message from clang 2889 2890commit 746c3ce220cb155a8f3b613550a7ecad76f9fedc 2891Author: Anthony Green <green@moxielogic.com> 2892Date: Thu Mar 29 07:01:14 2018 -0400 2893 2894 Expand ABI tests on x86. Testsuite bug fixes. 2895 2896commit 2eee934d0cb2beef7c0aa29767eca1ce03452ae9 2897Author: Anthony Green <green@moxielogic.com> 2898Date: Tue Mar 27 14:45:40 2018 -0400 2899 2900 deal with msvc warnings 2901 2902commit 206b2974f70f65b4c4c4d9e62b03ee7e0753ee2d 2903Author: Anthony Green <green@moxielogic.com> 2904Date: Tue Mar 27 14:37:50 2018 -0400 2905 2906 fix quoting issue 2907 2908commit 499e41c1ec6b760eff2b320ffc87e22de82a9e1d 2909Author: Anthony Green <green@moxielogic.com> 2910Date: Tue Mar 27 14:35:10 2018 -0400 2911 2912 Don't ignore a file 2913 2914commit 5b41e9f6d2c099add0e02db8c8054281f96b6d0e 2915Author: Anthony Green <green@moxielogic.com> 2916Date: Tue Mar 27 14:34:31 2018 -0400 2917 2918 Try different msvc hack 2919 2920commit e8cf133813e7fa2c606d93abab5b68989e5f6cbc 2921Author: Anthony Green <green@moxielogic.com> 2922Date: Tue Mar 27 14:12:02 2018 -0400 2923 2924 msvc c99 hack 2925 2926commit a3e20940898ed2ca96b9df87f34117d06d900e5f 2927Author: Anthony Green <green@moxielogic.com> 2928Date: Tue Mar 27 11:58:42 2018 -0400 2929 2930 More msvc hacks 2931 2932commit a82b456e98b0f3fbafe76725d1a1503d458a2178 2933Author: Anthony Green <green@moxielogic.com> 2934Date: Tue Mar 27 11:49:46 2018 -0400 2935 2936 msvc fixes 2937 2938commit a2326aaf561798c3bfd5e464b16693a094bf6c45 2939Author: Anthony Green <green@moxielogic.com> 2940Date: Tue Mar 27 11:36:04 2018 -0400 2941 2942 Remove debug output 2943 2944commit 85b6b209d7984667ce7d00351fe7e79ef6c4930c 2945Author: Anthony Green <green@moxielogic.com> 2946Date: Tue Mar 27 11:35:23 2018 -0400 2947 2948 Force literals to float (msvc warning) 2949 2950commit 2872c460ba8e96416b4f4ee4a0ed183461d8d6c9 2951Author: Anthony Green <green@moxielogic.com> 2952Date: Tue Mar 27 11:28:40 2018 -0400 2953 2954 Fix msvc linking 2955 2956commit b40a386c22a2bd164819b4f398b722357222b7c1 2957Author: Anthony Green <green@moxielogic.com> 2958Date: Tue Mar 27 11:20:21 2018 -0400 2959 2960 Fix library path handling 2961 2962commit d78c5f64f834c24a769bee78cfb7db4d468b6b21 2963Author: Anthony Green <green@moxielogic.com> 2964Date: Tue Mar 27 11:14:56 2018 -0400 2965 2966 Deal with libpath 2967 2968commit f318bb63c5dc623d5a69ffc4a59a330050cac567 2969Author: Anthony Green <green@moxielogic.com> 2970Date: Tue Mar 27 08:25:26 2018 -0400 2971 2972 Fix library path handling 2973 2974commit 4f0c9cb39b7599312729278380ce63247bca226b 2975Author: Anthony Green <green@moxielogic.com> 2976Date: Tue Mar 27 08:10:03 2018 -0400 2977 2978 Use mixed cygpath paths 2979 2980commit d3693b4665de7ef69b61fb4e483d5686302f9c69 2981Author: Anthony Green <green@moxielogic.com> 2982Date: Tue Mar 27 08:05:42 2018 -0400 2983 2984 Copy - don't symlink - to support msvc builds 2985 2986commit 51ce3696cd0da4716d86b73a30bd89e139ec4b74 2987Author: Anthony Green <green@moxielogic.com> 2988Date: Tue Mar 27 07:35:33 2018 -0400 2989 2990 Use cygpath to convert windows paths 2991 2992commit 70b93e4d863c1ff2a6498455339e17df3d7fe784 2993Author: Anthony Green <green@moxielogic.com> 2994Date: Tue Mar 27 07:14:59 2018 -0400 2995 2996 try to fix windows builds 2997 2998commit 377134d7a946df13b60ff9c9dacc895e82c36178 2999Author: Anthony Green <green@moxielogic.com> 3000Date: Tue Mar 27 07:06:01 2018 -0400 3001 3002 Reduce verbosity 3003 3004commit d01ef5b875dedcb9f7b3039b2334cbd594fdfcd4 3005Author: Anthony Green <green@moxielogic.com> 3006Date: Tue Mar 27 06:23:29 2018 -0400 3007 3008 iOS builds 3009 3010commit d13583f55fb31a302684cbc62c300ae81eb577e9 3011Author: Anthony Green <green@moxielogic.com> 3012Date: Tue Mar 27 06:22:57 2018 -0400 3013 3014 Fix -L support 3015 3016commit d49911544bf9d2b4fab782b0c5e76a68074223df 3017Author: Anthony Green <green@moxielogic.com> 3018Date: Tue Mar 27 05:59:26 2018 -0400 3019 3020 Fix quoting 3021 3022commit 8f47ec404fcf5a082fc4537ede8cdf897f4c5226 3023Author: Anthony Green <green@moxielogic.com> 3024Date: Tue Mar 27 05:35:35 2018 -0400 3025 3026 Don't set AM_MAKEFLAGS 3027 3028commit df314193dc6cd00978b6e1517866448b604199af 3029Author: Anthony Green <green@moxielogic.com> 3030Date: Tue Mar 27 05:13:38 2018 -0400 3031 3032 Run tests with lots of debug output 3033 3034commit b394947518fb15887802fe3bc7f0a337c495d65d 3035Author: Anthony Green <green@moxielogic.com> 3036Date: Tue Mar 27 05:11:52 2018 -0400 3037 3038 Add -L and -l support 3039 3040commit 33da6c075299317885385f19680b58a1e9feab5e 3041Author: Anthony Green <green@moxielogic.com> 3042Date: Tue Mar 27 05:07:08 2018 -0400 3043 3044 Mention C99 and build requirements 3045 3046commit e6bdbd7888b5c8a90f3c91f4d6caf3c8d574f3b5 3047Author: Anthony Green <green@moxielogic.com> 3048Date: Tue Mar 27 04:46:04 2018 -0400 3049 3050 Remove reference to wiki 3051 3052commit 24eb1f88d788399dde5fbb4804767e6b6cbf1bc8 3053Author: Anthony Green <green@moxielogic.com> 3054Date: Tue Mar 27 04:09:56 2018 -0400 3055 3056 Refactor travis build instructions. Add iOS build 3057 3058commit ffc3ff162a15ed0ed0e946815c950c69ee0c8343 3059Author: Anthony Green <green@moxielogic.com> 3060Date: Tue Mar 27 04:02:06 2018 -0400 3061 3062 Add issue template 3063 3064commit 5c2ca479e726dc2feec43e25475c63361387bf20 3065Author: Anthony Green <green@moxielogic.com> 3066Date: Tue Mar 27 04:01:37 2018 -0400 3067 3068 Remove uninitialized warning. Fix #163. 3069 3070commit 0081378017c33a4b9b6fbf20efabdd9959d6a48d 3071Author: Anthony Green <green@moxielogic.com> 3072Date: Sat Mar 24 09:05:14 2018 -0400 3073 3074 revert 3075 3076commit 59d44242e15d2979291fe6793ddfb2681b7480ef 3077Author: Anthony Green <green@moxielogic.com> 3078Date: Sat Mar 24 08:45:59 2018 -0400 3079 3080 Try bhaible tests in appveyor 3081 3082commit 6f7c29c5a6d2850ce53b99efcc71fcc4e8f8c8cc 3083Author: Anthony Green <green@moxielogic.com> 3084Date: Sat Mar 24 08:40:04 2018 -0400 3085 3086 Formatting fixes 3087 3088commit f3c2729ee4026c9f70a6656603bac8ba2ec40a5d 3089Author: Anthony Green <green@moxielogic.com> 3090Date: Fri Mar 23 11:47:29 2018 -0400 3091 3092 Add libffi.map.in to extra dist files 3093 3094commit 6d2233f96a08c5ac01a64e7b84e2bd678eed0a4b 3095Author: Anthony Green <green@moxielogic.com> 3096Date: Fri Mar 23 09:06:08 2018 -0400 3097 3098 Add sparc solaris build notes 3099 3100commit 99a80d2fc4ede48348af2edfb7126d60609c4b71 3101Author: Anthony Green <green@moxielogic.com> 3102Date: Sun Mar 18 21:22:55 2018 -0400 3103 3104 Fix formatting 3105 3106commit a3e87ac8e7b7e609ab84541a69c7e51873efa437 3107Author: Anthony Green <green@moxielogic.com> 3108Date: Sun Mar 18 20:36:52 2018 -0400 3109 3110 Fix formatting 3111 3112commit cec3a3a201f17a7f018f25e1a0917bd5206e5a5a 3113Author: Anthony Green <green@moxielogic.com> 3114Date: Sun Mar 18 16:00:04 2018 -0400 3115 3116 Don't align-double for 32-bit x86 3117 3118commit f34f8039c10c4d8d728bc335dcf2b2a38f6e8b50 3119Author: Anthony Green <green@moxielogic.com> 3120Date: Sun Mar 18 15:30:00 2018 -0400 3121 3122 Remove debug output 3123 3124commit f31b915314b12904b858b54cfdf670ceaeda7b2d 3125Author: Anthony Green <green@moxielogic.com> 3126Date: Sun Mar 18 15:13:21 2018 -0400 3127 3128 Add m4/ax_require_defined.m4 3129 3130commit a2dc5848b53e9e45ff68e5ef70683b5ffb82592e 3131Author: Anthony Green <green@moxielogic.com> 3132Date: Sun Mar 18 13:41:15 2018 -0400 3133 3134 travis debug 3135 3136commit 81d345b2cff039c4389fad283a108ad978b609e0 3137Author: Anthony Green <green@moxielogic.com> 3138Date: Sun Mar 18 13:32:03 2018 -0400 3139 3140 Update autoconf archive macros 3141 3142commit 369ef49f71186fc9d6ab15614488ad466fac3fc1 3143Author: Anthony Green <green@moxielogic.com> 3144Date: Sun Mar 18 12:53:42 2018 -0400 3145 3146 Add missing FFI_GNUW64 enum 3147 3148commit 56655e58c7f966685c0d5635ee7215733121ae41 3149Merge: 43980dd 9bc40d8 3150Author: Anthony Green <green@moxielogic.com> 3151Date: Sun Mar 18 12:34:18 2018 -0400 3152 3153 Merge branch 'master' of github.com:/libffi/libffi 3154 3155commit 43980dd10e0d5705e52f24d63988b722e31bf330 3156Author: Anthony Green <green@moxielogic.com> 3157Date: Sun Mar 18 12:32:10 2018 -0400 3158 3159 Add FFI_GNUW64 ABI for GNU 80-bit long double support 3160 3161commit 9bc40d87ea5950969b234ed56cd2c6acd883fa0e 3162Author: Anthony Green <green@moxielogic.com> 3163Date: Sun Mar 18 12:32:10 2018 -0400 3164 3165 Add FFI_GWIN64 ABI for GNU 80-bit long double support 3166 3167commit d46406088d28b038a0a0f7396d9621f431482f6a 3168Author: Ryan C. Underwood <nemesis@icequake.net> 3169Date: Sun Mar 18 07:00:42 2018 -0700 3170 3171 Fully allocate file backing writable maps (#389) 3172 3173 When ftruncate() is used on a filesystem supporting sparse files, 3174 space in the file is not actually allocated. Then, when the file 3175 is mmap'd and libffi writes to the mapping, SIGBUS is thrown to 3176 the calling application. Instead, always fully allocate the file 3177 that will back writable maps. 3178 3179commit 247e44b3ef653f210de614a749b71449b8c70764 3180Author: Anthony Green <green@moxielogic.com> 3181Date: Sun Mar 18 07:01:54 2018 -0400 3182 3183 Fix return values 3184 3185commit 1f99701fad1761ffe4e9adf88cfe26f74f427e7c 3186Author: Anthony Green <green@moxielogic.com> 3187Date: Sat Mar 17 22:49:58 2018 -0400 3188 3189 Make tests compile/run standalone 3190 3191commit d974207cd6373ff282a64038564d99b853dc3fab 3192Author: Anthony Green <green@moxielogic.com> 3193Date: Sat Mar 17 09:03:42 2018 -0400 3194 3195 Formatting fixes. Add 'bug fixes' note. 3196 3197commit a33bfa9b12993aae2edf669f62e141a84286d4de 3198Author: Anthony Green <green@moxielogic.com> 3199Date: Sat Mar 17 07:17:24 2018 -0400 3200 3201 xfail unwind tests for moxie 3202 3203commit 8bf05481436ba085df3adfff2b47a879df738d67 3204Author: Anthony Green <green@moxielogic.com> 3205Date: Fri Mar 16 23:54:28 2018 -0400 3206 3207 Install moxie libstdc++ 3208 3209commit 84b383eda67ba75a6456e4b3587f17b749e6e1a1 3210Author: Anthony Green <green@moxielogic.com> 3211Date: Fri Mar 16 23:36:51 2018 -0400 3212 3213 Install moxie-elf-g++ 3214 3215commit 6a801d042ac1212fe8c0e11abb865061e515aa43 3216Author: Anthony Green <green@moxielogic.com> 3217Date: Fri Mar 16 17:53:33 2018 -0400 3218 3219 Fix closure case where 8-byte value is partially passed in register. Fixes cls_many_mixed_float_double test case. 3220 3221commit 0f0ba9e0ec52e0297c91cb63a889980a6f847219 3222Author: Anthony Green <green@moxielogic.com> 3223Date: Fri Mar 16 07:28:33 2018 -0400 3224 3225 Run dejagnu's runtest with -a option to prevent travis timeouts after 10min 3226 3227commit 725454196afab82f7da7bd719e8bddf7cd7837dd 3228Author: Anthony Green <green@moxielogic.com> 3229Date: Thu Mar 15 08:17:18 2018 -0400 3230 3231 fix .travis.yml 3232 3233commit d71051c46a795a0669b2d83804030746f790edf4 3234Author: Anthony Green <green@moxielogic.com> 3235Date: Wed Mar 14 21:21:06 2018 -0400 3236 3237 fix .travis.yml 3238 3239commit e86aa54ce3418081dca403217c9216c773b82560 3240Author: Anthony Green <green@moxielogic.com> 3241Date: Wed Mar 14 21:00:55 2018 -0400 3242 3243 fix .travis.yml 3244 3245commit 5b538ed61fb13efc8f01bad014c5485231714c96 3246Author: Anthony Green <green@moxielogic.com> 3247Date: Wed Mar 14 20:32:00 2018 -0400 3248 3249 fix .travis.yml 3250 3251commit 6ed64a7953178cf07d2793650fcd64caa6b51d53 3252Author: Anthony Green <green@moxielogic.com> 3253Date: Wed Mar 14 20:22:33 2018 -0400 3254 3255 fix .travis.yml 3256 3257commit 90809e928f8b5a0cdf0787d799111bc33689a9d1 3258Author: Anthony Green <green@moxielogic.com> 3259Date: Wed Mar 14 14:09:39 2018 -0400 3260 3261 fix .travis.yml 3262 3263commit 85e4c62351bd1e45dd6d77916778e18c435f1723 3264Author: Anthony Green <green@moxielogic.com> 3265Date: Wed Mar 14 13:47:27 2018 -0400 3266 3267 fix .travis.yml 3268 3269commit aa8a5ec4a4ec4a4460ec3cd4e396e09ceaa3a2fa 3270Author: Anthony Green <green@moxielogic.com> 3271Date: Wed Mar 14 13:25:04 2018 -0400 3272 3273 fix .travis.yml 3274 3275commit 7c3e5da401ab7efef83a5bd4e7f64b0df053da0c 3276Author: Anthony Green <green@moxielogic.com> 3277Date: Wed Mar 14 13:07:04 2018 -0400 3278 3279 fix .travis.yml 3280 3281commit 19aec1989382fab8bd86c556aa24751a75b8246e 3282Author: Anthony Green <green@moxielogic.com> 3283Date: Wed Mar 14 12:40:58 2018 -0400 3284 3285 Fix travis.yml 3286 3287commit bf337b070977fb7e8934fc91e4d0e60209f53448 3288Author: Anthony Green <green@moxielogic.com> 3289Date: Wed Mar 14 12:15:04 2018 -0400 3290 3291 yaml syntax error fix 3292 3293commit 076d5a987e016669993154b91525b02978c56727 3294Author: Anthony Green <green@moxielogic.com> 3295Date: Wed Mar 14 11:13:32 2018 -0400 3296 3297 markdown fixes 3298 3299commit d2f7e788aecf37971c9be1cd650f78a3e4061e18 3300Author: Anthony Green <green@moxielogic.com> 3301Date: Wed Mar 14 09:06:38 2018 -0400 3302 3303 Fix test cases with short results 3304 3305commit 18fe190068563bb2bf52a0993017887f438c85a4 3306Author: Anthony Green <green@moxielogic.com> 3307Date: Wed Mar 14 08:02:10 2018 -0400 3308 3309 Debug travis output 3310 3311commit 718a4177f23e9d6c5476d0118d49a3a093d72c6c 3312Author: Anthony Green <green@moxielogic.com> 3313Date: Wed Mar 14 07:40:53 2018 -0400 3314 3315 test 3316 3317commit 486c34b65deb43d6d9025b2a40284606f97f4e0b 3318Author: Anthony Green <green@moxielogic.com> 3319Date: Tue Mar 13 23:31:18 2018 -0400 3320 3321 debug 3322 3323commit 00464aa52022674bdc1f5aa9b2ceb575c9a04b87 3324Author: Anthony Green <green@moxielogic.com> 3325Date: Tue Mar 13 23:30:52 2018 -0400 3326 3327 debug 3328 3329commit eb0544d0d42e5aef56ee1df0861bcd0c95102f88 3330Author: Anthony Green <green@moxielogic.com> 3331Date: Tue Mar 13 23:20:15 2018 -0400 3332 3333 Debug env 3334 3335commit 9d5bd29d8dfb5f89d0927a175443240a19e93890 3336Author: Anthony Green <green@moxielogic.com> 3337Date: Tue Mar 13 23:07:10 2018 -0400 3338 3339 Refactor 3340 3341commit 52a364d7699230be5e883f32b9ac0caaea0300b1 3342Author: Anthony Green <green@moxielogic.com> 3343Date: Tue Mar 13 22:49:48 2018 -0400 3344 3345 fix moxie build 3346 3347commit 1a32b3f146f7ade701cea74e3983b16145f93393 3348Author: Anthony Green <green@moxielogic.com> 3349Date: Tue Mar 13 22:44:13 2018 -0400 3350 3351 fix moxie build 3352 3353commit e8958c3a64b5e59f0477bcaafaf9c03337d9f445 3354Author: Anthony Green <green@moxielogic.com> 3355Date: Tue Mar 13 22:36:41 2018 -0400 3356 3357 revert test 3358 3359commit 58315ae125482c44821cfbdce41e350380024d0e 3360Author: Anthony Green <green@moxielogic.com> 3361Date: Tue Mar 13 22:35:50 2018 -0400 3362 3363 test 3364 3365commit 6239c28741a8abc1bd06cb47329d8c5cdb359c90 3366Author: Anthony Green <green@moxielogic.com> 3367Date: Tue Mar 13 22:13:44 2018 -0400 3368 3369 Add experimental moxie travis build 3370 3371commit 01db31d94e97e71836fe862826bc8a2a399dd619 3372Author: Anthony Green <green@moxielogic.com> 3373Date: Tue Mar 13 20:41:55 2018 -0400 3374 3375 Update moxie sub opcode 3376 3377commit e8f5a43033d53ad631ba477b78a3def61783a1dc 3378Author: Anthony Green <green@moxielogic.com> 3379Date: Tue Mar 13 09:27:00 2018 -0400 3380 3381 Fix appveyor badge 3382 3383commit d1689dd3bf78f4975aa6a6a16cbffcb794283acb 3384Author: Anthony Green <green@moxielogic.com> 3385Date: Tue Mar 13 09:24:37 2018 -0400 3386 3387 Fix travis badge. Add REAME.md to dist files 3388 3389commit 785351fbc2a49f05535c412067ac51f906612779 3390Author: Anthony Green <green@moxielogic.com> 3391Date: Tue Mar 13 09:21:49 2018 -0400 3392 3393 Preformat release notes 3394 3395commit 8c7fbd1616b075e3077346c7bf56befd723a9355 3396Author: Anthony Green <green@moxielogic.com> 3397Date: Tue Mar 13 09:20:44 2018 -0400 3398 3399 Preformat release notes 3400 3401commit 54f31b00562e75e6aae2b736c70e6713618640cb 3402Author: Anthony Green <green@moxielogic.com> 3403Date: Tue Mar 13 09:17:57 2018 -0400 3404 3405 Try to fix table 3406 3407commit 3a29a27a86624512f405e4c9962276485517caf1 3408Author: Anthony Green <green@moxielogic.com> 3409Date: Tue Mar 13 09:14:40 2018 -0400 3410 3411 Clean up markdown table 3412 3413commit fbfc3b048fcf3f699f4495ca70b7e58461a0df4f 3414Author: Anthony Green <green@moxielogic.com> 3415Date: Tue Mar 13 09:12:21 2018 -0400 3416 3417 Move to markdown 3418 3419commit a31d3d3ba6644d308b6fb8cea2a60976e0531f4a 3420Author: Anthony Green <green@moxielogic.com> 3421Date: Tue Mar 13 09:11:24 2018 -0400 3422 3423 Add travis and appveyor build badges 3424 3425commit 16313cb2746ceed6bc1d25b52604642c14758e01 3426Author: Anthony Green <green@moxielogic.com> 3427Date: Tue Mar 13 08:52:30 2018 -0400 3428 3429 Support compiler specific warning suppression flags 3430 3431commit cca6d1fb549e422514df4aad68f2ca9a8313327d 3432Author: Anthony Green <green@moxielogic.com> 3433Date: Tue Mar 13 08:51:34 2018 -0400 3434 3435 Support compiler specific warning suppression flags 3436 3437commit 9291f941c2df5ddf967f701b258ac2b3cc9d0820 3438Author: Anthony Green <green@moxielogic.com> 3439Date: Tue Mar 13 08:37:21 2018 -0400 3440 3441 Add bhaible's missing Makefile 3442 3443commit bede01d82ec2f1cfe2bb42233fcd408a6e3a6323 3444Author: Anthony Green <green@moxielogic.com> 3445Date: Tue Mar 13 07:53:33 2018 -0400 3446 3447 Remove stray directory 3448 3449commit 9aefbb1031c9be7c5121ab24742e025ccff236c4 3450Author: Anthony Green <green@moxielogic.com> 3451Date: Tue Mar 13 07:51:02 2018 -0400 3452 3453 Update version number to next pre-release 3454 3455commit ddf7a8f7511a038342f56c08dac718148e2f0151 3456Author: Anthony Green <green@moxielogic.com> 3457Date: Tue Mar 13 07:47:57 2018 -0400 3458 3459 Update test list for dist 3460 3461commit 6186261cb36a33abbf31430569f83ccd7685474e 3462Author: Anthony Green <green@moxielogic.com> 3463Date: Mon Mar 12 21:53:18 2018 -0400 3464 3465 Add Bruno Haible and Bill Triggs' libffi testsuite 3466 3467commit 4e8f79d5587ddb8e027f4df213e90f943e286594 3468Author: Anthony Green <green@moxielogic.com> 3469Date: Sun Mar 11 18:21:46 2018 -0400 3470 3471 Next release will be 3.3 3472 3473commit 3840d49aaa831d649b1597518a2903dfed0d57f3 3474Author: Stef O'Rear <sorear2@gmail.com> 3475Date: Sun Mar 11 05:55:15 2018 -0700 3476 3477 New RISC-V port (#281) 3478 3479 * Add RISC-V support 3480 3481 This patch adds support for the RISC-V architecture (https://riscv.org). 3482 3483 This patch has been tested using QEMU user-mode emulation and GCC 7.2.0 3484 in the following configurations: 3485 3486 * -march=rv32imac -mabi=ilp32 3487 * -march=rv32g -mabi=ilp32d 3488 * -march=rv64imac -mabi=lp64 3489 * -march=rv64g -mabi=lp64d 3490 3491 The ABI currently can be found at 3492 https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md . 3493 3494 * Add RISC-V to README 3495 3496 * RISC-V: fix configure.host 3497 3498commit dca52b55bc2ac0213c20849d7e9e19fbc9202023 3499Merge: 83d9aba 11de69d 3500Author: Anthony Green <green@moxielogic.com> 3501Date: Sun Mar 11 08:50:01 2018 -0400 3502 3503 Merge pull request #406 from trofi/master 3504 3505 ia64: fix variadic function closures with FP arguments 3506 3507commit 83d9aba3a44dff8426052312a9445a7ef52f1db1 3508Merge: ab15405 b58caef 3509Author: Anthony Green <green@moxielogic.com> 3510Date: Sun Mar 11 08:48:42 2018 -0400 3511 3512 Merge pull request #407 from trofi/ia64-small-struct 3513 3514 ia64: fix small struct return 3515 3516commit ab154056937782c1c7f7005c8b46c5179bc719cb 3517Merge: 9429968 e66fd67 3518Author: Anthony Green <green@moxielogic.com> 3519Date: Sun Mar 11 08:46:58 2018 -0400 3520 3521 Merge pull request #409 from andreas-schwab/master 3522 3523 Revert "Fix passing struct by value on aarch64" 3524 3525commit e66fd678200db456a2e9860e80451773efa96fe0 3526Author: Andreas Schwab <schwab@suse.de> 3527Date: Tue Feb 20 10:47:09 2018 +0100 3528 3529 Revert "Fix passing struct by value on aarch64" 3530 3531 This reverts commit 482b37f00467325e3389bab322525099860dd9aa. 3532 3533 That was actually a bug in python, see <https://bugs.python.org/issue30353>. 3534 3535commit b58caef7fd620408be9239ac24ea89d5bc84f30b 3536Author: Sergei Trofimovich <slyfox@gentoo.org> 3537Date: Sat Feb 17 19:00:40 2018 +0000 3538 3539 ia64: fix small struct return 3540 3541 This change fixes libffi.call/struct10.c failure on ia64: 3542 FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -O0 execution test 3543 3544 .Lst_small_struct handles returns for structs less than 32 bytes 3545 (following ia64 return value ABI [1]). Subroutine does roughly the 3546 following: 3547 3548 ``` 3549 mov [sp+0] = r8 3550 mov [sp+8] = r9 3551 mov [sp+16] = r10 3552 mov [sp+24] = r11 3553 memcpy(destination, source=sp, 12); 3554 ``` 3555 3556 The problem: ia64 ABI guarantees that top 16 bytes of stack are 3557 scratch space for callee function. Thus it can clobber it. [1] 3558 says (7.1 Procedure Frames): 3559 """ 3560 * Scratch area. This 16-byte region is provided as scratch storage 3561 for procedures that are called by the current procedure. Leaf 3562 procedures do not need to allocate this region. A procedure may 3563 use the 16 bytes at the top of its own frame as scratch memory, 3564 but the contents of this area are not preserved by a procedure call. 3565 """ 3566 3567 In our case 16 top bytes are clobbered by a PLT resolver when memcpy() 3568 is called for the first time. As a result memcpy implementation reads 3569 already clobbered data frop top of stack. 3570 3571 The fix is simple: allocate 16 bytes of scrats space prior to memcpy() 3572 call. 3573 3574 [1]: https://www.intel.com/content/dam/www/public/us/en/documents/guides/itanium-software-runtime-architecture-guide.pdf 3575 3576 Bug: https://bugs.gentoo.org/634190 3577 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 3578 3579commit 45da2fcbcd0ecaba673275d22b04fac3e4376e22 3580Author: Sergei Trofimovich <slyfox@gentoo.org> 3581Date: Sat Feb 17 18:53:02 2018 +0000 3582 3583 new test: return small struct 3584 3585 The bug originally was discovered in https://bugs.gentoo.org/634190 3586 where complicated callback was returning invalid data on ia64. 3587 3588 This change adds minimal reproducer that fails only on ia64 as: 3589 3590 FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -O0 execution test 3591 FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -O2 execution test 3592 FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -O3 execution test 3593 FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -Os execution test 3594 3595 Test passes on amd64. The fix is in the following commit. 3596 3597 Bug: https://bugs.gentoo.org/634190 3598 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 3599 3600commit 11de69ddb788e4d87ef653898878384116ac16c6 3601Author: Sergei Trofimovich <slyfox@gentoo.org> 3602Date: Sun Feb 11 11:29:39 2018 +0000 3603 3604 ia64: fix variadic function closures with FP arguments 3605 3606 libffi test framework already flagged failures as: 3607 3608 ``` 3609 FAIL: libffi.call/cls_double_va.c -W -Wall -Wno-psabi -O0 output pattern test, is 7.0 3610 res: 4 3611 0.0 3612 res: 4 3613 ? should match 7.0 3614 ?es: 4 3615 ?.0 3616 res: 4 3617 ``` 3618 3619 Failure happens here at 3620 3621 ```c 3622 // testsuite/libffi.call/cls_double_va.c 3623 ... 3624 char* format = "%.1f\n"; 3625 double doubleArg = 7; 3626 ... 3627 CHECK(ffi_prep_closure_loc(pcl, &cif, cls_double_va_fn, NULL, 3628 code) == FFI_OK); 3629 res = ((int(*)(char*, ...))(code))(format, doubleArg); 3630 ``` 3631 3632 libffi expects 'doubleArg' to be located in 'f9' (second FP argument) but 3633 gcc placed it to 'r33' (second GR). 3634 3635 ia64 software [1] manual described argument passing ABI in 3636 "8.5.2 Register Parameters" as: 3637 3638 """ 3639 If an actual parameter is known to correspond to a floating-point 3640 formal parameter, the following rules apply: 3641 a) The actual parameter is passed in the next available floating-point 3642 parameter register, if one is available. Floating-point parameter 3643 registers are allocated as needed from the range f8-f15, starting 3644 with f8. 3645 b) If all available floating-point parameter registers have been used, 3646 the actual parameter is passed in the appropriate general register(s). 3647 (This case can occur only as a result of homogeneous floating-point 3648 aggregates, described below.) 3649 3650 If a floating-point actual parameter is known to correspond to 3651 a variable-argument specification in the formal parameter list, 3652 the following rule applies: 3653 c) The actual parameter is passed in the appropriate general 3654 register(s). 3655 3656 If the compiler cannot determine, at the point of call, 3657 whether the corresponding formal parameter is a varargs parameter, 3658 it must generate code that satisfies both of the above conditions. 3659 (The compiler’s determination may be based on prototype declarations, 3660 language standard assumptions, analysis, or other user options or 3661 information.) 3662 """ 3663 3664 We have [c] case here and gcc uses only GR for parameter passing. 3665 3666 The change binds known variadic arguments ro GRs instead of FPs as those 3667 are always expected to be initialized for all variadic call types. 3668 3669 This fixes all 10 failures on ia64-unknown-linux-gnu: 3670 3671 ``` 3672 === libffi Summary === 3673 -# of expected passes 1945 3674 -# of unexpected failures 10 3675 + 3676 +# of expected passes 1955 3677 ``` 3678 3679 [1]: https://www.intel.com/content/dam/www/public/us/en/documents/guides/itanium-software-runtime-architecture-guide.pdf 3680 3681 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 3682 3683commit 9429968b828de8775cfd7f139374888943f2186a 3684Merge: f08b2be 28d3b61 3685Author: Anthony Green <green@moxielogic.com> 3686Date: Sat Feb 10 23:23:33 2018 -0500 3687 3688 Merge pull request #403 from frida/fix/x86-sysv-pic-closure-regression 3689 3690 Fix x86 SysV closure in PIC mode 3691 3692commit f08b2be6273f471863f1ea1afb0078a96fe73d74 3693Merge: c194448 482b37f 3694Author: Anthony Green <green@moxielogic.com> 3695Date: Sat Feb 10 23:21:49 2018 -0500 3696 3697 Merge pull request #405 from andreas-schwab/master 3698 3699 Fix passing struct by value on aarch64 3700 3701commit 482b37f00467325e3389bab322525099860dd9aa 3702Author: Andreas Schwab <schwab@suse.de> 3703Date: Mon Sep 18 12:44:08 2017 +0200 3704 3705 Fix passing struct by value on aarch64 3706 3707 This fixes the ctypes test in the python testsuite. 3708 3709commit 28d3b61bdd8b9fe786cb431165f2fb95f4e275d3 3710Author: Ole André Vadla Ravnås <oleavr@gmail.com> 3711Date: Sat Jan 20 23:56:17 2018 +0100 3712 3713 Fix x86 SysV closure in PIC mode 3714 3715 The assembly single-line comments swallowed up the remaining assembly 3716 code of the macros due to lack of line-endings. 3717 3718 This is a regression introduced in b7f6d7a. 3719 3720commit c194448ef08b4c0183c68dda95a4b8b9cfc47985 3721Author: Anthony Green <green@moxielogic.com> 3722Date: Wed Jan 10 09:38:15 2018 -0500 3723 3724 adjust env usage in travis 3725 3726commit 5314b1067145d30acdc5bba3bebb788e8acfdaae 3727Author: Anthony Green <green@moxielogic.com> 3728Date: Wed Jan 10 07:22:51 2018 -0500 3729 3730 test static lib 3731 3732commit bec6135dff061a35065efc106f920940a82c28ee 3733Merge: f6ecf10 d15581c 3734Author: Anthony Green <green@moxielogic.com> 3735Date: Wed Jan 10 07:20:04 2018 -0500 3736 3737 Merge pull request #393 from thejunkjon/master 3738 3739 Linker error "recompile with -fPIC" for x86_64 3740 3741commit f6ecf10ca021e94d496c75cc43c417161edf28b3 3742Merge: c50ba18 746dbe3 3743Author: Anthony Green <green@moxielogic.com> 3744Date: Fri Jan 5 16:51:44 2018 -0500 3745 3746 Merge pull request #401 from wzssyqa/jr-r6 3747 3748 mips/ffi.c: fix encoding for jr on r6 3749 3750commit 746dbe3a6a79a41931c03b51df2972be4d5e5028 3751Author: YunQiang Su <wzssyqa@gmail.com> 3752Date: Wed Jan 3 10:07:41 2018 +0800 3753 3754 mips/ffi.c: fix encoding for jr on r6 3755 3756 mips/ffi.c: instruction jr has a different encoding for r6 3757 3758commit c50ba182f43537e29dd92cfd9b2fa7a30549a06e 3759Merge: 54cb3e2 af6949b 3760Author: Anthony Green <green@moxielogic.com> 3761Date: Mon Jan 1 15:18:46 2018 -0500 3762 3763 Merge pull request #398 from emaste/master 3764 3765 Enable symbol versioning when ld is LLVM's lld 3766 3767commit 54cb3e2345ee8e2483d4705a9fb2967b6e5a9bd1 3768Merge: 716bfd8 94c102a 3769Author: Anthony Green <green@moxielogic.com> 3770Date: Sun Dec 31 07:46:05 2017 -0500 3771 3772 Merge pull request #396 from wzssyqa/master 3773 3774 mips/n32.S: disable .set mips4 on mips r6 3775 3776commit af6949b7af98404729e04227165d0e32ce550ce8 3777Author: Ed Maste <emaste@freebsd.org> 3778Date: Sun Dec 17 23:08:12 2017 -0500 3779 3780 Enable symbol versioning when ld is LLVM's lld 3781 3782 Fixes #397 3783 3784commit 94c102aa69b04337f63498e0e6551fcdce549ae5 3785Author: YunQiang Su <wzssyqa@gmail.com> 3786Date: Sun Dec 10 14:25:01 2017 +0800 3787 3788 Not set mips on mips r6 3789 3790 MIPS release changed encodes of some instructions, include ll/sc etc. 3791 3792 if .set mips4 on mips r6, as will generate some wrong encode of some instructions. 3793 3794commit d15581c6969657c79afcff4865bdc8f5ff23a2f7 3795Author: jon <thejunkjon@gmail.com> 3796Date: Fri Dec 1 00:34:30 2017 -0800 3797 3798 Updating calls to ffi_closure_unix64_inner and ffi_closure_win64_inner to use PLT. Without this fix, statically linking libffi causes the linker error i.e. 'requires dynamic R_X86_64_PC32 reloc against ffi_closure_unix64_inner which may overflow at runtime; recompile with -fPIC)' 3799 3800commit 716bfd83177689e2244c4707bd513003cff92c68 3801Merge: 4fdbb05 cd5e9f8 3802Author: Anthony Green <green@moxielogic.com> 3803Date: Sun Nov 5 09:02:37 2017 -0500 3804 3805 Merge pull request #387 from trofi/master 3806 3807 Makefile.am: add 'src/s390/internal.h' to source tarball 3808 3809commit cd5e9f8b87cc387d3ffef4db81ee6af200a84183 3810Author: Sergei Trofimovich <slyfox@gentoo.org> 3811Date: Sun Nov 5 13:56:42 2017 +0000 3812 3813 Makefile.am: add 'src/s390/internal.h' to source tarball 3814 3815 commit 2f530de168e0253ac06e044c832132c496e8788b 3816 ("s390: Reorganize assembly") introduced new header 3817 (similar to other arches) but did not add it to source 3818 tarball. 3819 3820 As a result build from 'make dist' tarballs failed as: 3821 3822 ``` 3823 ../src/s390/ffi.c:34:10: fatal error: internal.h: No such file or directory 3824 #include "internal.h" 3825 ^~~~~~~~~~~~ 3826 ``` 3827 3828 To fix it the change adds file to 'Makefile.am'. 3829 3830 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 3831 3832commit 4fdbb0578e921a9da146c2b040061a3a39fe4fda 3833Merge: b302bc3 2bfcd29 3834Author: Anthony Green <green@moxielogic.com> 3835Date: Fri Nov 3 07:05:31 2017 -0400 3836 3837 Merge pull request #320 from 0-wiz-0/master 3838 3839 Support NetBSD with mprotect. 3840 3841commit b302bc3dfe47e3ea57de11610fced3170c06df28 3842Merge: 14eac93 1fb788a 3843Author: Anthony Green <green@moxielogic.com> 3844Date: Fri Nov 3 07:03:55 2017 -0400 3845 3846 Merge pull request #322 from compnerd/aarch64-base 3847 3848 aarch64: fix index base register for AArch64 3849 3850commit 14eac93869eb109bea1daeb4f00609169d5488ff 3851Merge: ad15ae7 9fc9dc5 3852Author: Anthony Green <green@moxielogic.com> 3853Date: Fri Nov 3 06:49:03 2017 -0400 3854 3855 Merge pull request #384 from yan12125/fix-sgidefs-checking 3856 3857 Fix linux detection (closes #303) 3858 3859commit 9fc9dc535ee7af28f49f86a8ecacb7f575c46ba4 3860Author: Yen Chi Hsuan <yan12125@gmail.com> 3861Date: Fri Oct 27 16:12:56 2017 +0800 3862 3863 Fix linux detection (closes #303) 3864 3865commit 1fb788ac898290d8e3044ca4c0a4fb3c3c254ce5 3866Author: Saleem Abdulrasool <compnerd@compnerd.org> 3867Date: Tue Oct 10 11:37:00 2017 -0700 3868 3869 aarch64: fix index base register for AArch64 3870 3871 The base is passed in `x3`, not in `x2`. This fixes the indexing base 3872 so that the right value is used. 3873 3874commit ad15ae762c8b3999e626ebccb9cf454455119555 3875Merge: dc2ff5b 5e4fcdc 3876Author: Anthony Green <green@moxielogic.com> 3877Date: Wed Oct 25 13:16:49 2017 -0400 3878 3879 Merge pull request #298 from frida/fix/ios-trampoline-table-complexity 3880 3881 Simplify iOS trampoline table allocation 3882 3883commit dc2ff5baabf89d473d61ae4b468638f8ea98bb04 3884Merge: 927da71 79d1509 3885Author: Anthony Green <green@moxielogic.com> 3886Date: Wed Oct 25 13:11:40 2017 -0400 3887 3888 Merge pull request #323 from compnerd/x86-alloca-alignment 3889 3890 x86: align alloca to 16-byte boundary 3891 3892commit 927da71662f349f656fc1c5d0aaa533005e24f47 3893Merge: a0455c0 181fc4c 3894Author: Anthony Green <green@moxielogic.com> 3895Date: Wed Oct 25 13:05:53 2017 -0400 3896 3897 Merge pull request #379 from jlj/master 3898 3899 Xcode build improvements 3900 3901commit a0455c031824c6ab3f1a7a6ef9912edad6ebd742 3902Merge: 0faf614 9d9d92b 3903Author: Anthony Green <green@moxielogic.com> 3904Date: Wed Oct 25 13:04:23 2017 -0400 3905 3906 Merge pull request #383 from hjl-tools/hjl/master 3907 3908 Hjl/master 3909 3910commit 0faf614529ae7ac8bc929415a6e1b076ba1b8cc5 3911Merge: 8d26e8c 3c372c3 3912Author: Anthony Green <green@moxielogic.com> 3913Date: Wed Oct 25 13:03:55 2017 -0400 3914 3915 Merge pull request #381 from compnerd/ffi-nullptr-deref 3916 3917 arm: fix a level of indirection issue 3918 3919commit 9d9d92b47f3f73644f808ae38e97d1ea8f4d22df 3920Author: H.J. Lu <hjl.tools@gmail.com> 3921Date: Wed Oct 25 04:59:31 2017 -0700 3922 3923 Skip WIN64/EFI64 support for x32 3924 3925 Since x32 doesn't support WIN64/EFI64, skip it if __ILP32__ is defined. 3926 3927commit b2a343ffc68f1af5368281e063c0ca5571c611cc 3928Author: H.J. Lu <hjl.tools@gmail.com> 3929Date: Wed Oct 25 04:36:49 2017 -0700 3930 3931 Don't include WIN64/EFI64 for x32 3932 3933 Since x32 doesn't support WIN64/EFI64, don't include it for x32. Also 3934 x32 has sizeof size_t == 4. But TARGET should be X86_64. 3935 3936commit 3c372c384a94db23fdaf9fe64a4beb86159cf6d3 3937Author: Saleem Abdulrasool <compnerd@compnerd.org> 3938Date: Tue Oct 24 13:53:56 2017 -0700 3939 3940 arm: fix a level of indirection issue 3941 3942 Rather than relying on the stack being 0'ed out always, do it manually. 3943 The stack generally happened to be zero, and because the compiler 3944 realizes that the tests are dealing with chars truncates the read value. 3945 However, the top 3 nibbles of the value are undefined and may be 3946 non-zero. The indirection level caused a null-pointer dereference. 3947 3948 Explicitly scribbling on the stack during the allocation causes test 3949 failures without the original zexting behaviour. 3950 3951commit 181fc4cc9ca211f3bc8209cecf3b2348b0674e21 3952Merge: 8d26e8c 54529ba 3953Author: Jean-Luc Jumpertz <jean-luc@celedev.eu> 3954Date: Mon Oct 23 15:02:29 2017 +0200 3955 3956 Merge branch 'master' based on ksjogo/libffi 3957 3958 Added a tvOS target in Xcode project. Misc Xcode project cleanup. 3959 Fix macOS build target in Xcode project. 3960 3961 # Conflicts: 3962 # src/aarch64/ffi.c 3963 # src/x86/ffi64.c 3964 3965commit 54529ba1db9974b5efcbd2e893c44b6b01b0b2c8 3966Author: Jean-Luc Jumpertz <jean-luc@celedev.eu> 3967Date: Mon Oct 23 09:49:35 2017 +0200 3968 3969 Added a tvOS target in Xcode project. Misc Xcode project cleanup. 3970 3971commit 79d1509cb06ba9067f56e2c62394d7bc60fa6bf2 3972Author: Saleem Abdulrasool <compnerd@compnerd.org> 3973Date: Tue Oct 10 11:39:45 2017 -0700 3974 3975 x86: align alloca to 16-byte boundary 3976 3977 Align the stack allocation to a 16-byte boundary. This ensures that the 3978 stack parameters are 16-byte aligned which is needed for some 3979 instructions. 3980 3981commit 8d26e8c6da23b10331181a4bbf837f479ce5d7d2 3982Merge: 1c9171e ed7488c 3983Author: Tom Tromey <tom@tromey.com> 3984Date: Tue Oct 17 10:46:49 2017 -0600 3985 3986 Merge pull request #326 from trofi/master 3987 3988 src/ia64/unix.S: unbreak small struct handling 3989 3990commit ed7488c003765c7ee71b7da3e8c21f431b043809 3991Author: Sergei Trofimovich <slyfox@gentoo.org> 3992Date: Tue Oct 17 13:00:51 2017 +0100 3993 3994 src/ia64/unix.S: unbreak small struct handling 3995 3996 commit 6e8a4460833594d5af1b4539178025da0077df19 3997 added FFI_TYPE_COMPLEX value type (comes after FFI_TYPE_POINTER) 3998 3999 ia64 ffi_closure_unix reiles on the ordering of 4000 FFI_ enums as ia64 has ia64-specific FFI types: 4001 small struct and FPU extesions. 4002 4003 As a result all tests handling small structs broke. 4004 4005 The change fixes dispatch table by adding (no-op) 4006 FFI_TYPE_COMPLEX entry 4007 This has positive effect of unbreaking most tests 4008 on ia64: 4009 4010 === libffi Summary === 4011 4012 -# of expected passes 1595 4013 -# of unexpected failures 295 4014 +# of expected passes 1930 4015 +# of unexpected failures 10 4016 # of unsupported tests 30 4017 4018 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 4019 4020commit 1c9171ec89943d9b4b10a54091c8b5c104eb258d 4021Merge: 9f1f874 7ad0ae7 4022Author: Anthony Green <green@moxielogic.com> 4023Date: Tue Oct 10 23:19:57 2017 -0400 4024 4025 Merge pull request #324 from compnerd/arm-zext 4026 4027 arm: zext return value parameters 4028 4029commit 7ad0ae7f42f3e208431ab66a9032dc9549f978d0 4030Author: Saleem Abdulrasool <compnerd@compnerd.org> 4031Date: Tue Oct 10 11:44:05 2017 -0700 4032 4033 arm: zext return value parameters 4034 4035 The closure function (invoked as closure->fun in ffi_closure_XXX_inner) 4036 will only populate the actual number of bytes for the true return type, 4037 which may be a character. This leaves garbage on the stack when the 4038 assembly closure function (i.e. ffi_closure_XXX) reads the return value 4039 off of the stack into r0 as a 4-byte value. ffi_closure_XXX always 4040 leaves room for at least 4 bytes here, so we can safely set them to 0. 4041 Otherwise, if there is garbage in any of these bytes, these end up in r0 4042 and in the returned value as well. 4043 4044commit 2bfcd29955c02b67fa10a68cc4200f6838181e0f 4045Author: Joerg Sonnenberger <joerg@NetBSD.org> 4046Date: Mon Oct 2 15:34:03 2017 +0200 4047 4048 Support NetBSD with mprotect. 4049 4050 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 4051 4052commit 9f1f8741b2ec0c8898ecff7b93005627b915dd02 4053Merge: dca078f 6cf0dea 4054Author: Tom Tromey <tom@tromey.com> 4055Date: Sun Oct 1 20:25:50 2017 -0600 4056 4057 Merge pull request #319 from angerman/patch-5 4058 4059 Adds `local.exp` to DISTCLEANFILES 4060 4061commit 6cf0dea78a5a4584eda871e264043974d0453e53 4062Author: Moritz Angermann <moritz.angermann@gmail.com> 4063Date: Mon Oct 2 10:20:16 2017 +0800 4064 4065 Change CLEANFILES to DISTCLEANFILES 4066 4067commit dca078f468ff696134195e85fed3f48260115651 4068Merge: 540258d bccba9a 4069Author: Tom Tromey <tom@tromey.com> 4070Date: Sun Oct 1 20:19:53 2017 -0600 4071 4072 Merge pull request #316 from angerman/patch-2 4073 4074 Add `configure.host` and `libtool-version` to the `EXTRA_DIST` files 4075 4076commit 540258d13e1d427254cbeddacdd2bb1ab2c307d1 4077Merge: 93d8e7d 4c6aa78 4078Author: Tom Tromey <tom@tromey.com> 4079Date: Sun Oct 1 20:17:02 2017 -0600 4080 4081 Merge pull request #317 from angerman/patch-3 4082 4083 Add src/x86/asmnames.h to noinst_HEADERS 4084 4085commit bccba9a34e8ba0fe671c4b94671fea2efe181b01 4086Merge: a1e6ccb 59d65d7 4087Author: Moritz Angermann <moritz.angermann@gmail.com> 4088Date: Sun Oct 1 12:48:17 2017 +0800 4089 4090 Merged 4091 4092commit 6b6df1a7bb377651a07663879bd4162f0059dc5c 4093Author: Moritz Angermann <moritz.angermann@gmail.com> 4094Date: Sun Oct 1 12:37:53 2017 +0800 4095 4096 Adds `local.exp` to CLEANFILES 4097 4098 With #315, #316, #317, #318 and this patch, running 4099 ``` 4100 AM_DISTCHECK_CONFIGURE_FLAGS=--disable-docs make distcheck 4101 ``` 4102 should complete successfully. 4103 4104commit 59d65d74ae72bd24fbf78f045592c5168f0b0784 4105Author: Moritz Angermann <moritz.angermann@gmail.com> 4106Date: Sun Oct 1 12:23:31 2017 +0800 4107 4108 Include `libtool-version` in the EXTRA_DIST files. 4109 4110commit 4c6aa78d75f0c426a23c27af74155aa2535021d6 4111Author: Moritz Angermann <moritz.angermann@gmail.com> 4112Date: Sun Oct 1 11:32:41 2017 +0800 4113 4114 Add src/x86/asmnames.h to noinst_HEADERS 4115 4116 In eaa59755fcbb692a8cb763c7f9f24a350aadbd30, macros from `unix64.S` were extracted into `asmnames.h` to be used with `win64.S` as well. As such these are required by `unix64.S`, which fails to build without them. 4117 4118commit a1e6ccb67e7d7f2b235016aa6c6733c5743945a1 4119Author: Moritz Angermann <moritz.angermann@gmail.com> 4120Date: Sun Oct 1 11:28:40 2017 +0800 4121 4122 Add `configure.host` to the `EXTRA_DIST` files 4123 4124 When running `make dist`, `configure.host` would not result in the distribution tarball, however `configure` would try to read it, and as such the tarball would not be buildable. 4125 4126commit 93d8e7dd17b08ff195af3580584ccd5c2228202f 4127Author: Anthony Green <green@moxielogic.com> 4128Date: Wed Sep 27 21:51:34 2017 -0400 4129 4130 Fix #265 4131 4132commit 02a5145abbae2e311d5aeeee606c5b5745a99b55 4133Merge: 10099d6 7d504f7 4134Author: Anthony Green <green@moxielogic.com> 4135Date: Wed Sep 27 21:43:03 2017 -0400 4136 4137 Merge pull request #263 from ksjogo/master 4138 4139 fix ios builds 4140 4141commit 10099d6cad8418a10c1508235d1f458993ac51fe 4142Merge: c8f1aa3 ed84883 4143Author: Anthony Green <green@moxielogic.com> 4144Date: Wed Sep 27 20:54:09 2017 -0400 4145 4146 Merge pull request #271 from frida/fix/qnx-cache-flushing 4147 4148 arm: Fix cache flushing on QNX 4149 4150commit c8f1aa3d0459c6f1be6884b324b4d2d785ecfd78 4151Merge: db4dad9 50e408c 4152Author: Anthony Green <green@moxielogic.com> 4153Date: Wed Sep 27 20:53:50 2017 -0400 4154 4155 Merge pull request #307 from zw3rk/master 4156 4157 Support -ios triple 4158 4159commit db4dad97e2589ca700d1b5b54eeb332137a152ad 4160Merge: 8a16f2f 9c12209 4161Author: Anthony Green <green@moxielogic.com> 4162Date: Wed Sep 27 20:47:08 2017 -0400 4163 4164 Merge pull request #312 from fjricci/fix_ub 4165 4166 Fix misaligned memory access in ffi_call_int 4167 4168commit 8a16f2f47fdb6a985d201baa02a1d226562af4d8 4169Merge: b230910 0ff9419 4170Author: Anthony Green <green@moxielogic.com> 4171Date: Wed Sep 27 20:45:15 2017 -0400 4172 4173 Merge pull request #308 from trex58/master 4174 4175 This patch enables FFI Go Closure on AIX. 4176 4177commit a78da73956e4b0af4556f1c0a444bd0f065c3965 4178Author: Jean-Luc Jumpertz <jean-luc@celedev.eu> 4179Date: Mon Sep 4 15:55:34 2017 +0200 4180 4181 Fix macOS build target in Xcode project. 4182 4183 - Add missing files for desktop platforms in generate-darwin-source-and-headers.py, and in the Xcode project. 4184 - Add a static library target for macOS. 4185 - Fix "implicit conversion loses integer precision" warnings for iOS mad macOS targets. 4186 4187commit 9c12209d2eac40238eefb4255994277918e7eff1 4188Author: Francis Ricci <francisjricci@gmail.com> 4189Date: Thu Aug 3 10:46:28 2017 -0700 4190 4191 Fix misaligned memory access in ffi_call_int 4192 4193commit b23091069adce469dc38fbcc9fd8ac9085d3c9d7 4194Merge: c0cc9f1 9c6cb58 4195Author: Tom Tromey <tom@tromey.com> 4196Date: Wed Jul 12 12:43:06 2017 -0600 4197 4198 Merge pull request #309 from rurban/oldgcc 4199 4200 __attribute__ deprecated (msg) only since gcc 4.5 4201 4202commit 9c6cb58812aa92a4c56a94b2b51bd85b2aebc2a1 4203Author: Reini Urban <rurban@cpan.org> 4204Date: Sun Jun 18 18:26:05 2017 +0200 4205 4206 __attribute__ deprecated (msg) only since gcc 4.5 4207 4208 make it work with older compilers 4209 4210commit 50e408ce5d9eb6f14bf82bb3894d0e74e5f19c2c 4211Author: Moritz Angermann <moritz.angermann@gmail.com> 4212Date: Sun May 21 20:44:10 2017 +0800 4213 4214 add i?86-*-ios -- the iOS simulator (32bit) 4215 4216commit a08cabe6746343564418383b879d40d3b998c399 4217Author: Moritz Angermann <moritz.angermann@gmail.com> 4218Date: Sun May 21 20:25:16 2017 +0800 4219 4220 add x86_64-*-ios -- the iOS simulator 4221 4222commit 0ff9419f2e75652426469e256cb7d0748064ad58 4223Author: Tony Reix <tony.reix@bull.net> 4224Date: Wed May 17 14:57:53 2017 +0200 4225 4226 This patch enables FFI Go Closure on AIX. 4227 4228commit 19ab448d84223d2992048bce4e926eac2c44f606 4229Author: Moritz Angermann <moritz.angermann@gmail.com> 4230Date: Tue May 16 08:32:06 2017 +0800 4231 4232 Support -ios triple 4233 4234 Autoconf hasn’t had an update since 2014, and it doesn’t look like it will soon[1] 4235 This updates config.{guess,sub} 4236 4237 It adds support for e.g. `-ios`, which allows to have targets like `aarch64-apple-ios`. 4238 4239 It basically does exactly what the config.guess script says: 4240 > It is advised that you download the most up to date version of the config scripts from 4241 4242 The configure.ac script has been updated to relax `*-apple-darwin*` to `*-apple-*`. 4243 Similarly the `.gitignore` and `autogen.sh` needed to be updated to respect the 4244 newer `config.{sub,guess}` 4245 4246 — 4247 [1]: http://lists.gnu.org/archive/html/autoconf/2016-07/msg00017.html 4248 4249commit c0cc9f1df9fd4c5e758470f05d0e48123f0638ae 4250Merge: b841ae7 bd72848 4251Author: Tom Tromey <tom@tromey.com> 4252Date: Mon May 8 15:20:39 2017 -0600 4253 4254 Merge pull request #302 from gpakosz/align-macros 4255 4256 Prefix ALIGN macros with FFI_ 4257 4258commit bd72848c7af9302df50a7a11652c77166d17caa8 4259Author: Gregory Pakosz <gregory.pakosz@gmail.com> 4260Date: Thu Apr 27 13:20:36 2017 +0200 4261 4262 Prefix ALIGN macros with FFI_ 4263 4264commit 7d504f7a8e33f6da27941f5dc5d889fe60b8b9c8 4265Author: ksjogo <jogo@kronberger-spiele.de> 4266Date: Thu Mar 30 13:32:58 2017 +0200 4267 4268 update for xcode 8.3 4269 4270commit 57d8ff044cd6320d8ebacacf06455569b4aac27d 4271Author: Ole André Vadla Ravnås <oleavr@gmail.com> 4272Date: Wed Mar 15 01:43:11 2017 +0100 4273 4274 Simplify iOS trampoline table allocation 4275 4276 By using VM_FLAGS_OVERWRITE there is no need for speculatively 4277 allocating on a page we just deallocated. This approach eliminates the 4278 race-condition and gets rid of the retry logic. 4279 4280commit 7f558a9ba4e74edf54a3e95e983e8a59ddb0cc7c 4281Author: ksjogo <jogo@kronberger-spiele.de> 4282Date: Mon Jul 25 01:18:30 2016 +0200 4283 4284 set ios deployment target to 7.0 4285 4286commit e76fa94b6ef9a699ee9edeb85d1731d3bb7abd46 4287Author: ksjogo <jogo@kronberger-spiele.de> 4288Date: Thu Jul 14 11:28:18 2016 +0200 4289 4290 fix ltmain.sh in xcode builds 4291 4292commit 22b2fd6f18eed7b32ea959f7f3e56ea09b9ac9bf 4293Author: ksjogo <jogo@kronberger-spiele.de> 4294Date: Wed Jul 13 14:40:07 2016 +0200 4295 4296 add valid architectures 4297 4298commit 0040694505411785ec98e660fe81faad9630f515 4299Author: Johannes Goslar <johannes.goslar@kronberger-spiele.de> 4300Date: Tue Jul 12 16:08:42 2016 +0200 4301 4302 Update Xcodeproj 4303 4304 Include all currently relevent files. 4305 Call autogen is build script. 4306 Fix compiler settings. 4307 Fix mach include. 4308 4309commit b841ae70a05a5e11de1fca1b4551189db0895cf2 4310Author: Anthony Green <green@moxielogic.com> 4311Date: Sun Mar 19 07:42:09 2017 -0400 4312 4313 remove stray quote 4314 4315commit a94c999ba0d51ed8ec88685233f5b1ae38e894ea 4316Author: Anthony Green <green@moxielogic.com> 4317Date: Sun Mar 19 07:36:07 2017 -0400 4318 4319 Handle fastcall declaration differently for some Microsoft compilers 4320 4321commit 69963d39ab7d7f201b4597ed7a24cf438e0a34bf 4322Author: Anthony Green <green@moxielogic.com> 4323Date: Sun Mar 19 07:33:39 2017 -0400 4324 4325 We don't support 32-bit builds with the Microsoft toolchain 4326 4327commit 073bc9d50c1ce753735944e4228d9a401e964306 4328Author: Anthony Green <green@moxielogic.com> 4329Date: Sun Mar 19 07:25:24 2017 -0400 4330 4331 Enable appveyor ci support 4332 4333commit a0b14eea2baf9f18c0d29bc5ce4495422381f917 4334Merge: fa5a0fe 1e0d107 4335Author: Anthony Green <green@moxielogic.com> 4336Date: Fri Mar 17 09:20:40 2017 -0400 4337 4338 Merge pull request #291 from ramon-garcia/visual-studio-build 4339 4340 Build with Visual C++ (64 bits) 4341 4342commit fa5a0fe2c6da906cc7c114c8002e5c7092c4dbee 4343Merge: 5b91bbd bfab429 4344Author: Anthony Green <green@moxielogic.com> 4345Date: Thu Mar 16 07:50:07 2017 -0400 4346 4347 Merge pull request #238 from KubaKaszycki/master 4348 4349 Update README with a new port 4350 4351commit 5b91bbd388213ec19044a392c291505e2c0674b9 4352Merge: d754c51 982b89c 4353Author: Anthony Green <green@moxielogic.com> 4354Date: Thu Mar 16 00:40:58 2017 -0400 4355 4356 Merge pull request #288 from yan12125/std-includedir 4357 4358 Install public headers in the standard path 4359 4360commit d754c510f1dd03dc8c2cd7b50bb2a1668715c5cd 4361Merge: ebe7f44 41185b5 4362Author: Anthony Green <green@moxielogic.com> 4363Date: Thu Mar 16 00:39:07 2017 -0400 4364 4365 Merge pull request #299 from matijaskala/patch-1 4366 4367 detect other x32 hosts 4368 4369commit ebe7f447abcfbf1a16dbfca26538fff03faf7c6b 4370Author: Anthony Green <green@moxielogic.com> 4371Date: Thu Mar 16 00:36:10 2017 -0400 4372 4373 Remove osx testing. gcc was symlinked to clang. dejagnu c++ tests fail with clang. 4374 4375commit c9c2aa24611ec996f45a495f24d690688f3ffed6 4376Author: Anthony Green <green@moxielogic.com> 4377Date: Wed Mar 15 09:58:39 2017 -0400 4378 4379 Revert previous two changes. clang/MacOS problem can only be solved within dejagnu. 4380 4381commit 5a8fca94059fbf14ac7352ce487c9250cdd67c63 4382Author: Anthony Green <green@moxielogic.com> 4383Date: Wed Mar 15 09:52:39 2017 -0400 4384 4385 Fix typo 4386 4387commit 5b10a0198188d43fc07c271bc29ff1033e2ac9d3 4388Author: Anthony Green <green@moxielogic.com> 4389Date: Wed Mar 15 09:34:01 2017 -0400 4390 4391 Work around dejagnu/clang problems 4392 4393commit b6751258072fadadd487a6adf4962bf22b44746d 4394Author: Anthony Green <green@moxielogic.com> 4395Date: Wed Mar 15 08:54:52 2017 -0400 4396 4397 Require sudo for installing packages 4398 4399commit 41185b565fe17a8f107642f480849ef369ad0baa 4400Author: Matija Skala <mskala@gmx.com> 4401Date: Wed Mar 15 12:50:41 2017 +0100 4402 4403 detect other x32 hosts 4404 4405 primarily x86_64-pc-linux-muslx32 4406 while at it, add x86_64-x32-pc-linux-{gnu,musl} as well 4407 4408commit 6e2e041b6df6a3c3a5ca8a750dedbbd465e5ca97 4409Merge: dabbd14 d42ce7b 4410Author: Richard Henderson <rth@twiddle.net> 4411Date: Tue Mar 14 19:37:45 2017 -0700 4412 4413 Merge pull request #297 from frida/fix/error-path 4414 4415 Fix error path so mutex is unlocked before returning 4416 4417commit 5e4fcdccb3a841f2daaa5834f726eaeb42950511 4418Author: Ole André Vadla Ravnås <oleavr@gmail.com> 4419Date: Wed Mar 15 01:43:11 2017 +0100 4420 4421 Simplify iOS trampoline table allocation 4422 4423 By using VM_FLAGS_OVERWRITE there is no need for speculatively 4424 allocating on a page we just deallocated. This approach eliminates the 4425 race-condition and gets rid of the retry logic. 4426 4427commit d42ce7b95c6d5cba7d976cc0c8c85f7645fa6b8f 4428Author: Ole André Vadla Ravnås <oleavr@gmail.com> 4429Date: Wed Mar 15 01:23:40 2017 +0100 4430 4431 Fix error path so mutex is unlocked before returning 4432 4433 In the unusual case where ffi_trampoline_table_alloc() fails. 4434 4435commit dabbd145665ffca6fa676eba551f12107cd81131 4436Merge: 60e4250 6caabd1 4437Author: Tom Tromey <tom@tromey.com> 4438Date: Mon Feb 27 21:10:00 2017 -0700 4439 4440 Merge pull request #295 from terrillmoore/patch-1 4441 4442 Correct typos in libffi.texi 4443 4444commit 6caabd198ec24d090d85d7eca01150b44003c76b 4445Author: Terry Moore <tmm@mcci.com> 4446Date: Sun Feb 26 15:06:53 2017 -0500 4447 4448 Correct typos in libffi.texi 4449 4450 One "it's" should be "its", and one "is" should be "in". 4451 4452commit 1e0d107b4b237edd11ca3209a9cf59786f752fe5 4453Author: Ramón García Fernández <ramon.garcia.f@gmail.com> 4454Date: Sun Jan 8 20:12:59 2017 +0100 4455 4456 Modify configure.host to detect compilation with Microsoft Visual C++ and use assembly with Intel syntax in that case 4457 4458commit 982b89c01aca99c7bc229914fc1521f96930919b 4459Author: Yen Chi Hsuan <yan12125@gmail.com> 4460Date: Sun Nov 13 19:17:19 2016 +0800 4461 4462 Install public headers in the standard path 4463 4464commit 60e4250a77eb3fde500bfd68ec40519fe34b21bd 4465Author: Anthony Green <green@moxielogic.com> 4466Date: Sun Sep 4 09:34:18 2016 -0400 4467 4468 make executable 4469 4470commit c3caf38895252b82febb76c6bb323c67a4e01929 4471Author: Anthony Green <green@moxielogic.com> 4472Date: Sun Sep 4 09:21:18 2016 -0400 4473 4474 Update travis to test linux 32/64 and osx with a mix of gcc and clang 4475 4476commit c5b408ee78d097a495ea12467cf082f8008c8e17 4477Author: Anthony Green <green@moxielogic.com> 4478Date: Sun Sep 4 09:17:46 2016 -0400 4479 4480 xfail the unwindtest for osx as per issue #279 4481 4482commit 256ce51c408766d23b2707cc79b97f673750b3b9 4483Merge: 2ded2a4 52a11f6 4484Author: Richard Henderson <rth@twiddle.net> 4485Date: Thu Sep 1 13:54:51 2016 -0700 4486 4487 Merge pull request #273 from wbx-github/master 4488 4489 m68k: support ISA-A Coldfire CPUs 4490 4491commit 2ded2a4f494165c93293afc14ab0be1243cf8c49 4492Merge: 408c9c7 e247b56 4493Author: Richard Henderson <rth@twiddle.net> 4494Date: Thu Sep 1 13:30:45 2016 -0700 4495 4496 Merge pull request #272 from yousong/mips64-soft-float 4497 4498 Mips64 soft float 4499 4500commit 408c9c7d5a4cb323c77499b1643858f4bfaf4ca7 4501Merge: 06d7c51 b545ff8 4502Author: Tom Tromey <tom@tromey.com> 4503Date: Tue Aug 23 11:32:17 2016 -0600 4504 4505 Merge pull request #274 from dr-hannibal/ykolerov-unused 4506 4507 ARC: Remove unused variable 4508 4509commit b545ff81f58233284cd6fca97a470aa3218c23e6 4510Author: Yuriy Kolerov <yuriy.kolerov@synopsys.com> 4511Date: Tue Aug 23 20:23:37 2016 +0300 4512 4513 ARC: Remove unused variable 4514 4515 Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com> 4516 4517commit 52a11f6d9152a56aa1fb6d04eb40fd76f4cce5ff 4518Author: Waldemar Brodkorb <wbx@uclibc-ng.org> 4519Date: Sat Aug 20 00:52:19 2016 +0200 4520 4521 m68k: support ISA-A Coldfire CPUs 4522 4523 Fix compilation for m68k/coldfire CPUs like mcf5208. 4524 4525 Signed-off-by: Thorsten Glaser <tg@mirbsd.de> 4526 Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org> 4527 4528commit e247b562ac85565dfac33e676e2915489af04183 4529Author: Yousong Zhou <yszhou4tech@gmail.com> 4530Date: Mon Aug 15 17:34:37 2016 +0800 4531 4532 doc: fix typo 4533 4534 Name of last argument to ffi_get_struct_offsets is `offsets`, not `sizes` 4535 4536 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> 4537 4538commit 7a0d2c83bf2b0422e2d0ed297f847fc1eeb88bb3 4539Author: Yousong Zhou <yszhou4tech@gmail.com> 4540Date: Mon Aug 15 15:00:13 2016 +0800 4541 4542 mips: fix MIPS softfloat build issue 4543 4544 The patch for o32.S is taken from OpenWrt packages repo 3a7a4bf "libffi: 4545 fix MIPS softfloat build issue with current binutils" 4546 4547 Signed-off-by: Felix Fietkau <nbd@openwrt.org> 4548 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> 4549 4550commit 06d7c5190e910356d4212d2a79056df8b70fd27e 4551Merge: aa7ed78 301166b 4552Author: Tom Tromey <tom@tromey.com> 4553Date: Wed Aug 10 15:06:16 2016 -0600 4554 4555 Merge pull request #269 from frida/fix/aarch64-variadic-closures-on-ios 4556 4557 aarch64: Fix handling of variadic closures on iOS 4558 4559commit aa7ed78c0e0d3fc4daa6a86c35ecbb7c43b5d067 4560Merge: 1daa787 4da814b 4561Author: Tom Tromey <tom@tromey.com> 4562Date: Wed Aug 10 15:03:37 2016 -0600 4563 4564 Merge pull request #268 from frida/fix/aarch64-large-aggregates 4565 4566 aarch64: Fix handling of aggregates larger than 16 bytes 4567 4568commit 4da814b18a1bf1d2013d988e37485e568d6117d1 4569Author: Ole André Vadla Ravnås <oleavr@gmail.com> 4570Date: Wed Aug 10 22:48:09 2016 +0200 4571 4572 aarch64: Fix handling of aggregates larger than 16 bytes 4573 4574 Instead of allocating stack space for a pointer we would allocate stack 4575 space for the actual aggregate size. 4576 4577commit 1daa78799942c83c905f8d7c5439952e9ffec3bc 4578Merge: f03ba20 5e9ac7e 4579Author: Tom Tromey <tom@tromey.com> 4580Date: Wed Aug 10 14:31:09 2016 -0600 4581 4582 Merge pull request #270 from frida/fix/aarch64-warnings 4583 4584 Fix aarch64 warnings 4585 4586commit ed8488345eaae41c161ab741b0c44299ee99dc6c 4587Author: s1341 <github@shmarya.net> 4588Date: Wed Aug 10 14:57:22 2016 +0200 4589 4590 arm: Fix cache flushing on QNX 4591 4592 Use `msync()` directly as `__clear_cache()` is broken in the 4593 qnx650_gcc4.8.3 toolchain. 4594 4595commit 5e9ac7e252dbb0b7025027c1b6e1a4f3ec48943f 4596Author: Ole André Vadla Ravnås <oleavr@gmail.com> 4597Date: Wed Aug 10 15:22:19 2016 +0200 4598 4599 aarch64: Fix warning about unused function on iOS 4600 4601commit 4d1f11f6a9effce05ba51578b142827834d1f699 4602Author: Ole André Vadla Ravnås <oleavr@gmail.com> 4603Date: Wed Aug 10 15:21:42 2016 +0200 4604 4605 aarch64: Fix operand size warning reported by Clang 4606 4607commit 301166b11e913f85d09f67af94264268811f23a9 4608Author: Ole André Vadla Ravnås <oleavr@gmail.com> 4609Date: Wed Aug 10 15:59:56 2016 +0200 4610 4611 aarch64: Fix handling of variadic closures on iOS 4612 4613commit f03ba2032850545dc6869bb495170a8c6cbf849d 4614Merge: 40e4063 ef8be84 4615Author: Tom Tromey <tom@tromey.com> 4616Date: Tue Aug 2 10:23:25 2016 -0600 4617 4618 Merge pull request #266 from dr-hannibal/arc-pthread 4619 4620 Make testing easier outside of build directory and especially for ARC 4621 4622commit ef8be84de5f9e611add396efe908b772eb1cae1d 4623Author: Yuriy Kolerov <yuriy.kolerov@synopsys.com> 4624Date: Fri Jul 29 21:01:38 2016 +0300 4625 4626 Do not use fabsl() in float2.c test 4627 4628 Some targets may support long double variables but in the same 4629 time may lack support of long double functions like fabsl(). 4630 4631 Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com> 4632 4633commit f3201733d54bf26ac40c432f4305499dd3f20215 4634Author: Yuriy Kolerov <yuriy.kolerov@synopsys.com> 4635Date: Fri Jul 29 19:18:41 2016 +0300 4636 4637 Fix output expectations in cls_dbls_struct.c test 4638 4639 This test with invalid output expectations may fail on some targets 4640 (e.g. ARC processors). 4641 4642 Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com> 4643 4644commit f74ea2dc7994b4867f7ab45169e1b2422072cc92 4645Author: Yuriy Kolerov <yuriy.kolerov@synopsys.com> 4646Date: Thu Jul 28 20:57:09 2016 +0300 4647 4648 Allow setting an arbitary value for blddirffi in testsuite 4649 4650 It is useful when tests are executed not from build directory. So 4651 the path of the build directory may be passed through site.exp or 4652 runtest. 4653 4654 Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com> 4655 4656commit 31362d785ed1db52516dfe02ebe8b163c53d29d0 4657Author: Yuriy Kolerov <yuriy.kolerov@synopsys.com> 4658Date: Thu Jul 28 18:48:23 2016 +0300 4659 4660 ARC: Link tests with pthread library 4661 4662 Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com> 4663 4664commit 40e4063ab4449c644bc106298805fa8c6cfadbd4 4665Merge: c0829e6 cf4b2a5 4666Author: Richard Henderson <rth@twiddle.net> 4667Date: Thu Jul 7 23:11:38 2016 -0700 4668 4669 Merge pull request #261 from tromey/fix-260 4670 4671 Don't dereference "ecif" before NULL check 4672 4673commit cf4b2a50413ecb8931eb1a94437497694f189c47 4674Author: Tom Tromey <tom@tromey.com> 4675Date: Fri Jun 17 10:09:44 2016 +0100 4676 4677 Don't dereference "ecif" before NULL check 4678 4679 Fixes #260 4680 4681commit c0829e62841100c308cc37ddd6537ca69e856de7 4682Merge: 96d9bf4 794a54d 4683Author: Richard Henderson <rth@twiddle.net> 4684Date: Sun Jun 5 15:05:21 2016 -0700 4685 4686 Merge pull request #259 from rth7680/master 4687 4688 Mark win64.S with GNU-stack note 4689 4690commit 794a54d4a603639adf1a79d5b5bc15da437457e2 4691Author: Richard Henderson <rth@twiddle.net> 4692Date: Sun Jun 5 14:57:00 2016 -0700 4693 4694 Mark win64.S with GNU-stack note 4695 4696commit 96d9bf4b5517bc49c0129e8cfdee43098d3771a2 4697Merge: 02089a1 52fbd12 4698Author: Richard Henderson <rth@twiddle.net> 4699Date: Fri Jun 3 23:04:56 2016 -0700 4700 4701 Merge pull request #253 from iains/darwin-build 4702 4703 Some Darwin build fixes 4704 4705commit 52fbd12dca1bddf0b135a24e7136f10af79a06bd 4706Author: Iain Sandoe <iain@codesourcery.com> 4707Date: Thu May 26 09:00:00 2016 +0100 4708 4709 [Darwin-ppc, build] Fixes for clang build. 4710 4711 clang is experimental on powerpc-darwin, but the changes are appropriate to cctools as as well. 4712 4713 Use the 'official' simplified cmpwi insn, rather than the implied one accepted by cctools. 4714 Do not re-use a set value. 4715 4716commit 92810b4bc101fccead2234b7385d4fa5e7a3e56a 4717Author: Iain Sandoe <iain@codesourcery.com> 4718Date: Thu May 26 08:56:51 2016 +0100 4719 4720 [Darwin-x86, build] Fix up label prefixes, remove .purgem 4721 4722 Darwin uses a label prefix of _. 4723 cctools assembler will not accept .purgem as a directive. 4724 4725commit 30b3440cfd378dc67111b1380f2654334d048659 4726Author: Iain Sandoe <iain@codesourcery.com> 4727Date: Thu May 26 08:55:04 2016 +0100 4728 4729 [Darwin, configure] Allow configure to work for <arch>-*-darwin. 4730 4731 The exec configury is appropriate for all current targets (including using older tools on them). 4732 4733commit 02089a1b5cf3aa1535172c62add454a2e9375066 4734Merge: 5d0365c c884551 4735Author: Tom Tromey <tom@tromey.com> 4736Date: Mon May 23 09:58:51 2016 -0600 4737 4738 Merge pull request #237 from tschwinge/libffi_feature_test 4739 4740 Simplify/fix libffi_feature_test 4741 4742commit 5d0365c605c472f40d1195cf7ba04ae08e360cb7 4743Merge: 584a140 74b3f52 4744Author: Richard Henderson <rth@twiddle.net> 4745Date: Thu May 19 09:35:38 2016 -0700 4746 4747 Merge pull request #251 from berkerpeksag/delete-test-define 4748 4749 Remove unused FFI_CLOSURE_TEST 4750 4751commit 74b3f5201432c37e40e24386fa193c838596cec8 4752Author: Berker Peksag <berker.peksag@gmail.com> 4753Date: Thu May 19 18:05:36 2016 +0300 4754 4755 Remove unused FFI_CLOSURE_TEST 4756 4757 It was here since the first commit c6dddbd (warning: huge diff) and 4758 it wasn't defined by the configure script. It was probably used 4759 manually during development. 4760 4761commit 584a140e7558dff6e4ed4009f39d11dd5e3db0ae 4762Merge: c617754 b3496de 4763Author: Tom Tromey <tom@tromey.com> 4764Date: Thu May 19 06:36:38 2016 -0600 4765 4766 Merge pull request #248 from berkerpeksag/patch-1 4767 4768 Delete empty env in .travis.yml 4769 4770commit b3496dedbbad6c1f4e5bf4cc100e76b86f3c801e 4771Author: Berker Peksag <berker.peksag@gmail.com> 4772Date: Thu May 19 10:53:07 2016 +0300 4773 4774 Delete empty env in .travis.yml 4775 4776commit c61775497e7bdfc892d865c2eb15415d2da7493b 4777Merge: 9edaa69 33d9a31 4778Author: Richard Henderson <rth@twiddle.net> 4779Date: Wed May 18 11:10:33 2016 -0700 4780 4781 Merge pull request #247 from rth7680/symver 4782 4783 Add parent to symbol version LIBFFI_BASE_7.1 4784 4785commit 33d9a31d34cfba63e1294978114be1bddd2de3fd 4786Author: Richard Henderson <rth@twiddle.net> 4787Date: Wed May 18 11:01:55 2016 -0700 4788 4789 Add parent to symbol version LIBFFI_BASE_7.1 4790 4791commit 9edaa695c54daaf58d62e84032d30d33b7484fa8 4792Merge: 0969a1c 8a0a4e2 4793Author: Richard Henderson <rth@twiddle.net> 4794Date: Wed May 18 10:56:19 2016 -0700 4795 4796 Merge pull request #230 from rth7680/symver 4797 4798 Use ELF symbol versioning 4799 4800commit 0969a1c1b339f845202fa7507b70d193220ceb01 4801Merge: 571b1ca 4a677a4 4802Author: Tom Tromey <tom@tromey.com> 4803Date: Wed May 18 10:09:28 2016 -0600 4804 4805 Merge pull request #232 from berkerpeksag/signcompare 4806 4807 Fix -Wsign-compare warnings in x86/ffi64.c 4808 4809commit 571b1ca6277dbafc1f340a59ea1c5ee4ddb11c94 4810Merge: 069d2e4 1e82e1c 4811Author: Tom Tromey <tom@tromey.com> 4812Date: Wed May 18 10:08:59 2016 -0600 4813 4814 Merge pull request #233 from berkerpeksag/mremap 4815 4816 Define _GNU_SOURCE on Linux for mremap() 4817 4818commit 069d2e4e16c5570adec9249d642f2a2ae0ffaa1c 4819Merge: a44a5b8 1b4f5ee 4820Author: Tom Tromey <tom@tromey.com> 4821Date: Wed May 18 10:07:31 2016 -0600 4822 4823 Merge pull request #246 from berkerpeksag/update-github-links 4824 4825 Update project URLs to use libffi/libffi 4826 4827commit 1b4f5ee6a4989d7eda7766c5864908c389586c6f 4828Author: Berker Peksag <berker.peksag@gmail.com> 4829Date: Wed May 18 11:12:58 2016 +0300 4830 4831 Update project URLs to use libffi/libffi 4832 4833commit 1e82e1cda43dacd8b6ab2d9ac4db33523d86f5dc 4834Author: Berker Peksag <berker.peksag@gmail.com> 4835Date: Mon Mar 7 18:38:10 2016 +0200 4836 4837 Define _GNU_SOURCE on Linux for mremap() 4838 4839 This was committed to CPython's libffi copy in 4840 https://bugs.python.org/issue10309 4841 4842 mremap() documentation says _GNU_SOURCE needs to 4843 be defined in order to use mremap(): see the 4844 synopsis section at http://linux.die.net/man/2/mremap 4845 4846 Original commit: https://hg.python.org/cpython/rev/9986fff720a2 4847 4848 Original patch was written by Hallvard B Furuseth. 4849 4850commit 4a677a425c18eda4bc5357b2485da57f133f908d 4851Author: Berker Peksag <berker.peksag@gmail.com> 4852Date: Sat Mar 5 09:58:38 2016 +0200 4853 4854 Fix -Wsign-compare warnings in x86/ffi64.c 4855 4856 This was originally reported on the Python tracker: 4857 4858 httpa://bugs.python.org/issue23958 4859 4860 The original patch was written by Steve R. Hastings. 4861 4862 I've updated it to current master of libffi. 4863 4864commit a44a5b863aaae98041e11aa3256907bf912ee4d6 4865Merge: 9443eae 2627fc9 4866Author: Tom Tromey <tom@tromey.com> 4867Date: Tue May 17 17:07:27 2016 -0600 4868 4869 Merge pull request #234 from berkerpeksag/disable-docs 4870 4871 Add a note about the --disable-docs switch 4872 4873commit 9443eaeda867cfdeae92b10bee3cc0506892a4c5 4874Merge: 14be9a1 e169ba2 4875Author: Tom Tromey <tom@tromey.com> 4876Date: Tue May 17 17:04:50 2016 -0600 4877 4878 Merge pull request #242 from somasis/master 4879 4880 Fix usage on musl libc 4881 4882commit 8a0a4e25ef99f4ec98761f2fc075c2e8409f171b 4883Author: Richard Henderson <rth@twiddle.net> 4884Date: Wed May 4 07:33:41 2016 -1000 4885 4886 Update symbol versioning for ffi_get_struct_offsets 4887 4888 Given that the original symbol versioning patch has shipped 4889 with gcc-6, it would be kind to keep that as a valid base ABI 4890 and make subsequent changes to version 7.1. 4891 4892commit c02c3414440e816aa13a2fe8446484173d3edb0e 4893Author: Richard Henderson <rth@twiddle.net> 4894Date: Thu Mar 3 13:51:44 2016 -0800 4895 4896 Use ELF symbol versioning 4897 4898 At the same time, we must bump the (major) ABI version. This needed to be 4899 done anyway due to ABI breakage in the AArch64 port (see 12cf89ee and the 4900 corresponding GCC PR70024). 4901 4902commit 14be9a1d0713deb97edb91fe9800afe971a001d5 4903Merge: 1cea273 b50eabf 4904Author: Richard Henderson <rth@twiddle.net> 4905Date: Wed May 4 06:45:05 2016 -1000 4906 4907 Merge pull request #245 from rth7680/tromey-ffi-prep-cif-core-is-private 4908 4909 A rebase of #219 4910 4911commit b50eabf48927ccaf0184c6224992bbb0a125e969 4912Author: Tom Tromey <tom@tromey.com> 4913Date: Mon Feb 22 16:00:51 2016 -0700 4914 4915 minor comment cleanup 4916 4917 This patch minor cleans up ffi.h.in comments in a minor way. It fixes 4918 some typos and capitalizations, adds some periods, and reformats some 4919 comments to a more GNU-ish style. It also fixes up some stale 4920 documentation. 4921 4922commit 6c07077a61fd0dc5ac11759ea1b4345acf486f3c 4923Author: Tom Tromey <tom@tromey.com> 4924Date: Sun Feb 21 20:08:21 2016 -0700 4925 4926 Change ffi.h.in so that braces match 4927 4928 This is a tiny refactoring to make it so brace-matching works in 4929 Emacs. 4930 4931commit 2fbc0369b89a7e6b089e6384b98dba904ec1cf8b 4932Author: Tom Tromey <tom@tromey.com> 4933Date: Thu Nov 19 16:38:35 2015 -0700 4934 4935 move ffi_prep_cif_core to ffi_common.h 4936 4937commit 1cea273758ad862bdc2862af864e4ef5b42f31ae 4938Merge: 48bfae1 6aafb56 4939Author: Tom Tromey <tom@tromey.com> 4940Date: Tue May 3 08:23:51 2016 -0600 4941 4942 Merge pull request #231 from berkerpeksag/simplfy-oserror 4943 4944 Simplify error handling in mkdir_p() 4945 4946commit 48bfae1f37551b7fc894e6a0ea3b98968d2b5c9f 4947Merge: 6d87110 d76975d 4948Author: Richard Henderson <rth@twiddle.net> 4949Date: Mon May 2 20:58:57 2016 -1000 4950 4951 Merge pull request #236 from andreas-schwab/master 4952 4953 Define FFI_SIZEOF_JAVA_RAW for aarch64 ILP32 4954 4955commit 6d8711057bc3a3befa37eed6765231ea5d244078 4956Merge: 9de24a3 e5843a3 4957Author: Richard Henderson <rth@twiddle.net> 4958Date: Sun May 1 11:02:40 2016 -1000 4959 4960 Merge pull request #241 from rth7680/fix-win64 4961 4962 Fix win64 abi calling from unix64 4963 4964commit e169ba2b83c780058fe626856cfdb5903a85cb97 4965Author: Kylie McClain <somasis@exherbo.org> 4966Date: Fri Apr 29 21:04:07 2016 -0400 4967 4968 Fix usage on musl libc 4969 4970 A gcc compiled on musl does not define __gnu_linux__, it defines __linux__. 4971 Only on glibc does __gnu_linux__ get defined, but both define __linux__, so 4972 we should check for that instead. 4973 4974 With this patch, libffi works perfectly, and passes its testsuite entirely 4975 on musl libc systems. 4976 4977commit e5843a3a09976f9d8fa77671e9d6c188c890199d 4978Author: Richard Henderson <rth@twiddle.net> 4979Date: Fri Apr 15 16:10:08 2016 -0700 4980 4981 x86: Fix calling convention for ffi_closure_win64_inner 4982 4983 Also enable testing for the cross-abi calls. 4984 4985commit d06751979bf0e4c9caabf0bca531d74de8cb9152 4986Author: Richard Henderson <rth@twiddle.net> 4987Date: Mon Mar 7 12:14:22 2016 -0500 4988 4989 x86: Copy fix for clang .org from unix64.S 4990 4991 Clang doesn't understand .org with symbolic operands. 4992 4993commit bfab429ee479723cc65831a7e4327e2866036420 4994Author: Jakub Kaszycki <kaszycki@mail.com> 4995Date: Fri Apr 1 21:42:41 2016 +0200 4996 4997 Update README with a new port 4998 4999 This is in fact not a NEW port. Apple Mac devices are generally x86-64 now, x86 rarely. If GCC exists for this CPU, it means that libffi has been built too. 5000 5001commit c88455178151bea14b8561ab6830724c31af255e 5002Author: Thomas Schwinge <thomas@codesourcery.com> 5003Date: Thu Feb 25 20:10:18 2016 +0100 5004 5005 Simplify/fix libffi_feature_test 5006 5007 As detailed in 5008 <http://news.gmane.org/find-root.php?message_id=%3C87wppswqqt.fsf%40kepler.schwinge.homeip.net%3E>, 5009 the original code (originally added in commit 5010 f1301a54bb80e6ae23f7687c68f36875dae69134 as part of pull request #145) does not 5011 work (at least not for me, in the GCC environment). 5012 5013commit d76975dbd2854beca7acbca946c4cbccf9bf7cee 5014Author: Andreas Schwab <schwab@suse.de> 5015Date: Wed Mar 16 12:23:07 2016 +0100 5016 5017 Define FFI_SIZEOF_JAVA_RAW for aarch64 ILP32 5018 5019 Like x32, aarch64 ILP32 needs to define FFI_SIZEOF_JAVA_RAW. This fixes 5020 the java interpreter. 5021 5022commit 9de24a3ff31c7446de29c1adcd9276fd7ba93897 5023Merge: ee71806 38a4d72 5024Author: Anthony Green <green@moxielogic.com> 5025Date: Mon Mar 14 13:54:53 2016 -0400 5026 5027 Merge pull request #212 from tromey/struct-layout 5028 5029 add ffi_get_struct_offsets 5030 5031commit 2627fc98e86e906fd7c9bc16bf345b91ee26d2ba 5032Author: Berker Peksag <berker.peksag@gmail.com> 5033Date: Mon Mar 7 18:43:03 2016 +0200 5034 5035 Add a note about the --disable-docs switch 5036 5037 Closes #204 5038 5039commit 6aafb5654d6741927276efff1af72a5b3614da39 5040Author: Berker Peksag <berker.peksag@gmail.com> 5041Date: Sat Mar 5 08:30:31 2016 +0200 5042 5043 Simplify error handling in mkdir_p() 5044 5045commit ee718066f763b65d1888f9cc7155d3a1880f80e9 5046Merge: f2f234a e59fb55 5047Author: Anthony Green <green@moxielogic.com> 5048Date: Mon Feb 22 20:15:40 2016 -0500 5049 5050 Merge pull request #227 from tromey/fix-documentation-build 5051 5052 Fix documentation build 5053 5054commit 38a4d72c95936d27cba1ac6e84e3094ffdfaa77c 5055Author: Tom Tromey <tom@tromey.com> 5056Date: Tue Nov 17 21:18:20 2015 -0700 5057 5058 add ffi_get_struct_offsets 5059 5060commit e59fb55e09fb8aa846c820a802a03fed408d05a6 5061Author: Tom Tromey <tom@tromey.com> 5062Date: Mon Feb 22 15:51:27 2016 -0700 5063 5064 remove and ignore texinfo.tex 5065 5066 This file is provided by Automake 5067 5068commit 6dd5fd5a643c50aff3303ba2add3b6cc7588df78 5069Author: Tom Tromey <tom@tromey.com> 5070Date: Mon Feb 22 15:34:39 2016 -0700 5071 5072 fix documentation building 5073 5074 An earlier patch added --disable-docs, but went too far, making it 5075 impossible to build the docs. 5076 5077 It turns out that Automake seemingly has a bug preventing the 5078 conditional build of an info file. So, this patch works around the 5079 bug by putting the info_TEXINFOS rule into a new doc/Makefile.am. 5080 5081 Tested by building with and without --disable-docs and looking for the 5082 existence of doc/libffi.info. 5083 5084commit f2f234aef203a5e836b83cb772f9473f7ea0d5ce 5085Merge: 49b95ed fa7a257 5086Author: Anthony Green <green@moxielogic.com> 5087Date: Sat Feb 20 06:50:29 2016 -0500 5088 5089 Merge pull request #190 from havardgraff/master 5090 5091 Add configure-option to disable building docs 5092 5093commit 49b95edafd712ce27e08b1bb4be2987f14c54ca3 5094Merge: 415723b 43fc5bc 5095Author: Anthony Green <green@moxielogic.com> 5096Date: Sat Feb 20 06:49:40 2016 -0500 5097 5098 Merge pull request #194 from amodra/master 5099 5100 Correct powerpc sysv stack argument accounting 5101 5102commit 415723b40ba76f4a9df9b709db1cde0c65162072 5103Merge: 7c27fcb 1f6b5a9 5104Author: Anthony Green <green@moxielogic.com> 5105Date: Sat Feb 20 06:49:19 2016 -0500 5106 5107 Merge pull request #104 from joshtriplett/efi64 5108 5109 Support the Windows/EFI calling convention on all x86-64 targets 5110 5111commit 7c27fcbe09534d261b4098467a3ce258daec2807 5112Merge: 69143d0 e061243 5113Author: Anthony Green <green@moxielogic.com> 5114Date: Sat Feb 20 06:45:00 2016 -0500 5115 5116 Merge pull request #199 from Pan7/master 5117 5118 Fix configuring msvc compiler 5119 5120commit 69143d06c6276d09790a4e34f2eb6d37528c08c6 5121Merge: 755f1e6 505346e 5122Author: Anthony Green <green@moxielogic.com> 5123Date: Sat Feb 20 06:44:28 2016 -0500 5124 5125 Merge pull request #197 from foxsen/mips_go_closure 5126 5127 Mips go closure support 5128 5129commit 755f1e642d97892cb54358d65e06b60d1d6b72a4 5130Merge: 183ee6a 4cdedc2 5131Author: Anthony Green <green@moxielogic.com> 5132Date: Sat Feb 20 06:43:48 2016 -0500 5133 5134 Merge pull request #193 from rth7680/fix-70 5135 5136 Test case from issue #70 5137 5138commit 183ee6a6729db8f3ee0b1532d7bd54a6ef305443 5139Merge: 0bb71b5 877ea9b 5140Author: Anthony Green <green@moxielogic.com> 5141Date: Sat Feb 20 06:43:28 2016 -0500 5142 5143 Merge pull request #206 from edolnx/master 5144 5145 Add configure flag to disable multi-os-directory support 5146 5147commit 0bb71b52f5a60643ad55f801f1c652855b0e5cc5 5148Merge: 296a283 8bec5ca 5149Author: Anthony Green <green@moxielogic.com> 5150Date: Sat Feb 20 06:41:10 2016 -0500 5151 5152 Merge pull request #211 from tromey/move-prep-types-out-of-ffi.h 5153 5154 ffi_prep_types is internal-only 5155 5156commit 296a283a46057a6a643f1f64534324af34b7ed19 5157Merge: e7c713a 4805bf9 5158Author: Anthony Green <green@moxielogic.com> 5159Date: Sat Feb 20 06:40:21 2016 -0500 5160 5161 Merge pull request #213 from tromey/remove-FFI_TYPE 5162 5163 remove FFI_TYPE typedef 5164 5165commit e7c713a0b64c425b51f3d9437a8db7ca497e6c31 5166Merge: 79666ab f45e9e3 5167Author: Anthony Green <green@moxielogic.com> 5168Date: Sat Feb 20 06:40:03 2016 -0500 5169 5170 Merge pull request #214 from tromey/document-enum-support 5171 5172 document (lack of) enum handling in libffi 5173 5174commit 79666abca87ac67d2d05b477a3ba71ec18b8af0c 5175Merge: 20c7c31 89b7605 5176Author: Anthony Green <green@moxielogic.com> 5177Date: Sat Feb 20 06:38:40 2016 -0500 5178 5179 Merge pull request #205 from filbranden/tool_opts 5180 5181 Fix dejagnu test support for --tool_opts 5182 5183commit 20c7c31ca04350670012b28756d4ebc9e7b67a68 5184Merge: 6ba2a49 9c14cbf 5185Author: Anthony Green <green@moxielogic.com> 5186Date: Sat Feb 20 06:38:01 2016 -0500 5187 5188 Merge pull request #225 from ehsan/safeseh 5189 5190 Don't clobber safeseh for msvcc.sh -clang-cl in 32-bit mode 5191 5192commit 89b760503ed017233c98531908dfe8d8affab65e 5193Author: Filipe Brandenburger <filbranden@google.com> 5194Date: Mon Oct 19 15:33:23 2015 -0700 5195 5196 Fix dejagnu test support for --tool_opts 5197 5198 Right now it concatenates it with the existing options and then appends 5199 it to that list, fix it to simply append it as is, same as it is done 5200 with the other variables. 5201 5202 Tested by running the following command which includes gcc options: 5203 $ make check RUNTESTFLAGS="--tool_opts '-Werror'" 5204 5205 Without this patch, all the tests fail. With it, the test succeed. 5206 Inspecting the logs shows that -Werror was indeed used when compiling 5207 the test sources. 5208 5209commit 9c14cbfc7ff49c2ceb9b65c548ddaced607f0785 5210Author: Ehsan Akhgari <ehsan@mozilla.com> 5211Date: Thu Jan 28 16:57:18 2016 -0500 5212 5213 Don't clobber safeseh for msvcc.sh -clang-cl in 32-bit mode 5214 5215 The commit fb25cd0 went a bit too far and removed safeseh 5216 when -clang-cl was passed, but that's only needed in x86-64 5217 which is already handled by the -m64 flag. 5218 5219 I discovered this when building Firefox x86 with clang-cl. 5220 5221commit 6ba2a49e226b859ddde9a37c34973cf85380c525 5222Merge: 8005600 6a3a6ac 5223Author: Anthony Green <green@moxielogic.com> 5224Date: Sat Jan 2 20:03:41 2016 -0500 5225 5226 Merge pull request #222 from freakboy3742/t181 5227 5228 Fixed #181 -- Corrected problems with ARMv7 build under iOS. 5229 5230commit 8005600a920f43d89ace7ef3598057392da726e1 5231Merge: 70594f7 5e2b18a 5232Author: Anthony Green <green@moxielogic.com> 5233Date: Sat Jan 2 16:44:29 2016 -0500 5234 5235 Merge pull request #224 from plicease/travis 5236 5237 update apt-get in travis 5238 5239commit 5e2b18a65d3f366b2fb02ee27321095c4b5f17ac 5240Author: Graham Ollis <plicease@cpan.org> 5241Date: Sat Jan 2 07:56:05 2016 -0500 5242 5243 update apt-get in travis 5244 5245commit 6a3a6acd9fdbdac6f9f9294732b9627895b77715 5246Merge: bc4fc07 70594f7 5247Author: Russell Keith-Magee <russell@keith-magee.com> 5248Date: Mon Dec 21 00:37:37 2015 +0800 5249 5250 Merge branch 'master' into t181 5251 5252commit bc4fc07aa58df6d7fa90b57d305d58eef96a0416 5253Author: Russell Keith-Magee <russell@keith-magee.com> 5254Date: Mon Dec 21 00:37:06 2015 +0800 5255 5256 Fixed #181 -- Corrected problems with ARMv7 build under iOS. 5257 5258 Based on a patch from @fealebenpae, with input from @SolaWing and @rth7680, 5259 and testing from @superdump. 5260 5261commit 70594f7f8d7410be47ba9a80a566175d937ab626 5262Merge: 88deacd 6affad7 5263Author: Anthony Green <green@moxielogic.com> 5264Date: Fri Dec 18 10:24:38 2015 -0500 5265 5266 Merge pull request #221 from tromey/document-closure-ffi_arg 5267 5268 Document closure ffi arg 5269 5270commit 6affad79111c45982fd29637a46bc756abb128a3 5271Author: Tom Tromey <tom@tromey.com> 5272Date: Thu Dec 17 16:58:10 2015 -0700 5273 5274 correctly document closure return promotion 5275 5276commit 8a7cdeb0412f9ef8bbe0a7833d662dbec40b472f 5277Author: Tom Tromey <tom@tromey.com> 5278Date: Thu Dec 17 16:51:32 2015 -0700 5279 5280 fix formatting of ffi_prep_closure_loc arguments 5281 5282commit f45e9e35700d7c547ba33b02c4186e746dea204a 5283Author: Tom Tromey <tom@tromey.com> 5284Date: Thu Nov 19 15:21:14 2015 -0700 5285 5286 document (lack of) enum handling in libffi 5287 5288commit 4805bf9ccdc176687526e9e7fca0db763cef42fb 5289Author: Tom Tromey <tom@tromey.com> 5290Date: Thu Nov 19 14:17:42 2015 -0700 5291 5292 remove FFI_TYPE typedef 5293 5294commit 8bec5ca26a9977e6c05d6bfa1bbbc7f6f99af4e7 5295Author: Tom Tromey <tom@tromey.com> 5296Date: Wed Nov 11 21:34:43 2015 -0700 5297 5298 ffi_prep_types is internal-only 5299 5300commit 88deacdd4220b66805b6ad10abd61fa3640afb67 5301Author: Anthony Green <green@moxielogic.com> 5302Date: Sun Nov 15 08:39:17 2015 -0500 5303 5304 speling fix 5305 5306commit 5973dca595f8595a40709f645e74b06990975db3 5307Merge: 2a988c4 473bcbc 5308Author: Anthony Green <green@moxielogic.com> 5309Date: Sun Nov 15 08:36:48 2015 -0500 5310 5311 Merge pull request #209 from tromey/documentation-updates 5312 5313 documentation fixes 5314 5315commit 2a988c4455d3926c59997b68f7510be63e10c841 5316Merge: e9de7e3 ff33ddd 5317Author: Anthony Green <green@moxielogic.com> 5318Date: Sun Nov 15 08:33:46 2015 -0500 5319 5320 Merge pull request #207 from tromey/deprecate-ffi-prep-closure 5321 5322 mark ffi_prep_closure as deprecated 5323 5324commit 473bcbcad32e9e320a7a5c111cefd0d8ad570245 5325Author: Tom Tromey <tom@tromey.com> 5326Date: Sat Nov 7 12:01:06 2015 -0700 5327 5328 documentation fixes 5329 5330 Fixes #78. Documentation for #33 and #35, but no fix. 5331 5332commit ff33ddd1abe72b6d02d2769c0379b06eb7dbb931 5333Author: Tom Tromey <tom@tromey.com> 5334Date: Sat Nov 7 11:45:04 2015 -0700 5335 5336 mark ffi_prep_closure as deprecated 5337 5338commit 877ea9bf9ac2c98cb858c12f5a6aeeec13cf978f 5339Author: Carl Perry <caperry@edolnx.net> 5340Date: Thu Oct 29 22:50:42 2015 -0500 5341 5342 Add configure flag to disable multi-os-directory support 5343 5344 In some environments, installing the library to GCC's 5345 multi-os-directory is not perferable. This patch adds a switch 5346 to configure "--disable-multi-os-directory" which will disable 5347 that check, typically falling back to ${libdir} unless 5348 cross-compiling. 5349 5350 Original patch was written by Stewart Brodie, and was found at 5351 https://sourceware.org/ml/libffi-discuss/2013/msg00144.html 5352 5353 I've just updated it to work with the current version. 5354 5355commit 4cdedc279f96aefda24277184594c0ddd56d3402 5356Author: Richard Henderson <rth@twiddle.net> 5357Date: Sat Jul 25 14:29:15 2015 -0700 5358 5359 Tidy call.exp test collection 5360 5361 Commit c952a92e20aa6013d8202d0b3fa1d87838c83054 moved all of 5362 the complex tests to libffi.complex, but failed to remove the 5363 anti-globbing from libffi.call. 5364 5365commit 609db2fbe41a56c1a8cd5653d248f08b88ea803f 5366Author: Richard Henderson <rth@twiddle.net> 5367Date: Sat Jul 25 12:42:04 2015 -0700 5368 5369 Test case from Issue #70 5370 5371commit e9de7e35f2339598b16cbb375f9992643ed81209 5372Merge: d19b6cc 0ebde2d 5373Author: Anthony Green <green@moxielogic.com> 5374Date: Sun Oct 11 10:54:50 2015 -0400 5375 5376 Merge pull request #202 from tromey/note-prep-cif-var-usage 5377 5378 document that there must be ntotalargs types 5379 5380commit d19b6cc78e956e7ffd48b39fd7c441c22e633ce2 5381Merge: 17ffc36 36f3fb9 5382Author: Anthony Green <green@moxielogic.com> 5383Date: Sun Oct 11 10:54:22 2015 -0400 5384 5385 Merge pull request #201 from tromey/fix-texinfo-buglet 5386 5387 Add missing "@" to @var{} 5388 5389commit 0ebde2d24a3deb7b0cdf5cb1e625b55af2834fde 5390Author: Tom Tromey <tom@tromey.com> 5391Date: Tue Oct 6 11:42:43 2015 -0600 5392 5393 document that there must be ntotalargs types 5394 5395commit 36f3fb91412a6f10bd2c6dde01f4d7afa1f2f2c0 5396Author: Tom Tromey <tom@tromey.com> 5397Date: Mon Oct 5 10:20:05 2015 -0600 5398 5399 Add missing "@" to @var{} 5400 5401commit e061243958d63080956887e121d275533570f7cc 5402Author: Pan7 <panter@gmx.net> 5403Date: Mon Sep 14 08:25:09 2015 +0200 5404 5405 Fix configuring msvc compiler 5406 5407commit 505346e18fe20eee7eb69a23a48f6951858c5267 5408Author: Zhang Fuxin <zhangfx@lemote.com> 5409Date: Wed Aug 26 09:57:10 2015 +0800 5410 5411 fix type error in unwind code 5412 5413commit 5953c66bd7510b048b332b4e7450f3fb8d687f8b 5414Author: foxsen <2503799872@qq.com> 5415Date: Thu Aug 20 20:28:13 2015 +0800 5416 5417 add unwind infor for *go_closure; 5418 reorder the labels to make thing more clear 5419 5420commit f0ecd5d40397d4616ba0bf3e2521da2663b5bd97 5421Author: Zhang Fuxin <zhangfx@lemote.com> 5422Date: Tue Aug 11 12:47:36 2015 +0800 5423 5424 fix O32 stack unwind code 5425 add missing 1: label 5426 5427commit 6f0201c803a9a1f0f9b6fd226a42fb8daa223928 5428Author: foxsen <2503799872@qq.com> 5429Date: Tue Aug 4 18:25:34 2015 +0800 5430 5431 various fixes for go closure support. Now all n64 tests passed. 5432 5433commit 697dd4e8a03625a9b1448aa696978d8dcc57d438 5434Author: foxsen <2503799872@qq.com> 5435Date: Tue Aug 4 12:53:33 2015 +0800 5436 5437 add support for go closure support on mips 5438 5439commit 43fc5bca48715a522b34c1124589575063362a90 5440Author: Alan Modra <amodra@gmail.com> 5441Date: Mon Aug 3 23:34:05 2015 +0930 5442 5443 Correct powerpc sysv stack argument accounting 5444 5445 ppc32 starts using the stack for integer arg passing when we run out 5446 of integer arg passing registers. Similarly, we start using the stack 5447 for floating point args when we run out of floating point registers. 5448 The decision on where an integer arg goes does not depend on number of 5449 floating point args, nor does the decision on where a floating point 5450 arg goes depend on number of integer args. Alignment of stack args 5451 also simply depends on number of stack args. 5452 5453 This patch untangles the horrible mess we had, with intarg_count being 5454 wrongly used to count both integer args and stack words. 5455 5456 * src/powerpc/ffi_sysv.c (ffi_prep_cif_sysv_core): Count fprs, 5457 gprs, and stack words separately. 5458 (ffi_prep_args_SYSV): Similarly. 5459 5460commit 1f6b5a91f417ac77d2fe9b0b3eb66293db132e2e 5461Author: Josh Triplett <josh@joshtriplett.org> 5462Date: Sun Jul 26 16:27:34 2015 -0700 5463 5464 Support the WIN64/EFI64 calling convention on all X86_64 platforms 5465 5466 Add a new calling convention FFI_EFI64, alias FFI_WIN64, on all X86_64 5467 platforms. This allows libffi compiled on a 64-bit x86 platform to call 5468 EFI functions. 5469 5470 Compile in ffiw64.c and win64.S on all X86_64 platforms. When compiled 5471 for a platform other than X86_WIN64, ffiw64.c suffixes its functions 5472 with _efi64, to avoid conflict with the platform's actual 5473 implementations of those functions. 5474 5475commit 6de51f3e04e496901ea1bd8f9b44f75c9f01b599 5476Author: Josh Triplett <josh@joshtriplett.org> 5477Date: Sun Jul 26 16:23:55 2015 -0700 5478 5479 src/x86/ffiw64.c: Don't assign a "char *" to an "unsigned char *" 5480 5481 Declare a local variable to match the type of the struct field assigned 5482 to it, rather than adding unsigned to the type. Fixes a -Wpointer-sign 5483 warning. 5484 5485commit eaa59755fcbb692a8cb763c7f9f24a350aadbd30 5486Author: Josh Triplett <josh@joshtriplett.org> 5487Date: Sun Jul 26 17:17:16 2015 -0700 5488 5489 src/x86/win64.S: Handle name mangling and PIC 5490 5491 Move the macros from unix64.S into a shared header asmnames.h and use 5492 them in win64.S too. 5493 5494commit c8e82d9fbffd3eeaef0266a1aac64d7bd13ee9c3 5495Author: Josh Triplett <josh@joshtriplett.org> 5496Date: Sun Jul 26 16:18:57 2015 -0700 5497 5498 src/x86/win64.S: Support compiling on non-WIN64 platforms 5499 5500 Non-WIN64 versions of the GNU assembler don't support the .seh_* 5501 directives for structured exception handling, so wrap them in a macro 5502 that compiles to nothing. 5503 5504 Handle the registers used for the non-Windows x86-64 calling convention 5505 when on a non-Windows platform. Distinguish between cases that should 5506 refer to the native argument registers (defined as arg0, arg1, arg2, and 5507 arg3) and cases that should always refer to the Windows argument 5508 registers. 5509 5510commit fa7a257113e2cfc963a0be9dca5d7b4c73999dcc 5511Author: Havard Graff <havard.graff@gmail.com> 5512Date: Tue May 12 10:45:13 2015 +0200 5513 5514 Add configure-option to disable building docs 5515 5516commit e3d2812ce43940aacae5bab2d0e965278cb1e7ea 5517Author: Russell Keith-Magee <russell@keith-magee.com> 5518Date: Sat Apr 25 19:03:03 2015 +0800 5519 5520 Modified arm/sysv.S to remove directives not allowed by clang. 5521 5522commit 17ffc3655a531c116e9eb9cc933e50bb1e5c47f8 5523Merge: 173757c a5b3eaa 5524Author: Anthony Green <green@moxielogic.com> 5525Date: Sun Mar 29 21:38:26 2015 -0400 5526 5527 Merge pull request #185 from freakboy3742/t184 5528 5529 Fixed #184 -- Corrected source file references in Darwin source generator tool. 5530 5531commit 173757ce973a2f12ad36ac6cda593581b225f9e3 5532Merge: f5ec627 dd9e4c8 5533Author: Anthony Green <green@moxielogic.com> 5534Date: Sun Mar 29 21:38:12 2015 -0400 5535 5536 Merge pull request #186 from freakboy3742/gitignore 5537 5538 Added generated source file to .gitignore. 5539 5540commit dd9e4c8d46b65104a24a9858accd0936ca44b98f 5541Author: Russell Keith-Magee <russell@keith-magee.com> 5542Date: Fri Mar 13 08:03:13 2015 +0800 5543 5544 Added generated source file to .gitignore. 5545 5546commit a5b3eaa279a2e54721d44eeefdfd1962cf63caaf 5547Author: Russell Keith-Magee <russell@keith-magee.com> 5548Date: Fri Mar 13 07:59:11 2015 +0800 5549 5550 Fixed #184 -- Corrected file references in Darwin source generator tool. 5551 5552commit f5ec6279a4698a8752093247a500cf76096ff157 5553Merge: 06747d3 95df379 5554Author: Anthony Green <green@moxielogic.com> 5555Date: Wed Mar 4 13:58:04 2015 -0500 5556 5557 Merge pull request #178 from rth7680/aa64-ilp32 5558 5559 aarch64: Handle ILP32 ABI 5560 5561commit 95df3791935d934d92b0c852af1e655285157b70 5562Author: Andrew Pinski <apinski@cavium.com> 5563Date: Wed Feb 11 08:31:48 2015 -0800 5564 5565 aarch64: Handle ILP32 ABI 5566 5567commit 06747d318761884e70dfa433a9548219fd779d7d 5568Merge: db1b34b 6c53577 5569Author: Anthony Green <green@moxielogic.com> 5570Date: Thu Jan 29 07:22:23 2015 -0500 5571 5572 Merge pull request #176 from 0-wiz-0/master 5573 5574 Handle NetBSD/powerpc the same as FreeBSD and OpenBSD. 5575 5576commit 6c5357757f188577fffcd2890ef7a0f53e77de20 5577Author: Thomas Klausner <wiz@NetBSD.org> 5578Date: Thu Jan 29 12:32:28 2015 +0100 5579 5580 Handle NetBSD/powerpc the same as FreeBSD and OpenBSD. 5581 5582 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 5583 5584commit db1b34b7e1f5e473d17557e454a29933dfecd1af 5585Author: Anthony Green <green@moxielogic.com> 5586Date: Wed Jan 28 18:08:06 2015 -0500 5587 5588 Remove incomplete sentence 5589 5590commit 56036a6b58acb9e854719e315a0738f16e354c35 5591Merge: 035715b 2104b2a 5592Author: Anthony Green <green@moxielogic.com> 5593Date: Wed Jan 28 18:03:57 2015 -0500 5594 5595 Merge pull request #175 from rth7680/sparc 5596 5597 sparc: Re-introduce hand-written unwind info 5598 5599commit 035715b3330421806df36ec4ac7ccecc86458540 5600Merge: 31a6185 b0e9796 5601Author: Anthony Green <green@moxielogic.com> 5602Date: Wed Jan 28 18:03:06 2015 -0500 5603 5604 Merge pull request #174 from rth7680/fbsd 5605 5606 configure: Run HAVE_AS_X86_PCREL for all X86 targets 5607 5608commit 2104b2a4fc923b8d82647c3fbbd8a8ca20bb24c8 5609Author: Richard Henderson <rth@twiddle.net> 5610Date: Mon Jan 26 12:43:57 2015 -0800 5611 5612 sparc: Re-introduce hand-written unwind info 5613 5614 Fixes the build with the Solaris assembler. 5615 5616commit b0e9796344562ea8e1ef28e9b04db6be26ca29fb 5617Author: Richard Henderson <rth@twiddle.net> 5618Date: Tue Jan 27 22:10:12 2015 -0800 5619 5620 configure: Run HAVE_AS_X86_PCREL for all X86 targets 5621 5622commit 31a618530737cc8f1666845f8e65a3c097f6d408 5623Merge: d6675c1 5363663 5624Author: Anthony Green <green@moxielogic.com> 5625Date: Wed Jan 21 05:55:47 2015 -0500 5626 5627 Merge pull request #170 from fealebenpae/aarch64-trampoline-table 5628 5629 Support closures on ARM64 iOS 5630 5631commit d6675c16cc2b5a0e32c4538e5a4f555c91e6bb56 5632Merge: a25a46a 3ac1610 5633Author: Anthony Green <green@moxielogic.com> 5634Date: Wed Jan 21 05:53:21 2015 -0500 5635 5636 Merge pull request #172 from rth7680/fixes 5637 5638 x86: Fix cygwin32 build 5639 5640commit 3ac1610aa33c887ea9b14935208943925714a33e 5641Author: Richard Henderson <rth@twiddle.net> 5642Date: Mon Jan 19 20:48:40 2015 +0100 5643 5644 x86: Fix cygwin32 build 5645 5646 The section syntax is just that little bit different. 5647 5648commit a25a46a7fe4f7ae27fbd6e08a2540678899914e9 5649Merge: 5cd411a 1ad0b17 5650Author: Anthony Green <green@moxielogic.com> 5651Date: Fri Jan 16 17:32:07 2015 -0500 5652 5653 Merge pull request #171 from rth7680/fixes 5654 5655 Fixes from mainline gcc 5656 5657commit 1ad0b17177526be86736e245fbcc21eadaf7cb36 5658Author: Richard Henderson <rth@twiddle.net> 5659Date: Fri Jan 16 13:30:05 2015 -0800 5660 5661 sparc: Also mark the return address in unwind info 5662 5663commit d68c8aed19d459a9fef0847f316dd9473ef263ad 5664Author: Richard Henderson <rth@twiddle.net> 5665Date: Fri Jan 16 11:40:33 2015 -0800 5666 5667 sparc: Solaris fixes, part 2 5668 5669 /bin/as seems to only understand single-digit labels 5670 /bin/as knows nothing about .rept/.endr 5671 5672commit b740ab7cc955fc2888325e6387207f34400a6c45 5673Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 5674Date: Fri Jan 16 11:32:23 2015 -0800 5675 5676 sparc: Solaris fixes 5677 5678 * /bin/as requires .type fn,#function instead of @function. 5679 * /bin/as doesn't support .macro/.endm. I'm using preprocessor macros 5680 instead to implement E in src/sparc/v[89].S. 5681 5682commit f1560b7bbeb57042a32dfde487c3d21bd9ef6a51 5683Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 5684Date: Fri Jan 16 11:31:37 2015 -0800 5685 5686 x86: Solaris fixes 5687 5688 * Solaris/x86 /bin/as doesn't support .org, so I've just disabled the 5689 uses in src/x86/{sysv, unix64}.S, as on Darwin. 5690 * Solaris/x86 needs to use EH_FRAME_FLAGS so manually and compiler 5691 generated .eh_frame sections match, otherwise libffi.so fails to link: 5692 * Solaris/x86 /bin/as has different COMDAT syntax; I've disabled it for 5693 the moment. 5694 5695commit 536366349ced9d57c873d64e219ba30992a83c06 5696Author: Yavor Georgiev <fealebenpae@gmail.com> 5697Date: Fri Jan 16 15:19:38 2015 +0200 5698 5699 aarch64: implement the trampoline table workaround for ffi closures on Apple systems 5700 5701 This is a direct copy/paste port of the ARM code, with changes because of Aarch64 pc-relative addressing restrictions. 5702 5703commit 05e65b4e2064f24669e8cc1c1cece1cbb0577548 5704Author: Yavor Georgiev <fealebenpae@gmail.com> 5705Date: Fri Jan 16 15:18:04 2015 +0200 5706 5707 aarch64: rewrite range syntax into list to appease Clang 5708 5709 Clang's assembler in Xcode 6 appears to choke when the operand of st4 is a range, but is happy with a list. 5710 5711commit 5cd411ad5d62b1dadfd02f75f99121801c8be4c9 5712Author: Anthony Green <green@moxielogic.com> 5713Date: Tue Jan 13 15:44:03 2015 -0500 5714 5715 New test case for old aarch64 bug 5716 5717commit e46842b4149e19106a9eb6066ef022d8b6a7ad5d 5718Author: Richard Henderson <rth@twiddle.net> 5719Date: Tue Jan 13 07:23:48 2015 -0800 5720 5721 Remove extra brackets in configure.host 5722 5723 This table is no longer in configure.ac, needing 5724 protection from m4. 5725 5726commit f27c4e46734fa1342236b16161e6006a9d2557e9 5727Author: Richard Henderson <rth@twiddle.net> 5728Date: Tue Jan 13 07:22:07 2015 -0800 5729 5730 x86: Fix thinko in ffi_raw_call 5731 5732 Missed structure initialization for raw path. 5733 Apparently there are no tests for this outside gcc. 5734 5735commit c82cc159426d8d4402375fa1ae3f045b9cf82e16 5736Merge: 1c61e73 e1a5ddb 5737Author: Anthony Green <green@moxielogic.com> 5738Date: Sat Jan 10 09:25:26 2015 -0500 5739 5740 Merge pull request #166 from chevah/master 5741 5742 Fix expr error in Solaris 10 when using gcc. 5743 5744commit 1c61e73ad8e920d6bff337fac02de71f3a66bc38 5745Merge: dd0b59a 3fa5d70 5746Author: Anthony Green <green@moxielogic.com> 5747Date: Sat Jan 10 09:23:30 2015 -0500 5748 5749 Merge pull request #165 from rth7680/pcc 5750 5751 Support PCC as producer and consumer 5752 5753commit dd0b59a5cf63e0f9602c76fc89a4cb62593ff6f1 5754Merge: 9131039 b7f6d7a 5755Author: Anthony Green <green@moxielogic.com> 5756Date: Sat Jan 10 09:22:55 2015 -0500 5757 5758 Merge pull request #164 from rth7680/darwin 5759 5760 Fix build on darwin 5761 5762commit 9131039c93b6ecd1c3946905a3b6dafb5dc4ee40 5763Merge: 4ca2262 7282d32 5764Author: Anthony Green <green@moxielogic.com> 5765Date: Sat Jan 10 09:22:42 2015 -0500 5766 5767 Merge pull request #160 from nobu/msvc-no-complex 5768 5769 x86: MSVC does not support Complex type 5770 5771commit 4ca2262ad61189276b2d95aab652a23c8db2a5b9 5772Merge: 58bf7d6 5f8881a 5773Author: Anthony Green <green@moxielogic.com> 5774Date: Sat Jan 10 09:21:37 2015 -0500 5775 5776 Merge pull request #159 from nobu/fix-void-arith 5777 5778 x86: Fix void pointer arithmetic 5779 5780commit e1a5ddb3067f83563cb8a6b8ac4d0f58d4699262 5781Author: Mișu Moldovan <dumol@chevah.com> 5782Date: Wed Jan 7 17:51:07 2015 +0200 5783 5784 Fix expr error in Solaris 10 when using gcc. 5785 5786commit 3fa5d70cbb18b39a5e44f1c7984dedf73446bf6c 5787Author: Richard Henderson <rth@twiddle.net> 5788Date: Mon Jan 5 13:03:06 2015 -0800 5789 5790 x86: Avoid fastcall when building with pcc 5791 5792 Apparently, PCC doesn't support the fastcall calling convention. 5793 Nor does it issue a warning or error for the attribute that it 5794 does not understand. 5795 5796commit a03d2310ed53bb8b3a4610af04015ef9df6ea36c 5797Author: Richard Henderson <rth@twiddle.net> 5798Date: Wed Dec 24 16:03:34 2014 -0800 5799 5800 x86: Load structure return address into eax 5801 5802commit b7f6d7aa9b0d7b19eec28a945251e09a4b65b275 5803Author: Richard Henderson <rth@twiddle.net> 5804Date: Wed Dec 10 13:37:36 2014 -0800 5805 5806 x86: Reinstate hand-written unwind info for sysv.S 5807 5808commit 6cedf81ca7cbad01b3fcc2c4475d860095bfb062 5809Author: Richard Henderson <rth@twiddle.net> 5810Date: Wed Dec 10 09:43:58 2014 -0800 5811 5812 x86: Expand FFI_GO_CLOSURE 5813 5814 If we're going to have to hand-write unwind info for darwin, 5815 these macros make the job harder. 5816 5817commit ae842a515b6e2a486d73ce8f9dbe5fee6c3fd1ff 5818Author: Iain Sandoe <iain@codesourcery.com> 5819Date: Tue Nov 25 11:43:40 2014 +0100 5820 5821 x86: More Darwin unwind fixups 5822 5823 EHFrame{N} IIRC is a special cue to ld64 that it should treat the unwind 5824 in the object as "special/legacy" .. [these days everything is .cfi_xxxx 5825 (except, cctools-as, as you noted)] .. without that much confusion arises 5826 with ld64's atom-isation of the eh_frame section. 5827 5828 xxxx.eh labels are not needed for darwin ld64 >= 85.2.1 (i.e. darwin9, 5829 xcode 3.1.4) to all intents and purposes, that's all that matters now, 5830 since I think that anyone trying to build on 10.4/darwin8/xcode2.5 would 5831 have to use a later ld64 (from odcctools) for other reasons. 5832 5833commit 8fa3c9f24b5ef6da2f24a9f071984d033dd9e00c 5834Author: Richard Henderson <rth@twiddle.net> 5835Date: Tue Nov 25 09:27:54 2014 +0100 5836 5837 x86: Reinstate hand-written unwind info for unix64.S 5838 5839 One more try to get default Darwin to work. 5840 5841commit 5f35e0ffcc05a72ce0aacf228dc06d1262754660 5842Author: Richard Henderson <rth@twiddle.net> 5843Date: Mon Nov 24 16:26:50 2014 +0100 5844 5845 x86: Avoid using gas local labels 5846 5847 Which are unsupported by Darwin cctools as. 5848 Thankfully this doesn't uglify the source too much. 5849 5850commit ed1ca2777c35fe2f2751de255df3e16f17bdbd8d 5851Author: Richard Henderson <rth@twiddle.net> 5852Date: Mon Nov 24 13:02:03 2014 +0100 5853 5854 x86: Remove use of .cfi_escape 5855 5856 The unwind info isn't 100% correct at all points during the epilogue, 5857 and not annotating is just as incorrect as the annotation. This works 5858 better on systems that do not support DW_OP_call_frame_cfa. 5859 5860commit 1b12593d7e595c03e5c06377feaeb8ad1b813681 5861Author: Richard Henderson <rth@twiddle.net> 5862Date: Mon Nov 24 12:55:43 2014 +0100 5863 5864 x86: Honor alignment of arguments 5865 5866 Darwin aligns long-double to 16, and thus all of the long double 5867 tests were failing due to not honoring that. We ought to be able 5868 to devise a test case for GCC using __attribute__((aligned)) that 5869 would have failed too. 5870 5871commit 042b8dafeeee82667e00660fb1edeab72fd9de47 5872Author: Richard Henderson <rth@twiddle.net> 5873Date: Mon Nov 24 11:24:02 2014 +0100 5874 5875 x86: Use .balign not .align 5876 5877 The Apple assembler defaults to power of two alignment, rather than 5878 byte alignment like everyone else. Force byte alignment by using 5879 the proper directive. 5880 5881commit 0172bc029cd943dce99f82b9d857c51e746574e5 5882Author: Richard Henderson <rth@twiddle.net> 5883Date: Mon Nov 24 10:42:02 2014 +0100 5884 5885 x86: Disable .org for Darwin 5886 5887commit 9f112619c187e135132b765adeedef89ee354eb2 5888Author: Richard Henderson <rth@twiddle.net> 5889Date: Sat Nov 22 20:02:43 2014 +0100 5890 5891 x86: Best guess at update for Darwin 5892 5893commit 7282d3289c6f6e2cc21e2c2b554c33af00ac3474 5894Author: Nobuyoshi Nakada <nobu@ruby-lang.org> 5895Date: Mon Dec 22 17:14:40 2014 +0900 5896 5897 x86: MSVC does not support Complex type 5898 5899commit 5f8881a5913a9554cbc2b5fed7057627b9bb9ece 5900Author: Nobuyoshi Nakada <nobu@ruby-lang.org> 5901Date: Mon Dec 22 17:08:08 2014 +0900 5902 5903 x86: Fix void pointer arithmetic 5904 5905commit 58bf7d65d8896f198624c591cc31e6e01a09cc31 5906Merge: 75b2199 7ba30b1 5907Author: Anthony Green <green@moxielogic.com> 5908Date: Sat Dec 20 10:20:40 2014 -0500 5909 5910 Merge pull request #158 from rth7680/s390 5911 5912 S390 5913 5914commit 7ba30b19060dfefefeb91970a862e5b215606602 5915Author: Richard Henderson <rth@redhat.com> 5916Date: Fri Dec 19 11:38:17 2014 -0500 5917 5918 s390: Inline and tidy ffi_prep_args 5919 5920 As per discussion with Ulrich Weigand, document the restrictions 5921 on the code within ffi_call_int as we simultaneously prepare 5922 stack frames for ffi_call_SYSV and the target function. 5923 5924commit f69ec6f35db93163b7f33e43129d274995c8122d 5925Author: Richard Henderson <rth@redhat.com> 5926Date: Thu Dec 18 16:21:07 2014 -0500 5927 5928 s390: Use pc-relative insns in 31-bit mode 5929 5930 It's silly to stick to esa/390 features when the compiler won't. 5931 Detect when brasl and larl are used by the compiler and then use 5932 them in the assembly. 5933 5934commit 2f530de168e0253ac06e044c832132c496e8788b 5935Author: Richard Henderson <rth@redhat.com> 5936Date: Thu Dec 18 16:01:59 2014 -0500 5937 5938 s390: Reorganize assembly 5939 5940 Avoid using ffi_prep_args as a callback; do all the work setting 5941 up the frame within ffi_call_int directly. Save fewer registers 5942 in ffi_closure_SYSV. 5943 5944commit 97512ded052678993ffcfa3aec0035cce1585138 5945Author: Richard Henderson <rth@redhat.com> 5946Date: Thu Dec 18 16:01:15 2014 -0500 5947 5948 s390: Avoid aliasing warnings 5949 5950commit c860ca9ac0fc7ee44124c5637dda751f55e4fa3f 5951Author: Richard Henderson <rth@redhat.com> 5952Date: Wed Dec 17 13:24:03 2014 -0500 5953 5954 s390: Kill trailing whitespace 5955 5956commit 02b7c89967307cea91714fb6e4e53048e1b5396e 5957Author: Dominik Vogt <vogt@linux.vnet.ibm.com> 5958Date: Wed Dec 17 13:20:51 2014 -0500 5959 5960 s390: Go closure support 5961 5962commit 75b2199f264f42de814528ccf4bfd2ef427665b5 5963Merge: 8a3a272 2f65246 5964Author: Anthony Green <green@moxielogic.com> 5965Date: Fri Dec 12 10:13:56 2014 -0500 5966 5967 Merge pull request #157 from rth7680/x86 5968 5969 Two fixes for x86 5970 5971commit 8a3a2723aaa615cb95ee1c798469d7a3b2d95d31 5972Merge: 9ae3bc8 542e004 5973Author: Anthony Green <green@moxielogic.com> 5974Date: Fri Dec 12 10:13:27 2014 -0500 5975 5976 Merge pull request #156 from rth7680/sparc 5977 5978 sparc: Define FFI_TARGET_SPECIFIC_VARIADIC for v9 5979 5980commit 2f652469684d6d2b3e54705294c7e81cffe1341f 5981Author: Richard Henderson <rth@twiddle.net> 5982Date: Thu Dec 11 14:16:00 2014 -0800 5983 5984 x86: Handle void arguments as if an empty structure 5985 5986 Since libffi currently doesn't allow empty structures, libgo 5987 currently maps them to ffi_type_void. Given that we'll abort 5988 on this case, handle it gracefully. 5989 5990commit 097ccfd6a6b94a3c3b5bfc269a7afd1dc4f7a051 5991Author: Richard Henderson <rth@twiddle.net> 5992Date: Wed Dec 10 13:25:14 2014 -0800 5993 5994 x86: Fix some unwind errors 5995 5996commit 9ae3bc870ee07820b60d368f137ea3b5daca850e 5997Author: James Greenhalgh <james.greenhalgh@arm.com> 5998Date: Sat Dec 6 23:58:41 2014 -0500 5999 6000 Fix for https://github.com/atgreen/libffi/issues/141 6001 6002commit a5a40960bb6ccb029d2d9d4e18d37f6e0dacb913 6003Merge: 9ca4370 590663b 6004Author: Anthony Green <green@moxielogic.com> 6005Date: Wed Nov 19 21:13:50 2014 -0500 6006 6007 Merge pull request #151 from amodra/master 6008 6009 powerpc: go closures for linux 6010 6011commit 590663b30b1f35b6136cf55d8870a2394ed78c21 6012Author: Richard Henderson <rth@twiddle.net> 6013Date: Tue Nov 18 12:56:58 2014 +1030 6014 6015 powerpc: Fix ffi_go_closure_linux64 6016 6017 Unlike ffi_closure_LINUX64, this entry point is called normally, 6018 so we already have the TOC in R2 and the closure in R11. 6019 6020 * powerpc/linux64_closure.S (ffi_closure_LINUX64): Remove a 6021 register dependency chain. 6022 (ffi_go_closure_linux64): Don't load r11 or r2. 6023 6024commit fa1040c111b3e423bc9c7e78d9af89470c0fa2fb 6025Author: Alan Modra <amodra@gmail.com> 6026Date: Mon Nov 10 09:42:31 2014 +1030 6027 6028 GO closures for powerpc linux 6029 6030 Plus .cfi async unwind info, rearrangement of ffi_call_linux64 and 6031 ffi_call_SYSV function params to avoid register copies, tweaks to 6032 trampolines. 6033 6034 * src/powerpc/ffitarget.h (FFI_GO_CLOSURES): Define. 6035 * src/powerpc/ffi.c (ffi_call_int): New function with extra 6036 closure param, and args rearranged on ffi_call_linux64 and 6037 ffi_call_SYSV calls, extracted from .. 6038 (ffi_call): ..here. 6039 (ffi_call_go, ffi_prep_go_closure): New functions. 6040 * src/powerpc/ffi_linux64.c (ffi_prep_closure_loc_linux64): Make 6041 hidden. Only flush insn part of ELFv2 trampoline. Don't shuffle 6042 ELFv1 trampoline. 6043 (ffi_closure_helper_LINUX64): Replace closure param with cif, fun, 6044 user_data params. 6045 * src/powerpc/ffi_powerpc.h (ffi_go_closure_sysv): Declare. 6046 (ffi_go_closure_linux64): Declare. 6047 (ffi_call_SYSV, fi_call_LINUX64): Update. 6048 (ffi_prep_closure_loc_sysv, ffi_prep_closure_loc_linux64): Declare. 6049 (ffi_closure_helper_SYSV, ffi_closure_helper_LINUX64): Update. 6050 * src/powerpc/ffi_sysv.c (ASM_NEEDS_REGISTERS): Increase to 6. 6051 (ffi_prep_closure_loc_sysv): Use bcl in trampoline, put data words 6052 last, flush just the insn part. 6053 (ffi_closure_helper_SYSV): Replace closure param with cif, fun and 6054 user_data params. 6055 * src/powerpc/linux64.S (ffi_call_LINUX64): Replace hand-written 6056 .eh_frame with .cfi directives. Adjust for changed param order. 6057 Pass extra "closure" param to user function in static chain. Add 6058 .cfi directives to describe epilogue. Don't provide traceback 6059 table for ELFv2 or _CALL_LINUX. 6060 * src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Replace 6061 hand-written .eh_frame with .cfi directives. Adjust for changed 6062 ffi_closure_helper_LINUX64 params. Add .cfi directives to 6063 describe epilogue. Don't provide traceback table for ELFv2 or 6064 _CALL_LINUX. 6065 (ffi_go_closure_linux64): New function. 6066 * src/powerpc/sysv.S: Remove redundant .globl ffi_prep_args_SYSV. 6067 (ffi_call_SYSV): Make hidden. Replace hand-written .eh_frame with 6068 .cfi directives. Adjust for changed params. Pass extra "closure" 6069 param to user function in static chain. Add .cfi directives to 6070 describe epilogue. 6071 * src/powerpc/ppc_closure.S (ffi_closure_SYSV): Make hidden. 6072 Replace hand-written .eh_frame with .cfi directives. Adjust for 6073 changed ffi_closure_helper_SYSV params. Add .cfi directives to 6074 describe epilogue. Don't just use nops in the dead __NO_FPRS__ 6075 epilogues. 6076 (ffi_go_closure_sysv): New function. 6077 6078commit d3d06f4c94847402a08f0e4e2af2e4d726ed3180 6079Author: Alan Modra <amodra@gmail.com> 6080Date: Mon Nov 10 13:50:05 2014 +1030 6081 6082 Fix powerpc breakage from 6e8a4460 6083 6084 * src/powerpc/ffitarget.h: #error on unexpected FFI_TYPE_LAST. 6085 (FFI_PPC_TYPE_LAST): Define. 6086 (FFI_TYPE_UINT128): Define in terms of FFI_PPC_TYPE_LAST. 6087 (FFI_SYSV_TYPE_SMALL_STRUCT, FFI_V2_TYPE_FLOAT_HOMOG): Likewise. 6088 (FFI_V2_TYPE_DOUBLE_HOMOG, FFI_V2_TYPE_SMALL_STRUCT): Likewise. 6089 6090commit 9ca43706f9e59ee3a0b288884c90fd51d8926a9b 6091Merge: 5211c72 a9ed0c3 6092Author: Anthony Green <green@moxielogic.com> 6093Date: Wed Nov 19 11:32:08 2014 -0500 6094 6095 Merge pull request #148 from gpakosz/dlmalloc-preprocessor-fix 6096 6097 dlmalloc: change defined(i386) to defined(__i386__) 6098 6099commit 542e004710e3f1d7c137bba305a16538cd6257d6 6100Author: Richard Henderson <rth@twiddle.net> 6101Date: Tue Nov 18 05:07:00 2014 -0800 6102 6103 sparc: Define FFI_TARGET_SPECIFIC_VARIADIC for v9 6104 6105 This is a port of 6106 6107 http://gcc.gnu.org/viewcvs?rev=207763&root=gcc&view=rev 6108 6109 aka GCC PR libffi/60073, to the rewritten Sparc codebase. 6110 Supposedly, we should have seen failures with the existing 6111 libffi.call/cls_double_va.c testcase, but I hadn't. 6112 Perhaps a gcc newer than 4.6.3 is required to see that... 6113 6114commit a9ed0c3a0428f5fd4ed2166fa95a608595e11a4d 6115Author: Gregory Pakosz <gpakosz@myscript.com> 6116Date: Tue Nov 18 09:37:07 2014 +0100 6117 6118 dlmalloc: change defined(i386) to defined(__i386__) 6119 6120 When compiling with --std==c99, GCC and clang don't define i386 but __i386__ 6121 6122commit 5211c7207ec81dfdfa9acdcd86b49b9ff66b9d91 6123Merge: 3316b66 ccdd7bb 6124Author: Anthony Green <green@moxielogic.com> 6125Date: Mon Nov 17 09:07:07 2014 -0500 6126 6127 Merge pull request #147 from rth7680/go/alpha 6128 6129 testsuite: Fix alpha static chain register name 6130 6131commit ccdd7bb8566b2fd1da5c4b5c8eaa2db43a69e720 6132Author: Richard Henderson <rth@twiddle.net> 6133Date: Sun Nov 16 12:12:23 2014 +0100 6134 6135 testsuite: Fix alpha static chain register name 6136 6137commit 3316b666e3074fe0eebff4fe0458979961b26651 6138Merge: b698638 dea49e2 6139Author: Anthony Green <green@moxielogic.com> 6140Date: Sat Nov 15 07:31:41 2014 -0500 6141 6142 Merge pull request #145 from rth7680/master 6143 6144 Configure and testsuite cleanups, v2 6145 6146commit b698638d7601de994410c5c1b2f5c2c648015b7b 6147Merge: a353d5b 771fabc 6148Author: Anthony Green <green@moxielogic.com> 6149Date: Sat Nov 15 07:29:58 2014 -0500 6150 6151 Merge pull request #144 from atrosinenko/testsuite-fp-comparison-fix 6152 6153 Floating point number comparison fix for testsuite 6154 6155commit a353d5b16cfbb60f1a42bdec74b0f272701f3ecb 6156Merge: 4aa702a e029c70 6157Author: Anthony Green <green@moxielogic.com> 6158Date: Sat Nov 15 07:27:21 2014 -0500 6159 6160 Merge pull request #143 from adamkaplan/patch-1 6161 6162 Update i386 & armv7 minimum iOS version to 7.0 6163 6164commit dea49e2020b2fc97ba9293200f316f7a7b3ca73b 6165Author: Richard Henderson <rth@twiddle.net> 6166Date: Fri Nov 14 13:05:14 2014 +0100 6167 6168 x86: Fix typo in ffi_prep_go_closure 6169 6170 Used the wrong register for THISCALL and FASTCALL. 6171 6172commit c9f5b6648b0f052bbca8b50615284dd975e9ed29 6173Author: Richard Henderson <rth@twiddle.net> 6174Date: Fri Nov 14 13:04:33 2014 +0100 6175 6176 testsuite: Add trivial tests for Go closures 6177 6178commit c952a92e20aa6013d8202d0b3fa1d87838c83054 6179Author: Richard Henderson <rth@twiddle.net> 6180Date: Fri Nov 14 11:00:14 2014 +0100 6181 6182 testsuite: Move complex tests to their own subdirectory 6183 6184 It seems a bit silly to isolate them by globbing vs "*complex*" 6185 when we can just as easily put them in their own subdirectory. 6186 6187commit f1301a54bb80e6ae23f7687c68f36875dae69134 6188Author: Richard Henderson <rth@twiddle.net> 6189Date: Fri Nov 14 10:50:29 2014 +0100 6190 6191 testsuite: Use feature test rather than enumeration for complex 6192 6193commit b5ade2fb5d9ba06519484677a5474e5dad48c2e3 6194Author: Richard Henderson <rth@twiddle.net> 6195Date: Thu Nov 13 09:06:10 2014 -0800 6196 6197 testsuite: Detect clang 6198 6199 Clang doesn't like the -Wno-psabi argument that we want to pass to GCC. 6200 Since clang is detected as GCC via __GNUC__, use ax_cv_c_compiler_vendor. 6201 6202commit 5d69d57a053c5049df29242def492159e1fadbae 6203Author: Richard Henderson <rth@twiddle.net> 6204Date: Thu Nov 13 13:50:39 2014 +0100 6205 6206 configure: Move target source selection into configure.host 6207 6208 This eliminates the AM_CONDITIONAL ugliness, which eliminates 6209 just a bit of extra boilerplate for a new target. 6210 6211 At the same time, properly categorize the EXTRA_DIST files 6212 into SOURCES and HEADERS, for the generation of ctags. 6213 6214commit 771fabc6d5379e64e5ab9e5f1ca6eb5960617432 6215Author: Anatoly Trosinenko <anatoly.trosinenko@gmail.com> 6216Date: Fri Nov 14 14:21:35 2014 +0300 6217 6218 Take a float absolute value using fabs() instead of abs(). 6219 6220 Replace integer abs() by floating point fabs() in the approximate 6221 equality check for float values. 6222 6223commit 9622ede2e24067a09380c63da8d5007ec1f03dc4 6224Author: Anatoly Trosinenko <anatoly.trosinenko@gmail.com> 6225Date: Fri Nov 14 13:18:04 2014 +0300 6226 6227 Fix floating point number comparisons in testsuite/libffi.call/float[123].c. 6228 6229 Rewrite the checks for approximate equality of floating point return 6230 values to be in the form "fabs(a - b) < EPS" instead of just 6231 "a - b < EPS". 6232 6233commit e029c70fa7da7a489157b2a2a88349aaffb051de 6234Author: Adam <adkapx@gmail.com> 6235Date: Thu Nov 13 15:08:16 2014 -0500 6236 6237 Update i386 & armv7 minimum iOS version to 7.0 6238 6239 iOS 5 (and any below 7.1) is deprecated. Apple doesn't distribute the supporting libraries for this platform anymore as of Xcode 6, so it causes a linker error. 6240 6241commit 57f52484573613e2def21171184f50bd72209cac 6242Author: Richard Henderson <rth@twiddle.net> 6243Date: Thu Nov 13 12:42:54 2014 +0100 6244 6245 configure: Split out configure.host 6246 6247 Split out the host case statement to a separate file, so that 6248 we don't have to regenerate configure.in for changes therein. 6249 6250commit f8632815a6515a6709802ad23909585664ba1b9d 6251Author: Richard Henderson <rth@twiddle.net> 6252Date: Thu Nov 13 12:32:35 2014 +0100 6253 6254 powerpc: Delete patch output 6255 6256 Clearly added by mistake. 6257 6258commit 4aa702a0e0ffc9b8a672af380103f607d339a822 6259Merge: 20562ac 8d5debc 6260Author: Anthony Green <green@moxielogic.com> 6261Date: Wed Nov 12 08:08:57 2014 -0500 6262 6263 Merge branch 'rth7680-go-closure' 6264 6265commit 8d5debc7904aa5c4f1fbf5d5b26450ec5a5b43c6 6266Author: Anthony Green <green@moxielogic.com> 6267Date: Wed Nov 12 08:04:51 2014 -0500 6268 6269 Update in preparation for next release 6270 6271commit 56735e05fed77a3920a8cac262666c9eb0e75b66 6272Merge: 20562ac 0e303c0 6273Author: Richard Henderson <rth@twiddle.net> 6274Date: Wed Nov 12 07:11:53 2014 -0500 6275 6276 Merge branch 'go-closure' of https://github.com/rth7680/libffi into rth7680-go-closure 6277 6278 Conflicts: 6279 src/aarch64/ffi.c 6280 6281commit 20562ac0427c3578250d04c6e34fb0127d4551cf 6282Author: Anthony Green <green@moxielogic.com> 6283Date: Wed Nov 12 07:00:59 2014 -0500 6284 6285 Fix for AArch64. Release as 3.2.1. 6286 6287commit 0e303c065779afb42cfdb2ea20c0e1a557dc16f0 6288Author: Richard Henderson <rth@twiddle.net> 6289Date: Wed Nov 12 03:58:58 2014 -0800 6290 6291 x86: Work around clang bugs 6292 6293 http://llvm.org/bugs/show_bug.cgi?21500 6294 http://llvm.org/bugs/show_bug.cgi?21501 6295 http://llvm.org/bugs/show_bug.cgi?21515 6296 6297commit 6eec410f1512d0584276db5f4b83711330e830d7 6298Author: Richard Henderson <rth@twiddle.net> 6299Date: Sun Oct 26 15:29:04 2014 -0700 6300 6301 sparc: Re-add abi compliant structure support 6302 6303 The original code, removed in the "rewrite" patch, was incorrect for 6304 large structures, and required dynamic allocation of a trampoline on 6305 every ffi_call. 6306 6307 Instead, allocate a 4k entry table of all possible structure returns. 6308 The table is 80k, but is read-only and dynamically paged, which ought 6309 to be better than allocating the trampoline. 6310 6311 This is difficult to test with gcc. One can only use -O0 at present. 6312 See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63668. 6313 6314commit 92022496ef7a9439f48a2ef11e460c300ac863d7 6315Author: Richard Henderson <rth@twiddle.net> 6316Date: Sun Oct 26 14:48:28 2014 -0700 6317 6318 sparc: Add support for Go closures 6319 6320commit ad89c2d9e93d5a713ae4113567b4ca6c4fbbf17c 6321Author: Richard Henderson <rth@twiddle.net> 6322Date: Sun Oct 26 13:16:03 2014 -0700 6323 6324 sparc: Add support for complex types 6325 6326commit 20da5b41324de524ea3ee1f84f402828b7c332dc 6327Author: Richard Henderson <rth@twiddle.net> 6328Date: Sat Oct 25 16:24:41 2014 -0700 6329 6330 sparc: Handle more cases of structure return directly 6331 6332commit 0686c2e71c8e094cf003f199e3f578bcdede43ba 6333Author: Richard Henderson <rth@twiddle.net> 6334Date: Sat Oct 25 14:52:45 2014 -0700 6335 6336 sparc: Preprocess float point struct return 6337 6338 We can eliminate recursion and speed structure return 6339 by flattening a nested structure tree into a bitmask. 6340 6341commit 2b27890ba77db6a23d37fc70897109e4b2803c2d 6342Author: Richard Henderson <rth@twiddle.net> 6343Date: Fri Oct 24 16:10:48 2014 -0700 6344 6345 sparc: Rewrite everything 6346 6347 It's impossible to call between v8 and v9 ABIs, because of the stack bias 6348 in the v9 ABI. So let's not pretend it's just not implemented yet. Split 6349 the v9 code out to a separate file. 6350 6351 The register windows prevent ffi_call from setting up the entire stack 6352 frame the assembly, but we needn't make an indirect call back to prep_args. 6353 6354commit 5d7b54450582f31d0d5d3ecca7f330b70446f195 6355Author: Richard Henderson <rth@twiddle.net> 6356Date: Fri Oct 24 11:45:53 2014 -0700 6357 6358 sparc: Tidy up symbols 6359 6360 Assembly to use local labels, .type annotation, hidden annotation. 6361 I do retain the _prefix for the symbols, but given that it wasn't 6362 done consistently across all symbols, I doubt it's actually needed. 6363 6364commit fd4f7cc0cabae66a91e40f8645791740b9416bc1 6365Author: Richard Henderson <rth@twiddle.net> 6366Date: Fri Oct 24 11:11:53 2014 -0700 6367 6368 sparc: Eliminate long double ifdefs 6369 6370commit ab83cbb90b280195e636976098d3674f5ffc1d0a 6371Author: Richard Henderson <rth@twiddle.net> 6372Date: Wed Oct 29 14:38:42 2014 -0400 6373 6374 arm: Add support for Go closures 6375 6376commit 6fa617dabc3d99e19d47ac9bc4127c56e3163008 6377Author: Richard Henderson <rth@twiddle.net> 6378Date: Tue Oct 21 11:27:11 2014 -0400 6379 6380 arm: Add argument space for the hidden struct return pointer 6381 6382 This should have been failing all along, but it's only 6383 exposed by the complex_int test case. 6384 6385commit a529bec27b64ab846ab2643ecbeb22e01f35c7dc 6386Author: Richard Henderson <rth@twiddle.net> 6387Date: Tue Oct 21 11:26:59 2014 -0400 6388 6389 arm: Add support for complex types 6390 6391commit 5e88ebe62717b8e1e2f8d96c10f78a7134caa765 6392Author: Richard Henderson <rth@twiddle.net> 6393Date: Mon Oct 20 15:10:43 2014 -0400 6394 6395 arm: Remove internal FFI_TYPE constants 6396 6397 These have been replaced by the contents of internal.h. 6398 6399commit a4b785ea695e929b91d64e1e8b514411ae8bafe8 6400Author: Richard Henderson <rth@twiddle.net> 6401Date: Fri Oct 17 02:07:32 2014 -0400 6402 6403 arm: Rewrite ffi_closure 6404 6405 Move the push of the argument registers into ffi_closure_SYSV, 6406 reducing the size of the trampoline. 6407 6408commit e7f15f60e86ad8931b2c4a516945d0b76b4bda20 6409Author: Richard Henderson <rth@twiddle.net> 6410Date: Fri Oct 17 01:27:16 2014 -0400 6411 6412 arm: Rewrite ffi_call 6413 6414 Use the trick to allocate the stack frame for ffi_call_SYSV 6415 within ffi_call itself. 6416 6417commit a74a3aaddbcc730d9aa0a4787f136c9cc19b82b3 6418Author: Richard Henderson <rth@twiddle.net> 6419Date: Fri Oct 17 01:21:22 2014 -0400 6420 6421 arm: Rewrite vfp_type_p 6422 6423 Do not modify the ffi_type. Rearrange the tests so that we 6424 quickly eliminate structures that cannot match. Return an 6425 encoded value of element count and base type. 6426 6427commit 0d39b4bb692b1a8e4f3354badcd9e123f8276bd4 6428Author: Richard Henderson <rth@twiddle.net> 6429Date: Fri Oct 17 01:02:52 2014 -0400 6430 6431 arm: Deref ffi_put_arg arguments 6432 6433commit 57b24fb3f5471262ce57e1a912774d6e7de5ada7 6434Author: Richard Henderson <rth@twiddle.net> 6435Date: Fri Oct 17 00:53:21 2014 -0400 6436 6437 arm: Deref ffi_align argument 6438 6439commit c129bea82a25c9b0f3af3bf48c35c55257092f87 6440Author: Richard Henderson <rth@twiddle.net> 6441Date: Wed Oct 15 17:28:53 2014 -0400 6442 6443 arm: Reindent arm/ffi.c 6444 6445commit 9761b7bb70b4c47dc11dc74830964a0b3b3176d3 6446Author: Richard Henderson <rth@twiddle.net> 6447Date: Fri Oct 17 21:26:52 2014 -0700 6448 6449 alpha: Add support for Go closures 6450 6451commit f41bec3b576aa5ff8915b1188446c2dc086dfe64 6452Author: Richard Henderson <rth@twiddle.net> 6453Date: Fri Oct 17 20:46:48 2014 -0700 6454 6455 alpha: Add support for complex types 6456 6457commit 5f917371afcb4d3363fd33b547844c47264f6d4e 6458Author: Richard Henderson <rth@twiddle.net> 6459Date: Fri Oct 17 13:47:26 2014 -0700 6460 6461 alpha: Clean up conversion of float values 6462 6463 Don't use "real" conversion to double, lest we raise 6464 exceptions when passing signalling nans. 6465 6466commit 32a26b75ba92665fa093b539318e83d916e3effb 6467Author: Richard Henderson <rth@twiddle.net> 6468Date: Fri Oct 17 12:33:53 2014 -0700 6469 6470 alpha: Reorganize cif flags 6471 6472 Unties the backend from changes to FFI_TYPE_* constants, and allows 6473 compilation to succeed after the addition of FFI_TYPE_COMPLEX. 6474 6475 Delete the hand-written unwind info. 6476 6477commit c6352b664c31835b9527d747f8a29b4754cabb0e 6478Author: Richard Henderson <rth@redhat.com> 6479Date: Thu Oct 23 00:26:14 2014 -0400 6480 6481 aarch64: Add support for Go closures 6482 6483commit 0e41c73b092064e986d484270a13046479d6bda3 6484Author: Richard Henderson <rth@redhat.com> 6485Date: Wed Oct 22 23:48:12 2014 -0400 6486 6487 aarch64: Move x8 out of call_context 6488 6489 Reduces stack size. It was only used by the closure, and there 6490 are available argument registers. 6491 6492commit a992f8789b5202ca180e67b16b47ee834160665c 6493Author: Richard Henderson <rth@redhat.com> 6494Date: Wed Oct 22 22:58:09 2014 -0400 6495 6496 aarch64: Add support for complex types 6497 6498commit 658b2b56001e293848ea22b70068bd7f8daa7205 6499Author: Richard Henderson <rth@redhat.com> 6500Date: Wed Oct 22 22:36:07 2014 -0400 6501 6502 aarch64: Remove aarch64_flags 6503 6504 This field was useless from the start, since the normal flags 6505 field is available for backend use. 6506 6507commit 4a3cbcaa4f1d3834e0b74c9a841c3f51c5e0454c 6508Author: Richard Henderson <rth@redhat.com> 6509Date: Wed Oct 22 22:32:13 2014 -0400 6510 6511 aarch64: Unify scalar fp and hfa handling 6512 6513 Since an HFA of a single element is exactly the same as scalar, 6514 this tidies things up a bit. 6515 6516commit 12cf89ee04dc01650f71bc38ce414c953c83199a 6517Author: Richard Henderson <rth@redhat.com> 6518Date: Wed Oct 22 21:53:30 2014 -0400 6519 6520 aarch64: Move return value handling into ffi_closure_SYSV 6521 6522 As with the change to ffi_call_SYSV, this avoids copying data 6523 into a temporary buffer. 6524 6525commit 4fe1aea1211aaf228c2db867b8ac6f1620de72d4 6526Author: Richard Henderson <rth@redhat.com> 6527Date: Wed Oct 22 17:06:19 2014 -0400 6528 6529 aarch64: Move return value handling into ffi_call_SYSV 6530 6531 This lets us pass return data directly to the caller of ffi_call 6532 in most cases, rather than storing it into temporary storage first. 6533 6534commit 325471ea6a7bf954943485458a1bd391635dfaa8 6535Author: Richard Henderson <rth@redhat.com> 6536Date: Wed Oct 22 13:58:59 2014 -0400 6537 6538 aarch64: Merge prep_args with ffi_call 6539 6540 Use the trick to allocate the stack frame for ffi_call_SYSV 6541 within ffi_call itself. 6542 6543commit 8c8161cb623585d5d0c783b9d494b9b74ada6ced 6544Author: Richard Henderson <rth@redhat.com> 6545Date: Wed Oct 22 12:52:07 2014 -0400 6546 6547 aarch64: Tidy up abi manipulation 6548 6549 Avoid false abstraction, like get_x_addr. Avoid recomputing data 6550 about the type being manipulated. Use NEON insns for HFA manipulation. 6551 6552 Note that some of the inline assembly will go away in a subsequent patch. 6553 6554commit b55e03665ddf2423df9baee0d3172892ba781c26 6555Author: Richard Henderson <rth@redhat.com> 6556Date: Wed Oct 22 12:33:59 2014 -0400 6557 6558 aarch64: Treat void return as not passed in registers 6559 6560 This lets us do less post-processing when there's no return value. 6561 6562commit 2e32f9bf6ffa6782b70fafe96bdf21c5aa44f534 6563Author: Richard Henderson <rth@redhat.com> 6564Date: Tue Oct 21 22:49:05 2014 -0400 6565 6566 aarch64: Use correct return registers 6567 6568 There are fewer return registers than argument registers. 6569 6570commit 95a04af134431ccc8230aca1641541a5e8fcbdc9 6571Author: Richard Henderson <rth@redhat.com> 6572Date: Tue Oct 21 22:41:07 2014 -0400 6573 6574 aarch64: Reduce the size of register_context 6575 6576 We don't need to store 32 general and vector registers. 6577 Only 8 of each are used for parameter passing. 6578 6579commit 77c4cddca6aeb6e545e21f235e29323e05f5a3a3 6580Author: Richard Henderson <rth@redhat.com> 6581Date: Tue Oct 21 13:30:40 2014 -0400 6582 6583 aarch64: Simplify AARCH64_STACK_ALIGN 6584 6585 The iOS abi doesn't require padding between arguments, but 6586 that's not what AARCH64_STACK_ALIGN meant. The hardware will 6587 in fact trap if the SP register is not 16 byte aligned. 6588 6589commit b5f147d84761dc673ffe01d6af82bcde4ea47928 6590Author: Richard Henderson <rth@redhat.com> 6591Date: Tue Oct 21 13:27:57 2014 -0400 6592 6593 aarch64: Always distinguish LONGDOUBLE 6594 6595 Avoid if-deffery by forcing FFI_TYPE_LONGDOUBLE different 6596 from FFI_TYPE_DOUBLE. This will simply be unused on hosts 6597 that define them identically. 6598 6599commit 38b54b9c180af13a3371e70a151a1a97e105b03f 6600Author: Richard Henderson <rth@redhat.com> 6601Date: Tue Oct 21 13:17:39 2014 -0400 6602 6603 aarch64: Improve is_hfa 6604 6605 The set of functions get_homogeneous_type, element_count, and is_hfa 6606 are all intertwined and recompute data. Return a compound quantity 6607 from is_hfa that contains all the data and avoids the recomputation. 6608 6609commit 18b74ce54afab45fcf2a7d4eb86bb2ce9db8cec8 6610Author: Richard Henderson <rth@redhat.com> 6611Date: Tue Oct 21 13:00:34 2014 -0400 6612 6613 aarch64: Fix non-apple compilation 6614 6615commit 2650f47fe8388f3281ec00e2d1e3bc777c1d3544 6616Author: Richard Henderson <rth@twiddle.net> 6617Date: Thu Nov 6 10:57:04 2014 -0800 6618 6619 x86: Use win32 name mangling for fastcall functions 6620 6621commit f8c64e2486c956109bf5255a0c0a85f24cc86c72 6622Author: Richard Henderson <rth@twiddle.net> 6623Date: Wed Nov 5 17:04:29 2014 +0100 6624 6625 x86: Add support for Go closures 6626 6627commit 198f469e91076f84ab6ac38055ad12a5490101cd 6628Author: Richard Henderson <rth@twiddle.net> 6629Date: Wed Nov 5 16:34:41 2014 +0100 6630 6631 x86: Add support for Complex 6632 6633commit b21ec1ce783f09335c0e6c6f96ccc7e89da5a1b4 6634Author: Richard Henderson <rth@twiddle.net> 6635Date: Wed Nov 5 10:15:25 2014 +0100 6636 6637 x86: Rewrite closures 6638 6639 Move everything into sysv.S, removing win32.S and freebsd.S. 6640 Handle all abis with a single ffi_closure_inner function. 6641 Move complexity of the raw THISCALL trampoline into assembly 6642 instead of the trampoline itself. 6643 Only push the context for the REGISTER abi; let the rest 6644 receive it in a register. 6645 6646commit b9ac94f3af9b1ca1853850911b7d3bc058296c71 6647Author: Richard Henderson <rth@twiddle.net> 6648Date: Sat Nov 1 15:10:34 2014 -0700 6649 6650 x86: Rewrite ffi_call 6651 6652 Decouple the assembly from FFI_TYPE_*. Merge prep_args with ffi_call, 6653 passing the frame and the stack to the assembly. 6654 6655 Note that this patch isn't really standalone, as this breaks closures. 6656 6657commit 159d3788eb52b89ed6bc5dd6ebb85c02cd150232 6658Author: Richard Henderson <rth@twiddle.net> 6659Date: Fri Oct 31 12:07:02 2014 -0700 6660 6661 x86: Convert to gas generated unwind info 6662 6663commit e7b0056d60f29675072454a575eed98053fc63d6 6664Author: Richard Henderson <rth@twiddle.net> 6665Date: Thu Oct 30 13:57:39 2014 -0700 6666 6667 x86: Force FFI_TYPE_LONGDOUBLE different from FFI_TYPE_DOUBLE 6668 6669 There are few abis that set double = long double. Eliminate the 6670 conditional compilation and let this code simply be unused there. 6671 6672commit 4b2fad8fd583f1d9c36db0044c4d46316207aa49 6673Author: Richard Henderson <rth@twiddle.net> 6674Date: Thu Oct 30 12:41:31 2014 -0700 6675 6676 x86: Remove some conditional compilation 6677 6678 Removal of ifdefs made possible to due to ffi_abi unification. 6679 6680commit ef76205647bca77796882d31f6ab5e889f461f07 6681Author: Richard Henderson <rth@twiddle.net> 6682Date: Thu Oct 30 12:13:31 2014 -0700 6683 6684 x86: Tidy ffi_abi 6685 6686 The x86_64 unix port only handles one ABI; don't define all of the 6687 other symbols. The UNIX64 symbol retains the same value. 6688 6689 The i386 ports ought to have the same symbols, even if we can't yet 6690 unify the values without incrementing the libffi soname. 6691 6692commit 7cf841324f3d15c46833e0f2ddf8a98c4b24711e 6693Author: Richard Henderson <rth@twiddle.net> 6694Date: Fri Nov 7 06:56:55 2014 -0800 6695 6696 testsuite: Add two dg-do run markers 6697 6698 Caught by clang warning about unused -L parameter. 6699 6700commit fc501750f41e2ee7f4268f490f590ce97a25a818 6701Author: Richard Henderson <rth@twiddle.net> 6702Date: Wed Nov 5 16:33:44 2014 +0100 6703 6704 testsuite: Fix return_complex2 vs excessive precision 6705 6706 Use the previously computed rc2 to validate, rather than 6707 recomputing a floating point result with excess precision. 6708 6709commit 610c90bf7131de70318dc981a529a63ae36981b8 6710Author: Richard Henderson <rth@twiddle.net> 6711Date: Tue Oct 28 11:21:50 2014 -0700 6712 6713 x86_64: Add support for complex types 6714 6715commit 32c56831636a489a1c5084e42ffbd935902b1033 6716Author: Richard Henderson <rth@twiddle.net> 6717Date: Tue Oct 28 11:17:35 2014 -0700 6718 6719 x86_64: Decouple return types from FFI_TYPE constants 6720 6721 We can better support structure returns, and as prep for 6722 complex types. 6723 6724commit 2e9dc1655600eb8928ebab13fa246187b6205109 6725Author: Richard Henderson <rth@twiddle.net> 6726Date: Mon Oct 27 13:41:39 2014 -0700 6727 6728 x86_64: Fixups for x32 6729 6730commit ebd82769de5fc909ec9678aafca674ece394d173 6731Author: Richard Henderson <rth@twiddle.net> 6732Date: Thu Oct 23 23:57:06 2014 -0700 6733 6734 win64: Remove support from ffi.c 6735 6736commit 99db4d42acc7ee6d2ad206848be38083d7b5e094 6737Author: Richard Henderson <rth@twiddle.net> 6738Date: Thu Oct 23 14:12:18 2014 -0700 6739 6740 win64: Rewrite 6741 6742 It's way too different from the 32-bit ABIs with which it is 6743 currently associated. As seen from all of the existing XFAILs. 6744 6745commit 6b62fb4a26d7363548a92f1a156562cfa648726e 6746Author: Richard Henderson <rth@twiddle.net> 6747Date: Fri Oct 17 11:11:58 2014 -0700 6748 6749 x86-64: Support go closures 6750 6751 Dumps all of the hand-coded unwind info for gas generated. Move jump 6752 table data into .rodata. Adjust ffi_call_unix64 to load the static 6753 chain. Split out sse portions of ffi_closure_unix64 to 6754 ffi_closure_unix64_sse rather than test cif->flags at runtime. 6755 6756commit 89bbde8b4e802625bdbf830ea14e938beea79835 6757Author: Richard Henderson <rth@twiddle.net> 6758Date: Fri Oct 17 10:55:11 2014 -0700 6759 6760 Add ffi_cfi.h 6761 6762 Have one copy of the HAVE_AS_CFI_PSEUDO_OP code 6763 to share between all backends. 6764 6765commit e951d64c085267a30036907d02f94a70dee4c9d9 6766Author: Richard Henderson <rth@twiddle.net> 6767Date: Fri Oct 17 10:12:25 2014 -0700 6768 6769 Add entry points for interacting with Go 6770 6771 A "ffi_go_closure" is intended to be compatible with the 6772 function descriptors used by Go, and ffi_call_go sets up 6773 the static chain parameter for calling a Go function. 6774 6775 The entry points are disabled when a backend has not been 6776 updated, much like we do for "normal" closures. 6777 6778commit a0bdc5250cd36f1d2578358e33299fd2408091ac 6779Author: Anthony Green <green@moxielogic.com> 6780Date: Tue Nov 11 09:43:01 2014 -0500 6781 6782 Fix typo 6783 6784commit 67c0c0705318d2e567fd48e680d63dca3619a235 6785Author: Anthony Green <green@moxielogic.com> 6786Date: Tue Nov 11 07:30:49 2014 -0500 6787 6788 Final 3.2 changes 6789 6790commit ee826b933bbdeb68ee81876ffb508c3908eed371 6791Author: Anthony Green <green@moxielogic.com> 6792Date: Tue Nov 11 07:29:26 2014 -0500 6793 6794 Final 3.2 changes 6795 6796commit c81a705d53be97899d314953987936213244b1ba 6797Author: Anthony Green <green@moxielogic.com> 6798Date: Tue Nov 4 13:29:58 2014 -0500 6799 6800 Mention OpenRISC 6801 6802commit 6a17ad540d7ddb7a812687f4380bd0ef2d2865bb 6803Merge: 990eb9d 0f316ab 6804Author: Anthony Green <green@moxielogic.com> 6805Date: Sun Sep 28 00:54:00 2014 -0400 6806 6807 Merge pull request #134 from s-macke/openrisc 6808 6809 Add OpenRISC support 6810 6811commit 990eb9d4c244324771a7d878a168bb8eba1850c0 6812Author: Anthony Green <green@moxielogic.com> 6813Date: Sun Sep 28 00:50:29 2014 -0400 6814 6815 Only run the complex type tests on supported platforms. 6816 6817commit 0f316ab7c11b8315a838a6ae4645d36ff2c46f4c 6818Author: Sebastian Macke <sebastian@macke.de> 6819Date: Sat Sep 27 00:19:15 2014 +0000 6820 6821 Add OpenRISC support 6822 6823 This patch adds support for the OpenRISC architecture. 6824 (http://opencores.org/or1k/Main_Page) 6825 6826 This patch has been tested under Linux with QEMU-user emulation support. 6827 - 32 Bit 6828 - big endian 6829 - delayed instructions 6830 This is the only available configuration under Linux. 6831 6832 The description of the ABI can be found on the official website. 6833 6834 Is passes the testsuite except of the unwindtest_ffi_call.cc 6835 testcase, which seems to be a problem of gcc and not libffi. 6836 Some testcases of the gcc testsuite still fail. 6837 6838 Signed-off-by: Sebastian Macke <sebastian@macke.de> 6839 6840commit 6695983d2f0857caab220862de12f3f94a55bcf6 6841Author: Anthony Green <green@moxielogic.com> 6842Date: Sat Sep 20 07:44:37 2014 -0400 6843 6844 Add complex type support. Mostly broken right now 6845 6846commit fbbf48fbdf9b1491af0aefc00523a1b5d8bb9349 6847Author: Anthony Green <green@moxielogic.com> 6848Date: Sat Sep 20 07:43:51 2014 -0400 6849 6850 Compile tests with -Wno-psabi when using GCC 6851 6852commit ae8d2554c5f192be54dadc9f99a1449b4df1b222 6853Author: Anthony Green <green@moxielogic.com> 6854Date: Sat Sep 20 07:08:37 2014 -0400 6855 6856 Update version to 3.2 6857 6858commit b2ca59d39d2192021316561ea9dda3d35d8d35d9 6859Author: Anthony Green <green@moxielogic.com> 6860Date: Sat Sep 20 07:08:05 2014 -0400 6861 6862 More README updates for 3.2 6863 6864commit f920a01ad8eafc79daaf331499ef9a97696c46a7 6865Author: Anthony Green <green@moxielogic.com> 6866Date: Sat Sep 20 06:54:06 2014 -0400 6867 6868 Update release notes. 6869 6870commit bfcbf329c5e4bebdb32134d4e53260e17e4e66cc 6871Author: Bernd Edlinger <bernd.edlinger@hotmail.de> 6872Date: Sat Sep 20 06:51:45 2014 -0400 6873 6874 2014-05-11 Bernd Edlinger <bernd.edlinger@hotmail.de> 6875 6876 Fix current cygwin-64 build problems. 6877 * src/java_raw_api.c: Remove if !defined(FFI_NO_RAW_API). 6878 * src/x86/ffi.c: Add if defined(__CYGWIN__). 6879 * src/x86/win64.S (ffi_closure_win64, ffi_call_win64): Added 6880 handling for FFI_TYPE_UINT64, FFI_TYPE_POINTER and FFI_TYPE_INT. 6881 Added SEH information. Fixed formatting. 6882 6883commit 32cb2ce81db9457c6bd43a2587d7fa23a2edb9b1 6884Author: Jakub Jelinek <jakub@redhat.com> 6885Date: Sat Sep 20 06:39:55 2014 -0400 6886 6887 2014-09-10 Jakub Jelinek <jakub@redhat.com> 6888 6889 * src/powerpc/linux64.S: Emit .note.GNU-stack even when 6890 POWERPC64 is not defined. 6891 * src/powerpc/linux64_closure.S: Likewise. Also test _CALL_ELF == 2. 6892 6893commit aaf3101ba81af8f488502881648e3f687721671e 6894Author: Matthias Klose <doko@ubuntu.com> 6895Date: Sat Sep 20 06:37:04 2014 -0400 6896 6897 Fix -Werror=declaration-after-statement problem 6898 6899commit 6e8a4460833594d5af1b4539178025da0077df19 6900Author: Dominik Vogt <vogt@linux.vnet.ibm.com> 6901Date: Sat Sep 20 06:21:19 2014 -0400 6902 6903 2014-07-22 Dominik Vogt <vogt@linux.vnet.ibm.com> 6904 6905 * src/types.c (FFI_TYPEDEF, FFI_NONCONST_TYPEDEF): Merge the macros by 6906 adding another argument that controls whether the result is const or not 6907 (FFI_LDBL_CONST): Temporary macro to reduce ifdef confusion 6908 * src/prep_cif.c (ffi_prep_cif_core): Replace list of systems with new 6909 macro FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION 6910 * src/pa/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): 6911 Define. 6912 * src/s390/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): 6913 Define. 6914 * src/x86/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): 6915 Define. 6916 6917 2014-07-22 Dominik Vogt <vogt@linux.vnet.ibm.com> 6918 6919 * doc/libffi.texi (Primitive Types): Document ffi_type_complex_float, 6920 ffi_type_complex_double and ffi_type_complex_longdouble 6921 (Complex Types): New subsection. 6922 (Complex Type Example): Ditto. 6923 * testsuite/libffi.call/cls_align_complex_double.c: New 6924 FFI_TYPE_COMPLEX test. 6925 * testsuite/libffi.call/cls_align_complex_float.c: Ditto. 6926 * testsuite/libffi.call/cls_align_complex_longdouble.c: Ditto. 6927 * testsuite/libffi.call/cls_complex_double.c: Ditto. 6928 * testsuite/libffi.call/cls_complex_float.c: Ditto. 6929 * testsuite/libffi.call/cls_complex_longdouble.c: Ditto. 6930 * testsuite/libffi.call/cls_complex_struct_double.c: Ditto. 6931 * testsuite/libffi.call/cls_complex_struct_float.c: Ditto. 6932 * testsuite/libffi.call/cls_complex_struct_longdouble.c: Ditto. 6933 * testsuite/libffi.call/cls_complex_va_double.c: Ditto. 6934 * testsuite/libffi.call/cls_complex_va_float.c: Ditto. 6935 * testsuite/libffi.call/cls_complex_va_longdouble.c: Ditto. 6936 * testsuite/libffi.call/complex_double.c: Ditto. 6937 * testsuite/libffi.call/complex_defs_double.c: Ditto. 6938 * testsuite/libffi.call/complex_float.c: Ditto. 6939 * testsuite/libffi.call/complex_defs_float.c: Ditto. 6940 * testsuite/libffi.call/complex_longdouble.c: Ditto. 6941 * testsuite/libffi.call/complex_defs_longdouble.c: Ditto. 6942 * testsuite/libffi.call/complex_int.c: Ditto. 6943 * testsuite/libffi.call/many_complex_double.c: Ditto. 6944 * testsuite/libffi.call/many_complex_float.c: Ditto. 6945 * testsuite/libffi.call/many_complex_longdouble.c: Ditto. 6946 * testsuite/libffi.call/return_complex1_double.c: Ditto. 6947 * testsuite/libffi.call/return_complex1_float.c: Ditto. 6948 * testsuite/libffi.call/return_complex1_longdouble.c: Ditto. 6949 * testsuite/libffi.call/return_complex2_double.c: Ditto. 6950 * testsuite/libffi.call/return_complex2_float.c: Ditto. 6951 * testsuite/libffi.call/return_complex2_longdouble.c: Ditto. 6952 * testsuite/libffi.call/return_complex_double.c: Ditto. 6953 * testsuite/libffi.call/return_complex_float.c: Ditto. 6954 * testsuite/libffi.call/return_complex_longdouble.c: Ditto. 6955 * src/raw_api.c (ffi_raw_to_ptrarray): Handle FFI_TYPE_COMPLEX 6956 (ffi_ptrarray_to_raw): Ditto. 6957 * src/prep_cif.c (ffi_prep_cif_core): Abort if FFI_TYPE_COMPLEX is not 6958 implemented in libffi for the target. 6959 * src/java_raw_api.c (ffi_java_raw_size): FFI_TYPE_COMPLEX not supported 6960 yet (abort). 6961 (ffi_java_raw_to_ptrarray): Ditto. 6962 (ffi_java_rvalue_to_raw): Ditto. 6963 (ffi_java_raw_to_rvalue): Ditto. 6964 * src/debug.c (ffi_type_test): Add debug tests for complex types. 6965 * include/ffi.h.in (FFI_TYPE_COMPLEX): Add new FFI_TYPE_COMPLEX. 6966 (FFI_TYPE_LAST): Bump. 6967 (ffi_type_complex_float): Add new ffi_type_.... 6968 (ffi_type_complex_double): Ditto. 6969 (ffi_type_complex_longdouble): Ditto. 6970 6971 2014-07-22 Dominik Vogt <vogt@linux.vnet.ibm.com> 6972 6973 * src/s390/ffitarget.h (FFI_TARGET_HAS_COMPLEX_TYPE): Define to provide 6974 FFI_TYPE_COMPLEX support. 6975 * src/s390/ffi.c (ffi_check_struct_type): Implement FFI_TYPE_COMPLEX 6976 (ffi_prep_args): Ditto. 6977 (ffi_prep_cif_machdep): Ditto. 6978 (ffi_closure_helper_SYSV): Ditto. 6979 6980commit 4c5c4088aa3e4d8103ff9ca441937da64fdd849a 6981Merge: 862f53d 5d6340e 6982Author: Anthony Green <green@moxielogic.com> 6983Date: Thu Sep 18 19:10:54 2014 -0400 6984 6985 Merge pull request #132 from nielsAD/master 6986 6987 Pascal and Register calling convention support on x86 6988 6989commit 862f53de04ff898a128be7eec592bae60930d6df 6990Merge: 5df3840 aebf2c3 6991Author: Anthony Green <green@moxielogic.com> 6992Date: Thu Sep 18 19:06:08 2014 -0400 6993 6994 Merge pull request #130 from frida/fix/darwin-aarch64-float-alignment 6995 6996 Fix alignment of FFI_TYPE_FLOAT for Apple's ARM64 ABI 6997 6998commit 5df384077f3633ec8cf2e08f9199e5a44994dbad 6999Merge: 7b7a528 0f4e09d 7000Author: Anthony Green <green@moxielogic.com> 7001Date: Thu Sep 18 19:05:35 2014 -0400 7002 7003 Merge pull request #129 from frida/fix/darwin-aarch64-cif-prep 7004 7005 Fix non-variadic CIF initialization for Apple/ARM64 7006 7007commit 7b7a5284de7a99edfcee5ac362dbf76251698e1e 7008Merge: 4cd5e84 6172a99 7009Author: Anthony Green <green@moxielogic.com> 7010Date: Thu Sep 18 18:28:05 2014 -0400 7011 7012 Merge pull request #124 from knuesel/master 7013 7014 Fix issue with builddir when calling configure with absolute path 7015 7016commit 4cd5e840122e22636b5838943372c4ed74618e35 7017Merge: 1cee07b 08853e3 7018Author: Anthony Green <green@moxielogic.com> 7019Date: Thu Sep 18 18:27:15 2014 -0400 7020 7021 Merge pull request #123 from ehsan/clang-cl 7022 7023 Add support for building with clang-cl 7024 7025commit 5d6340ef2cf81432da79ac8b0b1b1218ab391438 7026Author: nielsAD <niels.a.d@gmail.com> 7027Date: Mon Aug 25 17:29:44 2014 +0200 7028 7029 Determine whether register arguments (THISCALL/FASTCALL/REGISTER) are really passed via register to closures. Use stack if not. 7030 7031commit 6e346487b879b4b056a847268e381ae6efec4c21 7032Author: nielsAD <niels.a.d@gmail.com> 7033Date: Mon Aug 25 12:23:29 2014 +0200 7034 7035 Fixed THISCALL/FASTCALL closures and added basic support for PASCAL/REGISTER closures. 7036 7037commit 098dca6b31e42dd0256ed7d966729e31961f1461 7038Author: nielsAD <niels.a.d@gmail.com> 7039Date: Sat Aug 23 00:18:47 2014 +0200 7040 7041 Support for calling functions with PASCAL and REGISTER calling conventions on x86 Windows/Linux. 7042 Also changed indentation to be more consistent throughout the (adjusted) files. 7043 7044commit 08853e32fb6b750cda664ee6d3290d340429dd4d 7045Author: Ehsan Akhgari <ehsan@mozilla.com> 7046Date: Thu Jul 31 20:33:33 2014 -0400 7047 7048 Enable forcing the usage of the static CRT in libffi's msvc wrapper 7049 7050 This is required for AddressSanitizer builds with clang-cl. 7051 7052commit aebf2c3023b5ff056a708dc34169f7b549b2ec4f 7053Author: Ole André Vadla Ravnås <ole.andre.ravnas@tillitech.com> 7054Date: Fri Jul 25 21:40:50 2014 +0200 7055 7056 Fix alignment of FFI_TYPE_FLOAT for Apple's ARM64 ABI 7057 7058commit 0f4e09d27dc175ce3e95d070b794351663c7220e 7059Author: Ole André Vadla Ravnås <ole.andre.ravnas@tillitech.com> 7060Date: Sat Jul 26 00:11:06 2014 +0200 7061 7062 Fix non-variadic CIF initialization for Apple/ARM64 7063 7064 Turns out `aarch64_nfixedargs` wasn't initialized in the non-variadic 7065 case, resulting in undefined behavior when allocating arguments. 7066 7067commit 6172a995e14bdbc6150aa02a361f710626a5c293 7068Author: Jeremie Knuesel <jeremie.knusel@sensefly.com> 7069Date: Wed Jun 25 12:28:17 2014 +0200 7070 7071 Fix issue with builddir when calling configure with absolute path 7072 7073commit fb25cd08ed5a87640b02f0feeb10a09b37cfddbe 7074Author: Ehsan Akhgari <ehsan@mozilla.com> 7075Date: Wed Jun 11 12:07:24 2014 -0400 7076 7077 Add support for building with clang-cl 7078 7079commit 1cee07be4712411baa5eb8af22698bc8443a6d6e 7080Author: Anthony Green <green@moxielogic.com> 7081Date: Thu Jun 12 06:30:59 2014 -0400 7082 7083 Remove compiler warning 7084 7085commit ad0d1d239afc7ad09203847793dcc020856d1035 7086Author: Samuli Suominen <ssuominen@gentoo.org> 7087Date: Thu Jun 12 06:30:21 2014 -0400 7088 7089 Fix paths in libffi.pc.in 7090 7091commit df31a85103b0cc232bbc340d7e782a3853c7fad5 7092Merge: 69289c1 360aa8c 7093Author: Anthony Green <green@moxielogic.com> 7094Date: Fri Jun 6 08:24:35 2014 -0400 7095 7096 Merge pull request #122 from rvandermeulen/1014976 7097 7098 Don't make --enable-debug imply using the debug CRT in libffi 7099 7100commit 360aa8ca1ead2fdaefa7b1c6f01ad001d8abae7e 7101Author: Mike Hommey <mh+mozilla@glandium.org> 7102Date: Mon Jun 2 09:21:10 2014 -0400 7103 7104 Bug 1014976 - Don't make --enable-debug imply using the debug CRT in libffi. 7105 7106commit 69289c10b0acb4b52c8b5df4cf738193c618db40 7107Author: Anthony Green <green@moxielogic.com> 7108Date: Sat May 31 08:54:08 2014 -0400 7109 7110 Prepare for libffi 3.1.1 7111 7112commit 978c9540154d320525488db1b7049277122f736d 7113Author: Samuli Suominen <ssuominen@gentoo.org> 7114Date: Sat May 31 08:53:10 2014 -0400 7115 7116 Add missing GNU stack markings in win32.S 7117 7118commit cbc5a3c0200aa6c2cf8d6798d69a21501557c83f 7119Author: Ryan Hill <rhill@gentoo.org> 7120Date: Sat May 31 08:26:34 2014 -0400 7121 7122 Fix typo 7123 7124commit 9d8e3018ac3d0d338373bff7eefa9f006746f4ec 7125Author: Anthony Green <green@moxielogic.com> 7126Date: Sat May 24 23:28:42 2014 -0400 7127 7128 Update current version. 7129 7130commit 18d56cca5a4ee95ad48b129100adf26231518ed0 7131Author: Anthony Green <green@moxielogic.com> 7132Date: Mon May 19 18:05:33 2014 -0400 7133 7134 Increment libtool version number 7135 7136commit 629f1029c47e522e4331988f02f32c203a070e28 7137Merge: 0403f33 c1166d4 7138Author: Anthony Green <green@moxielogic.com> 7139Date: Mon May 19 18:04:28 2014 -0400 7140 7141 Merge pull request #120 from l0kod/tmpfile 7142 7143 Create temporary file with O_TMPFILE and O_CLOEXEC when available 7144 7145commit c1166d4f653bf6d17ad8c265cf5e8da84e2e76dc 7146Author: Mickaël Salaün <mic@digikod.net> 7147Date: Mon May 12 19:44:08 2014 +0200 7148 7149 closures: Check for mkostemp(3) 7150 7151commit 8daeed9570af72eb135c8ded460d2888f05b2e68 7152Author: Mickaël Salaün <mic@digikod.net> 7153Date: Sun May 11 22:54:58 2014 +0200 7154 7155 closures: Create temporary file with O_TMPFILE and O_CLOEXEC when available 7156 7157 The open_temp_exec_file_dir function can create a temporary file without 7158 file system accessible link. If the O_TMPFILE flag is not defined (old 7159 Linux kernel or libc) the behavior is unchanged. 7160 7161 The open_temp_exec_file_name function now need a new argument "flags" 7162 (like O_CLOEXEC) used for temporary file creation. 7163 7164 The O_TMPFILE flag allow temporary file creation without race condition. 7165 This feature/fix prevent another process to access the (future) 7166 executable file from the file system. 7167 7168 The O_CLOEXEC flag automatically close the temporary file for any 7169 execve. This avoid transmitting (executable) file descriptor to a child 7170 process. 7171 7172commit 0403f332b1f478696c30d3d8a0e2f6eef24aaf88 7173Author: Anthony Green <green@moxielogic.com> 7174Date: Mon May 19 09:41:32 2014 -0400 7175 7176 Update date. Annoucing 3.1 today. 7177 7178commit 94ac0c168ee7b115409121d88b25a4979446c8da 7179Author: Anthony Green <green@moxielogic.com> 7180Date: Mon May 19 09:37:21 2014 -0400 7181 7182 Increment libtool library revision number 7183 7184commit 57465744b6e1295d7202de5a7734df589518f1c8 7185Author: Anthony Green <green@moxielogic.com> 7186Date: Sun May 11 10:30:22 2014 -0400 7187 7188 Update to version 3.1 7189 7190commit 0c2251a42df5108b6d9ebe5fe1cf83d0bcdf660e 7191Author: Anthony Green <green@moxielogic.com> 7192Date: Sun May 11 10:22:30 2014 -0400 7193 7194 Support versions of git older than 1.8.5 7195 7196commit 70c303cb88e23aaee91c87c56b108c50ab4f3c2f 7197Author: Anthony Green <green@moxielogic.com> 7198Date: Sun May 11 09:56:40 2014 -0400 7199 7200 Fix testsuite for GCC 4.9.0 7201 7202commit 52b3457093ed19b2a7c5fcf243c4014c90ce6225 7203Author: Magnus Granberg <zorry@gentoo.org> 7204Date: Sun May 11 09:55:28 2014 -0400 7205 7206 Check /proc/self/status for PaX status. 7207 7208commit 7ba4c5d72aa440a4b21fb57e999e67c5957761da 7209Author: Dominik Vogt <dominik.vogt@gmx.de> 7210Date: Sun May 11 09:52:47 2014 -0400 7211 7212 Use to get correct dir 7213 7214commit 31e0d4ecff6dc2a6c75a066ee099b52a43f6ba27 7215Merge: 1c0e9a7 99909eb 7216Author: Anthony Green <green@moxielogic.com> 7217Date: Wed Apr 23 19:24:47 2014 -0400 7218 7219 Merge pull request #119 from joshtriplett/fastcall-fastball 7220 7221 src/x86/win32.S: Define ffi_closure_FASTCALL in the MASM section, too 7222 7223commit 99909eb6184b62408d88b6b4e7ab38e84e6d0bf3 7224Author: Josh Triplett <josh@joshtriplett.org> 7225Date: Tue Apr 22 21:17:52 2014 -0700 7226 7227 src/x86/win32.S: Define ffi_closure_FASTCALL in the MASM section, too 7228 7229commit 1c0e9a7297ced15413c2d2d5d35f6c650c4b46c9 7230Merge: 93a24f2 d369522 7231Author: Anthony Green <green@moxielogic.com> 7232Date: Mon Apr 21 12:41:56 2014 -0400 7233 7234 Merge pull request #101 from joshtriplett/fastcall-closures 7235 7236 Support closures for fastcall 7237 7238commit d36952273d4fafbda91ecc205fc0824f7cc65e70 7239Author: Josh Triplett <josh@joshtriplett.org> 7240Date: Sun Apr 20 12:03:25 2014 -0700 7241 7242 Support fastcall closures 7243 7244 libffi on 32-bit x86 now supports closures for all supported ABIs. 7245 Thus, rewrite the last remaining duplicated-by-ABI test (closure_stdcall 7246 and closure_thiscall) to use the generic ABI_NUM/ABI_ATTR mechanism. 7247 7248commit 93a24f216bcdd1018b976d697179c6d49004015a 7249Merge: dd11a04 2349fec 7250Author: Anthony Green <green@moxielogic.com> 7251Date: Sat Apr 12 19:38:07 2014 -0400 7252 7253 Merge pull request #80 from ueno/devel 7254 7255 Fix typo in doc 7256 7257commit dd11a04061cb49ce1d702545693c24eb1267d648 7258Merge: 8fa2812 03ca880 7259Author: Anthony Green <green@moxielogic.com> 7260Date: Sat Apr 12 19:37:21 2014 -0400 7261 7262 Merge pull request #86 from joshtriplett/testsuite-CC-CXX 7263 7264 testsuite ignores CC parameter supplied to configure or make 7265 7266commit 8fa2812355e685a42abf9a62fbc674d616b2edee 7267Merge: 8a58e6b 419503f 7268Author: Anthony Green <green@moxielogic.com> 7269Date: Sat Apr 12 19:32:08 2014 -0400 7270 7271 Merge pull request #116 from frida/fix/darwin-aarch64-variadic 7272 7273 Fix handling of variadic calls on Darwin/AArch64 7274 7275commit 8a58e6b7805b736def197b8baf8e465a2a3f6913 7276Merge: 30b77c5 a539f7f 7277Author: Anthony Green <green@moxielogic.com> 7278Date: Sat Apr 12 19:30:18 2014 -0400 7279 7280 Merge pull request #115 from frida/fix/darwin-aarch64-alignment 7281 7282 Fix alignment of AArch64 assembler functions 7283 7284commit 30b77c56f95c63ecd83399aafdbad7b07330f2fd 7285Merge: dc33cb3 3e2b84d 7286Author: Anthony Green <green@moxielogic.com> 7287Date: Sat Apr 12 19:29:13 2014 -0400 7288 7289 Merge pull request #117 from frida/fix/windows-regression 7290 7291 Fix Windows regression 7292 7293commit 3e2b84d295531720917bf46afc532fc6d877e3ec 7294Author: Ole André Vadla Ravnås <ole.andre.ravnas@tillitech.com> 7295Date: Sat Apr 12 01:04:04 2014 +0200 7296 7297 Fix Windows regression 7298 7299 Introduced by b5fed601948237037513a9b7f967c8fc6c9ff1f6. 7300 7301commit 419503f409c321fe31ff59d963ef34bb913420d0 7302Author: Ole André Vadla Ravnås <ole.andre.ravnas@tillitech.com> 7303Date: Sun Apr 6 20:54:13 2014 +0200 7304 7305 Fix handling of variadic calls on Darwin/AArch64 7306 7307commit a539f7ffd6783aa11353d13265520e453c565fb4 7308Author: Ole André Vadla Ravnås <ole.andre.ravnas@tillitech.com> 7309Date: Sun Apr 6 20:53:02 2014 +0200 7310 7311 Fix alignment of AArch64 assembler functions 7312 7313commit dc33cb3c998da521a960385c1269c3aef552f69f 7314Merge: c860a99 b5fed60 7315Author: Anthony Green <green@moxielogic.com> 7316Date: Sat Apr 5 23:41:22 2014 -0400 7317 7318 Merge pull request #114 from joshtriplett/bounce-on-a-tiny-trampoline 7319 7320 Fix ABI on 32-bit non-Windows x86: go back to trampoline size 10 7321 7322commit b5fed601948237037513a9b7f967c8fc6c9ff1f6 7323Author: Josh Triplett <josh@joshtriplett.org> 7324Date: Sat Apr 5 17:33:42 2014 -0700 7325 7326 Fix ABI on 32-bit non-Windows x86: go back to trampoline size 10 7327 7328 The trampoline size is part of the ABI, so it cannot change. Move the 7329 logic from the stdcall and thiscall trampolines to the functions they 7330 call, to reduce them both to 10 bytes. 7331 7332 This drops the previously added support for raw THISCALL closures on 7333 non-Windows. (Non-raw THISCALL closures still work.) 7334 7335commit 03ca880081b22efab09ba72268270f83017d3d7b 7336Author: Josh Triplett <josh@joshtriplett.org> 7337Date: Thu Mar 27 08:44:34 2014 -0700 7338 7339 README: Note the testsuite changes to respect $CC and $CXX 7340 7341commit d74df8c5d8c6722ecb908da98c86cc8e2c755b84 7342Author: Josh Triplett <josh@joshtriplett.org> 7343Date: Thu Mar 27 00:44:12 2014 -0700 7344 7345 README: Update Windows example to set both CC and CXX 7346 7347commit 7d698125b1f05173f3656a89755a2eb58813b002 7348Author: Josh Triplett <josh@joshtriplett.org> 7349Date: Wed Mar 26 23:17:56 2014 -0700 7350 7351 Use the proper C++ compiler to run C++ tests 7352 7353 Running the C compiler with -shared-libgcc -lstdc++ does not work on 7354 non-GCC compilers. 7355 7356commit fa5e88f170cb37c7b2b9bb015c8c5b854ffd8a3e 7357Author: Josh Triplett <josh@joshtriplett.org> 7358Date: Wed Mar 26 23:53:57 2014 -0700 7359 7360 .travis.yml: Make the build command more readable by splitting at && 7361 7362 "script" can contain multiple commands to run in sequence. 7363 7364commit 0c3824702d3d59d37f8c177d646303f546187683 7365Author: Josh Triplett <josh@joshtriplett.org> 7366Date: Wed Mar 26 14:51:32 2014 -0700 7367 7368 Always set CC_FOR_TARGET for dejagnu, to make the testsuite respect $CC 7369 7370 This fixes cross-compilation and compilation with CC="gcc -m32". 7371 7372commit 9946a92af31b30cb7760150d1f8ca6c11b01aeea 7373Author: Josh Triplett <josh@joshtriplett.org> 7374Date: Wed Mar 26 20:18:58 2014 -0700 7375 7376 Stop looking for expect and runtest above top_builddir 7377 7378 Users wishing to test hand-compiled versions of expect and runtest can 7379 easily enough put them in their path or set EXPECT and RUNTEST 7380 themselves. 7381 7382commit acb202325215058639234efb7af1f04c1c8a1f44 7383Author: Josh Triplett <josh@joshtriplett.org> 7384Date: Wed Mar 26 20:18:41 2014 -0700 7385 7386 Stop setting an empty AM_RUNTESTFLAGS 7387 7388commit c860a992fef5d7cd7bb0975b1632d17a9fafe007 7389Author: Anthony Green <green@moxielogic.com> 7390Date: Tue Mar 25 17:02:51 2014 -0400 7391 7392 Upgrade version to 3.1-rc1 7393 7394commit 9837073e6203048a162a226798c5d252600219ed 7395Author: Anthony Green <green@moxielogic.com> 7396Date: Tue Mar 25 16:24:14 2014 -0400 7397 7398 Update copyright date and clean up README notes. 7399 7400commit 18d3baa9f597b026675baa1b4e5a5eeef7577a08 7401Merge: afee537 f0c8a31 7402Author: Anthony Green <green@moxielogic.com> 7403Date: Tue Mar 25 16:12:53 2014 -0400 7404 7405 Merge pull request #108 from joshtriplett/freebsd 7406 7407 [3.1 blocker] Fix FreeBSD support 7408 7409commit afee53738a995e23bd2f89fd0f7b30b380566106 7410Merge: 7d24785 b2d610e 7411Author: Anthony Green <green@moxielogic.com> 7412Date: Tue Mar 25 16:12:35 2014 -0400 7413 7414 Merge pull request #106 from joshtriplett/darwin-award 7415 7416 [3.1 blocker] Update OS X build system to include win32.S on 32-bit 7417 7418commit 7d2478568ed9f03cbf57627f449a2d2cf4d1571c 7419Merge: beab5f3 56be47f 7420Author: Anthony Green <green@moxielogic.com> 7421Date: Tue Mar 25 16:12:17 2014 -0400 7422 7423 Merge pull request #110 from joshtriplett/w64 7424 7425 Fix 64-bit Windows support 7426 7427commit beab5f334d9ec5b8b91d1cc727d1029b40358e7e 7428Merge: 28fb197 ef5890e 7429Author: Anthony Green <green@moxielogic.com> 7430Date: Tue Mar 25 16:07:47 2014 -0400 7431 7432 Merge pull request #105 from joshtriplett/win32-relocations 7433 7434 [3.1 blocker] win32.S needs to handle relocations/GOT 7435 7436commit f0c8a31577172104049283f0a80c723084a5bd77 7437Author: Josh Triplett <josh@joshtriplett.org> 7438Date: Mon Mar 24 22:14:26 2014 -0700 7439 7440 Compile win32.S on FreeBSD 7441 7442commit b2d610e028b5ce48d1ad7e5d0debc9c321d891b2 7443Author: Josh Triplett <josh@joshtriplett.org> 7444Date: Fri Mar 21 11:10:13 2014 -0700 7445 7446 Compile win32.S on 32-bit Darwin as well 7447 7448commit be50b87a490e794362cb4a27ada2fbaab202adb8 7449Author: Josh Triplett <josh@joshtriplett.org> 7450Date: Mon Mar 24 21:44:13 2014 -0700 7451 7452 Always use configure to detect whether global symbols need underscores 7453 7454 64-bit Windows already used this check; make it universal, and use it in 7455 place of an ifdef on X86_WIN32, to handle non-Windows platforms that use 7456 the underscore, such as Darwin. 7457 7458commit 56be47f87629e31afbcb0774aa65735f539ee972 7459Author: Josh Triplett <josh@joshtriplett.org> 7460Date: Mon Mar 24 21:24:53 2014 -0700 7461 7462 Fix a warning on 64-bit Windows 7463 7464 When sizeof(size_t) != sizeof(unsigned), adding a size_t to cif->bytes 7465 produces a "possible loss of data" warning. However, the size_t in 7466 question refers to the size of a single parameter. Use a cast to avoid 7467 the warning. 7468 7469commit 48a8eda74aad8a21b6f26df5df08fe64c043d208 7470Author: Josh Triplett <josh@joshtriplett.org> 7471Date: Mon Mar 24 21:21:12 2014 -0700 7472 7473 Avoid referencing undefined ABIs on 64-bit Windows builds 7474 7475 64-bit Windows does not have FFI_STDCALL, FFI_THISCALL, or FFI_FASTCALL. 7476 7477commit f0f4138f90345d7d67dfa6783a7e1c7cc30d3c6f 7478Author: Josh Triplett <josh@joshtriplett.org> 7479Date: Sat Mar 22 10:00:53 2014 -0700 7480 7481 win32.S: Add handling for position-independent code on Darwin 7482 7483 Newer versions of Darwin generate the necessary stub functions 7484 automatically and just need a call instruction, but accomodating older 7485 versions as well requires adding the stub. 7486 7487commit ef5890ebafb7cd2fbf9acf161edb55fe1382871c 7488Author: Josh Triplett <josh@joshtriplett.org> 7489Date: Fri Mar 21 11:01:39 2014 -0700 7490 7491 win32.S: Use shifting for multiplication rather than repeated addition 7492 7493 The jump table code added a register to itself twice to multiply by 4; 7494 shift the register left by 2 instead. 7495 7496commit 4fca48901e7e4f53bf490ed22607b2d2d8f4bfcc 7497Author: Josh Triplett <josh@joshtriplett.org> 7498Date: Fri Mar 21 11:00:41 2014 -0700 7499 7500 win32.S: Make the jump tables position-independent 7501 7502 Now that non-Windows platforms include win32.S, it needs to support 7503 building as position-independent code. This fixes build failures on 7504 target platforms that do not allow text relocations. 7505 7506commit 2087dcf736274286f76c69d3988fb6d7cc4fd0f5 7507Author: Josh Triplett <josh@joshtriplett.org> 7508Date: Fri Mar 21 10:57:06 2014 -0700 7509 7510 win32.S: Make calls to ffi_closure_SYSV_inner position-independent 7511 7512 Now that non-Windows platforms include win32.S, it needs to support 7513 building as position-independent code. This fixes one source of build 7514 failures on target platforms that do not allow text relocations. 7515 7516commit 28fb197079cf1d11da4eef7c8c243ab05590c528 7517Merge: c697472 c3dd0a1 7518Author: Anthony Green <green@moxielogic.com> 7519Date: Tue Mar 18 12:19:36 2014 -0400 7520 7521 Merge pull request #107 from rvandermeulen/msvcc 7522 7523 Various compatibility fixes and improvements to msvcc.sh. 7524 7525commit c3dd0a1a0245fc174361a70876e88ae24285f861 7526Author: Ryan VanderMeulen <ryanvm@gmail.com> 7527Date: Tue Mar 18 12:09:45 2014 -0400 7528 7529 Various compatibility fixes and improvements to msvcc.sh. 7530 7531 * Don't try to mix incompatible optimization flags in debug builds. 7532 * Workaround ax_cc_maxopt.m4 not supporting MSVC and change -O3 to -O2. 7533 * Fix MSVC warning by properly passing linker flags to compiler. 7534 * Make msvcc.sh return 1 if invalid command line options are used rather than silently eating them. 7535 * Add more comments. 7536 7537commit c697472fccfbb5b87b007c053cda9ef014b346b9 7538Merge: 83fd2bc e48918e 7539Author: Anthony Green <green@moxielogic.com> 7540Date: Mon Mar 17 00:32:42 2014 -0400 7541 7542 Merge pull request #102 from joshtriplett/test-generic 7543 7544 Add ABIs to the test matrix; unify many bits of the testsuite 7545 7546commit e48918ecf876bc85d040fc50a232059c566553a8 7547Author: Josh Triplett <josh@joshtriplett.org> 7548Date: Sun Mar 16 20:29:27 2014 -0700 7549 7550 testsuite: Add ABIs to the test matrix; unify tests across ABIs 7551 7552 This eliminates all the *_win32.c tests in favor of the tests they were 7553 branched from, and expands test coverage to run many more tests on 7554 stdcall, thiscall, and fastcall. 7555 7556 This same mechanism also supports testing any other target that has 7557 multiple ABIs. 7558 7559commit 4d4d368e5a55d9443c4c53b1b70d58ab6d8c941c 7560Author: Josh Triplett <josh@joshtriplett.org> 7561Date: Sun Mar 16 17:02:05 2014 -0700 7562 7563 testsuite: Replace ffitestcxx.h with ffitest.h 7564 7565 ffitest.h contains a superset of the functionality of ffitestcxx.h; 7566 make the C++ tests include ffitest.h instead, and remove ffitestcxx.h. 7567 7568commit 3f97cf3413c46caf2a79f32ac9cda4620972c2d7 7569Author: Josh Triplett <josh@joshtriplett.org> 7570Date: Sun Mar 16 16:53:42 2014 -0700 7571 7572 testsuite: Unify the C and C++ testsuites 7573 7574 These two testsuites differ only in the source file glob and a couple of 7575 additional compiler options; unify the remaining bits. 7576 7577commit 0d9cce8edb937bbe771a6cdd25f671edf06d2128 7578Author: Josh Triplett <josh@joshtriplett.org> 7579Date: Sun Mar 16 16:22:58 2014 -0700 7580 7581 testsuite: ffitest.h: Parenthesize the CHECK macro 7582 7583commit 5695ec1444c5323e48fe4314f8c8f027625e67df 7584Author: Josh Triplett <josh@joshtriplett.org> 7585Date: Sun Mar 16 16:04:58 2014 -0700 7586 7587 testsuite: Factor out a function to run a matrix of tests 7588 7589 This commons up code from libffi.call/call.exp and 7590 libffi.special/special.exp, unifies the optimization option matrix 7591 between the two, and makes it easier to add more axes to the matrix 7592 in the future. 7593 7594commit dfdb02cc869855d3b68571e5f7aa77ae8c9d254a 7595Author: Josh Triplett <josh@joshtriplett.org> 7596Date: Sun Mar 16 15:26:26 2014 -0700 7597 7598 testsuite: Introduce a __THISCALL__ compiler-specific macro 7599 7600commit 83fd2bce0456224483435d4b764063f4513fd464 7601Merge: 3658a07 06ff924 7602Author: Anthony Green <green@moxielogic.com> 7603Date: Sun Mar 16 22:03:29 2014 -0400 7604 7605 Merge pull request #99 from joshtriplett/gitignore 7606 7607 .gitignore: Ignore more generated files 7608 7609commit 3658a0700a50d37a2fdba04fd9d79ad2f706d9f5 7610Merge: d948d0a 46c5d3c 7611Author: Anthony Green <green@moxielogic.com> 7612Date: Sun Mar 16 21:37:42 2014 -0400 7613 7614 Merge pull request #100 from rvandermeulen/bug-756740 7615 7616 Change double quotes in Makefile.am to single quotes. 7617 7618commit 46c5d3c30fdc2b43c076ad955078d7c5f1e75b37 7619Author: Ryan VanderMeulen <ryanvm@gmail.com> 7620Date: Sun Mar 16 21:16:08 2014 -0400 7621 7622 Change double quotes in Makefile.am to single quotes. 7623 7624 This was originally done in PR #84, except the change was made to Makefile.in instead of Makefile.am and was therefore reverted the next time the files were regenerated. 7625 7626commit 06ff924215a2f9739efa2c059dc595bc4ec1c851 7627Author: Josh Triplett <josh@joshtriplett.org> 7628Date: Sun Mar 16 16:19:46 2014 -0700 7629 7630 .gitignore: Ignore more generated files 7631 7632 The build process generates doc/libffi.info and fficonfig.h.in, so add 7633 them to .gitignore. 7634 7635commit bad8948346e9b8813023a0cc78a3b6eb8d9c14c6 7636Author: Josh Triplett <josh@joshtriplett.org> 7637Date: Sun Mar 16 15:16:18 2014 -0700 7638 7639 testsuite: Introduce a __STDCALL__ compiler-specific macro 7640 7641 Several tests want to use stdcall, which differs in syntax by compiler, 7642 so introduce a macro for it in ffitest.h. 7643 7644commit 98a793fa36a4ab3ba24d059cb80a2891cdb940e1 7645Author: Josh Triplett <josh@joshtriplett.org> 7646Date: Sun Mar 16 15:20:36 2014 -0700 7647 7648 testsuite: Common up the ifdef blocks for compiler-specific macros 7649 7650commit d948d0a729c934b0224749338a3ba0a2c8f51c45 7651Merge: b61b472 a86bd31 7652Author: Anthony Green <green@moxielogic.com> 7653Date: Sun Mar 16 10:53:48 2014 -0400 7654 7655 Merge pull request #98 from joshtriplett/unconfigure.host 7656 7657 Merge configure.host into configure.ac 7658 7659commit a86bd318e2424d879d784ee7b29d6536d7a17c18 7660Author: Josh Triplett <josh@joshtriplett.org> 7661Date: Sun Mar 16 06:58:59 2014 -0700 7662 7663 Merge configure.host into configure.ac 7664 7665 configure.host only has a single entry, and shows no signs of needing 7666 more added. 7667 7668commit b61b472bd0647006d6685238721002017f1d119c 7669Author: Anthony Green <green@moxielogic.com> 7670Date: Sun Mar 16 09:45:55 2014 -0400 7671 7672 Update version to 3.1-rc0. Clean up README. 7673 7674commit 7a64e7dbba54e6e9f69954adfb943be1856ff928 7675Merge: 11a5c5c eef2e02 7676Author: Anthony Green <green@moxielogic.com> 7677Date: Sun Mar 16 09:39:08 2014 -0400 7678 7679 Merge pull request #97 from joshtriplett/remove-more-generated-files 7680 7681 Remove more generated files 7682 7683commit 11a5c5c39f5861011f6c5ddf795da3a32b5f0082 7684Merge: 9a62a21 1c68c07 7685Author: Anthony Green <green@moxielogic.com> 7686Date: Sun Mar 16 09:38:47 2014 -0400 7687 7688 Merge pull request #96 from joshtriplett/sawing-changelogs 7689 7690 Generate ChangeLog from git in make dist; remove it from version control 7691 7692commit eef2e02a13d7d1c8145d47a64467f654406a3548 7693Author: Josh Triplett <josh@joshtriplett.org> 7694Date: Sun Mar 16 06:26:03 2014 -0700 7695 7696 doc: Remove autogenerated info file and stamp 7697 7698commit 9fb403d3c5d9643e0f561cab6d4a07b1e54907ff 7699Author: Josh Triplett <josh@joshtriplett.org> 7700Date: Sun Mar 16 06:25:52 2014 -0700 7701 7702 fficonfig.h.in: Remove, configure generates it 7703 7704commit 1c68c07217fda78a779778c1480fedef7a58d5b4 7705Author: Josh Triplett <josh@joshtriplett.org> 7706Date: Sun Mar 16 06:11:58 2014 -0700 7707 7708 Generate ChangeLog from git in make dist 7709 7710 Archive the existing ChangeLog to ChangeLog.libffi-3.1 7711 7712commit c65ed55e655711e008282edbdd82ce95d008b4f6 7713Author: Josh Triplett <josh@joshtriplett.org> 7714Date: Sun Mar 16 05:52:00 2014 -0700 7715 7716 ChangeLog.v1: Fix typo in explanatory header. 7717 7718commit 9a62a21f5c3a8e1da463229f3170c8ab3031d920 7719Author: Anthony Green <green@moxielogic.com> 7720Date: Sun Mar 16 09:03:57 2014 -0400 7721 7722 Add missing ChangeLog entry. Clean up some entries. 7723 7724commit 9bc704c58cb7a049d867837e3a11e2e31886ec66 7725Merge: 694447a e892e58 7726Author: Anthony Green <green@moxielogic.com> 7727Date: Sun Mar 16 08:41:00 2014 -0400 7728 7729 Merge pull request #95 from joshtriplett/news 7730 7731 README: Update news for 3.0.14 7732 7733commit e892e581d1838a06c18c7ecd50ebd79915cff92b 7734Author: Josh Triplett <josh@joshtriplett.org> 7735Date: Sun Mar 16 05:38:24 2014 -0700 7736 7737 README: Update news for 3.0.14 7738 7739commit 694447aa29deadd571efb4e9a26ee3f68ede1493 7740Merge: fdc87f3 45a6c21 7741Author: Anthony Green <green@moxielogic.com> 7742Date: Sun Mar 16 08:32:05 2014 -0400 7743 7744 Merge pull request #93 from joshtriplett/travis-dist 7745 7746 Make Travis check "make dist" 7747 7748commit 45a6c21efa944b520842e631dc54919b04884744 7749Author: Josh Triplett <josh@joshtriplett.org> 7750Date: Sun Mar 16 05:29:08 2014 -0700 7751 7752 .travis.yml: Test "make dist" too. 7753 7754commit fdc87f3b2ea37b58a4a9ae6c35083f544909fe3c 7755Merge: 7412b83 e1911f7 7756Author: Anthony Green <green@moxielogic.com> 7757Date: Sun Mar 16 08:05:51 2014 -0400 7758 7759 Merge pull request #85 from joshtriplett/stdcall 7760 7761 stdcall support on Linux 7762 7763commit e1911f78df113ca58738b66089a070d4cf747de7 7764Author: Josh Triplett <josh@joshtriplett.org> 7765Date: Sun Mar 16 03:25:53 2014 -0700 7766 7767 Add support for stdcall, thiscall, and fastcall on non-Windows x86-32 7768 7769 Linux supports the stdcall calling convention, either via functions 7770 explicitly declared with the stdcall attribute, or via code compiled 7771 with -mrtd which effectively makes stdcall the default. 7772 7773 This introduces FFI_STDCALL, FFI_THISCALL, and FFI_FASTCALL on 7774 non-Windows x86-32 platforms, as non-default calling conventions. 7775 7776commit 7412b838d543aae4fa925862bd5702d3dacbc29a 7777Merge: c0cc5fd 9531d05 7778Author: Anthony Green <green@moxielogic.com> 7779Date: Sun Mar 16 07:58:16 2014 -0400 7780 7781 Merge pull request #90 from joshtriplett/win32-unifdef 7782 7783 prep_cif.c: Remove unnecessary ifdef for X86_WIN32 7784 7785commit c0cc5fdaa237b67e86f22d2f6e13f3b42d9aae33 7786Merge: 98b5296 b3a5da0 7787Author: Anthony Green <green@moxielogic.com> 7788Date: Sun Mar 16 07:57:59 2014 -0400 7789 7790 Merge pull request #89 from joshtriplett/travis32 7791 7792 .travis.yml: Test on both 32-bit and 64-bit 7793 7794commit 9531d05f64c2a674e0197158ffad68d69f177bd0 7795Author: Josh Triplett <josh@joshtriplett.org> 7796Date: Sun Mar 16 01:50:02 2014 -0700 7797 7798 prep_cif.c: Remove unnecessary ifdef for X86_WIN32 7799 7800 ffi_prep_cif_core had a special case for X86_WIN32, checking for 7801 FFI_THISCALL in addition to the FFI_FIRST_ABI-to-FFI_LAST_ABI range 7802 before returning FFI_BAD_ABI. However, on X86_WIN32, FFI_THISCALL 7803 already falls in that range, making the special case unnecessary. 7804 Remove it. 7805 7806commit b3a5da068abd2f2983d9e67adbf41b0e0f34e37f 7807Author: Josh Triplett <josh@joshtriplett.org> 7808Date: Sat Mar 15 23:27:56 2014 -0700 7809 7810 .travis.yml: Test on both 32-bit and 64-bit 7811 7812commit 98b52960485a261399f081915f36063de3854a5f 7813Merge: 134ce4c f6dd184 7814Author: Anthony Green <green@moxielogic.com> 7815Date: Sun Mar 16 07:51:33 2014 -0400 7816 7817 Merge pull request #94 from joshtriplett/esp-extra-stackery-perception 7818 7819 ChangeLog: Document testsuite changes to remove fragile stack pointer checks 7820 7821commit f6dd1845434dd53e22129becdfa092c082df307c 7822Author: Josh Triplett <josh@joshtriplett.org> 7823Date: Sun Mar 16 04:49:36 2014 -0700 7824 7825 ChangeLog: Document testsuite changes to remove fragile stack pointer checks 7826 7827commit 134ce4c0266bf994f07518fc534de53f1d3c8de8 7828Merge: 2680e9e 9c27932 7829Author: Anthony Green <green@moxielogic.com> 7830Date: Sun Mar 16 07:47:17 2014 -0400 7831 7832 Merge pull request #91 from joshtriplett/esp-extra-stackery-perception 7833 7834 testsuite: Remove fragile stack pointer checks 7835 7836commit 9c279328ee12fc869adff63ca81f1230977bd42b 7837Author: Josh Triplett <josh@joshtriplett.org> 7838Date: Sun Mar 16 02:31:19 2014 -0700 7839 7840 testsuite: Remove fragile stack pointer checks 7841 7842 testsuite/libffi.call/closure_stdcall.c and 7843 testsuite/libffi.call/closure_thiscall.c include inline assembly to save 7844 the stack pointer before and after the call, and compare the values. 7845 However, compilers can and do leave the stack in different states for 7846 these two pieces of inline assembly, such as by saving a temporary value 7847 on the stack across the call; observed with gcc -Os, and verified as 7848 spurious through careful inspection of disassembly. 7849 7850commit 2680e9ea9b4c87ea8042a61e551bd667493d4bd3 7851Merge: 071eab3 82f8cb2 7852Author: Anthony Green <green@moxielogic.com> 7853Date: Sun Mar 16 07:44:08 2014 -0400 7854 7855 Merge pull request #88 from joshtriplett/such-precision-many-fail-wow 7856 7857 testsuite/libffi.call/many.c: Avoid spurious failure due to excess precision 7858 7859commit 82f8cb24a1d976db35ae31a4b86cec8926da327d 7860Author: Josh Triplett <josh@joshtriplett.org> 7861Date: Sun Mar 16 04:27:32 2014 -0700 7862 7863 ChangeLog: Document many.c and many_win32.c changes to avoid spurious failures 7864 7865commit 88d562a8b5912e99306063fe3bc289bab6ca6ebe 7866Author: Josh Triplett <josh@joshtriplett.org> 7867Date: Sat Mar 15 22:08:19 2014 -0700 7868 7869 testsuite/libffi.call/many_win32.c: Avoid spurious failure due to excess precision 7870 7871 The test case testsuite/libffi.call/many_win32.c can spuriously fail due 7872 to excess floating-point precision. Instrumenting it with some printf 7873 calls shows differences well above FLT_EPSILON. (Note when 7874 instrumenting it that multiple computations of the difference, such as 7875 one in a print and another in the conditional, may produce different 7876 results.) 7877 7878 Rather than complicating the test suite with architecture-specific flags 7879 to avoid excess precision, just simplify the floating-point computation 7880 to avoid a dependency on potential excess precision. 7881 7882commit c00a49ecd165b2d06c1c9b249d212dc843fa116f 7883Author: Josh Triplett <josh@joshtriplett.org> 7884Date: Sat Mar 15 22:08:19 2014 -0700 7885 7886 testsuite/libffi.call/many.c: Avoid spurious failure due to excess precision 7887 7888 The test case testsuite/libffi.call/many.c can spuriously fail due to 7889 excess floating-point precision. Instrumenting it with some printf 7890 calls shows differences well above FLT_EPSILON. (Note when 7891 instrumenting it that multiple computations of the difference, such as 7892 one in a print and another in the conditional, may produce different 7893 results.) 7894 7895 Rather than complicating the test suite with architecture-specific flags 7896 to avoid excess precision, just simplify the floating-point computation 7897 to avoid a dependency on potential excess precision. 7898 7899commit 071eab32a7f9fbbef46c0d8f37d9985bc9cceb37 7900Merge: 2228c7a 2f44952 7901Author: Anthony Green <green@moxielogic.com> 7902Date: Sun Mar 16 07:36:52 2014 -0400 7903 7904 Merge pull request #92 from joshtriplett/autogen 7905 7906 Re-add libtool-ldflags 7907 7908commit 2f44952c95765c1486fad66f57235f8d459a9748 7909Author: Josh Triplett <josh@joshtriplett.org> 7910Date: Sun Mar 16 04:35:12 2014 -0700 7911 7912 Re-add libtool-ldflags 7913 7914commit 2228c7ab190f3c529b9018495467b841fa21cba2 7915Merge: 76d19d0 35634db 7916Author: Anthony Green <green@moxielogic.com> 7917Date: Sun Mar 16 07:25:18 2014 -0400 7918 7919 Merge pull request #87 from joshtriplett/autogen 7920 7921 Remove autogenerated files from the repository 7922 7923commit 35634dbceaac0a1544f7385addc01d21ef1ef6a8 7924Author: Josh Triplett <josh@joshtriplett.org> 7925Date: Sat Mar 15 18:11:16 2014 -0700 7926 7927 Remove autogenerated files from the repository 7928 7929 Add an autogen.sh to regenerate them. 7930 7931commit 76d19d004e36e99d261ee78261e2f52cea5e4ab1 7932Merge: c86d9b6 a1a6f71 7933Author: Anthony Green <green@moxielogic.com> 7934Date: Fri Mar 14 16:54:31 2014 -0400 7935 7936 Ensure the linker supports @unwind sections in libffi. 7937 7938commit c86d9b6cc6e16ee262844a33b40441374400758c 7939Merge: 4efb7db f8cdf11 7940Author: Anthony Green <green@moxielogic.com> 7941Date: Fri Mar 14 16:51:20 2014 -0400 7942 7943 Fix merge 7944 7945commit 4efb7dbfd9427c478a948cd0d464210123db8de8 7946Merge: 634a475 18eb81d 7947Author: Anthony Green <green@moxielogic.com> 7948Date: Fri Mar 14 16:47:57 2014 -0400 7949 7950 Merge pull request #81 from rvandermeulen/bug-756740 7951 7952 Allow building for mipsel with Android NDK r8. 7953 7954commit a1a6f71bfe4199293043b2e4cfb4c8d3cb1112f9 7955Author: Ryan VanderMeulen <ryanvm@gmail.com> 7956Date: Mon Mar 10 15:12:47 2014 -0400 7957 7958 Remove stray hunk that shouldn't have been included in this patch. 7959 7960commit f8cdf11467181f2a9a6b7e748167569aa58e3a81 7961Author: Ryan VanderMeulen <ryanvm@gmail.com> 7962Date: Mon Mar 10 15:04:58 2014 -0400 7963 7964 Replace double quotes with single quotes in Makefile.in to improve compatibility between some versions of MSYS and gmake. From Mozilla bug 943728. 7965 https://bugzilla.mozilla.org/show_bug.cgi?id=943728 7966 7967commit dfa3738732e1bc3a7f4130395ae4bab55fcebb99 7968Author: Ryan VanderMeulen <ryanvm@gmail.com> 7969Date: Mon Mar 10 14:53:48 2014 -0400 7970 7971 Ensure the linker supports @unwind sections in libffi. From Mozilla bug 756740. 7972 https://bugzilla.mozilla.org/show_bug.cgi?id=778414 7973 7974 Also tracked as issue #42. 7975 https://github.com/atgreen/libffi/issues/42 7976 7977commit 18eb81d032f29d645d0498ba92bddfd651f009ae 7978Author: Ryan VanderMeulen <ryanvm@gmail.com> 7979Date: Mon Mar 10 14:43:37 2014 -0400 7980 7981 Allow building for mipsel with Android NDK r8. From Mozilla bug 756740. 7982 https://bugzilla.mozilla.org/show_bug.cgi?id=756740 7983 7984commit 2349fec9a818fb52fd2f294bcbc7b3156cd113de 7985Author: Daiki Ueno <ueno@gnu.org> 7986Date: Wed Mar 5 17:53:02 2014 +0900 7987 7988 Fix typo in doc 7989 7990commit 634a475eaf1bee31c09f7d519e31c13b64cd24df 7991Author: Anthony Green <green@moxielogic.com> 7992Date: Sat Mar 1 18:37:29 2014 -0500 7993 7994 Update Makefile for new darwin scripts 7995 7996commit c7b67e874bb89859f9a07d1cf9606052b6c0dcc1 7997Author: Anthony Green <green@moxielogic.com> 7998Date: Sat Mar 1 18:34:18 2014 -0500 7999 8000 Add README note 8001 8002commit a04e30ba3dc303133d459c1ac273ceefe4d49b32 8003Author: Anthony Green <green@moxielogic.com> 8004Date: Fri Feb 28 17:20:59 2014 -0500 8005 8006 Add missing -DFFI_DEBUG flag 8007 8008commit 934dc1b5c8d6a9e727bedc72342831eb7d62c35f 8009Merge: 11d7aa9 67fbef3 8010Author: Anthony Green <green@moxielogic.com> 8011Date: Fri Feb 28 01:10:17 2014 -0500 8012 8013 Merge branch 'master' of github.com:/atgreen/libffi 8014 8015commit 11d7aa9d7a4bbe642944edc0f07cf96db9b270b6 8016Merge: b40aeda 3b44d41 8017Author: Anthony Green <green@moxielogic.com> 8018Date: Fri Feb 28 01:06:48 2014 -0500 8019 8020 Merge pull request #46 from makotokato/android-clang 8021 8022 Fix build failure when using clang for Android 8023 8024commit 67fbef3b56ff0ef88f9b1a7fe48cb77222fa6cec 8025Merge: b40aeda 3b44d41 8026Author: Anthony Green <green@moxielogic.com> 8027Date: Fri Feb 28 01:06:48 2014 -0500 8028 8029 Merge pull request #46 from makotokato/android-clang 8030 8031 Fix build failure when using clang for Android 8032 8033commit b40aeda31a74d95a37c723b6243aabac466e67c4 8034Merge: 20698ab 53ceaf1 8035Author: Anthony Green <green@moxielogic.com> 8036Date: Fri Feb 28 01:01:29 2014 -0500 8037 8038 Merge branch 'master' of github.com:/atgreen/libffi 8039 8040commit 53ceaf14c5eeb16ba09745f0ca87cca367d41a90 8041Merge: 860fe66 cc9b518 8042Author: Anthony Green <green@moxielogic.com> 8043Date: Fri Feb 28 01:01:02 2014 -0500 8044 8045 Merge pull request #40 from wojdyr/master 8046 8047 Correct the -L flag in libffi.pc.in 8048 8049commit 20698abc6a00092fd7fd3e434a3a29dc0f048f1e 8050Merge: 64bd069 1a0b01e 8051Author: Anthony Green <green@moxielogic.com> 8052Date: Fri Feb 28 00:56:27 2014 -0500 8053 8054 Merge pull request #66 from ppizarro/master 8055 8056 BlackFin fixes - Fatal error when calling a function defined in a shared library from within the function called by FFI 8057 8058commit 860fe6646f5ae603e99a8d1d722ddddba8b75769 8059Merge: 64bd069 1a0b01e 8060Author: Anthony Green <green@moxielogic.com> 8061Date: Fri Feb 28 00:56:27 2014 -0500 8062 8063 Merge pull request #66 from ppizarro/master 8064 8065 BlackFin fixes - Fatal error when calling a function defined in a shared library from within the function called by FFI 8066 8067commit 64bd06990a7accf72271516a2110b86cdccd8df4 8068Author: Anthony Green <green@moxielogic.com> 8069Date: Fri Feb 28 00:52:56 2014 -0500 8070 8071 Add ChangeLog entry for Josh's change 8072 8073commit edf29c5169b06fcfc241445e152e325bc3c50e0e 8074Merge: 33c9954 3998d26 8075Author: Anthony Green <green@moxielogic.com> 8076Date: Fri Feb 28 00:50:25 2014 -0500 8077 8078 Merge pull request #75 from joshtriplett/longdouble 8079 8080 Fix build error on x86 without distinct long double 8081 8082commit 33c9954f2eec539011a0f93270aaf013318837ae 8083Author: Anthony Green <green@moxielogic.com> 8084Date: Fri Feb 28 00:38:41 2014 -0500 8085 8086 Rebuilt with new libtool 8087 8088commit 926b6989fbd08488b9105943293353d45ac527e0 8089Merge: 5a88c85 cc82051 8090Author: Anthony Green <green@moxielogic.com> 8091Date: Fri Feb 28 00:26:57 2014 -0500 8092 8093 Merge branch 'master' of github.com:/atgreen/libffi 8094 8095 Conflicts: 8096 ChangeLog 8097 8098commit 5a88c85fde304052bed1581ed0b6452ac2c68838 8099Author: Anthony Green <green@moxielogic.com> 8100Date: Fri Feb 28 00:23:04 2014 -0500 8101 8102 Fix spelling errors 8103 8104commit cc82051c7e80cea772c4b72da026eb7e68d598fc 8105Author: Anthony Green <green@moxielogic.com> 8106Date: Fri Feb 28 00:23:04 2014 -0500 8107 8108 Fix spelling errors 8109 8110commit 001aaf4b1b56349596bb6f6b5c1613dcbbd84ea8 8111Author: Anthony Green <green@moxielogic.com> 8112Date: Fri Feb 28 00:20:17 2014 -0500 8113 8114 When no VFP arguments are present the IP register is used 8115 uninitialized. Initialize it to the value of FP. 8116 8117 This fixes a number of testsuite failures when configured for 8118 armv7l-unknown-linux-gnueabihf 8119 8120commit 49f7729c3ce697c12408c42ccb29cdf4eb66bb85 8121Author: Anthony Green <green@moxielogic.com> 8122Date: Fri Feb 28 00:17:16 2014 -0500 8123 8124 aarch64 fix 8125 8126commit 447483d51c6aa9df7116f346a73fc1cf795f4c2b 8127Merge: 51377bd b4df9cf 8128Author: Anthony Green <green@moxielogic.com> 8129Date: Thu Feb 27 15:42:41 2014 -0500 8130 8131 Fix ChangeLog merge 8132 8133commit 3998d2604b5c0d45a098ff3119a9fd9710ef429d 8134Author: Josh Triplett <josh@joshtriplett.org> 8135Date: Mon Feb 17 11:20:33 2014 -0800 8136 8137 Fix build error on x86 without distinct long double 8138 8139 src/x86/ffi64.c: In function 'classify_argument': 8140 src/x86/ffi64.c:205:5: error: duplicate case value 8141 case FFI_TYPE_LONGDOUBLE: 8142 ^ 8143 src/x86/ffi64.c:202:5: error: previously used here 8144 case FFI_TYPE_DOUBLE: 8145 ^ 8146 8147commit 51377bda9aed0b2c1309c818460cab9d9ab3d46e 8148Merge: f08da54 40927bd 8149Author: Anthony Green <green@moxielogic.com> 8150Date: Sat Feb 15 08:06:29 2014 -0500 8151 8152 Merge pull request #72 from heiher/devel 8153 8154 MIPS N32: Fix call floating point va function 8155 8156commit f08da5465463e60a28f5e921f23ebf2ba984c148 8157Merge: 3dc3f32 fa5f25c 8158Author: Anthony Green <green@moxielogic.com> 8159Date: Sat Feb 15 08:06:11 2014 -0500 8160 8161 Merge pull request #68 from zeldin/master 8162 8163 Linux/ppc64: Remove assumption on contents of r11 in closure 8164 8165commit 40927bd3e1e7c6007025ba10854fd8a0664e47df 8166Author: Heiher <r@hev.cc> 8167Date: Tue Jan 21 23:18:27 2014 +0800 8168 8169 Fix call floating point va function 8170 8171 I'm not sure floating-point arguments in GPR or FPR before calling 8172 variable number arguments function. so, load all arguments to GPR and 8173 FPR. 8174 8175commit b4df9cf9cc4a9a9401a53fd6bea1f3c2c283b97b 8176Author: Zachary Waldowski <zach@waldowski.me> 8177Date: Wed Feb 5 14:22:52 2014 -0500 8178 8179 AArch64: Fix void fall-through case when assertions are enabled 8180 8181commit f466aad0d91a117e42571d1d6fb434fa0433c930 8182Author: Zachary Waldowski <zach@waldowski.me> 8183Date: Tue Jan 21 16:38:31 2014 -0500 8184 8185 AArch64: Fix missing semicolons when assertions are enabled 8186 8187commit 7ea677733bd98917241852b8901a6b7580728895 8188Author: Anthony Green <green@moxielogic.com> 8189Date: Sat Nov 30 20:58:31 2013 -0500 8190 8191 Remove build-ios from Makefile 8192 8193 Conflicts: 8194 ChangeLog 8195 8196commit 6ae046cc59c12b2cd40158d6bcb96f4a59886159 8197Author: Anthony Green <green@moxielogic.com> 8198Date: Sat Nov 30 21:06:51 2013 -0500 8199 8200 Mention Aarch64 on iOS 8201 8202commit bfc06b3fdb32abe90ce0749aedfec649df85a7ef 8203Author: Zachary Waldowski <zach@waldowski.me> 8204Date: Mon Dec 30 17:36:39 2013 -0500 8205 8206 Update ChangeLog 8207 8208commit 0a0f12ce1f7be81006b08a3c81a636926d283a9b 8209Author: Zachary Waldowski <zach@waldowski.me> 8210Date: Thu Jan 9 13:50:17 2014 -0500 8211 8212 AArch64: Remove duplicitous element_count call. 8213 8214 This inhibits an analyzer warning by Clang. 8215 8216commit 4330fdcd92e67c816288d64ab230237065768206 8217Author: Zachary Waldowski <zach@waldowski.me> 8218Date: Thu Jan 9 13:53:30 2014 -0500 8219 8220 Darwin/aarch64: Respect iOS ABI re: stack argument alignment 8221 8222commit 0a333d6c3973935d4fe02aae76b10e39d3c88e07 8223Author: Zachary Waldowski <zach@waldowski.me> 8224Date: Thu Jan 9 14:03:29 2014 -0500 8225 8226 Darwin/aarch64: Fix size_t assumptions 8227 8228commit 2c18e3c76aad1b426617db05a4384e7c3a920176 8229Author: Zachary Waldowski <zach@waldowski.me> 8230Date: Mon Dec 30 16:14:02 2013 -0500 8231 8232 Darwin/aarch64: Fix "shadows declaration" warnings 8233 8234commit 1b8a8e20e344f3c55495ab6eb46bd14e843d4b3e 8235Author: Zachary Waldowski <zach@waldowski.me> 8236Date: Thu Jan 9 13:55:21 2014 -0500 8237 8238 Darwin/aarch64: Use Clang cache invalidation builtin 8239 8240commit 6030cdcae776f8fb5876a53168f7d1e75d28a242 8241Author: Zachary Waldowski <zach@waldowski.me> 8242Date: Mon Dec 30 15:45:51 2013 -0500 8243 8244 Darwin/aarch64: Account for long double being equal to double 8245 8246commit 5658b0892683d2e24e4d5842978c184a7ad33858 8247Author: Zachary Waldowski <zach@waldowski.me> 8248Date: Mon Dec 30 16:33:47 2013 -0500 8249 8250 Darwin/aarch64: Use CNAME, restrict .size like ARM 8251 8252commit 07175780802acec5dc49fdedd6d20a62409a6707 8253Author: Zachary Waldowski <zach@waldowski.me> 8254Date: Mon Dec 30 17:48:22 2013 -0500 8255 8256 Darwin/aarch64: Fix invalid reference in assembly 8257 8258commit 9da28b44277fea3aeb827c35dd63d609d2524a8b 8259Author: Zachary Waldowski <zach@waldowski.me> 8260Date: Mon Dec 30 16:23:21 2013 -0500 8261 8262 Darwin/x86_64: Fix 64-bit type shortening warnings 8263 8264commit 821d398f08bd1d540a5b235507812ffeee49b580 8265Author: Zachary Waldowski <zach@waldowski.me> 8266Date: Thu Jan 9 13:15:06 2014 -0500 8267 8268 Darwin: Merge build scripts, redo project, incl. arm64 8269 8270commit 6eff9ff9e72463b9783be2514f944b6f05692054 8271Author: Zachary Waldowski <zach@waldowski.me> 8272Date: Mon Dec 30 17:48:10 2013 -0500 8273 8274 Darwin/iOS: Improve unified syntax use for LLVM 8275 8276commit ba0ea99c82aadd5957386a031e3122011bd36d52 8277Author: Zachary Waldowski <zach@waldowski.me> 8278Date: Mon Dec 30 15:27:44 2013 -0500 8279 8280 Fix dlmalloc warnings due to set_segment_flags, sizeof(size_t) 8281 8282commit 994be3a5c1d0d17b19103396103e128517fd62f9 8283Author: Zachary Waldowski <zach@waldowski.me> 8284Date: Mon Dec 30 15:27:14 2013 -0500 8285 8286 Darwin/iOS: Fix mis-typing of vfp_reg_free 8287 8288commit a8e0a835ab1f62d03ad6391760e3e8b7732d24f8 8289Author: Zachary Waldowski <zach@waldowski.me> 8290Date: Mon Dec 30 15:26:20 2013 -0500 8291 8292 Darwin/ARM: Assert on NULL dereference 8293 8294 This inhibits an analyzer warning by Clang on all platforms. 8295 8296commit 13675341581c489ed9df8ba390c8e08a732decb2 8297Author: Zachary Waldowski <zach@waldowski.me> 8298Date: Thu Jan 9 13:42:08 2014 -0500 8299 8300 Darwin/i386: Inhibit Clang previous prototype warnings 8301 8302commit 66469c381e2e2cc96e7d409266dea0ffe177eeca 8303Author: Zachary Waldowski <zach@waldowski.me> 8304Date: Thu Jan 9 13:41:45 2014 -0500 8305 8306 Darwin/ARM: Inhibit Clang previous prototype warnings 8307 8308commit 5bfe62a00d2d659eec9f19b39802b6e69844fc27 8309Author: Zachary Waldowski <zach@waldowski.me> 8310Date: Thu Jan 9 13:41:27 2014 -0500 8311 8312 Darwin/AArch64: Inhibit Clang previous prototype warnings 8313 8314commit fa5f25c20f76a6ef5e950a7ccbce826672c8a620 8315Author: Marcus Comstedt <marcus@mc.pp.se> 8316Date: Sat Jan 4 19:00:08 2014 +0100 8317 8318 Linux/ppc64: Remove assumption on contents of r11 in closure 8319 8320commit 1a0b01e171e9c750437cef2f18917f5a6e32c498 8321Author: Paulo Pizarro <paulo.pizarro@gmail.com> 8322Date: Thu Jan 2 16:17:59 2014 -0200 8323 8324 When the function called by the ffi called a function defined in a shared library generate a fatal error 8325 The correction was to take into consideration the GOT. 8326 8327commit 3dc3f32c35db5ab995a835225f6815369735ceb7 8328Author: Anthony Green <green@moxielogic.com> 8329Date: Thu Dec 5 16:23:25 2013 -0500 8330 8331 Undo iOS ARM64 changes. 8332 8333commit 356b2cbc304bfe5bdc28b8d1c68d1ff084e9ec37 8334Merge: 484a758 07345a3 8335Author: Anthony Green <green@moxielogic.com> 8336Date: Sat Nov 30 22:38:13 2013 -0500 8337 8338 Merge branch 'master' of github.com:/atgreen/libffi 8339 8340commit 484a7584260e2fbb399ce90083046834271bf9ff 8341Author: Anthony Green <green@moxielogic.com> 8342Date: Sat Nov 30 21:06:51 2013 -0500 8343 8344 Mention Aarch64 on iOS 8345 8346commit 07345a30ec0a2fa45a7c363d301f57723690cfa0 8347Author: Anthony Green <green@moxielogic.com> 8348Date: Sat Nov 30 21:06:51 2013 -0500 8349 8350 Mention Aarch64 on iOS 8351 8352commit d4b931c1b872378c35f12ddbb9a6d55e7f17c65e 8353Author: Anthony Green <green@moxielogic.com> 8354Date: Sat Nov 30 20:58:31 2013 -0500 8355 8356 Remove build-ios from Makefile 8357 8358commit dfbf236d70fc1ec68e6ff193584a154353508e2f 8359Merge: 852ac3b bb9740e 8360Author: Anthony Green <green@moxielogic.com> 8361Date: Sat Nov 30 20:54:54 2013 -0500 8362 8363 Merge branch 'master' of github.com:/atgreen/libffi 8364 Add ChangeLog entry. 8365 8366commit bb9740e545205f93a525c77aa6d1cbf4ca9371f3 8367Merge: ac75368 4d701e0 8368Author: Anthony Green <green@moxielogic.com> 8369Date: Sat Nov 30 17:54:39 2013 -0800 8370 8371 Merge pull request #60 from zwaldowski/ios-redo 8372 8373 Mac/iOS support, including aarch64 port 8374 8375commit 4d701e03faa475a5eb3b54b90046114a1e27b813 8376Author: Zachary Waldowski <zwaldowski@gmail.com> 8377Date: Sat Nov 30 13:25:27 2013 -0500 8378 8379 Darwin: Properly export headers from Xcode project 8380 8381commit 022f12eb9ad2264e838fa5fb453733f5177888f4 8382Author: Zachary Waldowski <zwaldowski@gmail.com> 8383Date: Sat Nov 30 12:21:38 2013 -0500 8384 8385 Darwin: Freshen gen scripts, remove old build-ios.sh 8386 8387commit e820fe2025d7ad3df7584407946dfaad2af69599 8388Author: Zachary Waldowski <zwaldowski@gmail.com> 8389Date: Sat Nov 30 12:03:51 2013 -0500 8390 8391 Darwin/iOS: Include x86_64+aarch64 pieces in library 8392 8393commit 0278284e470ec91db7cdc15ac3dcd64683305848 8394Author: Zachary Waldowski <zwaldowski@gmail.com> 8395Date: Sat Nov 30 03:03:37 2013 -0500 8396 8397 Darwin/aarch64: size_t assumptions 8398 8399commit 9775446b6441c91cd9059215c106aa3bcf949767 8400Author: Zachary Waldowski <zwaldowski@gmail.com> 8401Date: Sat Nov 30 02:39:34 2013 -0500 8402 8403 Darwin/aarch64: Fix “shadows declaration” warnings 8404 8405commit 4260badc37705d3618e774dfe61184ac709881c1 8406Author: Zachary Waldowski <zwaldowski@gmail.com> 8407Date: Sat Nov 30 02:08:14 2013 -0500 8408 8409 Darwin/aarch64: Use Clang cache invalidation builtin 8410 8411commit 9fa7998d5f9250908cbf12a671479852ebadf9d1 8412Author: Zachary Waldowski <zwaldowski@gmail.com> 8413Date: Sat Nov 30 02:07:48 2013 -0500 8414 8415 Darwin/aarch64: Inhibit Xcode warning 8416 8417commit 0e832048a93830575b0976406444e134e649a4f7 8418Author: Zachary Waldowski <zwaldowski@gmail.com> 8419Date: Sat Nov 30 02:07:34 2013 -0500 8420 8421 Darwin/aarch64: double == long double 8422 8423commit 602dc22d76931092610234cf063f9f1b8dbc1a51 8424Author: Zachary Waldowski <zwaldowski@gmail.com> 8425Date: Sat Nov 30 02:06:00 2013 -0500 8426 8427 Darwin/iOS prep script: try and compile for arm64 8428 8429commit b513dfe79de4725e8a717325a9e3b5b9f69f63dc 8430Author: Zachary Waldowski <zwaldowski@gmail.com> 8431Date: Sat Nov 30 02:05:22 2013 -0500 8432 8433 Darwin/aarch64: Restrict .size to ELF like arm32. 8434 8435commit bc978099bf2812de755c076b67ef9c2547607572 8436Author: Zachary Waldowski <zwaldowski@gmail.com> 8437Date: Sat Nov 30 02:04:57 2013 -0500 8438 8439 Darwin/aarch64: Potentially(?) fix compile error 8440 8441commit d6bb9314467c6e0683156559d23ca341c43fa3c8 8442Author: Zachary Waldowski <zwaldowski@gmail.com> 8443Date: Sat Nov 30 02:04:22 2013 -0500 8444 8445 Darwin/aarch64: Use CNAME refs 8446 8447commit 33c46ce5680eea28d3437c8771ec1d137e226b45 8448Author: Zachary Waldowski <zwaldowski@gmail.com> 8449Date: Sat Nov 30 04:13:42 2013 -0500 8450 8451 Darwin/Mac: Fix 64/32 shortening warnings 8452 8453commit 0612081e6c161d9d820742f995975d35da2adbc2 8454Author: Zachary Waldowski <zwaldowski@gmail.com> 8455Date: Sat Nov 30 03:03:00 2013 -0500 8456 8457 Darwin: Misc size_t warnings 8458 8459commit 6a6247d179ec3859311c2d8775841b884f309f66 8460Author: Zachary Waldowski <zwaldowski@gmail.com> 8461Date: Sat Nov 30 02:55:48 2013 -0500 8462 8463 Darwin: Fix dlmalloc warnings due to sizeof(size_t) 8464 8465commit 4d60d9e1e32de6166ffd63bbe9ce54cf961c78fc 8466Author: Zachary Waldowski <zwaldowski@gmail.com> 8467Date: Sat Nov 30 04:09:30 2013 -0500 8468 8469 Darwin: Rebuild Xcode project 8470 8471commit cb719a5c1c2eb391d6a5f5e02484ba4aa990a51b 8472Author: Zachary Waldowski <zwaldowski@gmail.com> 8473Date: Sat Nov 30 04:09:18 2013 -0500 8474 8475 Darwin/iOS: Fix LLVM 3.3 warning re: memcpy. 8476 8477commit 21bde92c9abb378f9c456a9d95e6f9b99ef8c920 8478Author: Zachary Waldowski <zwaldowski@gmail.com> 8479Date: Sat Nov 30 03:43:42 2013 -0500 8480 8481 Darwin: Clean up, modernize generator scripts 8482 8483commit fd54eab74cef7891e4acaaafb71e783142ecb69e 8484Author: Zachary Waldowski <zwaldowski@gmail.com> 8485Date: Sat Nov 30 03:38:02 2013 -0500 8486 8487 Darwin/Mac: Also exclude OS X generated source 8488 8489commit 953b6f14c655141f9e7d82550a312c3eeb961091 8490Author: Zachary Waldowski <zwaldowski@gmail.com> 8491Date: Tue Apr 24 11:16:20 2012 -0400 8492 8493 Darwin/iOS: More unified syntax support w/ Clang. 8494 8495 Signed-off-by: Zachary Waldowski <zwaldowski@gmail.com> 8496 8497commit c713a55379481c339877f2e0003d97cb8d9ed80e 8498Author: Zachary Waldowski <zwaldowski@gmail.com> 8499Date: Tue Apr 24 10:25:29 2012 -0400 8500 8501 Darwin/iOS: Simplify RETLDM arguments for LLVM 3.1 8502 8503 Signed-off-by: Zachary Waldowski <zwaldowski@gmail.com> 8504 8505commit 16ba1b80028db5cb71cf86e5f79f5e48317f83c8 8506Author: Zachary Waldowski <zwaldowski@gmail.com> 8507Date: Wed Apr 11 23:26:04 2012 -0400 8508 8509 Darwin: Silence Clang warnings. 8510 8511commit 852ac3bd302d6ed97b1ef65f4cbed69c258a48df 8512Merge: ab79d6e ac75368 8513Author: Anthony Green <green@moxielogic.com> 8514Date: Thu Nov 21 21:25:44 2013 -0500 8515 8516 Merge branch 'master' of github.com:/atgreen/libffi 8517 8518 Conflicts: 8519 ChangeLog 8520 8521commit ab79d6e21992dd86139ba07530ff888833b78a04 8522Author: Alan Modra <amodra@gmail.com> 8523Date: Thu Nov 21 06:12:35 2013 -0500 8524 8525 This separates the 32-bit sysv/linux/bsd code from the 64-bit linux 8526 code, and makes it possible to link code compiled with different 8527 options to those used to compile libffi. For example, a 8528 -mlong-double-128 libffi can be used with -mlong-double-64 code. 8529 8530 Using the return value area as a place to pass parameters wasn't such 8531 a good idea, causing a failure of cls_ulonglong.c. I didn't see this 8532 when running the mainline gcc libffi testsuite because that version of 8533 the test is inferior to the upstreamm libffi test. 8534 8535 Using NUM_FPR_ARG_REGISTERS rather than NUM_FPR_ARG_REGISTERS64 meant 8536 that a parameter save area could be allocated before it was strictly 8537 necessary. Wrong but harmless. Found when splitting apart ffi.c 8538 into 32-bit and 64-bit support. 8539 8540commit ac7536889334d4be50709006d7e23536364d7891 8541Author: Alan Modra <amodra@gmail.com> 8542Date: Thu Nov 21 06:12:35 2013 -0500 8543 8544 This separates the 32-bit sysv/linux/bsd code from the 64-bit linux 8545 code, and makes it possible to link code compiled with different 8546 options to those used to compile libffi. For example, a 8547 -mlong-double-128 libffi can be used with -mlong-double-64 code. 8548 8549 Using the return value area as a place to pass parameters wasn't such 8550 a good idea, causing a failure of cls_ulonglong.c. I didn't see this 8551 when running the mainline gcc libffi testsuite because that version of 8552 the test is inferior to the upstreamm libffi test. 8553 8554 Using NUM_FPR_ARG_REGISTERS rather than NUM_FPR_ARG_REGISTERS64 meant 8555 that a parameter save area could be allocated before it was strictly 8556 necessary. Wrong but harmless. Found when splitting apart ffi.c 8557 into 32-bit and 64-bit support. 8558 8559commit 69df91cfb4fa6bcb644350a80bff970f27478a6a 8560Merge: 2f45082 aa1f62c 8561Author: Anthony Green <green@moxielogic.com> 8562Date: Mon Nov 18 06:34:04 2013 -0800 8563 8564 Merge pull request #59 from iains/powerpc-darwin-unwind-fix 8565 8566 Fix PowerPC Darwin FDE encodings to use pcrel correctly. Modernise the picbase labels. 8567 8568commit aa1f62c0a093c30325dff1d4d2b6b4b22eb96929 8569Author: Iain Sandoe <iain@codesourcery.com> 8570Date: Mon Nov 18 13:11:56 2013 +0000 8571 8572 Fix PowerPC Darwin FDE encodings to use pcrel correctly. Modernise the picbase labels. 8573 8574commit 2f450822a8698ba88441c56d152c7dc8924b127f 8575Author: Anthony Green <green@moxielogic.com> 8576Date: Mon Nov 18 06:52:29 2013 -0500 8577 8578 Clean up code to appease modern GCC compiler. 8579 8580commit 16d56c51aded374730920a4acde76ff3d2860ae1 8581Author: Alan Modra <amodra@gmail.com> 8582Date: Mon Nov 18 06:36:03 2013 -0500 8583 8584 An #endif in the wrong place would cause compile failure on powerpcle. 8585 Using bl instead of b doesn't cause runtime failures as you might think, 8586 but does mess the processor branch prediction. 8587 8588commit 34f878a5ef28663f6b1d7fd26fb099429ea1579e 8589Merge: 83f65b6 1fd0457 8590Author: Anthony Green <green@moxielogic.com> 8591Date: Sat Nov 16 06:57:54 2013 -0500 8592 8593 Merge branch 'master' of github.com:/atgreen/libffi 8594 8595 Conflicts: 8596 ChangeLog 8597 src/powerpc/ffi.c 8598 8599commit 83f65b63d9764a9cc7688fc5cda5ee2bd23faf54 8600Author: Alan Modra <amodra@gmail.com> 8601Date: Sat Nov 16 06:53:50 2013 -0500 8602 8603 Finally, this adds _CALL_ELF == 2 support. ELFv1 objects can't be 8604 linked with ELFv2 objects, so this is one case where preprocessor 8605 tests in ffi.c are fine. Also, there is no need to define a new 8606 FFI_ELFv2 or somesuch value in enum ffi_abi. FFI_LINUX64 will happily 8607 serve both ABIs. 8608 8609commit 1fd045784cac874b5d76b7fa931f67209a8280d3 8610Author: Alan Modra <amodra@gmail.com> 8611Date: Sat Nov 16 06:53:50 2013 -0500 8612 8613 Finally, this adds _CALL_ELF == 2 support. ELFv1 objects can't be 8614 linked with ELFv2 objects, so this is one case where preprocessor 8615 tests in ffi.c are fine. Also, there is no need to define a new 8616 FFI_ELFv2 or somesuch value in enum ffi_abi. FFI_LINUX64 will happily 8617 serve both ABIs. 8618 8619commit 362851379a49ce07d3e36e82c4e5c7b6cc16a352 8620Author: Alan Modra <amodra@gmail.com> 8621Date: Sat Nov 16 06:52:43 2013 -0500 8622 8623 Andreas' 2013-02-08 change reverted some breakage for struct return 8624 values from 2011-11-12, but in so doing reintroduced string 8625 instructions to sysv.S that are not supported on all powerpc variants. 8626 This patch properly copies the bounce buffer to destination in C code 8627 rather than in asm. 8628 8629 I have tested this on powerpc64-linux, powerpc-linux and 8630 powerpc-freebsd. Well, the last on powerpc-linux by lying to 8631 configure with 8632 8633 CC="gcc -m32 -msvr4-struct-return -mlong-double-64" \ 8634 CXX="g++ -m32 -msvr4-struct-return -mlong-double-64" \ 8635 /src/libffi-current/configure --build=powerpc-freebsd 8636 8637 and then 8638 8639 make && make CC="gcc -m32" CXX="g++ -m32" \ 8640 RUNTESTFLAGS=--target_board=unix/-m32/-msvr4-struct-return/-mlong-double-64\ 8641 check 8642 8643commit 1c06515d927d9de1582438d4eb5953890e79c5c7 8644Author: Alan Modra <amodra@gmail.com> 8645Date: Sat Nov 16 06:41:36 2013 -0500 8646 8647 The powerpc64 ABIs align structs passed by value, a fact ignored by 8648 gcc for quite some time. Since gcc now does the correct alignment, 8649 libffi needs to follow suit. This ought to be made selectable via 8650 a new abi value, and the #ifdefs removed from ffi.c along with many 8651 other #ifdefs present there and in assembly. I'll do that with a 8652 followup patch sometime. 8653 8654 This is a revised version of 8655 https://sourceware.org/ml/libffi-discuss/2013/msg00162.html 8656 8657commit a97cf1fae575d8bfd5259c5c422025ad43911326 8658Author: Alan Modra <amodra@gmail.com> 8659Date: Sat Nov 16 06:40:13 2013 -0500 8660 8661 This patch prepares for ELFv2, where sizes of these areas change. It 8662 also makes some minor changes to improve code efficiency. 8663 8664commit 164283f4ac5972ce2ab5e015cc2ab1014c23276c 8665Author: Alan Modra <amodra@gmail.com> 8666Date: Sat Nov 16 06:38:55 2013 -0500 8667 8668 The powerpc64 support opted to pass floating point values both in the 8669 fpr area and the parameter save area, necessary when the backend 8670 doesn't know if a function argument corresponds to the ellipsis 8671 arguments of a variadic function. This patch adds powerpc support for 8672 variadic functions, and changes the code to only pass fp in the ABI 8673 mandated area. ELFv2 needs this change since the parameter save area 8674 may not exist there. 8675 8676 This also fixes two faulty tests that used a non-variadic function 8677 cast to call a variadic function, and spuriously reasoned that this is 8678 somehow necessary for static functions.. 8679 8680commit 31257b3189f81a199bc2902c22bc5f2d7c54ccde 8681Author: Andrew Haley <aph@redhat.com> 8682Date: Sat Nov 16 06:35:51 2013 -0500 8683 8684 Fix sample closure code 8685 8686commit db0ace3a38496af73eae3df02ef353736d16909f 8687Author: Andrew Haley <aph@redhat.com> 8688Date: Sat Nov 16 06:29:25 2013 -0500 8689 8690 Fix broken test cases 8691 8692commit de10f5039ed7a53382ddcc95c368d03e535edb98 8693Merge: 58c2577 f3657da 8694Author: Anthony Green <green@moxielogic.com> 8695Date: Thu Nov 14 10:56:29 2013 -0500 8696 8697 Merge branch 'master' of https://github.com/bivab/libffi 8698 8699 Conflicts: 8700 ChangeLog 8701 8702commit f3657da278dd63afcdd8762894a9bdaea8ef028a 8703Author: David Schneider <david.schneider@bivab.de> 8704Date: Thu Nov 14 13:02:16 2013 +0100 8705 8706 update Changelog 8707 8708commit 58c2577a3ff80e7416ef0434769e2af23365719c 8709Author: Alan Modra <amodra@gmail.com> 8710Date: Wed Nov 13 16:55:36 2013 -0500 8711 8712 This enshrines the current testsuite practice of using ffi_arg for 8713 returned values. It would be reasonable and logical to use the actual 8714 return argument type as passed to ffi_prep_cif, but this would mean 8715 changing a large number of tests that use ffi_arg and all backends 8716 that write results to an ffi_arg. 8717 8718commit 8af42f9944f7ed72c81ae360aac6a84dc11f89dc 8719Author: Anthony Green <green@moxielogic.com> 8720Date: Wed Nov 13 16:40:28 2013 -0500 8721 8722 Respect HAVE_ALLOCA_H 8723 8724commit cdf405d574f479b782454516366bd4f4b9b3415e 8725Author: David Schneider <david.schneider@bivab.de> 8726Date: Wed Nov 13 15:50:21 2013 +0100 8727 8728 add a testcase for the double/float issue on ARMHF 8729 8730commit 77f823e31ffb557a466b24f7fba845fbf7831798 8731Author: David Schneider <david.schneider@bivab.de> 8732Date: Wed Nov 13 14:26:57 2013 +0100 8733 8734 stop trying to assing vfp regs once we are done with the registers 8735 8736commit 37067ec5036f2a6ed7a4799f83f8f53160460344 8737Author: David Schneider <david.schneider@bivab.de> 8738Date: Tue Nov 12 19:49:01 2013 +0100 8739 8740 mark all vfp registers as used when done. 8741 8742 To avoid assigning registers the would fit, once arguments have been on 8743 the stack, we mark all registers as used once we do not find a free 8744 register for the first time. 8745 8746commit 2f5b7ce545473a7f6e41193edc29407cbebe82d5 8747Author: Anthony Green <green@moxielogic.com> 8748Date: Sat Nov 9 06:16:32 2013 -0500 8749 8750 UltraSPARC IIi fix. Update README and build configury. 8751 8752commit becd754434173032f426d22ffcbfe24f55b3c137 8753Author: Mark Kettenis <kettenis@gnu.org> 8754Date: Wed Nov 6 06:43:49 2013 -0500 8755 8756 Align the stack pointer to 16-bytes. 8757 8758commit 05c31093409f7b3e6d795fac21d2c954313d8162 8759Author: Konstantin Belousov <kib@freebsd.org> 8760Date: Wed Nov 6 06:40:58 2013 -0500 8761 8762 Mark executable as not requiring executable stack. 8763 8764commit cf6bf9818e8394cfcdb07a40c6a5e2ee6b01d333 8765Author: Anthony Green <green@moxielogic.com> 8766Date: Sat Nov 2 17:23:59 2013 -0400 8767 8768 Fix up docs 8769 8770commit 02177176854d16fc0f1a5958aa34da2f306630ee 8771Merge: c242217 c265b4c 8772Author: Anthony Green <green@moxielogic.com> 8773Date: Sat Nov 2 17:11:22 2013 -0400 8774 8775 Merge branch 'master' of github.com:/atgreen/libffi 8776 8777commit c2422174b3edc0de0b148dfd6b67087bb881c4a6 8778Merge: f4b843f d918d47 8779Author: Anthony Green <green@moxielogic.com> 8780Date: Sat Nov 2 14:08:23 2013 -0700 8781 8782 Merge pull request #45 from foss-for-synopsys-dwc-arc-processors/arc_support 8783 8784 arc: Fix build error 8785 8786commit c265b4cacb9130f042699a85de9c7242b3f49cc3 8787Merge: f4b843f d918d47 8788Author: Anthony Green <green@moxielogic.com> 8789Date: Sat Nov 2 14:08:23 2013 -0700 8790 8791 Merge pull request #45 from foss-for-synopsys-dwc-arc-processors/arc_support 8792 8793 arc: Fix build error 8794 8795commit f4b843f83710ac378c48abd87fe66bb519d30d2e 8796Author: Anthony Green <green@moxielogic.com> 8797Date: Sat Nov 2 17:01:15 2013 -0400 8798 8799 Don't align stack for win32 8800 8801commit f3cd39345713db8e414cf642b6cb65a4cfe6018c 8802Merge: 666f3e7 6aa1590 8803Author: Anthony Green <green@moxielogic.com> 8804Date: Sat Nov 2 13:17:57 2013 -0700 8805 8806 Merge pull request #51 from vbudovski/for_upstream 8807 8808 Don't use 16 byte aligned stack for WIN32 8809 8810commit 666f3e71b56d92c49fcd2d7f349b8f8ebca0f8a3 8811Author: Anthony Green <green@moxielogic.com> 8812Date: Sat Oct 26 09:12:42 2013 -0400 8813 8814 Add more credits to README. Tidy up. 8815 8816commit 73ada14e756bad97fad0e6915a821a3c7e079f81 8817Author: Anthony Green <green@moxielogic.com> 8818Date: Sat Oct 26 09:09:45 2013 -0400 8819 8820 Update README 8821 8822commit d3372c54ce7117e80d389ba875dc5b6b2213c71e 8823Author: Mark H Weaver <mhw@netris.org> 8824Date: Sat Oct 26 08:30:06 2013 -0400 8825 8826 Fix N32 ABI issue for MIPS. 8827 8828commit d6716aba8118eb0513885cfe557bedebb7016e8b 8829Author: Anthony Green <green@moxielogic.com> 8830Date: Tue Oct 15 15:42:49 2013 -0400 8831 8832 Update travis-ci build dependencies to include texinfo 8833 8834commit 16b93a211bcfbe4bd0efdcf94de225a71aa0ee02 8835Author: Sandra Loosemore <sandra@codesourcery.com> 8836Date: Tue Oct 15 15:33:59 2013 -0400 8837 8838 Add nios2 port. 8839 8840commit 2f5626ce02fce8267ab48ceb6d7d0ed7d672a75e 8841Author: Sandra Loosemore <sandra@codesourcery.com> 8842Date: Tue Oct 15 15:32:16 2013 -0400 8843 8844 Fix testsuite bug 8845 8846commit f64e4a865557e440774436b4c2b2fd7374290e97 8847Author: Marcus Shawcroft <marcus.shawcroft@arm.com> 8848Date: Tue Oct 15 15:20:14 2013 -0400 8849 8850 Fix many.c testcase for Aarch64 8851 8852commit 128cd1d2f358f26d9fa75a27cf2b30356f5dd903 8853Author: Anthony Green <green@moxielogic.com> 8854Date: Tue Oct 8 06:45:51 2013 -0400 8855 8856 Fix spelling errors 8857 8858commit ff06269d707cafbfef2a88afb07a79c9d1480c5f 8859Author: Anthony Green <green@moxielogic.com> 8860Date: Tue Oct 8 06:32:18 2013 -0400 8861 8862 Update README for M88K and VAX 8863 8864commit d2fcbcdfbea750d1f6a9f493e2e6c4d5ffa71b34 8865Author: Anthony Green <green@moxielogic.com> 8866Date: Tue Oct 8 06:27:46 2013 -0400 8867 8868 Add m88k and VAX support. Update some configury bits. 8869 8870commit 6aa15900accc0a648cdebf11ec11d11697ebfffd 8871Author: Vitaly Budovski <vbudovski@gmail.com> 8872Date: Thu Sep 5 12:05:06 2013 +1000 8873 8874 Don't use 16 byte aligned stack for WIN32 8875 8876 This fixes a crash when accessing __stdcall functions in Python ctypes. 8877 8878commit 3b44d41156149af8da2a58825fefdfa23274ae7a 8879Author: Makoto Kato <m_kato@ga2.so-net.ne.jp> 8880Date: Wed Jul 10 15:34:53 2013 +0900 8881 8882 Fix build failure when using clang for Android 8883 8884 clang for Android generates __gnu_linux__ define, but gcc for Android doesn't. So we should add check it for Android 8885 8886commit d918d47809c174d62283306b282749f8db93661f 8887Author: Mischa Jonker <mjonker@synopsys.com> 8888Date: Mon Jul 8 15:51:36 2013 +0200 8889 8890 arc: Fix build error 8891 8892 One part of the patch for ARC support was missing in the upstreamed 8893 version. 8894 8895 Signed-off-by: Mischa Jonker <mjonker@synopsys.com> 8896 8897commit d3d099b40c122550279789200263346f120f6909 8898Author: Anthony Green <green@moxielogic.com> 8899Date: Tue Jul 2 16:11:38 2013 -0400 8900 8901 little-endian ppc64 support 8902 8903commit 0f8690a84c874ec09a090c8c6adfb93c594acac6 8904Author: Anthony Green <green@moxielogic.com> 8905Date: Tue Jul 2 15:54:40 2013 -0400 8906 8907 Rebuild for ARC additions 8908 8909commit f88118b345f27c46f5445d6e4832c498ff9a6d85 8910Author: Anthony Green <green@moxielogic.com> 8911Date: Tue Jul 2 15:51:27 2013 -0400 8912 8913 Revert "Merge pull request #36 from abergmeier/emscripten_fix" 8914 8915 This reverts commit 6a4d901dde7b3f87984c563505717cde3113d16e, reversing 8916 changes made to b50a13b9c07ec09af4b9697e482acdad571e6961. 8917 8918commit 6a4d901dde7b3f87984c563505717cde3113d16e 8919Merge: b50a13b 587002c 8920Author: Anthony Green <green@moxielogic.com> 8921Date: Tue Jul 2 12:12:34 2013 -0700 8922 8923 Merge pull request #36 from abergmeier/emscripten_fix 8924 8925 Fixes for building with Emscripten 8926 8927commit b50a13b9c07ec09af4b9697e482acdad571e6961 8928Merge: 767f1f9 b082e15 8929Author: Anthony Green <green@moxielogic.com> 8930Date: Tue Jul 2 12:10:26 2013 -0700 8931 8932 Merge pull request #44 from foss-for-synopsys-dwc-arc-processors/arc_support 8933 8934 Add ARC support 8935 8936commit 767f1f96e5282da44d7340e6815e9820a3f78e39 8937Merge: c3c40e0 b8a91d8 8938Author: Anthony Green <green@moxielogic.com> 8939Date: Tue Jul 2 12:08:04 2013 -0700 8940 8941 Merge pull request #43 from JensTimmerman/__m128 8942 8943 added include for xmmintrin.h 8944 8945commit b8a91d81be77d479327fdb6bdd9fdae6d18e6e63 8946Author: Jens Timmerman <jens.timmerman@ugent.be> 8947Date: Tue Jul 2 10:57:37 2013 +0200 8948 8949 added include for xmmintrin.h 8950 8951commit b082e15091961373c03d10ed0251f619ebb6ed76 8952Author: Mischa Jonker <mjonker@synopsys.com> 8953Date: Mon Jun 10 16:19:33 2013 +0200 8954 8955 Add ARC support 8956 8957 This adds support for the ARC architecture to libffi. DesignWare ARC 8958 is a family of processors from Synopsys, Inc. 8959 8960 This patch has been tested on a little-endian system and passes 8961 the testsuite. 8962 8963 Signed-off-by: Mischa Jonker <mjonker@synopsys.com> 8964 8965commit cc9b518687e46b0d1acafdd4bc3f3b281c25a3d9 8966Author: Marcin Wojdyr <wojdyr@gmail.com> 8967Date: Tue May 14 15:01:23 2013 +0200 8968 8969 Update libffi.pc.in 8970 8971 use -L${toolexeclibdir} instead of -L${libdir} 8972 to be consistent with Makefile.am 8973 8974commit 587002c092cffe6e7a8d7028f246c241d03b738c 8975Author: Andreas Bergmeier <andreas.bergmeier@gmx.net> 8976Date: Fri Apr 19 17:12:24 2013 +0200 8977 8978 Enable disabling of libtool on platforms where it does not work (e.g. LLVM). 8979 Build libraries normally then. 8980 8981commit c3c40e0290377d7cf948b072eedd8317c4bf215e 8982Merge: ede96e4 4750e3c 8983Author: Anthony Green <green@moxielogic.com> 8984Date: Sat Mar 30 05:24:14 2013 -0700 8985 8986 Merge pull request #34 from davidsch/armhf 8987 8988 Fix ARM hard-float support for large numbers of VFP arguments 8989 8990commit 4750e3c662fd9569cb3e2d28f539685fd1ca8caf 8991Author: David Schneider <david.schneider@bivab.de> 8992Date: Thu Mar 28 16:56:36 2013 +0100 8993 8994 update changelog 8995 8996commit 9708e7cf09f1bf815f4d6485eb1f180fabb35804 8997Author: David Schneider <david.schneider@bivab.de> 8998Date: Wed Mar 27 19:31:04 2013 +0100 8999 9000 folow the ARM hard-float ABI in ffi_prep_incoming_args_VFP 9001 9002commit b41120981e5e49ca2da10b94b154775f50da5f36 9003Author: David Schneider <david.schneider@bivab.de> 9004Date: Wed Mar 27 16:38:35 2013 +0100 9005 9006 create separated versions of ffi_prep_incoming_args_* for SYSV and VFP ABIs. 9007 9008 The different versions will be called depending on the value of cif->abi 9009 9010commit dd26f1f39c54861c5b91931f0f37a72942c2a072 9011Author: David Schneider <david.schneider@bivab.de> 9012Date: Thu Mar 28 15:39:01 2013 +0100 9013 9014 add a failing test for closures on ARM hardfloat 9015 9016commit 3c1608613ab3c2184222b98c5482cddedd6b559b 9017Author: David Schneider <david.schneider@bivab.de> 9018Date: Tue Mar 26 19:24:47 2013 +0100 9019 9020 extend ffi_prepare_args for FFI_VFP (hard-float ABI), fixing an issue with passing VFP arguments in VFP registers and the stack, while at the same time not using all core registers. 9021 9022commit 0f2ff2d4c92719be8936179f9ab674f4d1a3fd14 9023Author: David Schneider <david.schneider@bivab.de> 9024Date: Tue Mar 26 19:22:02 2013 +0100 9025 9026 separate ARM ffi_prepare_args in a version implementing the simple SYSV calling convention and one for the hard-float calling convention 9027 9028commit 3a352b8a8252400a83de22c7c424bf1887b4a2ef 9029Author: David Schneider <david.schneider@bivab.de> 9030Date: Tue Mar 26 14:24:04 2013 +0100 9031 9032 move the hardfloat specific argument copying code to the helper function 9033 9034commit 5df6b7944a4225b6eb329f3886be64e04e966f29 9035Author: David Schneider <david.schneider@bivab.de> 9036Date: Tue Mar 26 14:02:21 2013 +0100 9037 9038 extract setting of arguments to be passed to a helper function 9039 9040commit 7d1048c471bb4b1f9d67a9e9f8e95f9a1d2e6d45 9041Author: David Schneider <david.schneider@bivab.de> 9042Date: Tue Mar 26 11:33:33 2013 +0100 9043 9044 extract code to align the argument storage pointer to a helper function 9045 9046commit b9f013788f0f384c423ad963475aaacb55598135 9047Author: David Schneider <david.schneider@bivab.de> 9048Date: Mon Mar 25 13:27:36 2013 +0100 9049 9050 add a testcase, that on ARM hardfloat needs more than the 8 VFP argument registers to pass arguments to a call 9051 9052commit 2fbdb0f231cafdb77b025d3cd8afe90cda99b3ba 9053Author: David Schneider <david.schneider@bivab.de> 9054Date: Mon Mar 25 13:26:02 2013 +0100 9055 9056 use the absolute value to check the test result against an epsilon 9057 9058commit ede96e4eb660bbf3e0fe048135efa8106f48af5d 9059Merge: f22ab3c 9e34992 9060Author: Anthony Green <green@moxielogic.com> 9061Date: Sun Mar 17 18:38:21 2013 -0400 9062 9063 Merge branch 'master' of github.com:/atgreen/libffi 9064 9065commit f22ab3c6877cbdd07f058b68816b0086b1cb0e1e 9066Merge: 12b1886 d08124b 9067Author: Anthony Green <green@moxielogic.com> 9068Date: Sun Mar 17 18:34:54 2013 -0400 9069 9070 Merge branch 'master' of github.com:/atgreen/libffi 9071 9072commit 9e34992a5ea2fda1dba5875bf96dc91a7230f51f 9073Merge: 12b1886 d08124b 9074Author: Anthony Green <green@moxielogic.com> 9075Date: Sun Mar 17 18:34:54 2013 -0400 9076 9077 Merge branch 'master' of github.com:/atgreen/libffi 9078 9079commit 12b1886d7b1f8aa264b1d348bfa47a0e14712df4 9080Author: Anthony Green <green@moxielogic.com> 9081Date: Sun Mar 17 18:32:12 2013 -0400 9082 9083 cygwin fix & updates for 3.0.13 9084 9085commit d08124bedf2c6d61874fe215404783aeb9f6f1ac 9086Author: Anthony Green <green@moxielogic.com> 9087Date: Sun Mar 17 18:32:12 2013 -0400 9088 9089 cygwin fix & updates for 3.0.13 9090 9091commit cb32c812d04d1dfa72002cc04924e7e4fef89e02 9092Author: Anthony Green <green@moxielogic.com> 9093Date: Sun Mar 17 09:27:55 2013 -0400 9094 9095 Fix lib install dir 9096 9097commit efd7866a361a6f636bae8400d26c6811e56ca207 9098Author: Anthony Green <green@moxielogic.com> 9099Date: Sat Mar 16 08:35:57 2013 -0400 9100 9101 2.0.13rc1 9102 9103commit ff647ad4dff2f07dd153f295a1f70b1d906cd6ca 9104Merge: 4acf005 d9dd417 9105Author: Anthony Green <green@moxielogic.com> 9106Date: Sat Mar 16 08:20:40 2013 -0400 9107 9108 Merge branch 'master' of github.com:/atgreen/libffi 9109 9110 Conflicts: 9111 ChangeLog 9112 9113commit 4acf0056f55c757490dae6c29a65b0321327ea8a 9114Author: Anthony Green <green@moxielogic.com> 9115Date: Sat Mar 16 08:18:45 2013 -0400 9116 9117 Build fix for soft-float power targets 9118 9119commit 675c9839224e4268187f1ec6f512127f9db555d0 9120Author: Anthony Green <green@moxielogic.com> 9121Date: Sat Mar 16 08:12:38 2013 -0400 9122 9123 Documentation fix 9124 9125commit 8a286f570ccd41db81f74ea7f248da62241d898a 9126Author: Anthony Green <green@moxielogic.com> 9127Date: Sat Mar 16 08:01:19 2013 -0400 9128 9129 Fix for m68000 systems 9130 9131commit d9dd417b09566af55b7b3000bb53ccaf2e1d6c92 9132Author: Anthony Green <green@moxielogic.com> 9133Date: Sat Mar 16 08:01:19 2013 -0400 9134 9135 Fix for m68000 systems 9136 9137commit 215763d012a944d95406b394d6013b80d220e870 9138Author: Anthony Green <green@moxielogic.com> 9139Date: Sat Mar 16 07:57:35 2013 -0400 9140 9141 Update configury. 9142 9143commit 9180d8f39c9b6afe17b78277c2711a5d9948e824 9144Merge: 2fb527a 7e1b326 9145Author: Anthony Green <green@moxielogic.com> 9146Date: Sat Mar 16 07:46:55 2013 -0400 9147 9148 Merge branch 'master' of github.com:/atgreen/libffi 9149 9150commit 2fb527a017a4943e176a489ff103231b86464b59 9151Author: Anthony Green <green@moxielogic.com> 9152Date: Sat Mar 16 07:46:38 2013 -0400 9153 9154 Add Meta processor support 9155 9156commit 211a9ebf4d1a9801e15e103566aed2b8c42790be 9157Merge: f308faf ee18766 9158Author: Anthony Green <green@moxielogic.com> 9159Date: Sat Mar 16 04:24:40 2013 -0700 9160 9161 Merge pull request #32 from alex/patch-1 9162 9163 Fix for a crasher due to misaligned stack on x86-32. 9164 9165commit 7e1b32649efd24814e86172e196f390566f9e970 9166Merge: f308faf ee18766 9167Author: Anthony Green <green@moxielogic.com> 9168Date: Sat Mar 16 04:24:40 2013 -0700 9169 9170 Merge pull request #32 from alex/patch-1 9171 9172 Fix for a crasher due to misaligned stack on x86-32. 9173 9174commit ee18766b169811426c14b011fbb46d81e344f926 9175Author: Alex Gaynor <alex.gaynor@gmail.com> 9176Date: Thu Mar 14 15:00:33 2013 -0700 9177 9178 Fix for a crasher due to misaligned stack on x86-32. 9179 9180 Full information on reproduction (using Python's ctypes available here: http://bugs.python.org/issue17423) 9181 9182commit f308faf1eabaf8dc24966ab17fbf94368f46b9c7 9183Author: Anthony Green <green@moxielogic.com> 9184Date: Mon Feb 11 14:25:13 2013 -0500 9185 9186 Add moxie support. Release 3.0.12. 9187 9188commit 4ea22e54e3b143fe05c413f6dddd236af6bcbfb2 9189Author: Anthony Green <green@moxielogic.com> 9190Date: Sun Feb 10 08:48:38 2013 -0500 9191 9192 Update README 9193 9194commit 10e77227b6ae85f46f28590bfb09ca3608554358 9195Author: Anthony Green <green@moxielogic.com> 9196Date: Sun Feb 10 08:47:26 2013 -0500 9197 9198 mend 9199 9200commit a9521411a53d58f2bf88199242200ceb0d4dae3a 9201Author: Anthony Green <green@moxielogic.com> 9202Date: Sat Feb 9 06:54:40 2013 -0500 9203 9204 sparc v8 and testsuite fixes 9205 9206commit 70b11b47eea93bf43627588d494d0b3b0d062481 9207Author: Anthony Green <green@moxielogic.com> 9208Date: Fri Feb 8 16:12:19 2013 -0500 9209 9210 Fix small struct passing on ppc 9211 9212commit 63ba1fa79f7c4ce42de848debe233aab31aecb51 9213Author: Anthony Green <green@moxielogic.com> 9214Date: Fri Feb 8 15:18:19 2013 -0500 9215 9216 Remove xfail for arm*-*-*. 9217 9218commit 24fbca4c1d57d4ea628c0a8ba643684daf54a37e 9219Author: Anthony Green <green@moxielogic.com> 9220Date: Fri Feb 8 14:19:56 2013 -0500 9221 9222 Fix typo 9223 9224commit b0fa11cb0a94ce6baca058eab9b10e40475e71d6 9225Author: Anthony Green <green@moxielogic.com> 9226Date: Fri Feb 8 14:17:13 2013 -0500 9227 9228 More man page cleanup 9229 9230commit 8bd15d139a58a6e46dc90a1cb2d89f59f32f06c7 9231Author: Anthony Green <green@moxielogic.com> 9232Date: Fri Feb 8 13:56:37 2013 -0500 9233 9234 Fix many.c testcase for ppc 9235 9236commit 7aab825cf198be85490d3cd80e778d415d85ad9b 9237Author: Anthony Green <green@moxielogic.com> 9238Date: Fri Feb 8 13:26:21 2013 -0500 9239 9240 Add missing files to dist 9241 9242commit cb03ea8f4eb08024e44abe4392edc77b89fbfbad 9243Author: Anthony Green <green@moxielogic.com> 9244Date: Fri Feb 8 12:25:18 2013 -0500 9245 9246 sparc v9 fixes for sun tools 9247 9248commit 35ee8d44f31dd3d3b88083c837dc351593e13cc2 9249Author: Anthony Green <green@moxielogic.com> 9250Date: Fri Feb 8 07:12:41 2013 -0500 9251 9252 Fix microblaze big-endian struct issue 9253 9254commit 9db7e1a958fc484ba149efe027008b9a170395fb 9255Author: Anthony Green <green@moxielogic.com> 9256Date: Thu Feb 7 21:06:08 2013 -0500 9257 9258 Fix botched sparc patch. Update version. 9259 9260commit ce0138e61455f268af326e26908b9680ec2c4bea 9261Author: Anthony Green <green@moxielogic.com> 9262Date: Thu Feb 7 18:04:01 2013 -0500 9263 9264 Update bug report address. rc2. 9265 9266commit fd07c9e40451e0ec1d0475cd54a83d45ccaea2c0 9267Author: Anthony Green <green@moxielogic.com> 9268Date: Thu Feb 7 18:00:36 2013 -0500 9269 9270 Add cache flushing routine for sun compiler on sparc solaris 2.8 9271 9272commit ed6ae9501b2bab45daf93b4935eb0c977635b763 9273Author: Anthony Green <green@moxielogic.com> 9274Date: Thu Feb 7 16:43:36 2013 -0500 9275 9276 Add libtool-ldflags. Define toolexeclibdir for non-GCC builds. 9277 9278commit ffef2e046aaec853be356f0b8770a335185ea9cf 9279Author: Anthony Green <green@moxielogic.com> 9280Date: Thu Feb 7 15:47:01 2013 -0500 9281 9282 x32 and libtool fixes 9283 9284commit 95eecebb2858dc6f1495a61072ff36d0a8127144 9285Author: Anthony Green <green@moxielogic.com> 9286Date: Thu Feb 7 15:32:46 2013 -0500 9287 9288 Remove a.out cruft from dist 9289 9290commit 176aa9d2e23d9cd57d6f250692d910b408f9a651 9291Author: Anthony Green <green@moxielogic.com> 9292Date: Thu Feb 7 15:29:22 2013 -0500 9293 9294 Fix GCC usage test and update README 9295 9296commit f3a4f3fdde89b04d66983a42a25d09161c5d4d54 9297Author: Anthony Green <green@moxielogic.com> 9298Date: Thu Feb 7 09:57:20 2013 -0500 9299 9300 Fixes for AIX xlc compiler. 9301 9302commit 522f8fef49848927482bc63c94afaea5b84e5ec1 9303Author: Anthony Green <green@moxielogic.com> 9304Date: Wed Feb 6 20:31:31 2013 -0500 9305 9306 Fix man page. Clean out junk. 9307 9308commit c4dfa259eb4e8e6f4c397868d7fee80aa0bb6a12 9309Author: Anthony Green <green@moxielogic.com> 9310Date: Wed Feb 6 17:43:24 2013 -0500 9311 9312 Bump soversion 9313 9314commit f62bd63fe6123cadedb8b2b2c72eb549c40fbce9 9315Author: Anthony Green <green@moxielogic.com> 9316Date: Wed Feb 6 17:38:32 2013 -0500 9317 9318 Release candidate 1 9319 9320commit f7cd61e9e68a4a51147df04d75bfe5b91b9d9286 9321Author: Anthony Green <green@moxielogic.com> 9322Date: Wed Feb 6 17:38:04 2013 -0500 9323 9324 Fix pkgconfig install bits 9325 9326commit 6a790129427121f7db2d876e7218a3104e6d2741 9327Author: Anthony Green <green@moxielogic.com> 9328Date: Wed Feb 6 17:37:15 2013 -0500 9329 9330 Work around LLVM ABI problem on x86-64 9331 9332commit 370112938e705128fd5dd4017fc1a1210bd0271a 9333Merge: bada2e3 bcc0c28 9334Author: Anthony Green <green@moxielogic.com> 9335Date: Sun Jan 27 05:09:04 2013 -0800 9336 9337 Merge pull request #28 from jralls/master 9338 9339 Reorder x86_64 checks 9340 9341commit bcc0c28001b6d427d5cd8037d2e3c892babc6b4c 9342Author: John Ralls <jralls@ceridwen.us> 9343Date: Sat Jan 26 15:21:14 2013 -0800 9344 9345 Reorder x86_64 tests 9346 9347 So that darwin and cygwin/mingw are tested before the generic check -- 9348 which allows them to actually be set. 9349 9350commit bada2e326d9a9acf3ae40cfa4f5d7a9ba97b2ea8 9351Author: Anthony Green <green@moxielogic.com> 9352Date: Mon Jan 21 08:02:07 2013 -0500 9353 9354 Update README 9355 9356commit 655bb8f3690feba8e840a5f1854b1d78ed08f692 9357Merge: 1035ffb 840f975 9358Author: Anthony Green <green@moxielogic.com> 9359Date: Mon Jan 21 08:01:24 2013 -0500 9360 9361 Merge branch 'master' of github.com:/atgreen/libffi 9362 9363commit 1035ffb2f468e1a1c401d58cff7e7abb69838e68 9364Merge: aeb8719 4086024 9365Author: Anthony Green <green@moxielogic.com> 9366Date: Mon Jan 21 07:55:53 2013 -0500 9367 9368 Update README 9369 9370commit 840f975866052fdd91b2c224d56e01ae5900b60d 9371Merge: aeb8719 4086024 9372Author: Anthony Green <green@moxielogic.com> 9373Date: Mon Jan 21 07:55:53 2013 -0500 9374 9375 Merge branch 'master' of github.com:/atgreen/libffi 9376 9377commit aeb8719a34756969970603fca4568530d56708af 9378Author: Anthony Green <green@moxielogic.com> 9379Date: Mon Jan 21 07:37:30 2013 -0500 9380 9381 New microblaze support 9382 9383commit 40860245a4fd91a1b88adc9171ec993c549e45d5 9384Author: Anthony Green <green@moxielogic.com> 9385Date: Mon Jan 21 07:37:30 2013 -0500 9386 9387 New microblaze support 9388 9389commit 20cae32b152b43679ae65a85db9a1c6bb8a143dd 9390Author: Anthony Green <green@moxielogic.com> 9391Date: Mon Jan 21 07:07:38 2013 -0500 9392 9393 Xtensa support 9394 9395commit 9742f91782faef4a15941508a22c408fb7d1d227 9396Author: Anthony Green <green@moxielogic.com> 9397Date: Mon Jan 21 07:03:41 2013 -0500 9398 9399 Mention IBM XL compiler support on AIX. 9400 9401commit f03eab08248f122ce3b623a18df9e19fae1b6e98 9402Author: Anthony Green <green@moxielogic.com> 9403Date: Fri Jan 11 17:14:11 2013 -0500 9404 9405 Remove obsolete inline test functions 9406 9407commit 05fbe1faedc7b2580d5f14010d00e9e3cee73951 9408Author: Anthony Green <green@moxielogic.com> 9409Date: Fri Jan 11 16:54:40 2013 -0500 9410 9411 xlc compiler support 9412 9413commit 0b4986a7889ed1864674192228f1162c1b5770a8 9414Author: Anthony Green <green@moxielogic.com> 9415Date: Fri Jan 11 11:19:52 2013 -0500 9416 9417 [travis] install dejagnu with sudo 9418 9419commit 3c337eef51ab9a4993fc875bfa26289dd6a08881 9420Author: Anthony Green <green@moxielogic.com> 9421Date: Fri Jan 11 11:18:14 2013 -0500 9422 9423 [travis] install dejagnu 9424 9425commit 90720962ce1baf9fc35d1bde1738102bcd5bd5ed 9426Author: Anthony Green <green@moxielogic.com> 9427Date: Fri Jan 11 10:57:30 2013 -0500 9428 9429 Add first travis config file 9430 9431commit bff052d9cd5be41ba9e47c76114054af487d3c30 9432Author: Anthony Green <green@moxielogic.com> 9433Date: Fri Jan 11 10:24:32 2013 -0500 9434 9435 32-bit x86 fix and more 9436 9437commit cd41aeab6176f839167955c016ecc19f65f75df3 9438Author: Anthony Green <green@moxielogic.com> 9439Date: Thu Jan 10 17:25:45 2013 -0500 9440 9441 Add compiler column to table 9442 9443commit 8bf987d4df7c4d21435b9211f6cc86abf5904b42 9444Author: Anthony Green <green@moxielogic.com> 9445Date: Thu Jan 10 17:24:51 2013 -0500 9446 9447 Fix for sunpro compiler on Solaris 9448 9449commit 3ee74fd6dc8ccd32b608bbff73526838fc34f70b 9450Author: Anthony Green <green@moxielogic.com> 9451Date: Thu Jan 10 17:15:03 2013 -0500 9452 9453 Update documentation version. 9454 9455commit 13e2d7b92557a9511a0414df82bf2df3edc55cba 9456Author: Anthony Green <green@moxielogic.com> 9457Date: Thu Jan 10 10:52:02 2013 -0500 9458 9459 Handle both 32 and 64-bit x86 builds regardless of target triple 9460 9461commit 5141543000fc86a3d49a907a2313713ee79e504d 9462Author: Anthony Green <green@moxielogic.com> 9463Date: Thu Jan 10 07:35:53 2013 -0500 9464 9465 Don't run EH tests with non-GNU compiler 9466 9467commit 56ba8d86f47937a0afb81a2b9e77c9d235d9db45 9468Author: Anthony Green <green@moxielogic.com> 9469Date: Thu Jan 10 07:25:10 2013 -0500 9470 9471 Don't use warning checking macro with sun compiler 9472 9473commit 6a028caec1b2c7904feb4c4f9cb7e1125e1d1b60 9474Author: Anthony Green <green@moxielogic.com> 9475Date: Thu Jan 10 01:19:43 2013 -0500 9476 9477 Don't use GCCisms to define types when 9478 + building with the SUNPRO compiler. 9479 9480commit 2d9b3939751b3ef9739049509d353ade10b32a8f 9481Author: Anthony Green <green@moxielogic.com> 9482Date: Wed Jan 9 21:14:54 2013 -0500 9483 9484 Fix for closures with sunpro compiler 9485 9486commit 8308984e479e3274a36e98e8272b5adbb6b774c2 9487Author: Anthony Green <green@moxielogic.com> 9488Date: Tue Jan 8 15:14:21 2013 -0500 9489 9490 Make sure we're running dejagnu tests with the right compiler. 9491 9492commit f26c7ca67147450db2fe25ea932944e6cf145d5c 9493Author: Anthony Green <green@moxielogic.com> 9494Date: Tue Jan 8 14:47:05 2013 -0500 9495 9496 Make compiler options in dejagnu runs compiler specific 9497 9498commit 74c776e21907fc2e59257c021f23077f8b7966cb 9499Author: Anthony Green <green@moxielogic.com> 9500Date: Tue Jan 8 12:25:54 2013 -0500 9501 9502 Switch x86 Solaris to X86 from X86_64 9503 9504commit 8962c8c8d06803e310bac0ffc8e84ea15daeff3f 9505Author: Anthony Green <green@moxielogic.com> 9506Date: Tue Jan 8 12:22:24 2013 -0500 9507 9508 Fix read-only eh_frame test 9509 9510commit 35ddb69c2b49746d940e919ca226ecc1be94f14a 9511Author: Anthony Green <green@moxielogic.com> 9512Date: Tue Jan 8 07:53:37 2013 -0500 9513 9514 Only emit DWARF unwind info when building with GCC 9515 9516commit f7879bc3f3a8d0bbfcc38771732c160a58ba9cd8 9517Author: Anthony Green <green@moxielogic.com> 9518Date: Tue Jan 8 07:30:28 2013 -0500 9519 9520 Testsuite fix for Solaris vendor compiler 9521 9522commit 67cea90fc0897021466fd102671019d30db474cd 9523Author: Anthony Green <green@moxielogic.com> 9524Date: Mon Jan 7 06:30:24 2013 -0500 9525 9526 mend 9527 9528commit 0de3277b18cf54be3b81d509b9be9b47d9bc1e82 9529Author: Thorsten Glaser <tg@mirbsd.de> 9530Date: Mon Dec 3 00:02:31 2012 +0000 9531 9532 Testsuite fixes (was Re: [PATCH] Fix libffi on m68k-linux-gnu, completely) 9533 9534 Dixi quod… 9535 9536 >although I believe some 3.0.11 checks to be broken: 9537 9538 And indeed, with a few minor changes on top of git master, 9539 I still get a full run of PASS plus one XPASS on amd64-linux! 9540 9541 With the other patches (from this message’s parent) and 9542 these applied, I get a full PASS on m68k-linux as well. 9543 9544 So, please git am these three diffs ☺ 9545 9546 bye, 9547 //mirabilos 9548 -- 9549 FWIW, I'm quite impressed with mksh interactively. I thought it was much 9550 *much* more bare bones. But it turns out it beats the living hell out of 9551 ksh93 in that respect. I'd even consider it for my daily use if I hadn't 9552 wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh 9553 From 5cb15a3bad1f0fb360520dd48bfc938c821cdcca Mon Sep 17 00:00:00 2001 9554 From: Thorsten Glaser <tg@mirbsd.org> 9555 Date: Sun, 2 Dec 2012 23:20:56 +0000 9556 Subject: [PATCH 1/2] Fix tests writing to a closure retval via pointer casts 9557 9558 As explained in <Pine.BSM.4.64L.1212022014490.23442@herc.mirbsd.org> 9559 all other tests that do the same cast to an ffi_arg pointer instead. 9560 9561 PASS on amd64-linux (Xen domU) and m68k-linux (ARAnyM) 9562 9563 Signed-off-by: Thorsten Glaser <tg@mirbsd.org> 9564 9565commit 8f4772f383abd71cfa141c8a70ba11c1aa4ebe2c 9566Author: Anthony Green <green@moxielogic.com> 9567Date: Mon Jan 7 06:14:53 2013 -0500 9568 9569 m68k fixes for signed 8 and 16-bit calls. 9570 9571commit ea7f8440d58afbebb181e295ff564fdf3d6590a0 9572Author: Anthony Green <green@moxielogic.com> 9573Date: Fri Jan 4 09:09:32 2013 -0500 9574 9575 remove gcc-ism 9576 9577commit f06c0f10377ac04eeba5e632dbe5c62c629df4e6 9578Author: Anthony Green <green@moxielogic.com> 9579Date: Wed Jan 2 09:39:17 2013 -0500 9580 9581 Add missing ChangeLog entry and generated files. 9582 9583commit 1f8675d4c101d19d67ca0a55ff2ba973349558ad 9584Merge: 335f419 f6b58d2 9585Author: Anthony Green <green@moxielogic.com> 9586Date: Wed Jan 2 06:34:38 2013 -0800 9587 9588 Merge pull request #26 from rofl0r/master 9589 9590 fix build error on ppc when long double == double 9591 9592commit 335f419a86090cda9f215d149572f9481c3ad034 9593Merge: 53236d5 6d6f711 9594Author: Anthony Green <green@moxielogic.com> 9595Date: Wed Jan 2 06:30:03 2013 -0800 9596 9597 Merge pull request #23 from rurban/master 9598 9599 cygwin/mingw shared libs need libtool LDFLAGS = -no-undefined 9600 9601commit 53236d5061034cc0a7f4647fc1bd05ba1aeb3d2a 9602Author: Anthony Green <green@moxielogic.com> 9603Date: Wed Jan 2 09:24:55 2013 -0500 9604 9605 Regenerate files 9606 9607commit 72222ca3fbe560e13c8dc89ca441b28b7cc74daf 9608Author: Anthony Green <green@moxielogic.com> 9609Date: Wed Jan 2 09:06:38 2013 -0500 9610 9611 Update texinfo.tex 9612 9613commit 1e326c95431fc9896422fa36659f3e833852579c 9614Author: Anthony Green <green@moxielogic.com> 9615Date: Wed Jan 2 09:05:02 2013 -0500 9616 9617 Update config.guess and config.sub 9618 9619commit cb6671f5b8a9596ff968c6b6c304f70adf71b368 9620Author: Anthony Green <green@moxielogic.com> 9621Date: Wed Jan 2 08:56:07 2013 -0500 9622 9623 Missing .gitignore changes for xcode support 9624 9625commit ebbe77966855395a2a47ed2c09a38f93eb0481cf 9626Author: Anthony Green <green@moxielogic.com> 9627Date: Wed Jan 2 08:54:05 2013 -0500 9628 9629 missed x32 libtool patch. 9630 9631commit 4394096da0aca0dd422b479a043c18b4f05c5770 9632Author: Anthony Green <green@moxielogic.com> 9633Date: Wed Jan 2 08:51:35 2013 -0500 9634 9635 missed trampoline_table patch. Move to GCC. 9636 9637commit ed7a59c3ff7c84bd95c374a5aff21599f705e6dc 9638Author: Anthony Green <green@moxielogic.com> 9639Date: Wed Jan 2 08:48:01 2013 -0500 9640 9641 Windows symbol export fix. Move to GCC. 9642 9643commit ccee09a4ff843b11c7d8b6819776f57d187305c7 9644Author: Anthony Green <green@moxielogic.com> 9645Date: Wed Jan 2 08:41:55 2013 -0500 9646 9647 +2012-03-21 Peter Rosin <peda@lysator.liu.se> 9648 + 9649 + * testsuite/lib/target-libpath.exp [*-*-cygwin*, *-*-mingw*] 9650 + (set_ld_library_path_env_vars): Add the library search dir to PATH 9651 + (and save PATH for later). 9652 + (restore_ld_library_path_env_vars): Restore PATH. 9653 9654commit 089dbce7cc0889eb26444d89ae062c73c69f26f0 9655Author: Anthony Green <green@moxielogic.com> 9656Date: Wed Jan 2 08:37:35 2013 -0500 9657 9658 med 9659 9660commit 980a334c42b4b0eff32e55929ec6727d1326b05d 9661Author: Anthony Green <green@moxielogic.com> 9662Date: Wed Jan 2 07:36:42 2013 -0500 9663 9664 Test GCC update 9665 9666commit 8bad679ade5000e57cdc9cacde22e8b99840930f 9667Author: Anthony Green <green@moxielogic.com> 9668Date: Wed Jan 2 08:28:35 2013 -0500 9669 9670 New stand-alone patch 9671 9672commit 981c32ee115e9f0d6546a74592875e138222a9d1 9673Author: Anthony Green <green@moxielogic.com> 9674Date: Wed Jan 2 07:34:03 2013 -0500 9675 9676 Merge with GCC. Eliminate quilt bits. 9677 9678commit 61a054929517fb80c437ba71c91f3e20cfff581a 9679Author: Anthony Green <green@moxielogic.com> 9680Date: Wed Nov 28 06:07:41 2012 -0500 9681 9682 Refresh config.guess and config.sub 9683 9684commit f6b58d2bdc0a24ce94dedce59802f091979df265 9685Author: rofl0r <retnyg@gmx.net> 9686Date: Thu Nov 22 16:26:21 2012 +0100 9687 9688 fix build on ppc when long double == double 9689 9690commit 69da33a0761aeac73f9e9646269da61c906d6020 9691Author: Anthony Green <green@moxielogic.com> 9692Date: Mon Nov 12 15:25:47 2012 -0500 9693 9694 Pull in config.sub for aarch64 support and more 9695 9696commit f680b598b7bdde325ac9349e8c35151c228bf2df 9697Author: Anthony Green <green@moxielogic.com> 9698Date: Tue Nov 6 16:00:40 2012 -0500 9699 9700 Add missing aarch64 configury bits 9701 9702commit dfadfb19853c57c8623c436d0ef2bdafab24b433 9703Author: Anthony Green <green@moxielogic.com> 9704Date: Wed Oct 31 06:46:41 2012 -0400 9705 9706 Rebase for ppc64 fix 9707 9708commit e944b8c7eb1e2eeb9c0f3b9742b4d7f476860ce1 9709Author: Anthony Green <green@moxielogic.com> 9710Date: Tue Oct 30 14:06:09 2012 -0400 9711 9712 Add PaX work-around 9713 9714commit 9ccd51be1fdeb99f8b4f42f905166c2abbba8ac0 9715Merge: f342996 fa5d747 9716Author: Anthony Green <green@moxielogic.com> 9717Date: Tue Oct 30 13:37:37 2012 -0400 9718 9719 Fix commit conflicts 9720 9721commit f342996cb50eb23b868afcff5ac0cdbb6b505d63 9722Author: Anthony Green <green@moxielogic.com> 9723Date: Tue Oct 30 07:42:27 2012 -0400 9724 9725 Darwin12 fix 9726 9727commit 58e8b66f70cef2e3c9b0e5a707b45d634cbbf5d9 9728Author: Anthony Green <green@moxielogic.com> 9729Date: Tue Oct 30 07:07:19 2012 -0400 9730 9731 AArch64 port 9732 9733commit fa5d747905472571fd472c07d4726017624f66b3 9734Author: Anthony Green <green@moxielogic.com> 9735Date: Tue Oct 30 07:07:19 2012 -0400 9736 9737 AArch64 port 9738 9739commit 6993a6686f43f2313b18142c1e96189a27db2aa3 9740Author: Anthony Green <green@moxielogic.com> 9741Date: Tue Oct 30 06:59:32 2012 -0400 9742 9743 Fix autoconf macros 9744 9745commit 70084e70ddb13b29dd05c751b1904de206bbe790 9746Author: Anthony Green <green@moxielogic.com> 9747Date: Fri Oct 12 23:55:06 2012 -0400 9748 9749 Update Tile* port info 9750 9751commit 9c00a3f6742d61404b31268cc773e7130ff43331 9752Author: Anthony Green <green@moxielogic.com> 9753Date: Fri Oct 12 16:46:06 2012 -0400 9754 9755 TILE-Gx/TILEPro support 9756 9757commit 048d2f41c3a6664b4b64bf21e804686662da4160 9758Author: Anthony Green <green@moxielogic.com> 9759Date: Thu Oct 11 10:55:25 2012 -0400 9760 9761 Rebase 9762 9763commit 6d6f71108064f5069edd7bf771059d3b82640135 9764Author: Reini Urban <rurban@cpanel.net> 9765Date: Sat Jul 7 12:42:00 2012 -0500 9766 9767 cygwin/mingw shared libs need libtool LDFLAGS = -no-undefined 9768 9769 otherwise only static libs are created. 9770 9771commit d330f19292da8f39a78a9e2b0ba08df8094e3bc5 9772Author: Nicolas Lelong <rotoglup> 9773Date: Sat May 5 09:37:02 2012 -0400 9774 9775 iOS build fixes. 9776 9777commit 09b23cfc1d6d15361eee18818851fd3cacb26559 9778Author: Anthony Green <green@moxielogic.com> 9779Date: Fri Apr 27 08:29:48 2012 -0400 9780 9781 Update README with Blackfin/uClinux support 9782 9783commit 213ed15c70e72d666154c08e2b41dae3f61f20d3 9784Author: Anthony Green <green@moxielogic.com> 9785Date: Fri Apr 27 01:34:15 2012 -0400 9786 9787 Add blackfin supprt from Alexandre Keunecke. 9788 9789commit ff3d76fd427382ce7d2b2ed54acdd0bce470ca4f 9790Author: Anthony Green <green@moxielogic.com> 9791Date: Wed Apr 11 23:16:48 2012 -0400 9792 9793 3.0.11 9794 9795commit 7e0a412c4fd9cbe77b467a9bf86f56aea62632c3 9796Author: Anthony Green <green@moxielogic.com> 9797Date: Wed Apr 11 22:47:44 2012 -0400 9798 9799 Update files to ship 9800 9801commit 39e6a5860416f7bad992149817e1da1ba7c460d4 9802Author: Zachary Waldowski <zwaldowski@gmail.com> 9803Date: Wed Apr 11 22:39:46 2012 -0400 9804 9805 More mac/ios build improvements 9806 9807commit 853cc722a16f8d1254573ef3bb73c7b8f3d8a110 9808Author: Anthony Green <green@moxielogic.com> 9809Date: Tue Apr 10 06:33:33 2012 -0400 9810 9811 Fix typo for darwin targets 9812 9813commit 3f5023068cda07a3dd6dacbaa875a5b5fc96d4bb 9814Author: Anthony Green <green@moxielogic.com> 9815Date: Fri Apr 6 20:34:51 2012 -0400 9816 9817 mend 9818 9819commit ebb8e8945681ce0af7a5c47a980287e8ece84b84 9820Author: Mike Lewis <mikelikespie@gmail.com> 9821Date: Fri Apr 6 20:02:08 2012 -0400 9822 9823 Build iOS library with xcode 9824 9825commit a098b44f4c592c2192fcdef4fad6108eb3f4301c 9826Author: Anthony Green <green@moxielogic.com> 9827Date: Fri Apr 6 17:04:35 2012 -0400 9828 9829 Reapply missing testsuite changes for arm 9830 9831commit 10d1e51393f08c14045db85843208f44f9f1e9ba 9832Author: Anthony Green <green@moxielogic.com> 9833Date: Fri Apr 6 11:57:14 2012 -0400 9834 9835 Update to rc4. Upgrade autoconf version. 9836 9837commit 9bcc884276dc0a807b2605e510b11b1740dd9aa2 9838Author: Anthony Green <green@moxielogic.com> 9839Date: Fri Apr 6 11:53:07 2012 -0400 9840 9841 Fix Linux/x32 reference in README 9842 9843commit a044a56b1cd2a0924f5ec0d6b5a5089d14fcd1a1 9844Author: Anthony Green <green@moxielogic.com> 9845Date: Fri Apr 6 10:39:10 2012 -0400 9846 9847 Linux/x32 libtool fix 9848 9849commit 59bb61a36661b972e8443531d3b7bc736e131a4b 9850Author: Anthony Green <green@moxielogic.com> 9851Date: Fri Apr 6 08:26:14 2012 -0400 9852 9853 Update libtool version, README, tests dists 9854 9855commit f2981454cbe25cf9411b710f46c5f5552003a123 9856Author: Anthony Green <green@moxielogic.com> 9857Date: Thu Apr 5 15:45:19 2012 -0400 9858 9859 Revert debug code changes 9860 9861commit 39dccddb606f6fdb8dcb177d416e884041da6e30 9862Author: Zachary Waldowski <zwaldowski@gmail.com> 9863Date: Thu Apr 5 12:32:41 2012 -0400 9864 9865 Fix building with Clang for Darwin (OS X 10.6+ and iOS 9866 4.0+) 9867 9868commit 3afaa9a34a81a305227ae8cf4f12b9d0484d055e 9869Author: Peter Rosin <peda@lysator.liu.se> 9870Date: Tue Apr 3 07:40:31 2012 -0400 9871 9872 Fix return_uc.c test case on windows. 9873 9874commit 65f40c35a2873d8328359ec4512bd0736dbe32c7 9875Author: Anthony Green <green@moxielogic.com> 9876Date: Tue Apr 3 07:35:59 2012 -0400 9877 9878 Repair ppc build regression. 9879 9880commit 0a1ab12a8d15caa894116a82249551f23ef65612 9881Author: Peter Rosin <peda@lysator.liu.se> 9882Date: Fri Mar 30 08:14:08 2012 -0400 9883 9884 Various MSVC-related changes. 9885 9886commit e1539266e6c6dde3c99832323586f33f977d1dc0 9887Author: Anthony Green <green@moxielogic.com> 9888Date: Fri Mar 30 00:40:18 2012 -0400 9889 9890 ARM VFP fix for old toolchains 9891 9892commit 7c5e60b5f47d725036a72162f136272bc407e3a1 9893Author: Anthony Green <green@moxielogic.com> 9894Date: Thu Mar 29 08:48:22 2012 -0400 9895 9896 Rebase on fixed GCC sources 9897 9898commit e72ed5eeaa9cfb0fdc86f6b3422734177b659f96 9899Author: Anthony Green <green@moxielogic.com> 9900Date: Wed Mar 21 09:52:28 2012 -0400 9901 9902 Fix vararg float test 9903 9904commit bd78c9c3311244dd5f877c915b0dff91621dd253 9905Author: Anthony Green <green@moxielogic.com> 9906Date: Wed Mar 21 08:09:30 2012 -0400 9907 9908 More cygwin fixes 9909 9910commit 84d3253f86dad6b4f261231935675d35fd964b05 9911Author: Anthony Green <green@moxielogic.com> 9912Date: Mon Mar 19 23:07:35 2012 -0400 9913 9914 Rebase post GCC merge 9915 9916commit 964c5b93f80dcaacf73056b7d15a4d2b4b7a217c 9917Author: Anthony Green <green@moxielogic.com> 9918Date: Sat Mar 3 14:46:20 2012 -0500 9919 9920 abi check fixes and Linux/x32 support 9921 9922commit 6c194233a5f6f1d274669afc5924a9e1f69d4876 9923Author: Anthony Green <green@moxielogic.com> 9924Date: Sat Mar 3 14:17:54 2012 -0500 9925 9926 Add -no-undefined for both 32- and 64-bit x86 9927 windows-like hosts. 9928 9929commit 8360bf1cd0aba8db5582266da70467de7e89a57a 9930Author: Anthony Green <green@moxielogic.com> 9931Date: Thu Feb 23 07:01:13 2012 -0500 9932 9933 Ensure that users don't include ffitarget.h directly 9934 9935commit d578b89619cf3d2baff027b203619dc307fc12e3 9936Author: Anthony Green <green@moxielogic.com> 9937Date: Wed Feb 15 00:18:18 2012 -0500 9938 9939 Fix ABI check regression 9940 9941commit dee20f8e45c486f5018f31e09bb362992aa498c3 9942Author: Anthony Green <green@moxielogic.com> 9943Date: Fri Feb 10 13:06:46 2012 -0500 9944 9945 Rebased from gcc 9946 9947commit 4130e1972d001143e5e9f3c6b65f2a6f9524169e 9948Author: Anthony Green <green@moxielogic.com> 9949Date: Fri Feb 3 13:18:27 2012 -0600 9950 9951 Refresh autoconf-archive m4 scripts 9952 9953commit 1ff9c604bb214b5a305064af1049577ef783730a 9954Author: Anthony Green <green@moxielogic.com> 9955Date: Wed Feb 1 16:34:30 2012 -0600 9956 9957 Rebase from GCC 9958 9959commit 211060eb8f714af0e935430efa6bb45e8e3ffc5d 9960Author: Anthony Green <green@moxielogic.com> 9961Date: Mon Jan 23 14:24:01 2012 -0500 9962 9963 Alpha fix 9964 9965commit 78d9c638ba0de6edfbc603fd65d19c6562663248 9966Author: Anthony Green <green@moxielogic.com> 9967Date: Mon Jan 23 14:17:24 2012 -0500 9968 9969 mend 9970 9971commit afaf3381604bd81803d8a5f3bf4d462299f1aac3 9972Author: Anthony Green <green@moxielogic.com> 9973Date: Mon Jan 23 14:17:13 2012 -0500 9974 9975 mend 9976 9977commit 9e9c4aeb77de5608d602109f22100c1c0c79faad 9978Author: Anthony Green <green@moxielogic.com> 9979Date: Mon Jan 23 14:11:23 2012 -0500 9980 9981 Add Amiga support 9982 9983commit 8efc0b1f4027d5a3cbf205e55d422d94e60f3226 9984Author: Anthony Green <green@moxielogic.com> 9985Date: Mon Jan 23 13:47:38 2012 -0500 9986 9987 Unlikely fixes 9988 9989commit 1df51398ae183dc208ba4599ee867278b04d13d3 9990Author: Anthony Green <green@moxielogic.com> 9991Date: Mon Jan 23 13:43:59 2012 -0500 9992 9993 mend 9994 9995commit cd2277cc796b96b149cd284ae85326529fe7fb9c 9996Author: Anthony Green <green@moxielogic.com> 9997Date: Mon Jan 23 13:43:38 2012 -0500 9998 9999 mend 10000 10001commit 164e6fe04b189746c8bd5810c6e3e919770bb9d4 10002Author: Anthony Green <green@moxielogic.com> 10003Date: Mon Jan 23 12:41:06 2012 -0500 10004 10005 m68k fixes 10006 10007commit c365ee7577bef00cb3c2c0b5224147aea04138d8 10008Author: Anthony Green <green@moxielogic.com> 10009Date: Mon Jan 23 11:13:18 2012 -0500 10010 10011 Refresh 10012 10013commit f22c38bbd93bcc0c04bf26c3e414556b3177c385 10014Author: Anthony Green <green@moxielogic.com> 10015Date: Fri Nov 18 15:13:41 2011 -0500 10016 10017 Update variadic patch 10018 10019commit 03e9ee321a3c208f88d2432587ce40b2bb2430ba 10020Author: Anthony Green <green@moxielogic.com> 10021Date: Fri Nov 18 15:13:00 2011 -0500 10022 10023 Fix cls_double_va.c and update docs 10024 10025commit 95f31151ec792809cfb80d385350f9f56d95aa25 10026Author: Anthony Green <green@moxielogic.com> 10027Date: Sat Nov 12 23:46:05 2011 -0500 10028 10029 Rerun automake 10030 10031commit 198ed1ef85cf18342627f8d44bc3f12c9975a49d 10032Author: Anthony Green <green@moxielogic.com> 10033Date: Sat Nov 12 23:45:20 2011 -0500 10034 10035 Update version number 10036 10037commit 4f17e1f142e805b13959ba2594ee735eae439f4e 10038Author: Anthony Green <green@moxielogic.com> 10039Date: Sat Nov 12 17:22:24 2011 -0500 10040 10041 Fix last patch 10042 10043commit ff9454da44859716a5bd4eaa344499288c79694f 10044Author: Anthony Green <green@moxielogic.com> 10045Date: Sat Nov 12 17:18:51 2011 -0500 10046 10047 Add David Gilbert's variadic function call support 10048 10049commit ea14ae85e8f54ff046b7fb8a9cfe349475272044 10050Author: Anthony Green <green@moxielogic.com> 10051Date: Sat Nov 12 16:36:59 2011 -0500 10052 10053 clean up 10054 10055commit 52891f8a93f9b8de801cca4cf05639422dc9773e 10056Author: Anthony Green <green@moxielogic.com> 10057Date: Sat Nov 12 16:35:55 2011 -0500 10058 10059 Add powerpc soft float support 10060 10061commit c8f1bde8e2566c5a87474b4d08aa934d6d28ee75 10062Author: Anthony Green <green@moxielogic.com> 10063Date: Sat Nov 12 16:21:02 2011 -0500 10064 10065 Remove junk file 10066 10067commit 6a6e7f862f3cc677e19131587caa619e7f9c7ffd 10068Author: Anthony Green <green@moxielogic.com> 10069Date: Sat Nov 12 16:20:42 2011 -0500 10070 10071 Fix kfreebsd 10072 10073commit d52fbed05ccbdee9ed8b9c911cbb4f85b0ff0f2a 10074Author: Anthony Green <green@moxielogic.com> 10075Date: Sat Nov 12 16:13:41 2011 -0500 10076 10077 Add missing ChangeLog entry 10078 10079commit 322052ce65c4fdac85bedc24726fd0e0094ba521 10080Author: Anthony Green <green@moxielogic.com> 10081Date: Sat Nov 12 16:11:49 2011 -0500 10082 10083 Fix arm wince alignment issue 10084 10085commit af18df2bc2f52df81e7b5c619bd86db8489dc873 10086Author: Anthony Green <green@moxielogic.com> 10087Date: Sat Nov 12 15:52:08 2011 -0500 10088 10089 Remove use of ppc string instructions 10090 10091commit 236c9391321f83ad40daf03f40c35c9ebc1da6b3 10092Author: Anthony Green <green@moxielogic.com> 10093Date: Sat Nov 12 07:37:40 2011 -0500 10094 10095 Fix darwin11 build problem 10096 10097commit c411f140f305ebb00d33c92b7cb2742bcd241b6a 10098Author: Anthony Green <green@moxielogic.com> 10099Date: Sat Nov 12 07:32:36 2011 -0500 10100 10101 Fix ax_enable_builddir macro on BSD systems 10102 10103commit 3d56106b07735abef6ae9f032e94f560a0ed2f30 10104Author: Anthony Green <green@moxielogic.com> 10105Date: Sat Nov 12 07:20:24 2011 -0500 10106 10107 Rebase 10108 10109commit 8c01954c50bf8ef2e00a3db166060a1b8f83a20d 10110Author: Anthony Green <green@moxielogic.com> 10111Date: Tue Sep 6 14:26:32 2011 -0400 10112 10113 Build assembly files with debug info 10114 10115commit fed646a2078969f4ce89c29107f1e72e03f4a977 10116Author: Anthony Green <green@moxielogic.com> 10117Date: Tue Sep 6 09:50:20 2011 -0400 10118 10119 Regenerate configury with missing m4 macros 10120 10121commit d76441cf71216f8f1e62e7ec852a7f4e21371ec8 10122Author: Anthony Green <green@moxielogic.com> 10123Date: Wed Aug 24 10:14:23 2011 -0400 10124 10125 Update list of supported OpenBSD systems 10126 10127commit ee6696fdf4768ba6dd037fb6dd99435afa13816e 10128Author: Anthony Green <green@moxielogic.com> 10129Date: Tue Aug 23 12:30:29 2011 -0400 10130 10131 3.0.11-rc1. soname bump. 10132 10133commit c6265c36a91eab8175d0e72db84d8225418f2379 10134Author: Anthony Green <green@moxielogic.com> 10135Date: Tue Aug 23 10:31:33 2011 -0400 10136 10137 Version 3.0.10 10138 10139commit cc5e41bf32d18a14dbdd653d52eacdbdc934c392 10140Author: Anthony Green <green@moxielogic.com> 10141Date: Mon Aug 22 16:34:24 2011 -0400 10142 10143 Fix use of autoconf macros 10144 10145commit 049d8386ff52399e69a530b55b9feedc8a2589d2 10146Author: Anthony Green <green@moxielogic.com> 10147Date: Mon Aug 22 14:50:10 2011 -0400 10148 10149 Many new patches 10150 10151commit 3b7efa4e74f0dcebf70b447391987aedd3473306 10152Author: Anthony Green <green@moxielogic.com> 10153Date: Mon Aug 15 13:25:13 2011 -0400 10154 10155 Revert remove-debug-code patch temporarily (for ARM Fedora release) 10156 10157commit d992ac54a2a9e7e064ffebcb91e05e7cb86185c7 10158Author: Anthony Green <green@gmachine.(none)> 10159Date: Fri Jul 29 17:32:53 2011 -0400 10160 10161 Refresh from GCC 10162 10163commit 2d3fb36420e09304220ee6c0652bae5eccdb965d 10164Author: Anthony Green <green@moxielogic.com> 10165Date: Wed Mar 30 16:54:42 2011 -0400 10166 10167 Fix darwin EH 10168 10169commit 30ff28e1d8cd9ed5319f1fbe9c7cccacc8161fb3 10170Author: Anthony Green <green@moxielogic.com> 10171Date: Mon Feb 28 15:36:23 2011 -0500 10172 10173 Fix permissions 10174 10175commit 09f8f310f4f53a24289682d3d28f4399d7bafc3b 10176Author: Anthony Green <green@moxielogic.com> 10177Date: Mon Feb 28 15:36:07 2011 -0500 10178 10179 More AIX fixes. rc9. 10180 10181commit 53d7b165642c220aa5166ba350b490802f359b54 10182Merge: 18dd85d 3000dc2 10183Author: Anthony Green <green@moxielogic.com> 10184Date: Mon Feb 28 15:23:31 2011 -0500 10185 10186 Merge branch 'master' of https://github.com/landonf/libffi-ios 10187 10188commit 18dd85d6cb9f3f3eea2a3b70eb4e150045905c55 10189Author: Anthony Green <green@moxielogic.com> 10190Date: Fri Feb 25 16:23:04 2011 -0500 10191 10192 rc8. fix last patch. 10193 10194commit 74ee6ea8b42e60d44a3ae8938b1e42a38c1e66b4 10195Author: Anthony Green <green@moxielogic.com> 10196Date: Fri Feb 25 15:52:14 2011 -0500 10197 10198 rc7. More AIX fixes. 10199 10200commit 2541679dbd3db0014890f42192dbf8008ab923fa 10201Author: Anthony Green <green@moxielogic.com> 10202Date: Fri Feb 25 15:09:13 2011 -0500 10203 10204 Fix ppc32 bug 10205 10206commit cbb062cc35c518004f1ab45c847f8ec4f66069ad 10207Author: Anthony Green <green@moxielogic.com> 10208Date: Thu Feb 17 20:39:21 2011 -0500 10209 10210 Another non-GCC configury fix 10211 10212commit 8cf8878425e9971866fa6b27a3e4914729ad3960 10213Author: Anthony Green <green@moxielogic.com> 10214Date: Tue Feb 15 15:19:49 2011 -0500 10215 10216 Fix ax_cc_maxopt.m4 10217 10218commit 24b72070c0937f9000744c77a636f07e04786b6a 10219Author: Anthony Green <green@moxielogic.com> 10220Date: Mon Feb 14 15:30:57 2011 -0500 10221 10222 Fix warning and msvcc patches 10223 10224commit d72c49e556a8c516e97f6722d1be2f1209c21207 10225Author: Anthony Green <green@moxielogic.com> 10226Date: Sun Feb 13 11:41:05 2011 -0500 10227 10228 Add missing msvcc.sh 10229 10230commit 3000dc237f6017a7445d8404097a4f46b73fdd29 10231Merge: 55e4a5a 1fbf9dc 10232Author: Landon Fuller <landonf@bikemonkey.org> 10233Date: Sun Feb 13 08:55:53 2011 -0500 10234 10235 Merge remote branch 'upstream/master' 10236 10237commit 1fbf9dc44feea564e84ad7406d17c5d5906ce0e0 10238Author: Anthony Green <green@moxielogic.com> 10239Date: Sun Feb 13 08:06:39 2011 -0500 10240 10241 Fix bad_abi test. rc5. 10242 10243commit 90af15ef5c1614b76370c4d13954586fabf9e8e3 10244Author: Anthony Green <green@moxielogic.com> 10245Date: Sat Feb 12 12:29:36 2011 -0500 10246 10247 iOS fixes 10248 10249commit 55e4a5aa1568558a04aa40f16fc022e459af53e3 10250Author: Landon Fuller <landonf@bikemonkey.org> 10251Date: Sat Feb 12 12:13:46 2011 -0500 10252 10253 Add support for building a full armv6/armv7/i386 universal iOS library 10254 10255commit a0c80f279b8733d001cb5e5c5a3289ecb7a6e56a 10256Author: Landon Fuller <landonf@bikemonkey.org> 10257Date: Sat Feb 12 11:43:49 2011 -0500 10258 10259 Update my e-mail address. 10260 10261commit 8195e0e11df7a53fa474caa9375f73ca1136ed66 10262Author: Landon Fuller <landonf@bikemonkey.org> 10263Date: Sat Feb 12 11:27:00 2011 -0500 10264 10265 Fix symbol prefixes on Darwin. 10266 10267commit 56b3f8cef0f28cefaa0f40fe0cf7c524adef131d 10268Author: Landon Fuller <landonf@bikemonkey.org> 10269Date: Sat Feb 12 11:14:54 2011 -0500 10270 10271 Modify the ffi_closure structures to hold table/table entry pointers instead of a code buffer. 10272 10273 This re-integrates commit da2773e02ab26cc11a7f. 10274 10275commit 28a00f61ff3f64c4eb2269ce2aea3d493274469e 10276Author: Landon Fuller <landonf@bikemonkey.org> 10277Date: Sat Feb 12 11:01:48 2011 -0500 10278 10279 Apple assembler support; fixed most gas/ELF-isms. 10280 10281commit 7f2ea33a80bfced5e48ed7292f3b8f057d54ff8f 10282Author: Landon Fuller <landonf@bikemonkey.org> 10283Date: Sat Feb 12 10:39:18 2011 -0500 10284 10285 Replace RETLDM macro. 10286 10287 The macro is incompatible with Apple's assembler; switch to 10288 a simple inline version. 10289 10290commit 92ff23e77fa586455b427b71f49e1d9502470e6e 10291Author: Landon Fuller <landonf@bikemonkey.org> 10292Date: Sat Feb 12 10:24:49 2011 -0500 10293 10294 Switch to the current iOS 4.2 SDK. 10295 10296commit 58fb8ca2dfb89ad70284bb9678d3d4dbb658c8a7 10297Merge: cc3fbd9 71c792f 10298Author: Landon Fuller <landonf@bikemonkey.org> 10299Date: Sat Feb 12 10:23:19 2011 -0500 10300 10301 Merge remote branch 'upstream/master' 10302 10303commit cc3fbd975ce9366d4c40a6ff6c108f664867bd7c 10304Merge: e449a43 f6ab3ed 10305Author: Landon Fuller <landonf@bikemonkey.org> 10306Date: Sat Feb 12 10:21:02 2011 -0500 10307 10308 Merge branch 'master' of github.com:landonf/libffi-ios 10309 10310commit e449a43bbe12f8119399928db1ae26adc71dde14 10311Author: Landon Fuller <landonf@bikemonkey.org> 10312Date: Sat Feb 12 10:20:42 2011 -0500 10313 10314 Allow specification of the minimum supported iOS version. 10315 10316commit 71c792f51bcf3e2f334e5ea1fb1a8b667cb3aedb 10317Author: Anthony Green <green@moxielogic.com> 10318Date: Sat Feb 12 09:33:11 2011 -0500 10319 10320 rc4 10321 10322commit 7c7c9f327299331022f6000603a35f2310dfe308 10323Author: Anthony Green <green@moxielogic.com> 10324Date: Sat Feb 12 09:29:29 2011 -0500 10325 10326 ungccify parts of the build 10327 10328commit ed62e48b95a0fa60b685f647cb73c9e190eec35c 10329Author: Anthony Green <green@moxielogic.com> 10330Date: Fri Feb 11 12:23:58 2011 -0500 10331 10332 Fix permissions 10333 10334commit 17d9e9e68ddb1b915a0b9751713033861b598575 10335Author: Anthony Green <green@moxielogic.com> 10336Date: Fri Feb 11 12:23:20 2011 -0500 10337 10338 Use newer autotools. Only build debug.c when --enable-debug. 10339 10340commit 6972a4ffda75761eaab7dfbe0fb1516b255e8e0c 10341Author: Anthony Green <green@moxielogic.com> 10342Date: Fri Feb 11 07:32:51 2011 -0500 10343 10344 Fix xlc build on AIX 10345 10346commit 1833aa0fb9831eb0725b63e35886c0f6d35df480 10347Author: Anthony Green <green@moxielogic.com> 10348Date: Fri Feb 11 07:11:04 2011 -0500 10349 10350 sparc ABI test fix. 10351 10352commit f1fb139b4e283fffdcf205a903943d5e9d2bb2a2 10353Author: Anthony Green <green@moxielogic.com> 10354Date: Wed Feb 9 18:30:02 2011 -0500 10355 10356 Fix tests 10357 10358commit 5cb470331d181c84d5d621e88868327a324a5898 10359Author: Anthony Green <green@moxielogic.com> 10360Date: Wed Feb 9 15:23:06 2011 -0500 10361 10362 Fix permissions 10363 10364commit 269deef6dbbb426695919d3398357fada3bb288c 10365Author: Anthony Green <green@moxielogic.com> 10366Date: Wed Feb 9 15:22:23 2011 -0500 10367 10368 rc3 10369 10370commit 42695e72504f647444b8e8e9b90bd24f1e3220e1 10371Author: Anthony Green <green@moxielogic.com> 10372Date: Wed Feb 9 15:12:35 2011 -0500 10373 10374 Fix IRIX support 10375 10376commit a6e56b97f62a3feeb3301c24a2e4cae55e546021 10377Author: Anthony Green <green@moxielogic.com> 10378Date: Wed Feb 9 15:00:42 2011 -0500 10379 10380 Add powerpc64-*-darwin* support 10381 10382commit 747d6c32d4abb07c10c3a1f93579c3929aaa2487 10383Author: Anthony Green <green@moxielogic.com> 10384Date: Wed Feb 9 14:56:23 2011 -0500 10385 10386 Add Interix support 10387 10388commit eab6e41cde382aa07de6c011d514a14c0d62eb47 10389Author: Anthony Green <green@moxielogic.com> 10390Date: Wed Feb 9 10:15:02 2011 -0500 10391 10392 Remove README.markdown form libffi-ios 10393 10394commit 69dbe845f4ee3e6ce8999f17a1e4f2179ef7da89 10395Author: Anthony Green <green@moxielogic.com> 10396Date: Wed Feb 9 07:38:43 2011 -0500 10397 10398 Fix xfails 10399 10400commit f498318c07b95137fe259d86bdbe15347588b84a 10401Author: Anthony Green <green@moxielogic.com> 10402Date: Wed Feb 9 06:26:46 2011 -0500 10403 10404 Update README for iOS again 10405 10406commit 630b9c0ac43c7edcbfd892e23c09fb26724f4ac0 10407Author: Anthony Green <green@moxielogic.com> 10408Date: Wed Feb 9 06:24:23 2011 -0500 10409 10410 Update to rc2 10411 10412commit 0cad4386fa4c9ea5f8ca88b16247db4e5c8fea90 10413Author: Anthony Green <green@moxielogic.com> 10414Date: Wed Feb 9 06:11:46 2011 -0500 10415 10416 Add ChangeLog entry. Fix copyright headers. 10417 10418commit 09cb76f2645bd2c151846e9249d8ea707ba01e8c 10419Author: Anthony Green <green@moxielogic.com> 10420Date: Tue Feb 8 20:39:51 2011 -0500 10421 10422 Add missing change 10423 10424commit 2e3a48ccdd54340983c46a29a0b41985e3e789ac 10425Author: Anthony Green <green@moxielogic.com> 10426Date: Tue Feb 8 20:37:26 2011 -0500 10427 10428 Fix make dist 10429 10430commit 5e4814d9928e236a2a4afe84d6e1d4fdaa473206 10431Author: Anthony Green <green@moxielogic.com> 10432Date: Tue Feb 8 19:46:28 2011 -0500 10433 10434 fix permissions 10435 10436commit 5c0cc6f1536aa1738795a97303810a823c7fa2cb 10437Author: Anthony Green <green@moxielogic.com> 10438Date: Tue Feb 8 19:45:59 2011 -0500 10439 10440 3.0.10rc1 10441 10442commit 857fe3de46d2286afa2fe772920ecf4aefa1688f 10443Author: Anthony Green <green@moxielogic.com> 10444Date: Tue Feb 8 19:39:20 2011 -0500 10445 10446 Clean ups 10447 10448commit e2214f8adb5577c247452e2cc9f4cbe304d7ca9f 10449Author: Anthony Green <green@moxielogic.com> 10450Date: Tue Feb 8 19:22:56 2011 -0500 10451 10452 Update README 10453 10454commit 1106229a5721a659da5c231ec0e8211119615394 10455Merge: bc9d0be f6ab3ed 10456Author: Anthony Green <green@moxielogic.com> 10457Date: Tue Feb 8 19:20:09 2011 -0500 10458 10459 Add iOS support 10460 10461commit bc9d0be2958ce475757f34dd2c878948aa77a39f 10462Author: Anthony Green <green@moxielogic.com> 10463Date: Tue Feb 8 17:04:26 2011 -0500 10464 10465 3.0.10rc0 changes 10466 10467commit 3b836249feae6d08d3e6887486e4b9961ddafa09 10468Author: Anthony Green <green@moxielogic.com> 10469Date: Tue Feb 8 14:28:59 2011 -0500 10470 10471 Rebase from GCC 10472 10473commit a26e3940619faeba6de54824c9540c90b1aab513 10474Author: Anthony Green <green@moxielogic.com> 10475Date: Tue Feb 8 13:56:12 2011 -0500 10476 10477 copyright updates patch 10478 10479commit b8099539f00e224107594101e9760b6dc081a056 10480Author: Anthony Green <green@moxielogic.com> 10481Date: Tue Feb 8 13:50:43 2011 -0500 10482 10483 Fix msvcc.sh botch 10484 10485commit dc411e8f99113a34656bfd2d3ae51259972488cc 10486Author: Anthony Green <green@moxielogic.com> 10487Date: Tue Feb 8 10:49:29 2011 -0500 10488 10489 Fix HP-UX build 10490 10491commit 404585d1348e30ac58203bbd876d9131e5aed874 10492Author: Anthony Green <green@moxielogic.com> 10493Date: Tue Feb 8 10:44:36 2011 -0500 10494 10495 Fix sparc v8 aggregate type returns for sun's compiler 10496 10497commit 19ce713188e193e4522740d24c20170411883d2d 10498Author: Anthony Green <green@moxielogic.com> 10499Date: Tue Feb 8 10:34:23 2011 -0500 10500 10501 grammar fix 10502 10503commit 89284fe55f1a8ad3bddbea796ee00d0e3ba411ce 10504Author: Anthony Green <green@moxielogic.com> 10505Date: Tue Feb 8 10:19:19 2011 -0500 10506 10507 Fix AIX build with IBM XLC 10508 10509commit ba022c338af97cb18d9f8ed5a607fd483a61c09c 10510Author: Anthony Green <green@moxielogic.com> 10511Date: Tue Feb 8 10:12:48 2011 -0500 10512 10513 fix win64-underscore patch 10514 10515commit 097e5f3924ee92a3ba6cd72f787da8a3eb14fea3 10516Author: Anthony Green <green@moxielogic.com> 10517Date: Tue Feb 8 10:11:00 2011 -0500 10518 10519 x86 pcrel test part 2 10520 10521commit ed2c518d960b91d444be74e5a55779a9c4602f3b 10522Author: Anthony Green <green@moxielogic.com> 10523Date: Tue Feb 8 10:10:07 2011 -0500 10524 10525 x86 pcrel test 10526 10527commit 0e5843995f46900ef212531281e08b224464f413 10528Author: Anthony Green <green@moxielogic.com> 10529Date: Tue Feb 8 07:52:40 2011 -0500 10530 10531 Refresh from GCC 10532 10533commit 5b9cd52784339a42e417174a55e310e214d435f9 10534Author: Anthony Green <green@moxielogic.com> 10535Date: Mon Nov 22 15:19:57 2010 -0500 10536 10537 win64-underscore patch 10538 10539commit 2db72615b50eb5c0f29725c02c740a2f0d7fc7d9 10540Author: Anthony Green <green@moxielogic.com> 10541Date: Sun Nov 21 10:50:56 2010 -0500 10542 10543 Rebase 10544 10545commit f6ab3edc23dc8fc7c47a31c896044150c23f04b5 10546Author: Landon Fuller <landonf@plausible.coop> 10547Date: Wed Oct 27 19:34:51 2010 -0400 10548 10549 Include the license header in the generated output. 10550 10551commit cef619462887fa0f360e3ee702d1e04f112b5b38 10552Author: Landon Fuller <landonf@bikemonkey.org> 10553Date: Wed Oct 27 13:59:30 2010 -0400 10554 10555 Add missing copyright/license header. 10556 10557commit 53f387b203413c9aa6e31f49dbb70d37d816330b 10558Author: Landon Fuller <landonf@bikemonkey.org> 10559Date: Sun Sep 19 19:57:17 2010 -0700 10560 10561 Minor README fix. 10562 10563commit 4fbcb5b5fbce11f4b168060e00639db33c85b75b 10564Author: Landon Fuller <landonf@bikemonkey.org> 10565Date: Sun Sep 19 19:50:37 2010 -0700 10566 10567 Minor README fix. 10568 10569commit 8e7652ef6acab5db7a29f786686a54f05cdbdc7d 10570Author: Landon Fuller <landonf@bikemonkey.org> 10571Date: Sun Sep 19 19:49:39 2010 -0700 10572 10573 Add a libffi-ios-specific github README. 10574 10575commit 83038cf24aa1a92b62b91ffee1dcc25d79243484 10576Author: Landon Fuller <landonf@bikemonkey.org> 10577Date: Sun Sep 19 14:36:45 2010 -0700 10578 10579 Implement FFI_EXEC_TRAMPOLINE_TABLE allocator for iOS/ARM. 10580 10581 This provides working closure support on iOS/ARM devices where 10582 PROT_WRITE|PROT_EXEC is not permitted. The code passes basic 10583 smoke tests, but requires further review. 10584 10585commit b00ff3e98fdde622cef617030e14d5356dff988f 10586Author: Landon Fuller <landonf@bikemonkey.org> 10587Date: Sun Sep 19 14:22:26 2010 -0700 10588 10589 Rename the generated symbol 10590 10591commit da2773e02ab26cc11a7fe87e985599f35cdf0649 10592Author: Landon Fuller <landonf@bikemonkey.org> 10593Date: Sun Sep 19 14:21:37 2010 -0700 10594 10595 Modify the ffi_closure structures to hold table/table entry pointers instead of a code buffer. 10596 10597commit 01d71b7bed41844f80cb9feef20dcc5ece5ba2d0 10598Author: Landon Fuller <landonf@bikemonkey.org> 10599Date: Sun Sep 19 14:21:14 2010 -0700 10600 10601 Regenerated the autoconf script 10602 10603commit 19afda0069c42e51c81dca7b10a5cf884b4cdce0 10604Author: Landon Fuller <landonf@bikemonkey.org> 10605Date: Sun Sep 19 14:20:52 2010 -0700 10606 10607 Enable AC_SUBST for FFI_EXEC_TRAMPOLINE_TABLE 10608 10609commit 9e1196444e78aef20028c18891f44ebe39a815fd 10610Author: Landon Fuller <landonf@bikemonkey.org> 10611Date: Sun Sep 19 10:43:06 2010 -0700 10612 10613 Add a hard-coded FFI_EXEC_TRAMPOLINE_TABLE arm implementation. 10614 10615 This implements support for re-mapping a shared table of executable 10616 trampolines directly in front of a writable configuration page, working 10617 around PROT_WRITE restrictions for sandboxed applications on Apple's 10618 iOS. 10619 10620 This implementation is for testing purposes; a proper allocator is still 10621 necessary, and ARM-specific code needs to be moved out of 10622 src/closures.c. 10623 10624commit f38364b399184e682fc3e785084bd497827bc5af 10625Author: Landon Fuller <landonf@bikemonkey.org> 10626Date: Sun Sep 19 10:42:36 2010 -0700 10627 10628 Fix symbol prefix for ffi_closure_SYSV_inner on Darwin. 10629 10630commit 36849e7716b77aa25e4175d1f4be1b93dbf47aac 10631Author: Landon Fuller <landonf@bikemonkey.org> 10632Date: Sun Sep 19 09:35:04 2010 -0700 10633 10634 Whitespace/comment fixes. 10635 10636commit b764162526854686e579a48b6ac5981f4eb886a3 10637Author: Landon Fuller <landonf@bikemonkey.org> 10638Date: Sun Sep 19 09:04:34 2010 -0700 10639 10640 Fix the script name (build-iphone.sh -> build-ios.sh) 10641 10642commit a3d9aa85013341451ea97766485b7a11852d32b2 10643Author: Landon Fuller <landonf@bikemonkey.org> 10644Date: Sun Sep 19 09:03:52 2010 -0700 10645 10646 Update the autogenerated autoconf/automake files. 10647 10648commit c71480eaf839f26bbdfcd8965f65ac4d8defddc0 10649Author: Landon Fuller <landonf@bikemonkey.org> 10650Date: Sun Sep 19 09:02:05 2010 -0700 10651 10652 Update automake/autoconf to conditionally build src/arm/trampoline.S if FFI_EXEC_TRAMPOLINE_TABLE is enabled. 10653 10654commit 9af9291b73bc5e27ecd949bec8157f20426d65b8 10655Author: Landon Fuller <landonf@bikemonkey.org> 10656Date: Sun Sep 19 08:52:33 2010 -0700 10657 10658 Add the trampoline table generated by gentramp.sh 10659 10660commit 68ce0c383ece84f69945d1c8c3fed03f7f9cb5d6 10661Author: Landon Fuller <landonf@bikemonkey.org> 10662Date: Sun Sep 19 08:38:19 2010 -0700 10663 10664 Add a shell script that generates the ARM trampoline page. 10665 10666 This generates a page of 340 trampolines, aligned within one page. The 10667 trampolines use pc-relative addressing to reference config data 10668 (context, jump address) from a page placed directly prior to the 10669 trampoline page. This can be used on systems -- such as iOS -- that do not 10670 support writable, executable memory by remapping the executable page 10671 containing the trampolines directly above a newly allocated writable 10672 config page. 10673 10674commit 75af086be8830a8eafe9b1ebda199d788bcb0c62 10675Author: Landon Fuller <landonf@bikemonkey.org> 10676Date: Sat Sep 18 18:12:19 2010 -0700 10677 10678 Update autoconf files 10679 10680commit 1ac92cca9b02ef8d6a769f0de1adccd5c9630355 10681Author: Landon Fuller <landonf@bikemonkey.org> 10682Date: Sat Sep 18 18:08:14 2010 -0700 10683 10684 Add autoconf check for W^X platforms that require a trampoline table. 10685 10686 This adds the FFI_EXEC_TRAMPOLINE_TABLE. The flag is enabled for 10687 arm-apple-darwin, where PROT_EXEC on writable (or formerly writable) pages is 10688 not permitted for sandboxed binaries. 10689 10690commit be72fbab29b7190c702d8e1ac3d149855e95879d 10691Author: Landon Fuller <landonf@bikemonkey.org> 10692Date: Sat Sep 18 18:02:25 2010 -0700 10693 10694 Use the correct host triple for arm/darwin 10695 10696commit 70150bdf4509269965c72f2032bf74f285767afe 10697Author: Landon Fuller <landonf@bikemonkey.org> 10698Date: Sat Sep 18 16:38:03 2010 -0700 10699 10700 Add missing UNWIND entry; disables .pad on non-EABI targets. 10701 10702commit 6b452bafaec498df975ba8ac4c99de174e5f74f7 10703Author: Landon Fuller <landonf@bikemonkey.org> 10704Date: Sat Sep 18 16:21:32 2010 -0700 10705 10706 Apple assembler support; fixed most gas/ELF-isms. 10707 10708commit 8ddac835b6f8b54ede764d0ea977dee4c82e2d67 10709Author: Landon Fuller <landonf@bikemonkey.org> 10710Date: Sat Sep 18 15:38:06 2010 -0700 10711 10712 Fix placement of the __APPLE__ macro. 10713 10714commit 69043d02936bb0579ac59b4ee1ed8dec38c38db7 10715Author: Landon Fuller <landonf@bikemonkey.org> 10716Date: Sat Sep 18 15:32:08 2010 -0700 10717 10718 Work-around libffi's FP ABI detection. 10719 10720 On iOS, we must use the AAPCS floating point return value calling 10721 conventions. libffi's ARM implementation will only use these conventions 10722 if __SOFTFP__ is defined, which is not the case when GCC's 10723 -mfloat-abi defaults to 'softfp' instead of 'soft'. To work around this 10724 we manually define __SOFTFP__ for Apple platforms in the ARM-specific 10725 sysv.S. 10726 10727 See also: 10728 http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/iPhoneOSABIReference/Introduction/Introduction.html 10729 http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042d/IHI0042D_aapcs.pdf 10730 10731commit a82e6c354ea805114642a6e440abd0832cb1d23f 10732Author: Landon Fuller <landonf@bikemonkey.org> 10733Date: Sat Sep 18 14:44:24 2010 -0700 10734 10735 Add a stub iOS build script to drive autoconf 10736 10737commit 84e8de6e9fc19388f6f1102c013b7d0d52940ecc 10738Author: Anthony Green <green@moxielogic.com> 10739Date: Fri Aug 6 01:35:12 2010 -0400 10740 10741 Restore execute permissions 10742 10743commit 3aeecc9eb1a6feba6549849cdd335c926415a4fc 10744Author: Anthony Green <green@moxielogic.com> 10745Date: Thu Aug 5 15:19:00 2010 -0400 10746 10747 Fix win64-struct-args patch 10748 10749commit 00d0b59cd13f89ab8b44bd894eb7f0a131fcb472 10750Author: Anthony Green <green@moxielogic.com> 10751Date: Thu Aug 5 14:56:53 2010 -0400 10752 10753 Fix debug build for windows 10754 10755commit bda487e87064f27965155459a62dc52a744778d0 10756Author: Anthony Green <green@moxielogic.com> 10757Date: Thu Aug 5 09:02:41 2010 -0400 10758 10759 Don't use -safeseh with ml64 10760 10761commit c1d28ba8d5029795af313ffeb81c97efc6d4c847 10762Author: Anthony Green <green@moxielogic.com> 10763Date: Thu Aug 5 08:48:16 2010 -0400 10764 10765 stdcall-x86-closure-fix 10766 10767commit 5feacad4a56c85b3f23a267a30b2cf424cd59548 10768Author: Anthony Green <green@moxielogic.com> 10769Date: Thu Aug 5 08:30:04 2010 -0400 10770 10771 define generic symbols carefully 10772 10773commit 10ea848900bc3018ac213cef52b44cacbe5cbebc 10774Author: Anthony Green <green@moxielogic.com> 10775Date: Thu Aug 5 08:24:27 2010 -0400 10776 10777 don't copy win64 struct args 10778 10779commit d14178be4c49c3ada44a9fe9efe11d444372ddab 10780Author: Anthony Green <green@moxielogic.com> 10781Date: Fri Jul 23 09:14:00 2010 -0400 10782 10783 FFI_LAST_ABI fix 10784 10785commit 3f5b1375ab1e2b8e3d593e21b27097a4a50f9b83 10786Author: Anthony Green <green@moxielogic.com> 10787Date: Mon Jul 12 14:39:18 2010 -0400 10788 10789 rebase 10790 10791commit eaf444eabc4c78703c0f98ac0197b1619c1b1bef 10792Author: Anthony Green <green@moxielogic.com> 10793Date: Sat Jul 10 08:59:09 2010 -0400 10794 10795 Fix selinux test 10796 10797commit 630974152247f100ece4d44f10c3721bb4599fbf 10798Author: Anthony Green <green@gmachine.(none)> 10799Date: Wed May 5 20:14:56 2010 -0400 10800 10801 Micharl Kohler's spelling fixes 10802 10803commit 9dc9a293f3d4589fcaf02dd4288c8cebaefa508e 10804Author: Anthony Green <green@gmachine.(none)> 10805Date: Tue Apr 13 10:33:52 2010 -0400 10806 10807 Rebase to latest GCC sources 10808 10809commit f2c2a4fce9b3eca9f39b4f3545118bc256da4a73 10810Author: Anthony Green <green@gmachine.(none)> 10811Date: Tue Apr 13 10:19:28 2010 -0400 10812 10813 Remove warnings and add OS/2 support 10814 10815commit c0b69e57d529e33d18b658cc5572a21e3663247c 10816Author: Anthony Green <green@gmachine.(none)> 10817Date: Tue Mar 30 08:30:22 2010 -0400 10818 10819 Dan Witte's windows build fixes. 10820 10821commit 59a259f4d348f593b45f452309f4d020a28051c4 10822Author: Anthony Green <green@gmachine.(none)> 10823Date: Mon Mar 15 05:57:51 2010 -0400 10824 10825 Remove junk file 10826 10827commit 3de1eb36d37a66829e606421939874d0d60d816d 10828Author: Anthony Green <green@gmachine.(none)> 10829Date: Mon Mar 15 05:57:24 2010 -0400 10830 10831 fix-comments patch 10832 10833commit c3813b6d7f8a777700f4c5862190c0db148d4de8 10834Author: Anthony Green <green@gmachine.(none)> 10835Date: Tue Jan 26 16:48:56 2010 -0500 10836 10837 Rebuild Makefiles with automake 1.11.1 for CVE-2009-4029. 10838 10839commit 8d27f68baa365bf883b6053c5f6bc819646d5434 10840Author: Anthony Green <green@gmachine.(none)> 10841Date: Fri Jan 15 11:35:37 2010 -0500 10842 10843 Mention recent changes in README 10844 10845commit ff3cd68b8cf2d9a28cad7aa9beff46236eacec8c 10846Author: Anthony Green <green@gmachine.(none)> 10847Date: Fri Jan 15 11:27:24 2010 -0500 10848 10849 Add msvc.sh wrapper 10850 10851commit cadeba6cb53414a1253582f1719c286665de7b6c 10852Author: Anthony Green <green@gmachine.(none)> 10853Date: Fri Jan 15 10:46:51 2010 -0500 10854 10855 Microsoft Visual C port 10856 10857commit 0739e7dc00db766eb64f502ec4137b817638c9a1 10858Author: Anthony Green <green@gmachine.(none)> 10859Date: Fri Jan 15 09:48:33 2010 -0500 10860 10861 Add x86 Sun Studio compiler support 10862 10863commit edfdfd2e85b8d01d2455934f1d7f4d7eb2f3cf1c 10864Author: Anthony Green <green@gmachine.(none)> 10865Date: Wed Jan 13 02:56:19 2010 -0500 10866 10867 Add closure example doc 10868 10869commit 7b7a42f221cf171e8d09df34cac6dc1fd8458cc3 10870Author: Anthony Green <green@gmachine.(none)> 10871Date: Tue Jan 12 09:14:14 2010 -0500 10872 10873 Rebase from GCC 10874 10875commit 4b18d1f73dc7733137869e4ab5725cb90c1c8fde 10876Author: Anthony Green <green@gmachine.(none)> 10877Date: Fri Jan 1 10:24:27 2010 -0500 10878 10879 Add x86-64 MingW to README 10880 10881commit c3042afaf3f84abbbe9c91bf9bc9896b0d9eb003 10882Author: Anthony Green <green@gmachine.(none)> 10883Date: Fri Jan 1 08:08:02 2010 -0500 10884 10885 Reset quilt patches post 3.0.9 merge with GCC 10886 10887commit b0304e9679bdfec6ac45a57b5c96542697249418 10888Author: Anthony Green <green@gmachine.(none)> 10889Date: Thu Dec 31 11:32:40 2009 -0500 10890 10891 Update version 10892 10893commit 2e7e03d014d9c9bf40e97ce75cba089ad052fa6b 10894Author: Anthony Green <green@gmachine.(none)> 10895Date: Thu Dec 31 07:43:22 2009 -0500 10896 10897 Final updates before 3.0.9 10898 10899commit aea706c52825c8eee677ffa7fdbdd3aed1725492 10900Author: Anthony Green <green@gmachine.(none)> 10901Date: Tue Dec 29 10:09:31 2009 -0500 10902 10903 really 3.0.9rc12 10904 10905commit 0cfe60e9d13f132b88995cfee41f2156344f6fa2 10906Author: Anthony Green <green@gmachine.(none)> 10907Date: Tue Dec 29 10:06:04 2009 -0500 10908 10909 3.0.9rc12 10910 10911commit 14e2e92e8645804b6940b3e96c98e9f7f384a6b2 10912Author: Anthony Green <green@gmachine.(none)> 10913Date: Sun Dec 27 21:03:33 2009 -0500 10914 10915 3.0.9rc11 10916 10917commit 884402787bf8eaf7ec207085037cf8ace2f660ec 10918Author: Anthony Green <green@gmachine.(none)> 10919Date: Sat Dec 26 12:57:23 2009 -0500 10920 10921 HPUX support and avr32 test fixes. 10922 10923commit 01c78756aff22efb1f122f8e93e068d7bf2185c7 10924Author: Anthony Green <green@gmachine.(none)> 10925Date: Sat Dec 26 10:05:18 2009 -0500 10926 10927 3.0.9rc9 10928 10929commit 70868464651320268d79c6894db5a50fdc11032a 10930Author: Anthony Green <green@gmachine.(none)> 10931Date: Sat Dec 26 09:58:03 2009 -0500 10932 10933 Remove xfails for mips and arm 10934 10935commit 838d4ad920ec85cf5ca3b511221d67f6d9a99024 10936Author: Anthony Green <green@gmachine.(none)> 10937Date: Sat Dec 26 09:57:27 2009 -0500 10938 10939 Remove a bunch of xfails. 10940 10941commit 7e37eaaf772f48906e69618c773b0a36c3927de9 10942Author: Anthony Green <green@gmachine.(none)> 10943Date: Sat Dec 26 07:46:50 2009 -0500 10944 10945 Fix huge_struct for solaris 10946 10947commit 07cc7a37194bc34064ebed7f2724333a798411c8 10948Author: Anthony Green <green@gmachine.(none)> 10949Date: Sat Dec 26 07:23:04 2009 -0500 10950 10951 3.0.9rc8 10952 10953commit 2b9be16ffabc81326128bc1bbdddff8ddc5d13d3 10954Author: Anthony Green <green@gmachine.(none)> 10955Date: Sat Dec 26 07:04:45 2009 -0500 10956 10957 3.0.9rc8 10958 10959commit 9458d88f676e9a21ab8993a54e16754b11687419 10960Author: Anthony Green <green@gmachine.(none)> 10961Date: Sat Dec 26 07:02:27 2009 -0500 10962 10963 Rebase from GCC 10964 10965commit 6a3412417593f068a04dc6163f4269cb295ad5ca 10966Author: Anthony Green <green@gmachine.(none)> 10967Date: Sat Dec 26 06:51:33 2009 -0500 10968 10969 Add Andreas Schwab's powerpc fix 10970 10971commit 39c8792ece1043f41f4c395a2ce71f4cf0ff4674 10972Author: Anthony Green <green@gmachine.(none)> 10973Date: Fri Dec 25 21:52:28 2009 -0500 10974 10975 3.0.9rc7 10976 10977commit 1d04af52e3e24db69f742064694c22f8df5cc70e 10978Author: Anthony Green <green@gmachine.(none)> 10979Date: Fri Dec 25 09:50:36 2009 -0500 10980 10981 Updated some mips XFAILs 10982 10983commit 26e9509c9b7929bc4fcf697071699051a652b1fd 10984Author: Anthony Green <green@gmachine.(none)> 10985Date: Fri Dec 25 02:19:23 2009 -0500 10986 10987 Clean up ChangeLog.libffi for older patches. 10988 10989commit 9c157d3215e4393777f83eb6fa801df6528f40d7 10990Author: Anthony Green <green@gmachine.(none)> 10991Date: Fri Dec 25 02:15:40 2009 -0500 10992 10993 Clean up undefine_AC_ARG_VAR_PRECIOUS patch. 10994 10995commit d22de05b0bfc480766bc1240615ce2830eee71b8 10996Author: Anthony Green <green@gmachine.(none)> 10997Date: Fri Dec 25 02:04:23 2009 -0500 10998 10999 Fix patches 11000 11001commit 1fe3dc7c20dc4dbd8fed0d19c8618027d44ed971 11002Author: Anthony Green <green@gmachine.(none)> 11003Date: Fri Dec 25 01:39:00 2009 -0500 11004 11005 Add windows support patch. 11006 11007commit f7c0bc613a88f7dbc2d18b345c10fa438833c170 11008Author: Anthony Green <green@gmachine.(none)> 11009Date: Fri Dec 25 01:22:11 2009 -0500 11010 11011 3.0.9rc6 11012 11013commit c7fa2da8260258c11ab1dc7ac06fb611a2c1b50f 11014Author: Anthony Green <green@gmachine.(none)> 11015Date: Thu Dec 24 07:22:44 2009 -0500 11016 11017 3.0.9rc6 11018 11019commit da11bece0fde66fc0268db3a01207dda857e25d2 11020Author: Anthony Green <green@gmachine.(none)> 11021Date: Thu Dec 24 05:34:46 2009 -0500 11022 11023 Release 3.0.9rc5 11024 11025commit e3399b11edeab546b066bfc18574f3edb905d0dc 11026Author: Anthony Green <green@gmachine.(none)> 11027Date: Thu Dec 24 01:09:32 2009 -0500 11028 11029 Update README 11030 11031commit 115ab36fceee69740a01ce49bc27e1908cc237b1 11032Author: Anthony Green <green@gmachine.(none)> 11033Date: Thu Dec 24 00:22:00 2009 -0500 11034 11035 Update missing changes for 3.0.9r4. 11036 11037commit f8c7a245bf5a80bd7e730ec03fcad17c8dcfcb07 11038Author: Anthony Green <green@gmachine.(none)> 11039Date: Wed Dec 23 23:46:22 2009 -0500 11040 11041 Switch to quilt. Rebase to latest GCC. 11042 11043commit ce806772f02387b9a74f6496a263a368bccd5d59 11044Merge: cd98813 dcc1f6b 11045Author: Anthony Green <green@moxielogic.com> 11046Date: Mon Oct 5 00:41:35 2009 -0400 11047 11048 Merge branch 'master' of git@github.com:atgreen/libffi 11049 11050commit dcc1f6b4f1ffd2713bf68b791a13f85d455c8b1b 11051Author: Anthony Green <green@moxielogic.com> 11052Date: Mon Oct 5 00:29:33 2009 -0400 11053 11054 More clean up. 11055 11056commit 2829f5941a223b9d851d8ab6318318e6197d7e01 11057Author: Anthony Green <green@moxielogic.com> 11058Date: Mon Oct 5 00:28:03 2009 -0400 11059 11060 Clean up 11061 11062commit cd98813de517ea64041637e3e78d27a001d6d3b4 11063Author: Anthony Green <green@moxielogic.com> 11064Date: Mon Oct 5 00:25:29 2009 -0400 11065 11066 From Jens Rehsack. Fix for 64-bit AIX. 11067 11068commit e4a91de766acc47f6c50f13cc11719a65e23ecba 11069Author: Anthony Green <green@moxielogic.com> 11070Date: Mon Oct 5 00:16:17 2009 -0400 11071 11072 From Abdulaziz Ghuloum. Adds special case for Snow Leopard. 11073 11074commit 3425a763bcdaadb8b430226f427ec833afdcc96a 11075Author: Anthony Green <green@moxielogic.com> 11076Date: Sun Oct 4 23:57:29 2009 -0400 11077 11078 Fix detection of free/openbsd. From Alexis Ballier. 11079 11080commit 2340e7a777902de61499d47823ad8d5e0eeb6203 11081Author: Anthony Green <green@moxielogic.com> 11082Date: Sun Oct 4 23:53:17 2009 -0400 11083 11084 AVR support 11085 11086commit 5cbe2058c128e848446ae79fe15ee54260a90559 11087Author: Anthony Green <green@moxielogic.com> 11088Date: Sun Oct 4 23:53:11 2009 -0400 11089 11090 Initial stand-alone patch. 11091 11092commit c6dddbd02bad9654ed58cdb0feb360934d105dec 11093Author: Anthony Green <green@moxielogic.com> 11094Date: Sun Oct 4 08:11:33 2009 -0400 11095 11096 Initial commit 11097 11098commit 5ffc0c37486fb1538bccc0ca7acc807d4f1af932 11099Author: Anthony Green <green@moxielogic.com> 11100Date: Sun Oct 4 07:58:22 2009 -0400 11101 11102 Update version to 3.0.9rc1. Add more useful things to .gitignore. 11103 11104commit bd29f83ee9f6fa6b65adee9d3f57834f364d9887 11105Author: Anthony Green <green@moxielogic.com> 11106Date: Tue Sep 29 12:07:26 2009 -0400 11107 11108 Add .gitignore 11109 11110commit 9474f853f83e3f0167c1b306177321bfcc93e56d 11111Author: Anthony Green <green@moxielogic.com> 11112Date: Tue Sep 29 11:13:02 2009 -0400 11113 11114 Remove old CVSROOT files. 11115 11116commit 0c25275ec24bfe2c2c25a000465f0950ef9dd51b 11117Author: twall <twall> 11118Date: Wed Aug 19 12:57:34 2009 +0000 11119 11120 Apply Dave Korn's cygwin/GCC changes 11121 11122commit 39228c27ed3f677a95b46380a8d31602b5777e1a 11123Author: aph <aph> 11124Date: Tue Jun 16 18:00:47 2009 +0000 11125 11126 2009-06-16 Wim Lewis <wiml@hhhh.org> 11127 11128 * src/powerpc/ffi.c: Avoid clobbering cr3 and cr4, which are 11129 supposed to be callee-saved. 11130 * src/powerpc/sysv.S (small_struct_return_value): Fix overrun of 11131 return buffer for odd-size structs. 11132 11133commit 5e93cc704d127c2c8ae7f5d2cef621145d43e777 11134Author: aph <aph> 11135Date: Tue Jun 16 17:41:47 2009 +0000 11136 11137 2009-06-16 Andreas Tobler <a.tobler@schweiz.org> 11138 11139 PR libffi/40444 11140 * testsuite/lib/libffi-dg.exp (libffi_target_compile): Add 11141 allow_stack_execute for Darwin. 11142 11143commit b509af8959dc371b92392c623522ea6f4946a71d 11144Author: aph <aph> 11145Date: Tue Jun 16 16:17:52 2009 +0000 11146 11147 2009-06-16 Andrew Haley <aph@redhat.com> 11148 11149 * configure.ac (TARGETDIR): Add missing blank lines. 11150 * configure: Regenerate. 11151 11152commit d57e96dc56ee76fbbb9b59d73aeaa92354db5ecb 11153Author: aph <aph> 11154Date: Tue Jun 16 09:59:02 2009 +0000 11155 11156 2009-06-16 Andrew Haley <aph@redhat.com> 11157 11158 * testsuite/libffi.call/cls_align_sint64.c, 11159 testsuite/libffi.call/cls_align_uint64.c, 11160 testsuite/libffi.call/cls_longdouble_va.c, 11161 testsuite/libffi.call/cls_ulonglong.c, 11162 testsuite/libffi.call/return_ll1.c, 11163 testsuite/libffi.call/stret_medium2.c: Fix printf format 11164 specifiers. 11165 * testsuite/libffi.call/huge_struct.c: Ad x86 XFAILs. 11166 * testsuite/libffi.call/float2.c: Fix dg-excess-errors. 11167 * testsuite/libffi.call/ffitest.h, 11168 testsuite/libffi.special/ffitestcxx.h (PRIdLL, PRIuLL): Define. 11169 11170commit b01d6d1982c9e020507029bfd5a58a8c60d111fa 11171Author: aph <aph> 11172Date: Tue Jun 16 09:44:54 2009 +0000 11173 11174 2009-06-16 Andrew Haley <aph@redhat.com> 11175 11176 * testsuite/libffi.call/err_bad_typedef.c: xfail everywhere. 11177 * testsuite/libffi.call/err_bad_abi.c: Likewise. 11178 11179commit 35b6ded138591900a88055a8a8ac1fadc29a76d6 11180Author: aph <aph> 11181Date: Fri Jun 12 15:29:20 2009 +0000 11182 11183 2009-06-11 Kaz Kojima <kkojima@gcc.gnu.org> 11184 11185 * testsuite/libffi.call/cls_longdouble_va.c: Add xfail sh*-*-linux-*. 11186 * testsuite/libffi.call/err_bad_abi.c: Add xfail sh*-*-*. 11187 * testsuite/libffi.call/err_bad_typedef.c: Likewise. 11188 11189commit acc46605f2d95d67d69398e7644610f10a157ce3 11190Author: aph <aph> 11191Date: Fri Jun 12 14:21:28 2009 +0000 11192 11193 2009-06-12 Andrew Haley <aph@redhat.com> 11194 11195 * ChangeLog.libffi: testsuite/libffi.call/cls_align_sint64.c, 11196 testsuite/libffi.call/cls_align_uint64.c, 11197 testsuite/libffi.call/cls_ulonglong.c, 11198 testsuite/libffi.call/return_ll1.c, 11199 testsuite/libffi.call/stret_medium2.c: Fix printf format 11200 specifiers. 11201 testsuite/libffi.special/unwindtest.cc: include stdint.h. 11202 11203commit 16d1996ed0797bd7c11aca2b0fe7e7748751aaf6 11204Author: twall <twall> 11205Date: Thu Jun 11 14:27:42 2009 +0000 11206 11207 update changelog 11208 11209commit 92a515c33efe91be3cb0258f01c63aff208489c7 11210Author: twall <twall> 11211Date: Thu Jun 11 14:27:28 2009 +0000 11212 11213 use ffi_closure_alloc instead of stack-based closure 11214 11215commit e4363160ba9e50167f9ca0a7399d537a1d2cd0ce 11216Author: twall <twall> 11217Date: Thu Jun 11 14:26:23 2009 +0000 11218 11219 remove unused extern 11220 11221commit 1dc2781d2ba38f5f000ff70069d617fb21e1d2af 11222Author: twall <twall> 11223Date: Thu Jun 11 11:36:16 2009 +0000 11224 11225 remove not-yet-applied changelog entries 11226 11227commit bb27735fe689dac97ec0dc847ed8d3d519620109 11228Author: twall <twall> 11229Date: Wed Jun 10 10:42:36 2009 +0000 11230 11231 add win64 support 11232 11233commit b2a54c100c74854a409820817d54617fdda39eb8 11234Author: aph <aph> 11235Date: Mon Jun 8 16:50:49 2009 +0000 11236 11237 2009-06-08 Andrew Haley <aph@redhat.com> 11238 11239 * testsuite/libffi.call/err_bad_abi.c: Add xfails. 11240 * testsuite/libffi.call/cls_longdouble_va.c: Add xfails. 11241 * testsuite/libffi.call/cls_dbls_struct.c: Add xfail x86_64-*-linux-*. 11242 * testsuite/libffi.call/err_bad_typedef.c: Add xfails. 11243 11244 * testsuite/libffi.call/stret_medium2.c: Add __UNUSED__ to args. 11245 * testsuite/libffi.call/stret_medium.c: Likewise. 11246 * testsuite/libffi.call/stret_large2.c: Likewise. 11247 * testsuite/libffi.call/stret_large.c: Likewise. 11248 11249commit 25723e7141f73d3736d7244b980c89d97db852b6 11250Author: aph <aph> 11251Date: Fri Jun 5 13:03:40 2009 +0000 11252 11253 2009-06-05 Andrew Haley <aph@redhat.com> 11254 11255 * src/x86/win32.S (_ffi_closure_STDCALL): Import from gcc. 11256 11257commit 70758199c7cd41f411987360ccb302b497a56dc9 11258Author: aph <aph> 11259Date: Thu Jun 4 16:29:58 2009 +0000 11260 11261 2009-06-04 Andrew Haley <aph@redhat.com> 11262 11263 * src/powerpc/ffitarget.h: Fix misapplied merge from gcc. 11264 11265commit e8bb12563f9aa23ddf36fa6a5b92b16b5c3e1a7f 11266Author: aph <aph> 11267Date: Thu Jun 4 14:59:18 2009 +0000 11268 11269 2009-06-04 Andrew Haley <aph@redhat.com> 11270 11271 * src/mips/o32.S, 11272 src/mips/n32.S: Fix licence formatting. 11273 11274commit d66a8e32c3671479e3ce0f6819673e5932ba6b7f 11275Author: aph <aph> 11276Date: Thu Jun 4 14:43:40 2009 +0000 11277 11278 2009-06-04 Andrew Haley <aph@redhat.com> 11279 11280 * src/x86/darwin.S: Fix licence formatting. 11281 src/x86/win32.S: Likewise. 11282 src/sh64/sysv.S: Likewise. 11283 src/sh/sysv.S: Likewise. 11284 11285commit 7c3b7fd6b5db746b5b09a718f3044f811372f941 11286Author: aph <aph> 11287Date: Thu Jun 4 14:39:20 2009 +0000 11288 11289 2009-06-04 Andrew Haley <aph@redhat.com> 11290 11291 * src/sh64/ffi.c: Remove lint directives. Was missing from merge 11292 of Andreas Tobler's patch from 2006-04-22. 11293 11294commit 1a2f93a8b362db13638afd9fcb3f2650180bfa17 11295Author: aph <aph> 11296Date: Thu Jun 4 10:45:51 2009 +0000 11297 11298 2009-06-04 Andrew Haley <aph@redhat.com> 11299 11300 * src/sh/ffi.c: Apply missing hunk from Alexandre Oliva's patch of 11301 2007-03-07. 11302 11303commit 944c95cf7aaaaf7c5fa368cda4673dd38f45020e 11304Author: aph <aph> 11305Date: Wed Jun 3 17:42:56 2009 +0000 11306 11307 2009-05-22 Dave Korn <dave.korn.cygwin@gmail.com> 11308 11309 * src/x86/win32.S (_ffi_closure_STDCALL): New function. 11310 (.eh_frame): Add FDE for it. 11311 11312 2009-05-22 Dave Korn <dave.korn.cygwin@gmail.com> 11313 11314 * configure.ac: Also check if assembler supports pc-relative 11315 relocs on X86_WIN32 targets. 11316 * configure: Regenerate. 11317 * src/x86/win32.S (ffi_prep_args): Declare extern, not global. 11318 (_ffi_call_SYSV): Add missing function type symbol .def and 11319 add EH markup labels. 11320 (_ffi_call_STDCALL): Likewise. 11321 (_ffi_closure_SYSV): Likewise. 11322 (_ffi_closure_raw_SYSV): Likewise. 11323 (.eh_frame): Add hand-crafted EH data. 11324 11325 2008-11-21 Eric Botcazou <ebotcazou@adacore.com> 11326 11327 * src/sparc/ffi.c (ffi_prep_cif_machdep): Add support for 11328 signed/unsigned int8/16 return values. 11329 * src/sparc/v8.S (ffi_call_v8): Likewise. 11330 (ffi_closure_v8): Likewise. 11331 11332 2008-03-26 Kaz Kojima <kkojima@gcc.gnu.org> 11333 11334 * src/sh/sysv.S: Add .note.GNU-stack on Linux. 11335 * src/sh64/sysv.S: Likewise. 11336 11337 2008-03-26 Daniel Jacobowitz <dan@debian.org> 11338 11339 * src/arm/sysv.S: Fix ARM comment marker. 11340 11341commit 00fa972430bb1535a4b34bf029ebcad500027b0c 11342Author: twall <twall> 11343Date: Sat Dec 27 16:59:05 2008 +0000 11344 11345 properly glob-match 11346 11347commit f5179e6794ac35af26fe86e468b8508a7a570c55 11348Author: twall <twall> 11349Date: Fri Dec 26 19:06:28 2008 +0000 11350 11351 Mark XFAIL on longdouble tests for x86_64/mingw 11352 11353commit 80e2b5a749208c8a18f994ec5bee84594d051cc8 11354Author: twall <twall> 11355Date: Mon Dec 22 15:21:15 2008 +0000 11356 11357 clean up tests for win64 use 11358 11359commit 7063d9996f742576095c7b0eb5016c0f9a670aec 11360Author: green <green> 11361Date: Fri Dec 19 16:13:46 2008 +0000 11362 11363 Version 3.0.8 with x86-solaris support 11364 11365commit bdfeb13f0df0a63b19d62597517237b54d92228b 11366Author: green <green> 11367Date: Fri Dec 19 15:47:44 2008 +0000 11368 11369 Bump to 3.0.7 11370 11371commit 69205de17d6ac4c11d4ba92d6a5b40a0c5f246b2 11372Author: green <green> 11373Date: Thu Jul 24 18:03:48 2008 +0000 11374 11375 Many test fixes (failures due to excessive compiler warnings). 11376 11377commit 260d513fea00b3613fe957a44a157fe72c4ca29e 11378Author: green <green> 11379Date: Thu Jul 17 13:13:52 2008 +0000 11380 11381 Version 3.0.6. sh/sh64 fixes. 11382 11383commit 3704031875feabb74e3655ed03cff4c2b3c76ac6 11384Author: green <green> 11385Date: Thu Apr 3 18:57:57 2008 +0000 11386 11387 Rev 3.0.5. 11388 11389commit 8406f5f48f7f58a1c982a93a95d521cf82b3241f 11390Author: green <green> 11391Date: Thu Apr 3 18:57:34 2008 +0000 11392 11393 3.0.5 11394 11395commit 23a9e73212b62f9684cedb0ce70e92c59cfdaffa 11396Author: green <green> 11397Date: Wed Mar 5 00:07:02 2008 +0000 11398 11399 2008-03-04 Anthony Green <green@redhat.com> 11400 Blake Chaffin 11401 hos@tamanegi.org 11402 11403 * testsuite/libffi.call/cls_align_longdouble_split2.c 11404 testsuite/libffi.call/cls_align_longdouble_split.c 11405 testsuite/libffi.call/cls_dbls_struct.c 11406 testsuite/libffi.call/cls_double_va.c 11407 testsuite/libffi.call/cls_longdouble.c 11408 testsuite/libffi.call/cls_longdouble_va.c 11409 testsuite/libffi.call/cls_pointer.c 11410 testsuite/libffi.call/cls_pointer_stack.c 11411 testsuite/libffi.call/err_bad_abi.c 11412 testsuite/libffi.call/err_bad_typedef.c 11413 testsuite/libffi.call/huge_struct.c 11414 testsuite/libffi.call/stret_large2.c 11415 testsuite/libffi.call/stret_large.c 11416 testsuite/libffi.call/stret_medium2.c 11417 testsuite/libffi.call/stret_medium.c: New tests from Apple. 11418 11419commit 429e37d3ad653e52e75bf725c883ab79e859f89a 11420Author: green <green> 11421Date: Thu Feb 28 04:50:19 2008 +0000 11422 11423 clicky 11424 11425commit 51e79c428348c033314f54bcb30f7e388c59e347 11426Author: green <green> 11427Date: Thu Feb 28 04:47:35 2008 +0000 11428 11429 getclicky 11430 11431commit affcab04e280efeace45a72c4dc6152c0e4f1b7f 11432Author: green <green> 11433Date: Tue Feb 26 19:01:53 2008 +0000 11434 11435 2008-02-26 Jakub Jelinek <jakub@redhat.com> 11436 Anthony Green <green@redhat.com> 11437 11438 * src/alpha/osf.S: Add .note.GNU-stack on Linux. 11439 * src/s390/sysv.S: Likewise. 11440 * src/powerpc/linux64.S: Likewise. 11441 * src/powerpc/linux64_closure.S: Likewise. 11442 * src/powerpc/ppc_closure.S: Likewise. 11443 * src/powerpc/sysv.S: Likewise. 11444 * src/x86/unix64.S: Likewise. 11445 * src/x86/sysv.S: Likewise. 11446 * src/sparc/v8.S: Likewise. 11447 * src/sparc/v9.S: Likewise. 11448 * src/m68k/sysv.S: Likewise. 11449 * src/ia64/unix.S: Likewise. 11450 * src/arm/sysv.S: Likewise. 11451 11452commit 59689d5522c159a3ac967adb6b891cf5f22c890f 11453Author: green <green> 11454Date: Tue Feb 26 17:40:51 2008 +0000 11455 11456 2008-02-26 Anthony Green <green@redhat.com> 11457 Thomas Heller <theller@ctypes.org> 11458 11459 * src/x86/ffi.c (ffi_closure_SYSV_inner): Change C++ comment to C 11460 comment. 11461 11462commit b13c84cf4668828ff8429ba4a2f94cd1eb574ae0 11463Author: green <green> 11464Date: Tue Feb 26 17:38:15 2008 +0000 11465 11466 2008-02-26 Anthony Green <green@redhat.org> 11467 Thomas Heller <theller@ctypes.org> 11468 11469 * include/ffi.h.in: Change void (*)() to void (*)(void). 11470 11471commit 265289f679ffd24a88ae1aa2cef0e4aa14703cd8 11472Author: green <green> 11473Date: Tue Feb 26 17:34:36 2008 +0000 11474 11475 2008-02-26 Anthony Green <green@spindazzle.org> 11476 11477 * src/alpha/ffi.c: Change void (*)() to void (*)(void). 11478 src/alpha/osf.S, src/arm/ffi.c, src/frv/ffi.c, src/ia64/ffi.c, 11479 src/ia64/unix.S, src/java_raw_api.c, src/m32r/ffi.c, 11480 src/mips/ffi.c, src/pa/ffi.c, src/pa/hpux32.S, src/pa/linux.S, 11481 src/powerpc/ffi.c, src/powerpc/ffi_darwin.c, src/raw_api.c, 11482 src/s390/ffi.c, src/sh/ffi.c, src/sh64/ffi.c, src/sparc/ffi.c, 11483 src/x86/ffi.c, src/x86/unix64.S, src/x86/darwin64.S,> src/x86/ffi64.c: Ditto. 11484 11485commit fb5036cd6d0f909918e90f7d2d9fd80d46682d5d 11486Author: green <green> 11487Date: Sun Feb 24 17:25:25 2008 +0000 11488 11489 fix date 11490 11491commit 40bec108e7d0181e6c9928aa7a33187bcc0f3d6f 11492Author: green <green> 11493Date: Sun Feb 24 17:25:02 2008 +0000 11494 11495 New release 11496 11497commit b922048fa82ea109a4af269ee47bbc2a586bbac2 11498Author: green <green> 11499Date: Sun Feb 24 17:24:00 2008 +0000 11500 11501 2008-02-24 Anthony Green <green@spindazzle.org> 11502 11503 * configure.ac: Accept openbsd*, not just openbsd. 11504 Bump version to 3.0.4. 11505 * configure, doc/stamp-vti, doc/version.texi: Rebuilt. 11506 * libtool-version: Increment revision. 11507 * README: Update for new release. 11508 11509commit affca4b92d06e5554784c7e9b233029ef83f7d8a 11510Author: green <green> 11511Date: Fri Feb 22 21:53:29 2008 +0000 11512 11513 sync readme with web page. 11514 11515commit 3e53d8752ea74859b4c64fbbf935e62a937c4d78 11516Author: green <green> 11517Date: Fri Feb 22 21:52:38 2008 +0000 11518 11519 New release 11520 11521commit 4d92f6c8e78fe084be65f3e8b58b859901ba796d 11522Author: green <green> 11523Date: Fri Feb 22 21:49:46 2008 +0000 11524 11525 2008-02-22 Anthony Green <green@redhat.com> 11526 11527 * configure.ac: Bump version to 3.0.3. 11528 * configure, doc/stamp-vti, doc/version.texi: Rebuilt. 11529 * libtool-version: Increment revision. 11530 * README: Update for new release. Clean up test docs. 11531 11532commit 0e185fa11a01f816824ba2687ed3715ab6219bef 11533Author: green <green> 11534Date: Fri Feb 22 21:43:18 2008 +0000 11535 11536 Update configure script. 11537 11538commit f73986bd211cfbbaa593d1309504d0dc68626191 11539Author: green <green> 11540Date: Fri Feb 22 21:40:53 2008 +0000 11541 11542 2008-02-22 Bjoern Koenig <bkoenig@alpha-tierchen.de> 11543 Andreas Tobler <a.tobler@schweiz.org> 11544 11545 * configure.ac: Add amd64-*-freebsd* target. 11546 * configure: Regenerate. 11547 11548commit 0208f68fe5de30c33e7f70ebc281635917013f5a 11549Author: green <green> 11550Date: Fri Feb 22 21:15:44 2008 +0000 11551 11552 2008-02-22 Thomas Heller <theller@ctypes.org> 11553 11554 * configure.ac: Add x86 OpenBSD support. 11555 * configure: Rebuilt. 11556 11557commit 01adb0e638a86cf0d5e668ed8e08be9b0cd2505f 11558Author: green <green> 11559Date: Thu Feb 21 16:17:26 2008 +0000 11560 11561 Fix README. 11562 11563commit 1edd4563225981a14f7d4fb9919b1ed88e38082f 11564Author: green <green> 11565Date: Thu Feb 21 13:39:01 2008 +0000 11566 11567 3.0.2 11568 11569commit c9b542800864e2204db6e83f3843a17813ba6165 11570Author: green <green> 11571Date: Thu Feb 21 13:36:43 2008 +0000 11572 11573 add missing file 11574 11575commit d5fa5633d5c8d3c212a2267cfa38fba4091baa2c 11576Author: green <green> 11577Date: Thu Feb 21 13:36:19 2008 +0000 11578 11579 2008-02-21 Anthony Green <green@redhat.com> 11580 11581 * configure.ac: Bump version to 3.0.2. 11582 * configure, doc/stamp-vti, doc/version.texi: Rebuilt. 11583 * libtool-version: Increment revision. 11584 * README: Update for new release. 11585 11586 2008-02-21 Björn König <bkoenig@alpha-tierchen.de> 11587 11588 * src/x86/freebsd.S: New file. 11589 * configure.ac: Add x86 FreeBSD support. 11590 * Makefile.am: Ditto. 11591 11592commit ac35bfc6fcadd8880c1efce36724820f9074b318 11593Author: green <green> 11594Date: Sat Feb 16 01:03:56 2008 +0000 11595 11596 Updated 11597 11598commit f7942975fee7b0162647dd79e2652615b737e98e 11599Author: green <green> 11600Date: Sat Feb 16 01:02:00 2008 +0000 11601 11602 2008-02-15 Anthony Green <green@redhat.com> 11603 11604 * configure.ac: Bump version to 3.0.1. 11605 * configure, doc/stamp-vti, doc/version.texi: Rebuilt. 11606 * libtool-version: Increment revision. 11607 * README: Update for new release. 11608 11609 2008-02-15 David Daney <ddaney@avtrex.com> 11610 11611 * src/mips/ffi.c: Remove extra '>' from include directive. 11612 (ffi_prep_closure_loc): Use clear_location instead of tramp. 11613 11614commit 59aa6bb1bfc86a610ac1a8b123443efd75854dd1 11615Author: green <green> 11616Date: Fri Feb 15 20:52:26 2008 +0000 11617 11618 Add more platforms. 11619 11620commit 45a45ab99074448be0ae1a8d2ade50d28b60f8de 11621Author: green <green> 11622Date: Fri Feb 15 19:16:36 2008 +0000 11623 11624 3.0 notes 11625 11626commit 4db74cbea888c9f1251b85baf00d99b83d3b994d 11627Author: green <green> 11628Date: Fri Feb 15 19:10:26 2008 +0000 11629 11630 Update 11631 11632commit c3e1101ffabf44d8a2ee46e03ba9ab582050a825 11633Author: green <green> 11634Date: Fri Feb 15 18:43:40 2008 +0000 11635 11636 2008-02-15 Anthony Green <green@redhat.com> 11637 11638 * configure.ac: Bump version to 3.0.0, 11639 * configure, doc/stamp-vti, doc/version.texi: Rebuilt. 11640 11641 2008-02-15 David Daney <ddaney@avtrex.com> 11642 11643 * src/mips/ffi.c (USE__BUILTIN___CLEAR_CACHE): 11644 Define (conditionally), and use it to include cachectl.h. 11645 (ffi_prep_closure_loc): Fix cache flushing. 11646 * src/mips/ffitarget.h (_ABIN32, _ABI64, _ABIO32): Define. 11647 11648commit 7e0cc12e9233ad285db41ce8dbdda61ed2a7fb06 11649Author: green <green> 11650Date: Fri Feb 15 15:51:03 2008 +0000 11651 11652 New release 11653 11654commit 2d7dc885ec40d53866f29984d595511942c8b686 11655Author: green <green> 11656Date: Fri Feb 15 15:30:26 2008 +0000 11657 11658 * man/ffi_call.3, man/ffi_prep_cif.3, man/ffi.3: 11659 Update dates and remove all references to ffi_prep_closure. 11660 * configure.ac: Bump version to 2.99.9. 11661 * configure, doc/stamp-vti, doc/version.texi: Rebuilt. 11662 11663commit a0525f03eeaaed33b1eac80e0c016455cee3615d 11664Author: green <green> 11665Date: Fri Feb 15 15:14:30 2008 +0000 11666 11667 New release. 11668 11669commit 2b30dfb3146ee26ad956d00ee05eb835ca1a95b4 11670Author: green <green> 11671Date: Fri Feb 15 15:12:43 2008 +0000 11672 11673 * man/ffi_prep_closure.3: Delete. 11674 * man/Makefile.am (EXTRA_DIST): Remove ffi_prep_closure.3. 11675 (man_MANS): Ditto. 11676 * man/Makefile.in: Rebuilt. 11677 * configure.ac: Bump version to 2.99.8. 11678 * configure, doc/stamp-vti, doc/version.texi: Rebuilt. 11679 11680commit bf41e64840ebcb6cc31a6f028253c1fde82705d8 11681Author: green <green> 11682Date: Fri Feb 15 01:56:50 2008 +0000 11683 11684 Update. 11685 11686commit 4d39ddee677bbb61d621893b91e11eac5e7c4af7 11687Author: green <green> 11688Date: Fri Feb 15 01:24:06 2008 +0000 11689 11690 * configure.ac: Bump version to 2.99.7. 11691 * configure, doc/stamp-vti, doc/version.texi: Rebuilt. 11692 * include/ffi.h.in LICENSE src/debug.c src/closures.c 11693 src/ffitest.c src/s390/sysv.S src/s390/ffitarget.h 11694 src/types.c src/m68k/ffitarget.h src/raw_api.c src/frv/ffi.c 11695 src/frv/ffitarget.h src/sh/ffi.c src/sh/sysv.S 11696 src/sh/ffitarget.h src/powerpc/ffitarget.h src/pa/ffi.c 11697 src/pa/ffitarget.h src/pa/linux.S src/java_raw_api.c 11698 src/cris/ffitarget.h src/x86/ffi.c src/x86/sysv.S 11699 src/x86/unix64.S src/x86/win32.S src/x86/ffitarget.h 11700 src/x86/ffi64.c src/x86/darwin.S src/ia64/ffi.c 11701 src/ia64/ffitarget.h src/ia64/ia64_flags.h src/ia64/unix.S 11702 src/sparc/ffi.c src/sparc/v9.S src/sparc/ffitarget.h 11703 src/sparc/v8.S src/alpha/ffi.c src/alpha/ffitarget.h 11704 src/alpha/osf.S src/sh64/ffi.c src/sh64/sysv.S 11705 src/sh64/ffitarget.h src/mips/ffi.c src/mips/ffitarget.h 11706 src/mips/n32.S src/mips/o32.S src/arm/ffi.c src/arm/sysv.S 11707 src/arm/ffitarget.h src/prep_cif.c: Update license text. 11708 11709commit d58b032b41a12bd3d72148da6822ab59dd698ff9 11710Author: green <green> 11711Date: Fri Feb 15 00:59:25 2008 +0000 11712 11713 New release 11714 11715commit 91e5478df6d5ac63efbb10f025807b4606afab56 11716Author: green <green> 11717Date: Fri Feb 15 00:50:30 2008 +0000 11718 11719 Update supported platforms. Bump version. 11720 11721commit bd0768f877c8f7fd0d36af2191b203d4d057b1ce 11722Author: green <green> 11723Date: Fri Feb 15 00:45:33 2008 +0000 11724 11725 * configure.ac: Bump version to 2.99.5. 11726 * configure: Rebuilt. 11727 * Makefile.am (EXTRA_DIST): Add darwin64.S 11728 * Makefile.in: Rebuilt. 11729 * testsuite/lib/libffi-dg.exp: Remove libstdc++ bits from GCC tree. 11730 * LICENSE: Update WARRANTY. 11731 11732commit 49d345f767bd2cfee951bceaab6a1a07986cf293 11733Author: green <green> 11734Date: Thu Feb 14 23:43:27 2008 +0000 11735 11736 update license reference 11737 11738commit 12ac48fc79b515db7c9accd9fcaa87b0dcefccdb 11739Author: green <green> 11740Date: Thu Feb 14 23:42:08 2008 +0000 11741 11742 Update WARRANTY 11743 11744commit 6b91c41da87e78552f2990dfc504a0a3349f340b 11745Author: green <green> 11746Date: Thu Feb 14 23:38:27 2008 +0000 11747 11748 fix tarball reference 11749 11750commit 2b59579e3533334bee4788e076b4e520c2ab518c 11751Author: green <green> 11752Date: Thu Feb 14 23:35:58 2008 +0000 11753 11754 First update in 5 years! 11755 11756commit 6cbdf3f3a3777a93382a2d508ddef1c353ff0955 11757Author: green <green> 11758Date: Thu Feb 14 22:44:06 2008 +0000 11759 11760 Fix .pc file bug and bump version 11761 11762commit 1d1dc81104b209df3cfef0840735c59efae2f655 11763Author: green <green> 11764Date: Thu Feb 14 22:03:37 2008 +0000 11765 11766 Add man files and info file. Update README. Tag as 2.99.3. 11767 11768commit f045a2367f793fa8b01534cf2e25bcc46afc8fa1 11769Author: tromey <tromey> 11770Date: Thu Feb 14 20:46:57 2008 +0000 11771 11772 Move entry from ChangeLog to ChangeLog.libffi 11773 11774commit 6257f07d1a9efd27fa83639cfba281f5d3188731 11775Author: tromey <tromey> 11776Date: Thu Feb 14 20:33:17 2008 +0000 11777 11778 * aclocal.m4, Makefile.in, configure, fficonfig.h.in: Rebuilt. 11779 * mdate-sh, texinfo.tex: New files. 11780 * Makefile.am (info_TEXINFOS): New variable. 11781 * doc/libffi.texi: New file. 11782 * doc/version.texi: Likewise. 11783 11784commit 4232af563c5509c3760a33e3684a2b958be755e1 11785Author: green <green> 11786Date: Thu Feb 14 16:19:21 2008 +0000 11787 11788 * Makefile.am (AM_CFLAGS): Don't compile with -D. 11789 (lib_LTLIBRARIES): Define. 11790 (toolexeclib_LIBRARIES): Undefine. 11791 * Makefile.in: Rebuilt. 11792 * configure.ac: Reset version to 2.99.1. 11793 * configure.in: Rebuilt. 11794 11795commit 961543615c31f092b578a4b4cda914db64f9d0fa 11796Author: green <green> 11797Date: Thu Feb 14 15:57:40 2008 +0000 11798 11799 Fix typo. 11800 11801commit aeb0abab87222f637fbf352d4effd3b76b52ed26 11802Author: green <green> 11803Date: Thu Feb 14 15:54:27 2008 +0000 11804 11805 * libffi.pc.in: Usse @PACKAGE_NAME@ and @PACKAGE_VERSION@. 11806 * configure.ac: Reset version to 2.99.1. 11807 * configure.in: Rebuilt. 11808 * Makefile.am (EXTRA_DIST): Add ChangeLog.libffi. 11809 * Makefile.in: Rebuilt. 11810 * LICENSE: Update copyright notice. 11811 11812commit 77fe243556433eae119d8bd7469bfccdd5bd8a1a 11813Author: green <green> 11814Date: Thu Feb 14 15:37:00 2008 +0000 11815 11816 Fix make dist again 11817 11818commit d4970cf4529459bf0f0e43c602cac396786c6802 11819Author: green <green> 11820Date: Thu Feb 14 15:18:56 2008 +0000 11821 11822 Fix make dist 11823 11824commit f0b1462f2d3024922ad71421bd5c4311fcb16da5 11825Author: green <green> 11826Date: Thu Feb 14 15:01:41 2008 +0000 11827 11828 Use pkgconfig. Increment libtool CURRENT version. 11829 11830commit 27e52f33baa069012a5adb2a3807f9ca1f2165ab 11831Author: green <green> 11832Date: Sun Feb 3 13:59:48 2008 +0000 11833 11834 Fix header installs when using DESTDIR. 11835 11836commit fadab28eb6e33fb6dcdd7b9323e147142216d548 11837Author: twall <twall> 11838Date: Sun Feb 3 12:32:22 2008 +0000 11839 11840 update changelog 11841 11842commit b5e44c8dfa92c87b99762c303cf5574a16db8f27 11843Author: twall <twall> 11844Date: Sun Feb 3 01:12:32 2008 +0000 11845 11846 offset from code base address, not data base address 11847 11848commit f359848d1a995c0e44566d815f218729dc996e22 11849Author: green <green> 11850Date: Fri Feb 1 21:29:43 2008 +0000 11851 11852 Fix header installs. 11853 11854commit c30df49e157c7bfc8e19e3f8a72b9464fe225e54 11855Author: green <green> 11856Date: Fri Feb 1 21:13:55 2008 +0000 11857 11858 Revert my broken changes to twall's patch. 11859 11860commit 675561bb9aa0732c76698df10dd3007b5d0ec759 11861Author: green <green> 11862Date: Thu Jan 31 13:44:25 2008 +0000 11863 11864 Fix make dist . 11865 11866commit abc0bbf3813dc43e23d4c23e6fe794dbf287639b 11867Author: green <green> 11868Date: Thu Jan 31 11:58:57 2008 +0000 11869 11870 Add Tim Wall's x86 windows patch. 11871 11872commit e332366d15a31198735b593ec8f7fc0558d783b8 11873Author: green <green> 11874Date: Wed Jan 30 13:21:02 2008 +0000 11875 11876 Add HJ's -fomit-frame-pointer struct return fix 11877 11878commit d4204240392af5b7750a08671b08e9c22dff5e93 11879Author: green <green> 11880Date: Wed Jan 30 12:42:34 2008 +0000 11881 11882 Clean up for new automake. 11883 11884commit f4932dd020df574637c9fb3fc1bb18e5a8f304cc 11885Author: green <green> 11886Date: Wed Jan 30 12:40:25 2008 +0000 11887 11888 Fixes to run testsuite 11889 11890commit 085520ddc8db6a916bfc416b871fcb2d00074d40 11891Author: green <green> 11892Date: Tue Jan 29 15:16:43 2008 +0000 11893 11894 New files from gcc tree. 11895 11896commit 77175b3f7234e4875a4ef554ed1fe9fdc4133794 11897Author: green <green> 11898Date: Tue Jan 29 15:15:20 2008 +0000 11899 11900 Latest gcc svn sources 11901 11902commit 2544e45a0b2b634053df02da3a2ed9680eeed2a1 11903Author: green <green> 11904Date: Tue Jan 29 14:28:13 2008 +0000 11905 11906 Install ffitarget.h in $prefix/include. 11907 11908commit 6002211b1cc4daeb587d054b4f83968bda2c981e 11909Author: green <green> 11910Date: Tue Jan 29 12:30:10 2008 +0000 11911 11912 Add new files. 11913 11914commit ccabd2b16be883cd03e5f0cd88ccfdd6ca39239d 11915Author: green <green> 11916Date: Tue Jan 29 12:28:15 2008 +0000 11917 11918 Merge from gcc 11919 11920commit e680ecfbfca1da8d1823e48bc89b8375e66e128b 11921Author: tromey <tromey> 11922Date: Sun Dec 24 23:12:15 2006 +0000 11923 11924 Pulled in libffi from gcc trunk. 11925 Fixed build and install for standalone use. 11926 11927commit e7ba08965942ce872fdbc69f70f9848cc3d0bad6 11928Author: root <root> 11929Date: Sun Jun 4 23:22:24 2006 +0000 11930 11931 sourcware.org 11932 11933commit 0cd4aa24e21aaa964dfbdebc25ec5c8188049375 11934Author: root <root> 11935Date: Sun May 30 01:51:57 2004 +0000 11936 11937 Add LockDir 11938 11939commit 5826120fbd940d26cca76ed2522187505581e1ed 11940Author: green <green> 11941Date: Tue Nov 4 06:09:08 2003 +0000 11942 11943 Add link to Gianni's web site. 11944 11945commit 220aa4b27db42d7ffaac5056000d5179f00d5ea3 11946Author: jsm <jsm> 11947Date: Tue Jan 21 08:07:42 2003 +0000 11948 11949 Newer, better, increased from before! (list of acceptable anon usernames) 11950 11951commit 1c3adc892cc1403dc4d3d7003a2385899836612e 11952Author: green <green> 11953Date: Fri Dec 6 01:28:03 2002 +0000 11954 11955 Fixed Cygnus references. 11956 11957commit 4af66bb62fab9a8e318af3bf01e5486596a0c8d4 11958Author: green <green> 11959Date: Sun Oct 21 19:18:42 2001 +0000 11960 11961 Testsuite fixes. 11962 11963commit 5435965f9015ce40584c98d3816c3d05e7de1d21 11964Author: green <green> 11965Date: Mon Apr 23 00:32:03 2001 +0000 11966 11967 * include/ffi_common.h: Delete, after moving contents to... 11968 * include/ffi_private.h: Subsume contents of ffi_common.h. 11969 * include/Makefile.am (noinst_HEADERS): Remove ffi_common.h. 11970 * include/Makefile.in: Rebuilt. 11971 * arm/ffi.c, m68k/ffi.c, mips/ffi.c, powerpc/ffi.c, s390/ffi.c, 11972 ia64/ffi.c: Include ffi_private.h, not ffi_common.h. 11973 * alpha/ffi.c, sparc/ffi.c, x86/ffi.c: Don't include ffi_common.h. 11974 * types.c, raw_api.c, java_raw_api.c, prep_cif.c: Don't include 11975 ffi_common.h. 11976 * debug.c: Include ffi_private.h instead of ffi_common.h. 11977 11978 * mips/ffi.c (calc_n32_struct_flags): Make static. 11979 (FIX_ARGP): Remove call to debugging routine ffi_stop_here. 11980 11981 * mips/n32.S: Include ffi_private.h. 11982 * mips/o32.S: Include ffi_private.h. 11983 11984commit 6fdb7de0fe3b7385e1fd78812ae69d9b3069d994 11985Author: green <green> 11986Date: Sun Apr 22 19:38:34 2001 +0000 11987 11988 * README: Update some comments. 11989 11990 * Makefile.am (SUBDIRS): Add include so ffi.h gets installed. 11991 * Makefile.in: Rebuilt. 11992 11993 * include/ffi.h: Change ALPHA to __alpha__ and SPARC to __sparc__. 11994 * types.c: Ditto. 11995 * prep_cif.c (ffi_prep_cif): Ditto. 11996 11997 * alpha/ffi.c, alpha/osf.S, sparc/ffi.c, sparc/v8.S, sparc/v9.S: 11998 Include ffi_private.h. 11999 12000 * include/ffi_private.h (FFI_TYPE_LAST): Define. 12001 12002commit bc7144b01b9707ef35f1a2e3e6996e005e82953a 12003Author: green <green> 12004Date: Sun Apr 22 18:28:36 2001 +0000 12005 12006 Moved files from old home 12007 12008commit e57279831e20368c1aa1d2b35462b8629be73959 12009Author: green <green> 12010Date: Sun Apr 22 18:23:47 2001 +0000 12011 12012 These are dead. 12013 12014commit 7247436b5fe71767b29dc02b4da0fe18b08082e6 12015Author: green <green> 12016Date: Sun Apr 22 18:22:43 2001 +0000 12017 12018 All these files live somewhere else now. 12019 12020commit a8b0d40ff908e275028f676870c31d0d70274a98 12021Author: green <green> 12022Date: Sun Apr 22 18:17:14 2001 +0000 12023 12024 Many changes. Not quite there yet. 12025 12026commit f893d2273355710a290a26faebf5f12c3a34d0e3 12027Author: green <green> 12028Date: Sun Apr 22 18:13:22 2001 +0000 12029 12030 Moved m68k files 12031 12032commit 688ddfeced89cbb9d37b53005e1f7f2b9c78a8d7 12033Author: green <green> 12034Date: Sun Apr 22 18:12:33 2001 +0000 12035 12036 New, target indepentent, header 12037 12038commit f9e40776d488d5ecf43b3ae21444a1a2f6eca528 12039Author: green <green> 12040Date: Sun Apr 22 18:11:57 2001 +0000 12041 12042 Many changes. 12043 12044commit 8c1d2eb47f6bc314c431b75c85c107e8e43c4a76 12045Author: green <green> 12046Date: Sun Apr 22 18:10:47 2001 +0000 12047 12048 Many changes 12049 12050commit 1359dfc6582680a158b3caa3efb7a368da4aa12d 12051Author: green <green> 12052Date: Sun Apr 22 18:10:20 2001 +0000 12053 12054 Moved ia64 files 12055 12056commit 6e2de5eee316a4579869aff50c7c5f6f478582d8 12057Author: green <green> 12058Date: Sun Apr 22 18:08:11 2001 +0000 12059 12060 Moved arm files 12061 12062commit 8807355af34cba8ffe87aee51152dfccec2771fa 12063Author: green <green> 12064Date: Mon Apr 9 00:58:38 2001 +0000 12065 12066 Many many updates. Merge from gcc and then some. 12067 12068commit f7e9f91adec4ff1c2e7a13b3de81d2c5a3f55e7e 12069Author: green <green> 12070Date: Mon Apr 17 03:32:37 2000 +0000 12071 12072 Mnay fixes. 12073 12074commit c4860de618f4956283f5c8230a2544e403dfe390 12075Author: green <green> 12076Date: Mon Apr 17 03:18:46 2000 +0000 12077 12078 Merge from libgcj. Merged patches from net. See ChangeLog for details. 12079 12080commit c578b58314990c3853429297c38ba14015fec5fa 12081Author: jsm <jsm> 12082Date: Sat Oct 9 20:18:16 1999 +0000 12083 12084 1999-10-09 Jason Molenda (jsm@bugshack.cygnus.com) 12085 12086 * CVSROOT/auto_checkout, CVSROOT/commit_prep, CVSROOT/log_accum: 12087 Deleted; generic versions now used for all repositories. 12088 12089 * CVSROOT/commitinfo, CVSROOT/loginfo: Change pathnames to 12090 generic versions. 12091 12092 * CVSROOT/checkoutlist: Don't try to check out the removed 12093 files any longer. 12094 12095commit acdb20051207fed7652dd9f122f65de5458c474c 12096Author: jsm <jsm> 12097Date: Sat Oct 9 20:18:15 1999 +0000 12098 12099 1999-10-09 Jason Molenda (jsm@bugshack.cygnus.com) 12100 12101 * CVSROOT/auto_checkout, CVSROOT/commit_prep, CVSROOT/log_accum: 12102 Deleted; generic versions now used for all repositories. 12103 12104 * CVSROOT/commitinfo, CVSROOT/loginfo: Change pathnames to 12105 generic versions. 12106 12107 * CVSROOT/checkoutlist: Don't try to check out the removed 12108 files any longer. 12109 12110commit e75be655ceedf7ab24c4e99d75eec9efeb979bc7 12111Author: green <green> 12112Date: Sun Aug 8 13:16:41 1999 +0000 12113 12114 New configury 12115 12116commit d6669a0dd5b266005325bbf6d5a8ff34574d809e 12117Author: green <green> 12118Date: Sun Aug 8 13:05:12 1999 +0000 12119 12120 * include/ffi.h.in: Try to work around messy header problem 12121 with PACKAGE and VERSION. 12122 12123 * configure: Rebuilt. 12124 * configure.in: Change version to 2.00-beta. 12125 12126 * fficonfig.h.in: Rebuilt. 12127 * acconfig.h (FFI_NO_STRUCTS, FFI_NO_RAW_API): Define. 12128 12129 * src/x86/ffi.c (ffi_raw_call): Rename. 12130 12131commit 4819d52b007934a40d6d29a75ee30e857c4a93ae 12132Author: green <green> 12133Date: Wed Aug 4 18:02:34 1999 +0000 12134 12135 New file for Kresten's closure work 12136 12137commit 2dbf801eb427cbf5021a9e1e512b5fc523524700 12138Author: green <green> 12139Date: Wed Aug 4 18:00:05 1999 +0000 12140 12141 Kresten's closure work. Initial checkin. 12142 12143commit d170961701b0f2bf7e824d7caba2ebe10002ed84 12144Author: green <green> 12145Date: Thu Jul 8 14:36:52 1999 +0000 12146 12147 * configure.in: Add x86 and powerpc BeOS configurations. 12148 From Makoto Kato <m_kato@ga2.so-net.ne.jp>. 12149 12150commit c7747d976924ec6f2229cbcfbbdb98d364e10de9 12151Author: jsm <jsm> 12152Date: Wed May 12 23:32:16 1999 +0000 12153 12154 1999-05-12 Jason Molenda (jsm@bugshack.cygnus.com) 12155 * index.html: Add links to libffi* mail list archives. 12156 12157commit dd2aa9a8de22e26df3bbc85d068358641f6202f7 12158Author: green <green> 12159Date: Thu May 6 05:34:36 1999 +0000 12160 12161 * configure.in: Add warning about this being beta code. 12162 Remove src/Makefile.am from the picture. 12163 * configure: Rebuilt. 12164 * Makefile.am: Move logic from src/Makefile.am. Add changes 12165 to support libffi as a target library. 12166 * Makefile.in: Rebuilt. 12167 * aclocal.m4, config.guess, config.sub, ltconfig, ltmain.sh: 12168 Upgraded to new autoconf, automake, libtool. 12169 * README: Tweaks. 12170 * LICENSE: Update copyright date. 12171 * src/Makefile.am, src/Makefile.in: Removed. 12172 12173commit 4e9452abed58a3058ccdb446f96a29d50dda1f34 12174Author: green <green> 12175Date: Wed May 5 22:06:13 1999 +0000 12176 12177 Updated to new automake, libtool, autoconf - nothing works :-) 12178 12179commit 6d3b2bddaf4967fba8b8656c01bfc77ec0f2800c 12180Author: jsm <jsm> 12181Date: Mon Apr 26 15:55:28 1999 +0000 12182 12183 1999-04-26 Jason Molenda (jsm@bugshack.cygnus.com) 12184 * index.html: Missed a reference to libffi-discuss@cygnus.com. Fixed. 12185 12186commit ebc6a9c28af831d3d187af8ff17319f0f309bd98 12187Author: jsm <jsm> 12188Date: Mon Apr 26 15:53:29 1999 +0000 12189 12190 1999-04-26 Jason Molenda (jsm@bugshack.cygnus.com) 12191 * index.html: Change links to ftp directory to point to sourceware 12192 directory. 12193 Change mailing list subscription forms to point to sourceware lists. 12194 12195commit 78ffc52a8b257061348c576ccb6fbbf8b48b0fff 12196Author: jsm <jsm> 12197Date: Sun Apr 18 01:33:21 1999 +0000 12198 12199 Standard sourceware setup. 12200 12201commit b4d77e827d7ebef7e57ebcd71e71c15c62f1e0a8 12202Author: jsm <jsm> 12203Date: Mon Nov 30 11:11:25 1998 +0000 12204 12205 Small typeo. (I wouldn't bother except that it made the sentence hard 12206 for me to parse on a casual read.) 12207 12208commit bfb73f08fdc987e37070c5fb0b196fbd28872888 12209Author: jsm <jsm> 12210Date: Mon Nov 30 10:44:55 1998 +0000 12211 12212 A few cleanups. Most notably, point to the correct subscribe cgi-bin 12213 script. 12214 12215commit af8b7f037ccee3b7939ee226a1a2bbc2f057b35c 12216Author: green <green> 12217Date: Mon Nov 30 06:20:05 1998 +0000 12218 12219 * index.html: Reformatted and updated to reflect hosting on 12220 sourceware.cygnus.com (new mailing lists, etc). 12221 12222commit 334f0b060942aff8d26badaf7dde7830450dc5da 12223Author: green <green> 12224Date: Sun Nov 29 16:56:12 1998 +0000 12225 12226 initial snapshot of documentation 12227 12228commit 3ab5cb4a1dcc7ecd7e773c97582b0099976c4753 12229Author: green <green> 12230Date: Sun Nov 29 16:56:10 1998 +0000 12231 12232 Initial revision 12233 12234commit d2a9eb5a8b7cbc8b769809cad59c82b975c178e2 12235Merge: d3782ec bc75c54 12236Author: green <green> 12237Date: Sun Nov 29 16:48:16 1998 +0000 12238 12239 This commit was generated by cvs2svn to compensate for changes in r7, which 12240 included commits to RCS files with non-trunk default branches. 12241 12242commit bc75c54bd311658005b065f1bf201b204c81cbca 12243Author: green <green> 12244Date: Sun Nov 29 16:48:16 1998 +0000 12245 12246 Import of v1 code. 12247 12248commit d3782ec8160c644421dcea17b605fec6e328f14e 12249Author: jsm <jsm> 12250Date: Fri Nov 20 20:18:00 1998 +0000 12251 12252 Send commit messages to mailing lists. 12253 12254commit 8d8d3843c484c2bb70d8375b2b799f75eb03f709 12255Author: jsm <jsm> 12256Date: Thu Oct 1 22:08:36 1998 +0000 12257 12258 initial checkin 12259 12260commit 49634f3bf221cc1939abafc788f7e4e31293fe73 12261Author: jsm <jsm> 12262Date: Thu Oct 1 22:08:35 1998 +0000 12263 12264 Add standard setup. 12265 12266commit c64a84c7693f8cd400fb94bba3c9bcfd9ad1fc36 12267Author: jsm <jsm> 12268Date: Thu Oct 1 22:08:34 1998 +0000 12269 12270 Add readers and standard modules file. 12271 12272commit 9813273b07fd082da573b3b6bfb8d23809b59eea 12273Author: jsm <jsm> 12274Date: Thu Oct 1 22:08:33 1998 +0000 12275 12276 initial checkin 12277