selfhost: migrate tool sources to directory packages
Build w6a and w6l from package-main directories and expose the wcc backend through a narrow package API so w6c and wwdump no longer import implementation files. Retarget the remaining load-bearing fixtures and example sources to directory packages; retain the one intentional flat compiler collision as an explicitly composed raw unit.
This commit is contained in:
@@ -3,11 +3,9 @@
|
||||
// Supported relocation kinds: PC32 (=2), PLT32 (=4); both are 32-bit
|
||||
// PC-relative displacements (PLT32 == PC32 for static).
|
||||
|
||||
package w6l;
|
||||
package main;
|
||||
|
||||
import os;
|
||||
import sym;
|
||||
import dyn;
|
||||
|
||||
def R_X86_64_64: i32 = 1;
|
||||
def R_X86_64_PC32: i32 = 2;
|
||||
|
||||
Reference in New Issue
Block a user