test: port the w6l link-layout observers to ww

link_test.ww absorbs 600_w6l and 620_data_link: ET_EXEC on the
trivial pipeline, writable-global read/write runs, the exact
two-PT_LOAD R+X/R+W split, the single-PT_LOAD no-DATAW invariant 992
depends on, and the BSS filesz trim (filesz 1 < memsz 32, loader
zero-fill). Strengthened: the ldd staticness proxy is replaced by a
direct no-PT_INTERP phdr scan.
This commit is contained in:
2026-08-08 14:47:02 +09:00
parent 42d8fbe950
commit 4f9ba86058
4 changed files with 257 additions and 406 deletions

View File

@@ -395,7 +395,7 @@ ASM_WW_TARGETS = $(ASM_WW_TESTS:%=wwtest/%)
# layout, program-header split and BSS trim, archive selectivity,
# linker flag capacity, assembler input gates). Compiler/driver gates
# like test/sep: they run under test-compiler.
OBJECT_WW_TESTS = test/object/elfobj_test.ww
OBJECT_WW_TESTS = test/object/elfobj_test.ww test/object/link_test.ww
OBJECT_WW_TARGETS = $(OBJECT_WW_TESTS:%=wwtest/%)
BOOTSTRAP_WRAPPER_SOURCES = test/wcc/950_selfcheck.c \
test/wcc/991_w6a_ww.c \