1 #define PTR_KEEP_SQUASH(section) \
4 KEEP(*(.##section##*)) \
7 #define PTR_KEEP(section) \
14 .text : { *(.text .text.* .exit.text) }
15 PTR_KEEP_SQUASH(ksplice_relocs)
16 PTR_KEEP_SQUASH(ksplice_sections)
17 PTR_KEEP_SQUASH(ksplice_patches)
18 PTR_KEEP(ksplice_symbols)
19 PTR_KEEP(ksplice_system_map)
20 PTR_KEEP(ksplice_call_pre_apply)
21 PTR_KEEP(ksplice_call_check_apply)
22 PTR_KEEP(ksplice_call_apply)
23 PTR_KEEP(ksplice_call_post_apply)
24 PTR_KEEP(ksplice_call_fail_apply)
25 PTR_KEEP(ksplice_call_pre_reverse)
26 PTR_KEEP(ksplice_call_check_reverse)
27 PTR_KEEP(ksplice_call_reverse)
28 PTR_KEEP(ksplice_call_post_reverse)
29 PTR_KEEP(ksplice_call_fail_reverse)
30 PTR_KEEP(parainstructions)