Skip to content

libffi: added ARM64 support for Windows#486

Merged
atgreen merged 3 commits intolibffi:masterfrom
ossdev07:libffi-aarch64
Jun 26, 2019
Merged

libffi: added ARM64 support for Windows#486
atgreen merged 3 commits intolibffi:masterfrom
ossdev07:libffi-aarch64

Conversation

@ossdev07
Copy link
Contributor

1. ported sysv.S to win64_armasm.S for armasm64 assembler
2. added msvc_build folder for visual studio solution
3. updated README.md for the same
4. MSVC solution created with the changes, and below test suites are tested
   with test script written in python.

   libffi.bhaible
   libffi.call
5. Basic functionality of above test suites are getting passed

Signed-off-by: ossdev07 [email protected]

ossdev07 and others added 3 commits April 25, 2019 18:17
    1. ported sysv.S to win64_armasm.S for armasm64 assembler
    2. added msvc_build folder for visual studio solution
    3. updated README.md for the same
    4. MSVC solution created with the changes, and below test suites are tested
       with test script written in python.

       libffi.bhaible
       libffi.call
    5. Basic functionality of above test suites are getting passed

Signed-off-by: ossdev07 <[email protected]>
@janisozaur
Copy link

Many thanks for implementing this. I'm interested in using this via vcpkg, but microsoft/vcpkg#6119 seems to be waiting for 3.3 release of upstream. 3.3-rc0 was done 1.5 year ago, is there any expected time frame for reaching 3.3 release?

jeremyhu added a commit to jeremyhu/libffi that referenced this pull request Apr 11, 2020
…o master

Reviewed-by: Mike Ash <[email protected]>
Reviewed-by: Matt Reda <[email protected]>

* commit '2284bfc111229c3af01722d9aab23056025a8e01': (22 commits)
  darwin arm64e: libunwind requires that the CFA match the value used to sign LR
  arm64e: Fix frame size to 40b to match earlier change in aarch64/ffi.c
  Add missing arch guards around ffi_find_closure_for_code_np
  fix mingw build and crashing bugs for Python Windows ARM64 (libffi#496)
  Clear the apt cache
  More debugging output
  Debug moxie builds in travis
  libffi: added ARM64 support for Windows (libffi#486)
  uuencode compressed log files for travis
  hppa: avoid TEXTREL in .eh_frame section (libffi#447)
  fix x86/x64 MSVC build (libffi#487)
  add support for 32-bit ARM on Windows (libffi#477)
  fix check for Linux/aarch64
  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) (libffi#450)
  Fix cfi checks for old compiler (libffi#453)
  changes for win32 on windows (libffi#468)
  aarch64: Flush code mapping in addition to data mapping (libffi#471)
  Remove -Os testing. No ABI impact, and helps trim log lengths.
  fix(configure): Correctly detect visibility("hidden") support on Darwin
  Fix Q registers parameter passing on ARM64
  ...
havardgraff pushed a commit to pexip/libffi that referenced this pull request Jun 4, 2024
Code copied from libffi/libffi#486, cleaned
up and split into separate commits with Meson support.

Author is ossdev07 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants