]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r278586:
authortijl <tijl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Feb 2015 08:39:48 +0000 (08:39 +0000)
committertijl <tijl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Feb 2015 08:39:48 +0000 (08:39 +0000)
commitd8e133b72a270531883ff9b15082808ac7502754
tree257e6f0b642f4f884709405e532ec596eb7e5dd2
parent8ee055babaede36fee97a43c0bdd5882d8a95310
MFC r278586:

Fix ldscripts such that ld(1) collects the .fini_array section in the same
order as the .init_array section.  Finalisation routines need to be called
in the opposite order as their corresponding initialisation routines but
rtld(1) handles that by calling the function pointers in .fini_array in
reverse order.

Reviewed by: kib

git-svn-id: svn://svn.freebsd.org/base/stable/10@279271 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/binutils/ld/scripttempl/elf.sc