diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2017-02-03 01:14:27 +0100 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2017-02-03 01:59:13 +0100 |
commit | 013ba18272a7910320ecc7c1a0f2c2d28d93fb75 (patch) | |
tree | eb1b087acf20a325816df3dad2110539f5b37ef4 | |
parent | 01e16c3685e2fc5623cf7bd6856ad4ad2b75e84d (diff) | |
download | gdb-013ba18272a7910320ecc7c1a0f2c2d28d93fb75.zip gdb-013ba18272a7910320ecc7c1a0f2c2d28d93fb75.tar.gz gdb-013ba18272a7910320ecc7c1a0f2c2d28d93fb75.tar.bz2 |
PR binutils/19935: Fix fallout from now-default initfini-array.
* emulparams/criself.sh (USER_LABEL_PREFIX): Define.
(OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
-rw-r--r-- | ld/ChangeLog | 7 | ||||
-rw-r--r-- | ld/emulparams/criself.sh | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 45d6dee..472b278 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2017-02-02 Hans-Peter Nilsson <hp@axis.com> + + PR binutils/19935 + Fix long-standing buglet and fallout from now-default initfini-array. + * emulparams/criself.sh (USER_LABEL_PREFIX): Define. + (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines. + 2017-02-01 Maciej W. Rozycki <macro@imgtec.com> * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the 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)' |