Add OpenRISC support
authorSebastian Macke <sebastian@macke.de>
Sat, 27 Sep 2014 00:19:15 +0000 (00:19 +0000)
committerSebastian Macke <sebastian@macke.de>
Sat, 27 Sep 2014 00:56:56 +0000 (00:56 +0000)
commit0f316ab7c11b8315a838a6ae4645d36ff2c46f4c
tree68fb61beebdb68338c65cf17e58692a73b979645
parent6695983d2f0857caab220862de12f3f94a55bcf6
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>
Makefile.am
README
configure.ac
src/or1k/ffi.c [new file with mode: 0644]
src/or1k/ffitarget.h [new file with mode: 0644]
src/or1k/sysv.S [new file with mode: 0644]