kit

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

attr_03_section_func.c (248B)


      1 /* __attribute__((section("..."))) on a function declaration. Phase 1
      2  * parses but does not set ObjSym.section; we just call the function. */
      3 __attribute__((section(".text.foo"))) int foo(void) { return 0; }
      4 
      5 int test_main(void) { return foo(); }