1039a1c42SKees Cook // SPDX-License-Identifier: GPL-2.0 2039a1c42SKees Cook /* 3039a1c42SKees Cook * This includes functions that are meant to live entirely in .rodata 4039a1c42SKees Cook * (via objcopy tricks), to validate the non-executability of .rodata. 5039a1c42SKees Cook */ 6039a1c42SKees Cook #include "lkdtm.h" 7039a1c42SKees Cook lkdtm_rodata_do_nothing(void)8*3f618ab3SMark Rutlandvoid noinstr lkdtm_rodata_do_nothing(void) 9039a1c42SKees Cook { 10039a1c42SKees Cook /* Does nothing. We just want an architecture agnostic "return". */ 11039a1c42SKees Cook } 12