Page MenuHomeFreeBSD

stand: Recognize SHT_INIT_ARRAY sections as constructor sections
ClosedPublic

Authored by markj on Jul 14 2026, 11:09 PM.
Tags
None
Referenced Files
F172842139: D58244.diff
Mon, Sep 21, 12:12 PM
Unknown Object (File)
Wed, Sep 16, 7:34 AM
Unknown Object (File)
Sat, Sep 12, 9:16 AM
Unknown Object (File)
Sat, Sep 12, 9:10 AM
Unknown Object (File)
Fri, Sep 11, 8:32 PM
Unknown Object (File)
Thu, Sep 10, 10:26 PM
Unknown Object (File)
Tue, Sep 8, 7:18 PM
Unknown Object (File)
Mon, Sep 7, 1:09 PM
Subscribers

Details

Summary

Pass such a section to the kernel using modinfo, otherwise link_elf.c
won't execute constructors for the file.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable