* emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
authorKaz Kojima <kkojima@rr.iij4u.or.jp>
Tue, 15 Jan 2008 23:05:46 +0000 (23:05 +0000)
committerKaz Kojima <kkojima@rr.iij4u.or.jp>
Tue, 15 Jan 2008 23:05:46 +0000 (23:05 +0000)
with __data_start.
* emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.

ld/ChangeLog
ld/emulparams/shelf_nbsd.sh
ld/emulparams/shlelf_linux.sh

index 64e6a08..5da7791 100644 (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
index ad295e9..9d331c6 100644 (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
 
index b06df26..f91bb52 100644 (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) }"