The branch stable/14 has been updated by emaste:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=056cf3be3464589c73a9c6683cd6e9cf5afff8dc

commit 056cf3be3464589c73a9c6683cd6e9cf5afff8dc
Author:     Ed Maste <ema...@freebsd.org>
AuthorDate: 2025-05-26 19:05:25 +0000
Commit:     Ed Maste <ema...@freebsd.org>
CommitDate: 2025-06-17 19:01:18 +0000

    elf.5: Add description of .ctors and .dtors
    
    Reviewed by:    kib
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D50536
    
    (cherry picked from commit 136053f7db824b72ede67b40b0e7a393f6686a8c)
---
 share/man/man5/elf.5 | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/share/man/man5/elf.5 b/share/man/man5/elf.5
index bda2020b2d5d..fac51adeea7c 100644
--- a/share/man/man5/elf.5
+++ b/share/man/man5/elf.5
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd May 24, 2025
+.Dd May 26, 2025
 .Dt ELF 5
 .Os
 .Sh NAME
@@ -864,6 +864,13 @@ This section holds version control information.
 This section is of type
 .Sy SHT_PROGBITS .
 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
 This section holds initialized data that contribute to the program's
 memory image.
@@ -889,6 +896,13 @@ are unspecified.
 This section is of type
 .Sy SHT_PROGBITS .
 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
 This section holds dynamic linking information.
 The section's attributes

Reply via email to