PR ld/9863
authorAlan Modra <amodra@gmail.com>
Thu, 19 Nov 2009 07:01:40 +0000 (07:01 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 19 Nov 2009 07:01:40 +0000 (07:01 +0000)
* emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
with __data_start.

ld/ChangeLog
ld/emulparams/armelf_linux.sh

index 1e8f51c4da639b19bd4ff62f4a9a5eb112847cb5..d65654bb69a5e6897bbb99ddf43f1c14cb3d6079 100644 (file)
@@ -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.
index 338d2eb372291c5692f8188c26062ef1db9afda8..35891f1fc91bddd03677aaefd7146ae5333e6cf0 100644 (file)
@@ -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__ = . ;'