Commit fe70e94
authored
Libexec/rtld freebsd noinit (#356)
* lib/libsqlite3: enable PREUPDATE_HOOK and COLUMN_METADATA
SQLITE_ENABLE_SESSION alone is insufficient; SQLite's documentation
requires SQLITE_ENABLE_PREUPDATE_HOOK to be defined alongside it for
the session/changeset/patchset API (sqlite3session_*, sqlite3changeset_*)
to be fully functional.
SQLITE_ENABLE_COLUMN_METADATA enables sqlite3_column_origin_name(),
sqlite3_column_database_name(), and sqlite3_column_table_name(), which
Node.js 24 and other consumers depend on.
AI-Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Lucas Holt <luke@foolishgames.com>
* 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@openai.com>
Signed-off-by: Lucas Holt <luke@foolishgames.com>
---------
Signed-off-by: Lucas Holt <luke@foolishgames.com>1 parent 68a2b29 commit fe70e94
2 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1770 | 1770 | | |
1771 | 1771 | | |
1772 | 1772 | | |
1773 | | - | |
| 1773 | + | |
| 1774 | + | |
1774 | 1775 | | |
1775 | 1776 | | |
1776 | 1777 | | |
| |||
1802 | 1803 | | |
1803 | 1804 | | |
1804 | 1805 | | |
1805 | | - | |
| 1806 | + | |
1806 | 1807 | | |
1807 | 1808 | | |
1808 | 1809 | | |
| |||
0 commit comments