summaryrefslogtreecommitdiff
path: root/ld/emulparams/sparclinux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emulparams/sparclinux.sh')
-rw-r--r--ld/emulparams/sparclinux.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/emulparams/sparclinux.sh b/ld/emulparams/sparclinux.sh
index 7ccb0bec90c..e2164bcc9e2 100644
--- a/ld/emulparams/sparclinux.sh
+++ b/ld/emulparams/sparclinux.sh
@@ -2,6 +2,8 @@ SCRIPT_NAME=aout
OUTPUT_FORMAT="a.out-sparc-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=sparc
TEMPLATE_NAME=linux