Add l suffix to yoink nop

This commit is contained in:
Justine Tunney 2020-12-28 11:38:38 -08:00
parent de09bec215
commit 12065100e1
4 changed files with 26 additions and 24 deletions

View file

@ -784,7 +784,7 @@ typedef uint64_t uintmax_t;
} while (0)
#define STATIC_YOINK(SYMBOLSTR) \
asm(".pushsection .yoink\n\tnop\t\"" SYMBOLSTR "\"\n\t.popsection")
asm(".pushsection .yoink\n\tnopl\t\"" SYMBOLSTR "\"\n\t.popsection")
#if !defined(IM_FEELING_NAUGHTY) && !defined(__STRICT_ANSI__)
#define STATIC_YOINK_SOURCE(PATH) STATIC_YOINK(PATH)