bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/12910] gold doesn't create .init_array from .ctors


From: roland at gnu dot org
Subject: [Bug gold/12910] gold doesn't create .init_array from .ctors
Date: Sat, 18 Jun 2011 07:53:07 +0000

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

--- Comment #1 from Roland McGrath <roland at gnu dot org> 2011-06-18 07:53:05 
UTC ---
This turns out to matter more than I thought.  In a -nostartfiles link, there
is no crtbegin* and no .init, just .ctors.  With GNU ld, this produces
.init_array in the output and works.  With gold, .ctors is a vanilla rodata
output section, and there is no DT_INIT{,_ARRAY} at all, constructors do not
run.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]