diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2000-11-30 15:08:44 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2000-11-30 15:08:44 +0000 |
commit | 8c8998585a1ea9b97fcad45e5f2bb4a6c3ec4046 (patch) | |
tree | 56f31df5355075859a380a3e79b7d589aef80304 /ld/emulparams | |
parent | fbc4fff4c6b9138dbbe6395b2e36f82f7fc4b6dc (diff) | |
download | gdb-8c8998585a1ea9b97fcad45e5f2bb4a6c3ec4046.zip gdb-8c8998585a1ea9b97fcad45e5f2bb4a6c3ec4046.tar.gz gdb-8c8998585a1ea9b97fcad45e5f2bb4a6c3ec4046.tar.bz2 |
* 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')
-rw-r--r-- | ld/emulparams/crislinux.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ld/emulparams/crislinux.sh b/ld/emulparams/crislinux.sh index 22ea9ea..6be4f58 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 = .);' |