diff options
Diffstat (limited to 'ld/emulparams/i386linux.sh')
-rw-r--r-- | ld/emulparams/i386linux.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/emulparams/i386linux.sh b/ld/emulparams/i386linux.sh index a416422d92f..7b7463a1128 100644 --- a/ld/emulparams/i386linux.sh +++ b/ld/emulparams/i386linux.sh @@ -2,6 +2,8 @@ SCRIPT_NAME=aout OUTPUT_FORMAT="a.out-i386-linux" TARGET_PAGE_SIZE=0x1000 TEXT_START_ADDR=0x1020 -NONPAGED_TEXT_START_ADDR=0 +case ${LD_FLAG} in + n|N) TEXT_START_ADDR=0 ;; +esac ARCH=i386 TEMPLATE_NAME=linux |