From c0b67ce0d48a84b2faee2596399ad69e3526dea0 Mon Sep 17 00:00:00 2001 From: Ethan Roseman Date: Wed, 10 Mar 2021 17:05:27 +0900 Subject: [PATCH] Permuter fix 3 --- include/include_asm.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/include_asm.h b/include/include_asm.h index d2b307e31c..98ceb92165 100644 --- a/include/include_asm.h +++ b/include/include_asm.h @@ -4,18 +4,14 @@ #define STRINGIFY_(x) #x #define STRINGIFY(x) STRINGIFY_(x) -#if !defined(SPLAT) && !defined(__CTX__) +#if !defined(SPLAT) && !defined(__CTX__) && !defined(PERMUTER) #ifndef INCLUDE_ASM #define INCLUDE_ASM(TYPE, FOLDER, NAME, ARGS...) \ 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