aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-11-19 07:01:40 +0000
committerAlan Modra <amodra@gmail.com>2009-11-19 07:01:40 +0000
commit7984f34977aac50bb1383f66d4c318145f4123ce (patch)
tree49bdf402f7109dfd48234e92546a9d083fa3829c
parentcfdf38f2b4e7a22ee9f405e347bd8ebcb8a19454 (diff)
downloadgdb-7984f34977aac50bb1383f66d4c318145f4123ce.zip
gdb-7984f34977aac50bb1383f66d4c318145f4123ce.tar.gz
gdb-7984f34977aac50bb1383f66d4c318145f4123ce.tar.bz2
PR ld/9863
* emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE with __data_start.
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/emulparams/armelf_linux.sh2
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 1e8f51c..d65654b 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2009-11-19 Matthias Klose <doko@ubuntu.com>
+
+ PR ld/9863
+ * emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
+ with __data_start.
+
2009-11-19 Ben Elliston <bje@au.ibm.com>
* ldlex.l: Enable nounput flex option.
diff --git a/ld/emulparams/armelf_linux.sh b/ld/emulparams/armelf_linux.sh
index 338d2eb..35891f1 100644
--- a/ld/emulparams/armelf_linux.sh
+++ b/ld/emulparams/armelf_linux.sh
@@ -10,7 +10,7 @@ EXTRA_EM_FILE=armelf
GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
-DATA_START_SYMBOLS='__data_start = . ;';
+DATA_START_SYMBOLS='PROVIDE (__data_start = .);';
OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx)'
OTHER_BSS_SYMBOLS='__bss_start__ = .;'
OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ;'