Propagate ASM_DIRECT --> NAKED renaming

This commit is contained in:
PikalaxALT
2018-05-11 09:41:32 -04:00
parent 4488bbe9e6
commit 8d0da7d8e0
2 changed files with 10 additions and 5 deletions

View File

@@ -12,6 +12,11 @@
#define asm_comment(x) asm volatile("@ -- " x " -- ")
#define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided")
#define NAKED __attribute__((naked))
// While this nomenclature change is being rolled out, the following
// redundant define will be used to prevent build errors when merging
// from master.
// TODO: Remove this before merging the pull request.
#define ASM_DIRECT NAKED
// IDE support
#if defined (__APPLE__) || defined (__CYGWIN__)