boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

elf-end.P1pp (332B)


      1 # P1/elf-end.P1pp — terminator for catm-style links.
      2 #
      3 # vendor/seed/$ARCH/ELF.hex2 sizes p_filesz from the first :ELF_end
      4 # label it sees. Exactly one TU in a link must emit it; in exec mode
      5 # cc.scm appends it for you, but in --lib mode every TU suppresses
      6 # it so the chain can supply this fragment once at the tail.
      7 
      8 :ELF_end