diff options
author | Sebastian Macke <sebastian@macke.de> | 2014-09-27 00:19:15 +0000 |
---|---|---|
committer | Sebastian Macke <sebastian@macke.de> | 2014-09-27 00:56:56 +0000 |
commit | 0f316ab7c11b8315a838a6ae4645d36ff2c46f4c (patch) | |
tree | 68fb61beebdb68338c65cf17e58692a73b979645 /Makefile.am | |
parent | 6695983d2f0857caab220862de12f3f94a55bcf6 (diff) | |
download | libffi-0f316ab7c11b8315a838a6ae4645d36ff2c46f4c.tar.gz |
Add OpenRISC support
This patch adds support for the OpenRISC architecture.
(http://opencores.org/or1k/Main_Page)
This patch has been tested under Linux with QEMU-user emulation support.
- 32 Bit
- big endian
- delayed instructions
This is the only available configuration under Linux.
The description of the ABI can be found on the official website.
Is passes the testsuite except of the unwindtest_ffi_call.cc
testcase, which seems to be a problem of gcc and not libffi.
Some testcases of the gcc testsuite still fail.
Signed-off-by: Sebastian Macke <sebastian@macke.de>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 1dcdc81..0e40451 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,6 +24,7 @@ EXTRA_DIST = LICENSE ChangeLog.v1 ChangeLog.libgcj \ src/microblaze/ffi.c src/microblaze/sysv.S \ src/microblaze/ffitarget.h \ src/nios2/ffi.c src/nios2/ffitarget.h src/nios2/sysv.S \ + src/or1k/ffi.c src/or1k/ffitarget.h src/or1k/sysv.S \ src/powerpc/ffi.c src/powerpc/ffi_powerpc.h \ src/powerpc/ffi_sysv.c src/powerpc/ffi_linux64.c \ src/powerpc/sysv.S src/powerpc/linux64.S \ @@ -169,6 +170,9 @@ endif if NIOS2 nodist_libffi_la_SOURCES += src/nios2/sysv.S src/nios2/ffi.c endif +if OR1K +nodist_libffi_la_SOURCES += src/or1k/sysv.S src/or1k/ffi.c +endif if POWERPC nodist_libffi_la_SOURCES += src/powerpc/ffi.c src/powerpc/ffi_sysv.c src/powerpc/ffi_linux64.c src/powerpc/sysv.S src/powerpc/ppc_closure.S src/powerpc/linux64.S src/powerpc/linux64_closure.S endif |