summaryrefslogtreecommitdiff
path: root/dev-util/statifier/files/statifier-1.7.4-clang.patch
blob: 39905eca57f88bd1f2a6b0b94d9e74c226ccc948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/end.S
+++ b/src/end.S
@@ -39,6 +39,10 @@
 	 * to the register_size boundary but to 16 boundary.
   	 * Also as gcc's man say, that 16 is maximum alignment. So, i use it.
 	 */
-	.org . + ((16 - (. % 16 )) % 16)
+#if defined(__clang__)
+# define E(BASE, X)
+#else
+# define E(BASE, X)	.org . + ((16 - (. % 16 )) % 16)
+#endif
 data: