]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r244600:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 31 Dec 2012 14:21:41 +0000 (14:21 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 31 Dec 2012 14:21:41 +0000 (14:21 +0000)
commit997b5de33677f562486d92e4b848fb3f9295f15a
tree73b128afd80a3db44c6a1074c7df5aa9f4e5a62d
parent44bb5a30db3c88812a9ec0c94f4cd1dc00cf8bf1
MFC r244600:

Fix a bug in ld --gc-sections: it strips out .note sections, while it
should never do so.  This can cause global constructors and destructors
to not be executed at run-time, resulting in crashes and other strange
behaviour.

Reported by: rene

git-svn-id: svn://svn.freebsd.org/base/stable/8@244905 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/binutils/bfd/elflink.c