Linker fix.

This commit is contained in:
Scott Duensing 2026-09-26 19:38:59 -05:00
parent 4def5417a3
commit 26c5025462

View file

@ -932,11 +932,15 @@ struct Linker {
// RAM throughout.
//
// It is NOT true of an image raw-loaded into bank 0, which is what
// scripts/runInMame.sh does (loads at $00:1000 and jumps) for the
// smoke, bench and probe scripts. There the hazards are real and
// measured: smoke #86 had string literals read back as IO register
// values, and smoke #128 had BSS clearing hit soft switches and crash
// MAME.
// scripts/runInMame.sh does (loads at $00:1000 and jumps) for THIS
// repo's smoke, bench and probe harnesses (clang-smoke.sh,
// benchCyclesCalypsi.sh, tests/ubsan, tests/coremark, demos/build.sh --
// none of them pass --full-bank). joeylib's bench-iigs.sh is NOT one of
// them: it boots GS/OS from joey.2mg, so it is an OMF consumer.
//
// For the raw-load harnesses the hazards are real and measured: smoke
// #86 had string literals read back as IO register values, and smoke
// #128 had BSS clearing hit soft switches and crash MAME.
//
// DEFAULT OFF, i.e. assume bank-0 hazards. The conservative layout is
// merely smaller, while guessing "full bank" for an image that really