* emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE

with __data_start.
	* emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
This commit is contained in:
Kaz Kojima 2008-01-15 23:05:46 +00:00
parent 38147fd414
commit 58da7b1b61
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
with __data_start.
* emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
2008-01-15 Alan Modra <amodra@bigpond.net.au>
PR 5604

View file

@ -7,7 +7,7 @@ OUTPUT_FORMAT="elf32-sh-nbsd"
TEXT_START_ADDR=0x400000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
DATA_START_SYMBOLS='__data_start = . ;';
DATA_START_SYMBOLS='PROVIDE (__data_start = .);';
ENTRY=_start

View file

@ -12,7 +12,7 @@ TEMPLATE_NAME=elf32
GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
DATA_START_SYMBOLS='__data_start = . ;';
DATA_START_SYMBOLS='PROVIDE (__data_start = .);';
OTHER_READWRITE_SECTIONS="
.note.ABI-tag ${RELOCATING-0} : { *(.note.ABI-tag) }"