link_stubs.c (652B)
1 #include "core/core.h" 2 #include "obj/format.h" 3 4 void obj_format_link_emit_disabled(LinkImage* img, Writer* w) { 5 (void)img; 6 (void)w; 7 } 8 9 void obj_format_layout_dyn_disabled(Linker* l, LinkImage* img) { 10 (void)l; 11 (void)img; 12 } 13 14 void obj_format_free_dyn_disabled(LinkImage* img) { (void)img; } 15 16 void obj_format_macho_stub_disabled(u8* dst, u64 stub_vaddr, 17 u64 got_slot_vaddr) { 18 (void)dst; 19 (void)stub_vaddr; 20 (void)got_slot_vaddr; 21 } 22 23 void obj_format_coff_stub_disabled(u8* dst, u64 stub_vaddr, 24 u64 iat_slot_vaddr) { 25 (void)dst; 26 (void)stub_vaddr; 27 (void)iat_slot_vaddr; 28 }