xref: /linux/include/asm-generic/codetag.lds.h (revision bfb921b2a9d5d1123d1d10b196a39db629ddef87)
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