summaryrefslogtreecommitdiff
path: root/lib_arm/arm_mem/asm_linkage.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib_arm/arm_mem/asm_linkage.h')
-rwxr-xr-xlib_arm/arm_mem/asm_linkage.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib_arm/arm_mem/asm_linkage.h b/lib_arm/arm_mem/asm_linkage.h
new file mode 100755
index 0000000..5a25632
--- /dev/null
+++ b/lib_arm/arm_mem/asm_linkage.h
@@ -0,0 +1,11 @@
+#ifndef __ASM_LINKAGE_H
+#define __ASM_LINKAGE_H
+
+#define __ALIGN .align 0
+#define __ALIGN_STR ".align 0"
+
+#define ENDPROC(name) \
+ .type name, %function; \
+ END(name)
+
+#endif