boot2

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

x86_64-static-plt32.before (329B)


      1 #ifdef TCC_TARGET_X86_64
      2             if ((type == R_X86_64_PLT32 || type == R_X86_64_PC32) &&
      3                 (ELFW(ST_VISIBILITY)(sym->st_other) != STV_DEFAULT ||
      4 		 ELFW(ST_BIND)(sym->st_info) == STB_LOCAL)) {
      5                 rel->r_info = ELFW(R_INFO)(sym_index, R_X86_64_PC32);
      6                 continue;
      7             }
      8 #endif