xref: /linux/include/asm-generic/codetag.lds.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef __ASM_GENERIC_CODETAG_LDS_H
3 #define __ASM_GENERIC_CODETAG_LDS_H
4 
5 #define SECTION_WITH_BOUNDARIES(_name)	\
6 	. = ALIGN(8);			\
7 	__start_##_name = .;		\
8 	KEEP(*(_name))			\
9 	__stop_##_name = .;
10 
11 #define CODETAG_SECTIONS()		\
12 	SECTION_WITH_BOUNDARIES(alloc_tags)
13 
14 #endif /* __ASM_GENERIC_CODETAG_LDS_H */
15