------- Additional Comments From drow at false dot org 2007-05-23 12:20 ------- Subject: Re: static initialization ignored in static archive (.a)
On Wed, May 23, 2007 at 07:20:04AM -0000, ejt at andrew dot cmu dot edu wrote: > Correct me if I'm wrong, but the archive format is intended to speed up > linking and simplify > distribution, *not change the behavior of code which results*. If the linker > can strip/leave out unused > code from an archive, that's a nice optimization, but if this causes a change > in runtime results, then > obviously that code wasn't unused after all, and was incorrect to leave it > out! You are incorrect. The standard does not cover archive libraries, and so the definition of "container" you're assuming has no basis in the standard. I'm positive there are people relying on the current behavior. Changing it would be a bad idea. -- http://sourceware.org/bugzilla/show_bug.cgi?id=4538 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils