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