summaryrefslogtreecommitdiff
path: root/debian/patches/note-gnu-stack.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/note-gnu-stack.diff')
-rw-r--r--debian/patches/note-gnu-stack.diff35
1 files changed, 26 insertions, 9 deletions
diff --git a/debian/patches/note-gnu-stack.diff b/debian/patches/note-gnu-stack.diff
index 50a8b2c..e2f5ba9 100644
--- a/debian/patches/note-gnu-stack.diff
+++ b/debian/patches/note-gnu-stack.diff
@@ -61,6 +61,8 @@ libffi/
libgcc/config/ia64/lib1funcs.S | 4 ++++
9 files changed, 39 insertions(+), 13 deletions(-)
+Index: b/src/boehm-gc/ia64_save_regs_in_stack.s
+===================================================================
--- a/src/boehm-gc/ia64_save_regs_in_stack.s
+++ /dev/null
@@ -1,12 +0,0 @@
@@ -76,6 +78,8 @@ libffi/
- br.ret.sptk.few rp
- .endp GC_save_regs_in_stack
-
+Index: b/src/boehm-gc/ia64_save_regs_in_stack.S
+===================================================================
--- /dev/null
+++ b/src/boehm-gc/ia64_save_regs_in_stack.S
@@ -0,0 +1,15 @@
@@ -94,9 +98,11 @@ libffi/
+#ifdef __linux__
+ .section .note.GNU-stack,"",@progbits
+#endif
+Index: b/src/libgcc/config/ia64/crtbegin.S
+===================================================================
--- a/src/libgcc/config/ia64/crtbegin.S
+++ b/src/libgcc/config/ia64/crtbegin.S
-@@ -252,3 +252,7 @@
+@@ -252,3 +252,7 @@ __do_jv_register_classes:
.weak __cxa_finalize
#endif
.weak _Jv_RegisterClasses
@@ -104,9 +110,11 @@ libffi/
+#ifdef __linux__
+.section .note.GNU-stack; .previous
+#endif
+Index: b/src/libgcc/config/ia64/crtend.S
+===================================================================
--- a/src/libgcc/config/ia64/crtend.S
+++ b/src/libgcc/config/ia64/crtend.S
-@@ -119,3 +119,7 @@
+@@ -119,3 +119,7 @@ __do_global_ctors_aux:
br.ret.sptk.many rp
.endp __do_global_ctors_aux
@@ -114,9 +122,11 @@ libffi/
+#ifdef __linux__
+.section .note.GNU-stack; .previous
+#endif
+Index: b/src/libgcc/config/ia64/crti.S
+===================================================================
--- a/src/libgcc/config/ia64/crti.S
+++ b/src/libgcc/config/ia64/crti.S
-@@ -51,3 +51,7 @@
+@@ -51,3 +51,7 @@ _fini:
.body
# end of crti.S
@@ -124,6 +134,8 @@ libffi/
+#ifdef __linux__
+.section .note.GNU-stack; .previous
+#endif
+Index: b/src/libgcc/config/ia64/crtn.S
+===================================================================
--- a/src/libgcc/config/ia64/crtn.S
+++ b/src/libgcc/config/ia64/crtn.S
@@ -41,3 +41,7 @@
@@ -134,9 +146,11 @@ libffi/
+#ifdef __linux__
+.section .note.GNU-stack; .previous
+#endif
+Index: b/src/libgcc/config/ia64/lib1funcs.S
+===================================================================
--- a/src/libgcc/config/ia64/lib1funcs.S
+++ b/src/libgcc/config/ia64/lib1funcs.S
-@@ -793,3 +793,7 @@
+@@ -793,3 +793,7 @@ __floattitf:
.endp __floattitf
#endif
#endif
@@ -144,21 +158,24 @@ libffi/
+#ifdef __linux__
+.section .note.GNU-stack; .previous
+#endif
+Index: b/src/gcc/config/ia64/linux.h
+===================================================================
--- a/src/gcc/config/ia64/linux.h
+++ b/src/gcc/config/ia64/linux.h
-@@ -85,6 +85,9 @@
-
+@@ -86,5 +86,8 @@ do { \
#undef TARGET_INIT_LIBFUNCS
#define TARGET_INIT_LIBFUNCS ia64_soft_fp_init_libfuncs
-+
+
+#undef TARGET_ASM_FILE_END
+#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
-
++
/* Define this to be nonzero if static stack checking is supported. */
#define STACK_CHECK_STATIC_BUILTIN 1
+Index: b/src/gcc/config/rs6000/ppc-asm.h
+===================================================================
--- a/src/gcc/config/rs6000/ppc-asm.h
+++ b/src/gcc/config/rs6000/ppc-asm.h
-@@ -352,7 +352,7 @@
+@@ -375,7 +375,7 @@ GLUE(.L,name): \
#endif
#endif