diff options
author | Max Khon <fjoe@FreeBSD.org> | 2006-11-14 04:15:04 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2006-11-14 04:15:04 +0000 |
commit | 83a38e9ea5a95153b834392e2f2c30db951b4ee8 (patch) | |
tree | 085ec7b054e14be885dd56166d9e76c88a48aeb2 /emulators/dynamips-devel | |
parent | 7b5543d645daa1c2fd0646ef7911c71ba3978ee5 (diff) | |
download | ports-83a38e9ea5a95153b834392e2f2c30db951b4ee8.tar.gz ports-83a38e9ea5a95153b834392e2f2c30db951b4ee8.zip |
Notes
Diffstat (limited to 'emulators/dynamips-devel')
-rw-r--r-- | emulators/dynamips-devel/Makefile | 6 | ||||
-rw-r--r-- | emulators/dynamips-devel/files/patch-nojit_trans.c | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/emulators/dynamips-devel/Makefile b/emulators/dynamips-devel/Makefile index 14cba1cd8be0..6c95a1316dc1 100644 --- a/emulators/dynamips-devel/Makefile +++ b/emulators/dynamips-devel/Makefile @@ -37,10 +37,8 @@ do-install: .include <bsd.port.pre.mk> -.if ${ARCH} == "i386" -DYNAMIPS_ARCH= "x86" -.elif ${ARCH} == "amd64" -DYNAMIPS_ARCH= "nojit" # JIT does not work on amd64 for some reason +.if ${ARCH} == "i386" #|| ${ARCH} == "amd64" +DYNAMIPS_ARCH= "${ARCH}" .else DYNAMIPS_ARCH= "nojit" .endif diff --git a/emulators/dynamips-devel/files/patch-nojit_trans.c b/emulators/dynamips-devel/files/patch-nojit_trans.c index 790c31c2d748..83c0ef37d8cc 100644 --- a/emulators/dynamips-devel/files/patch-nojit_trans.c +++ b/emulators/dynamips-devel/files/patch-nojit_trans.c @@ -4,8 +4,8 @@ EMPTY(void mips64_set_pc(insn_block_t *b,m_uint64_t new_pc)); EMPTY(void mips64_set_ra(insn_block_t *b,m_uint64_t ret_pc)); EMPTY(void mips64_emit_breakpoint(insn_block_t *b)); --EMPTY(int mips64_emit_invalid_delay_slot(insn_block_t *b)); -+EMPTY(void mips64_emit_invalid_delay_slot(insn_block_t *b)); +-EMPTY(void mips64_emit_invalid_delay_slot(insn_block_t *b)); ++EMPTY(int mips64_emit_invalid_delay_slot(insn_block_t *b)); EMPTY(void mips64_inc_cp0_count_reg(insn_block_t *b)); EMPTY(void mips64_check_pending_irq(insn_block_t *b)); EMPTY(void mips64_inc_perf_counter(insn_block_t *b)); |