generated from erix/meta
WIP: Preserve symbol semantics and plan original TLS images #3
No reviewers
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/lib-dynlink!3
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/posix-compat"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary and rationale
Preserve original symbol-provider semantics and plan immutable TLS registries and initial images using caller-owned storage. Keep exact relocation arithmetic and target validation while separating plans from native memory and lifecycle authority.
Tracking and scope
The linked component audit, implementation and consumer requirements remain part of this WIP review. The phase-wide guest and toolchain build requirements stay with the phase completion issue.
Architecture, authority and failure behavior
The planner remains allocation-free and performs no I/O or capability operations. Original object bytes, graph membership, target ranges and explicit deployment geometry supply its inputs. The immutable TLS registry preserves original module order, source prefixes and image geometry; a fresh thread image never copies another thread's writable TLS state.
Original provider selection precedes address arithmetic and kind validation. An unused overflowing weak candidate cannot reject a valid selected strong provider, and unrelated TLS exports cannot reject an ordinary defined local symbol. Genuine selected-provider, target and arithmetic errors still refuse. GLOB_DAT and eager JUMP_SLOT use the resolved symbol value S without the unused RELA addend; absolute and relative relocations retain checked S+A and B+A.
TLS template and image production returns data plans and writes only explicit caller-owned image storage after complete preflight. Exact-width patches retain original template ownership and destination extents. The library obtains no object, mapping, process or publication authority.
Complete libc TLS/errno/resolver consumers, synchronized module lifetime, required native workload and source/frame/guest acceptance remain open. Original-source plans and accepted native member mechanisms do not establish complete dynamic ELF TLS admission.
Validation evidence
Formatting, strict Clippy, warning-denied builds and documentation, unit tests, and applicable native/VM and consumer regressions remain required for the declared scope. Authored controls and older successful runs do not establish current full acceptance.
Review checklist
This review remains WIP until its declared scope and dependent requirements are complete.
erikinkinen referenced this pull request from erix/docs2026-09-16 07:06:00 +02:00
WIP: Correct symbol-only relocation valuesto WIP: Preserve symbol semantics and plan original TLS imagesReplaced by #8, #9, #10, #11. These feature branches preserve the original source in separate changes. Closing this combined PR without merging it; the original branch is retained.
Pull request closed