diff options
Diffstat (limited to 'ld/emulparams/i386lynx.sh')
-rw-r--r-- | ld/emulparams/i386lynx.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/emulparams/i386lynx.sh b/ld/emulparams/i386lynx.sh index 18e0860c0f5..6d9d9fe11d6 100644 --- a/ld/emulparams/i386lynx.sh +++ b/ld/emulparams/i386lynx.sh @@ -4,8 +4,10 @@ ENTRY=_main TEXT_BASE=0x0 DYN_TEXT_BASE=0x00400000 TEXT_START_ADDR="(DEFINED(_DYNAMIC) ? ${DYN_TEXT_BASE} : ${TEXT_BASE})" +case ${LD_FLAG} in + n|N) TEXT_START_ADDR=0x1000 ;; +esac MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" -NONPAGED_TEXT_START_ADDR=0x1000 ARCH=i386 MACHINE= NOP=0x9090 |