diff --git a/include/include_asm.h b/include/include_asm.h index f6f1c0aa6a..d2b307e31c 100644 --- a/include/include_asm.h +++ b/include/include_asm.h @@ -10,8 +10,12 @@ TYPE NAME(ARGS); \ TYPE __attribute__((naked)) NAME(ARGS) { __asm__( ".include \"ver/"STRINGIFY(VERSION)"/asm/nonmatchings/"FOLDER"/"#NAME".s\"\n.set reorder\n.set at"); } #endif +#ifndef PERMUTER __asm__( ".include \"include/macro.inc\"\n"); #else +void __attribute__((naked)) dummy_permuter_func(void) { __asm__( ".include \"include/macro.inc\"\n"); } +#endif +#else #define INCLUDE_ASM(TYPE, FOLDER, NAME, ARGS...) #endif