From 3dab167c79d82ee63d74895b6b1a302796031604 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Thu, 30 Nov 2000 15:08:44 +0000 Subject: * 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. --- ld/emulparams/crislinux.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ld/emulparams/crislinux.sh') 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 = .);' -- cgit v1.2.1