From 7984f34977aac50bb1383f66d4c318145f4123ce Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 19 Nov 2009 07:01:40 +0000 Subject: PR ld/9863 * emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE with __data_start. --- ld/ChangeLog | 6 ++++++ ld/emulparams/armelf_linux.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + PR ld/9863 + * emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE + with __data_start. + 2009-11-19 Ben Elliston * 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__ = . ;' -- cgit v1.1