summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-05-11 09:41:32 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2018-05-11 09:41:32 -0400
commit8d0da7d8e006beda6c72c437545bca9f20086b28 (patch)
treee0e48b3fb4a42b45058956a71d82bbb4bdb6af47 /include
parent4488bbe9e69a8551cb5bb34e70b8ffb9d8e554db (diff)
Propagate ASM_DIRECT --> NAKED renaming
Diffstat (limited to 'include')
-rw-r--r--include/global.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index b73baf2ce..5e742d732 100644
--- a/include/global.h
+++ b/include/global.h
@@ -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__)