summaryrefslogtreecommitdiff
path: root/ld/emulparams/crislinux.sh
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2000-11-30 15:08:44 +0000
committerHans-Peter Nilsson <hp@axis.com>2000-11-30 15:08:44 +0000
commit3dab167c79d82ee63d74895b6b1a302796031604 (patch)
treea81e3f1a5231baeb59d26920ba7c56272d17363e /ld/emulparams/crislinux.sh
parentc3da3c2a176a59524d2556655a585085b8c04c3e (diff)
downloadbinutils-redhat-3dab167c79d82ee63d74895b6b1a302796031604.tar.gz
* emulparams/crislinux.sh (ENTRY): Change back to _start.
(TEXT_START_SYMBOLS): Remove conditional setting of __start. * scripttempl/crisaout.sc: Change all RELOCATING not related to merging non-a.out sections into CONSTRUCTING.
Diffstat (limited to 'ld/emulparams/crislinux.sh')
-rw-r--r--ld/emulparams/crislinux.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/ld/emulparams/crislinux.sh b/ld/emulparams/crislinux.sh
index 22ea9ea843..6be4f5803f 100644
--- a/ld/emulparams/crislinux.sh
+++ b/ld/emulparams/crislinux.sh
@@ -4,7 +4,9 @@ SCRIPT_NAME=elf
OUTPUT_FORMAT="elf32-cris"
ARCH=cris
TEMPLATE_NAME=elf32
-ENTRY=__start
+
+ENTRY=_start
+
# Needed? Perhaps should be page-size alignment.
ALIGNMENT=32
GENERATE_SHLIB_SCRIPT=yes
@@ -16,12 +18,10 @@ MAXPAGESIZE=8192
# FIXME: GOT, PLT...
-TEXT_START_SYMBOLS='PROVIDE (__Stext = .);
-__start = DEFINED(__start) ? __start :
- DEFINED(_start) ? _start :
- DEFINED(start) ? start :
- DEFINED(.startup) ? .startup + 2 : 2;
-'
+# We don't do the hoops through DEFINED to provide [_]*start, as it
+# doesn't work with --gc-sections, and the start-name is pretty fixed
+# anyway.
+TEXT_START_SYMBOLS='PROVIDE (__Stext = .);'
# Smuggle an "OTHER_TEXT_END_SYMBOLS" here.
OTHER_READONLY_SECTIONS='PROVIDE (__Etext = .);'