blob: 2f552d39a9f1437064082250f98f84327e936edb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- gprolog-1.2.19.orig/src/Ma2Asm/ix86_any.c 2005-06-14 03:40:15.000000000 +1200
+++ gprolog-1.2.19/src/Ma2Asm/ix86_any.c 2006-03-05 09:26:21.000000000 +1300
@@ -164,6 +164,9 @@
void
Asm_Stop(void)
{
+ Label_Printf("#ifdef __ELF__");
+ Label_Printf(".section .note.GNU-stack,\"\",@progbits");
+ Label_Printf("#endif");
}
--- gprolog-1.2.19.orig/src/Ma2Asm/powerpc_any.c 2005-06-14 03:40:22.000000000 +1200
+++ gprolog-1.2.19/src/Ma2Asm/powerpc_any.c 2006-03-31 22:58:44.000000000 +1200
@@ -161,6 +161,11 @@
void
Asm_Stop(void)
{
+#ifndef M_powerpc_darwin
+ Label_Printf("#ifdef __ELF__");
+ Label_Printf(".section .note.GNU-stack,\"\",@progbits");
+ Label_Printf("#endif");
+#endif
}
|