kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

17_cst_addrsig.c (502B)


      1 /* Exercises two structural features in one case:
      2  *   - .rodata.cst8: SHF_MERGE with a fixed sh_entsize (8). The string-
      3  *     merge case (12_merge_strings) covers SHF_MERGE+SHF_STRINGS; this
      4  *     covers the constant-pool variant (no SHF_STRINGS).
      5  *   - .llvm_addrsig: a section with sh_type LLVM_ADDRSIG (an LLVM-
      6  *     specific value outside the standard SHT_* range). Round-tripping
      7  *     it requires preserving the unknown sh_type opaquely. */
      8 
      9 double pi(void) { return 3.141592653589793; }