elf.5: Add description of .ctors and .dtors
Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50536
This commit is contained in:
+15
-1
@@ -22,7 +22,7 @@
|
|||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd May 24, 2025
|
.Dd May 26, 2025
|
||||||
.Dt ELF 5
|
.Dt ELF 5
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -864,6 +864,13 @@ This section holds version control information.
|
|||||||
This section is of type
|
This section is of type
|
||||||
.Sy SHT_PROGBITS .
|
.Sy SHT_PROGBITS .
|
||||||
No attribute types are used.
|
No attribute types are used.
|
||||||
|
.It .ctors
|
||||||
|
This legacy section holds pointers to initialization routines,
|
||||||
|
executed before calling the main program entry point.
|
||||||
|
This section is of type
|
||||||
|
.Sy SHT_PROGBITS .
|
||||||
|
The attributes used are
|
||||||
|
.Sy SHF_ALLOC .
|
||||||
.It .data
|
.It .data
|
||||||
This section holds initialized data that contribute to the program's
|
This section holds initialized data that contribute to the program's
|
||||||
memory image.
|
memory image.
|
||||||
@@ -889,6 +896,13 @@ are unspecified.
|
|||||||
This section is of type
|
This section is of type
|
||||||
.Sy SHT_PROGBITS .
|
.Sy SHT_PROGBITS .
|
||||||
No attribute types are used.
|
No attribute types are used.
|
||||||
|
.It .dtors
|
||||||
|
This legacy section holds pointers to finalization routines,
|
||||||
|
executed when the program exits normally.
|
||||||
|
This section is of type
|
||||||
|
.Sy SHT_PROGBITS .
|
||||||
|
The attributes used are
|
||||||
|
.Sy SHF_ALLOC .
|
||||||
.It .dynamic
|
.It .dynamic
|
||||||
This section holds dynamic linking information.
|
This section holds dynamic linking information.
|
||||||
The section's attributes
|
The section's attributes
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
|
.\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
|
||||||
.Dd May 9, 2025
|
.Dd May 26, 2025
|
||||||
.Dt SRC.CONF 5
|
.Dt SRC.CONF 5
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
|||||||
Reference in New Issue
Block a user