diff options
author | sigsegv7 <ian@vegaa.systems> | 2023-09-28 18:30:59 -0400 |
---|---|---|
committer | sigsegv7 <ian@vegaa.systems> | 2023-09-28 18:30:59 -0400 |
commit | b135754fd9f9bc28dcbc99e82f6eaa381d46204e (patch) | |
tree | fc1ef25f93534fba583591ba976dcb37bcaaecd5 /sys/include | |
parent | 9da4a11d0f36727a966cc9ec2025ccd641abfb11 (diff) |
kernel/amd64: Add __KERNEL_META for .S files
Signed-off-by: sigsegv7 <ian@vegaa.systems>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/cdefs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/include/sys/cdefs.h b/sys/include/sys/cdefs.h index bec4431..a17c4ef 100644 --- a/sys/include/sys/cdefs.h +++ b/sys/include/sys/cdefs.h @@ -144,5 +144,14 @@ #define __MODULE_NAME(name) \ __used static const char *__THIS_MODULE = name +#else + +.macro __KERNEL_META meta_str + .section .meta.note + .align 4 + .string "\meta_str" + .previous +.endm + #endif /* !defined(__ASSEMBLER__) */ #endif /* !_SYS_CDEFS_H_ */ |