diff --git a/ld/ChangeLog b/ld/ChangeLog index 1e8f51c4da..d65654bb69 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 338d2eb372..35891f1fc9 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__ = . ;'