boot2

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

strip-file-prefix.before (240B)


      1     /* an elf symbol of type STT_FILE must be put so that STB_LOCAL
      2        symbols can be safely used */
      3     put_elf_sym(symtab_section, 0, 0,
      4                 ELFW(ST_INFO)(STB_LOCAL, STT_FILE), 0,
      5                 SHN_ABS, file->filename);