move clobber definition into base lib.c

This commit is contained in:
2026-01-29 00:55:02 +01:00
parent ecfb162062
commit b8f4e987b7
3 changed files with 10 additions and 11 deletions

View File

@ -6,6 +6,10 @@
#define __QUOTE(x) #x
#define QUOTE(x) __QUOTE(x)
#ifndef ARCH_ASM_CLOBBER_ALL
#define ARCH_ASM_CLOBBER_ALL "eax", "ebx", "ecx", "edx", "esi", "edi", "ebp"
#endif
#ifndef MARKER
#define MARKER(str) \
__asm__ volatile(QUOTE(str) ":" \