mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-10-14 02:24:02 +00:00
Relocate MacOS X executable to 0x78048000 akin to linker scripts on Linux
arches. This probably already worked in the past but I have just verified that Basilisk II works with up to 1 GB of Mac RAM in DIRECT_ADDRESSING or REAL_ADDRESSING mode. BTW, a quick Speedometer 4 CPU performance test showed a +15% speed increase in real addressing mode vs. direct addressing. x86 arches don't benefit much from that mode since they support complex address modes already (beyond plain load/store). TODO: check on MacOS X for Intel so that to reduce the test to darwin*:*)
This commit is contained in:
parent
fa84cf9a51
commit
7ee9cb43dc
@ -1100,6 +1100,7 @@ dnl Check for linker script support
|
||||
case $target_os:$target_cpu in
|
||||
linux*:i?86) LINKER_SCRIPT_FLAGS="-Wl,-T,ldscripts/linux-i386.ld";;
|
||||
linux*:x86_64) LINKER_SCRIPT_FLAGS="-Wl,-T,ldscripts/linux-x86_64.ld";;
|
||||
darwin*:powerpc)LINKER_SCRIPT_FLAGS="-Wl,-seg1addr,0x78048000";;
|
||||
esac
|
||||
if [[ -n "$LINKER_SCRIPT_FLAGS" ]]; then
|
||||
AC_CACHE_CHECK([whether linker script is usable],
|
||||
|
Loading…
Reference in New Issue
Block a user