162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * This includes functions that are meant to live entirely in .rodata 462306a36Sopenharmony_ci * (via objcopy tricks), to validate the non-executability of .rodata. 562306a36Sopenharmony_ci */ 662306a36Sopenharmony_ci#include "lkdtm.h" 762306a36Sopenharmony_ci 862306a36Sopenharmony_civoid noinstr lkdtm_rodata_do_nothing(void) 962306a36Sopenharmony_ci{ 1062306a36Sopenharmony_ci /* Does nothing. We just want an architecture agnostic "return". */ 1162306a36Sopenharmony_ci} 12