aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2017-01-29 13:53:58 +0100
committerHans-Peter Nilsson <hp@bitrange.com>2017-01-29 13:53:58 +0100
commitbf382b306a8db84b450aa1dc96ab686fb189a31c (patch)
tree4de8bac6c4cfe736e4066f076b38d213150af39b /ld/emulparams
parent520306539a9a4eddb23677359c74b36192eb2209 (diff)
downloadgdb-bf382b306a8db84b450aa1dc96ab686fb189a31c.zip
gdb-bf382b306a8db84b450aa1dc96ab686fb189a31c.tar.gz
gdb-bf382b306a8db84b450aa1dc96ab686fb189a31c.tar.bz2
Fix long-standing buglet and fallout from now-default initfini-array.
* emulparams/criself.sh (USER_LABEL_PREFIX): Define. (OTHER_READONLY_SECTIONS, ENTRY): Delete now-redunant defines.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/criself.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/emulparams/criself.sh b/ld/emulparams/criself.sh
index dcddc0f..5ea9284 100644
--- a/ld/emulparams/criself.sh
+++ b/ld/emulparams/criself.sh
@@ -8,7 +8,7 @@ OUTPUT_FORMAT="elf32-us-cris"
NO_REL_RELOCS=yes
ARCH=cris
MAXPAGESIZE=32
-ENTRY=__start
+USER_LABEL_PREFIX=_
EMBEDDED=yes
ALIGNMENT=32
TEXT_START_ADDR=0
@@ -53,7 +53,6 @@ OTHER_BSS_END_SYMBOLS='
__Sbss = ADDR (.bss);
PROVIDE (_bss_start = __Sbss);
'
-OTHER_END_SYMBOLS='PROVIDE (__end = .);'
INIT_ADDR='ALIGN (2)'