This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: binutils 2.20 regressions


On 28.09.2009 17:15, Joseph S. Myers wrote:
On Mon, 28 Sep 2009, Matthias Klose wrote:

arm-linux-gnueabi: FAIL: Weak symbols in dynamic objects 1 (main test)

Seen on Debian unstable (eglibc-2.9/gcc-4.3), not on Ubuntu karmic (eglibc-2.10.1/gcc-4.4).

http://sourceware.org/bugzilla/show_bug.cgi?id=9863


I don't know whether a patch similar to the SH fix
<http://sourceware.org/ml/binutils/2008-01/msg00184.html>  would be correct
for ARM.

Thanks, the suggested patch fixes the test failure and doesn't show new ones.


Matthias
2009-09-28  Matthias Klose  <doko@ubuntu.com>

	PR ld/9863
	* emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
        with __data_start.

--- binutils-2.19.91.20090923.orig/ld/emulparams/armelf_linux.sh
+++ binutils-2.19.91.20090923/ld/emulparams/armelf_linux.sh
@@ -10,7 +10,7 @@
 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__ = . ;'

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]