Skip to content

Commit ae1ac4e

Browse files
committed
Use LIBC_INLINE_ASM macro
1 parent 08adf3d commit ae1ac4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/stdio/printf_core/printf_main.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ template <WriteMode write_mode>
4545
int printf_main(Writer<write_mode> *writer, const char *__restrict str,
4646
internal::ArgList &args) {
4747
#ifdef LIBC_COPT_PRINTF_MODULAR
48-
__asm__ __volatile__ (".reloc ., BFD_RELOC_NONE, __printf_float");
48+
LIBC_INLINE_ASM(".reloc ., BFD_RELOC_NONE, __printf_float");
4949
#endif
5050
return printf_main_modular(writer, str, args);
5151
}

0 commit comments

Comments
 (0)