NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/57756: Incorrect order of .fini_array indirect functions calling
The following reply was made to PR lib/57756; it has been noted by GNATS.
From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: lib/57756: Incorrect order of .fini_array indirect functions
calling
Date: Wed, 6 Dec 2023 16:30:13 +0300
To provide chapter and verse:
https://docs.oracle.com/cd/E19683-01/817-1983/6mhm6r4es/index.html
The runtime linker executes functions whose addresses are contained in
the .fini_array section. These functions are executed in the reverse
order in which their addresses appear in the array. The runtime
linker executes a .fini section as an individual function. If an
object contains both .fini and .fini_array sections, the functions
defined by the .fini_array section are processed before the .fini
section for that object.
Home |
Main Index |
Thread Index |
Old Index