Demote linkage of LLVM IR global values to private #291
No reviewers
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#291
Loading…
Reference in New Issue
No description provided.
Delete Branch "occheung/nac3:restrict-linkage"
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?
Description
The PR forcefully demotes the linkage of all global values to private after linking the modules, such that GOT entries will not be generated. 2 symbols are exempt from the demotion:
typeinfo
: The kernel will need to read it;now
: To preserve RISC-V now-pinning feature.