w6l: purge dead elf branches; pin rx extent

This commit is contained in:
2026-08-09 04:37:33 +09:00
parent e720d4802f
commit ac8ddee6c1
8 changed files with 33 additions and 29 deletions

View File

@@ -315,10 +315,7 @@ export fn loadso(l: *lnk, path: *u8) i32 = {
switch (vidx) {
case VER_NDX_LOCAL_C:
keep = 0; // not exported
case VER_NDX_GLOBAL_C,1u16:
// glibc's BASE entry (vidx==1): treat as
// unversioned. (The C version notes that
// vidx==1 in Verdef maps to the SONAME BASE.)
case VER_NDX_GLOBAL_C:
vernamecs = nil;
case:
if (verstr != nil) {