[Midnightbsd-cvs] [MidnightBSD/src] ebf9c8: rtld: honor FreeBSD no-init notes
Lucas Holt
noreply at github.com
Fri May 15 18:22:21 EDT 2026
Branch: refs/heads/stable/4.0
Home: https://github.com/MidnightBSD/src
Commit: ebf9c891ffbd2d9bde169c7f5c5eb825f6f1cae5
https://github.com/MidnightBSD/src/commit/ebf9c891ffbd2d9bde169c7f5c5eb825f6f1cae5
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-15 (Fri, 15 May 2026)
Changed paths:
M libexec/rtld-elf/rtld.c
Log Message:
-----------
rtld: honor FreeBSD no-init notes
Accept FreeBSD note vendor sizing when parsing ELF notes so FreeBSD binaries carrying NT_FREEBSD_NOINIT_TAG set crt_no_init. This lets rtld run the main executable init arrays instead of leaving C++ globals uninitialized.
AI-Assisted-by: Codex <noreply at openai.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list