Fix long-standing buglet and fallout from now-default initfini-array.
authorHans-Peter Nilsson <hp@bitrange.com>
Sun, 29 Jan 2017 12:53:58 +0000 (13:53 +0100)
committerHans-Peter Nilsson <hp@bitrange.com>
Sun, 29 Jan 2017 12:53:58 +0000 (13:53 +0100)
* emulparams/criself.sh (USER_LABEL_PREFIX): Define.
(OTHER_READONLY_SECTIONS, ENTRY): Delete now-redunant defines.

ld/ChangeLog
ld/emulparams/criself.sh

index 9294c4a035103cf5e391985b0f2c38a748d76a60..18f2e2e6aab3b943f8739d0747a08426912d5f74 100644 (file)
@@ -1,3 +1,9 @@
+2017-01-29  Hans-Peter Nilsson  <hp@axis.com>
+
+       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.
+
 2017-01-27  Jiong Wang  <jiong.wang@arm.com>
 
        * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
index dcddc0fbbc3e233c11a366d0397501c49d87792d..5ea928425ec5d90c4262e6249a421187573b4cdc 100644 (file)
@@ -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)'