summaryrefslogtreecommitdiffstats
path: root/src/arch/arm/include/bits/compiler.h
diff options
context:
space:
mode:
authorMichael Brown2015-10-19 21:01:19 +0200
committerMichael Brown2016-05-06 13:08:44 +0200
commit1a16f67a28c6e8b9875b07e15c7c379cfc147e69 (patch)
tree4f58c91b43ca8862d8219026c70e89717a514b89 /src/arch/arm/include/bits/compiler.h
parent[bitops] Fix typo in test case (diff)
downloadipxe-1a16f67a28c6e8b9875b07e15c7c379cfc147e69.tar.gz
ipxe-1a16f67a28c6e8b9875b07e15c7c379cfc147e69.tar.xz
ipxe-1a16f67a28c6e8b9875b07e15c7c379cfc147e69.zip
[arm] Add support for 32-bit ARM
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/arm/include/bits/compiler.h')
-rw-r--r--src/arch/arm/include/bits/compiler.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/arch/arm/include/bits/compiler.h b/src/arch/arm/include/bits/compiler.h
new file mode 100644
index 00000000..e420cf92
--- /dev/null
+++ b/src/arch/arm/include/bits/compiler.h
@@ -0,0 +1,16 @@
+#ifndef _BITS_COMPILER_H
+#define _BITS_COMPILER_H
+
+FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+
+/** Dummy relocation type */
+#define RELOC_TYPE_NONE R_ARM_NONE
+
+#ifndef ASSEMBLY
+
+#define __asmcall
+#define __libgcc
+
+#endif /* ASSEMBLY */
+
+#endif /*_BITS_COMPILER_H */