aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@rr.iij4u.or.jp>2008-01-15 23:05:46 +0000
committerKaz Kojima <kkojima@rr.iij4u.or.jp>2008-01-15 23:05:46 +0000
commit58da7b1b61de1ecfbcae3bf0050e8bb65d3ff547 (patch)
tree1fdfa3baa33824747b071fac0aa6e1717cd1c8d9 /ld
parent38147fd4142e9c721f55da0ffe309ab9534d72fa (diff)
downloadgdb-58da7b1b61de1ecfbcae3bf0050e8bb65d3ff547.zip
gdb-58da7b1b61de1ecfbcae3bf0050e8bb65d3ff547.tar.gz
gdb-58da7b1b61de1ecfbcae3bf0050e8bb65d3ff547.tar.bz2
* emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
with __data_start. * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/emulparams/shelf_nbsd.sh2
-rw-r--r--ld/emulparams/shlelf_linux.sh2
3 files changed, 8 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 64e6a08..5da7791 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
diff --git a/ld/emulparams/shelf_nbsd.sh b/ld/emulparams/shelf_nbsd.sh
index ad295e9..9d331c6 100644
--- a/ld/emulparams/shelf_nbsd.sh
+++ b/ld/emulparams/shelf_nbsd.sh
@@ -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
diff --git a/ld/emulparams/shlelf_linux.sh b/ld/emulparams/shlelf_linux.sh
index b06df26..f91bb52 100644
--- a/ld/emulparams/shlelf_linux.sh
+++ b/ld/emulparams/shlelf_linux.sh
@@ -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) }"