From b662e6acecd4a6d3dd8ebdc4c67873e8914e54c7 Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Wed, 15 Mar 2006 06:54:07 +0000 Subject: [PATCH] Add linker script for FreeBSD 5.3 (and probably newer). Verified to allocate up to 1 GB of Mac RAM in both REAL_ADDRESSING and DIRECT_ADDRESSING modes. NetBSD 2.0 can use the Linux linker script. However, I could not verify 1G support since my installation does not permit this. --- BasiliskII/src/Unix/configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BasiliskII/src/Unix/configure.ac b/BasiliskII/src/Unix/configure.ac index 4aab2739..63ced383 100644 --- a/BasiliskII/src/Unix/configure.ac +++ b/BasiliskII/src/Unix/configure.ac @@ -1101,6 +1101,8 @@ 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";; +netbsd*:i?86) LINKER_SCRIPT_FLAGS="-Wl,-T,ldscripts/linux-i386.ld";; +freebsd*:i?86) LINKER_SCRIPT_FLAGS="-Wl,-T,ldscripts/freebsd-i386.ld";; darwin*:powerpc)LINKER_SCRIPT_FLAGS="-Wl,-seg1addr,0x78048000";; esac if [[ -n "$LINKER_SCRIPT_FLAGS" ]]; then