1
# DP: Add .note.GNU-stack sections for gcc's crt files, libffi and boehm-gc
6
2004-09-20 Jakub Jelinek <jakub@redhat.com>
8
* config/rs6000/ppc-asm.h: Add .note.GNU-stack section also
11
* config/ia64/lib1funcs.asm: Add .note.GNU-stack section on
13
* config/ia64/crtbegin.asm: Likewise.
14
* config/ia64/crtend.asm: Likewise.
15
* config/ia64/crti.asm: Likewise.
16
* config/ia64/crtn.asm: Likewise.
18
2004-05-14 Jakub Jelinek <jakub@redhat.com>
20
* config/ia64/linux.h (TARGET_ASM_FILE_END): Define.
24
2005-02-08 Jakub Jelinek <jakub@redhat.com>
26
* ia64_save_regs_in_stack.s: Moved to...
27
* ia64_save_regs_in_stack.S: ... this. Add .note.GNU-stack
32
2007-05-11 Daniel Jacobowitz <dan@debian.org>
34
* src/arm/sysv.S: Fix ARM comment marker.
36
2005-02-08 Jakub Jelinek <jakub@redhat.com>
38
* src/alpha/osf.S: Add .note.GNU-stack on Linux.
39
* src/s390/sysv.S: Likewise.
40
* src/powerpc/linux64.S: Likewise.
41
* src/powerpc/linux64_closure.S: Likewise.
42
* src/powerpc/ppc_closure.S: Likewise.
43
* src/powerpc/sysv.S: Likewise.
44
* src/x86/unix64.S: Likewise.
45
* src/x86/sysv.S: Likewise.
46
* src/sparc/v8.S: Likewise.
47
* src/sparc/v9.S: Likewise.
48
* src/m68k/sysv.S: Likewise.
49
* src/ia64/unix.S: Likewise.
50
* src/arm/sysv.S: Likewise.
53
boehm-gc/ia64_save_regs_in_stack.S | 15 +++++++++++++++
54
boehm-gc/ia64_save_regs_in_stack.s | 12 ------------
55
gcc/config/ia64/linux.h | 3 +++
56
gcc/config/rs6000/ppc-asm.h | 2 +-
57
libgcc/config/ia64/crtbegin.S | 4 ++++
58
libgcc/config/ia64/crtend.S | 4 ++++
59
libgcc/config/ia64/crti.S | 4 ++++
60
libgcc/config/ia64/crtn.S | 4 ++++
61
libgcc/config/ia64/lib1funcs.S | 4 ++++
62
9 files changed, 39 insertions(+), 13 deletions(-)
64
Index: b/src/boehm-gc/ia64_save_regs_in_stack.s
65
===================================================================
66
--- a/src/boehm-gc/ia64_save_regs_in_stack.s
71
- .global GC_save_regs_in_stack
72
- .proc GC_save_regs_in_stack
73
-GC_save_regs_in_stack:
79
- .endp GC_save_regs_in_stack
81
Index: b/src/boehm-gc/ia64_save_regs_in_stack.S
82
===================================================================
84
+++ b/src/boehm-gc/ia64_save_regs_in_stack.S
88
+ .global GC_save_regs_in_stack
89
+ .proc GC_save_regs_in_stack
90
+GC_save_regs_in_stack:
96
+ .endp GC_save_regs_in_stack
99
+ .section .note.GNU-stack,"",@progbits
101
Index: b/src/libgcc/config/ia64/crtbegin.S
102
===================================================================
103
--- a/src/libgcc/config/ia64/crtbegin.S
104
+++ b/src/libgcc/config/ia64/crtbegin.S
105
@@ -252,3 +252,7 @@ __do_jv_register_classes:
108
.weak _Jv_RegisterClasses
111
+.section .note.GNU-stack; .previous
113
Index: b/src/libgcc/config/ia64/crtend.S
114
===================================================================
115
--- a/src/libgcc/config/ia64/crtend.S
116
+++ b/src/libgcc/config/ia64/crtend.S
117
@@ -119,3 +119,7 @@ __do_global_ctors_aux:
120
.endp __do_global_ctors_aux
123
+.section .note.GNU-stack; .previous
125
Index: b/src/libgcc/config/ia64/crti.S
126
===================================================================
127
--- a/src/libgcc/config/ia64/crti.S
128
+++ b/src/libgcc/config/ia64/crti.S
129
@@ -51,3 +51,7 @@ _fini:
135
+.section .note.GNU-stack; .previous
137
Index: b/src/libgcc/config/ia64/crtn.S
138
===================================================================
139
--- a/src/libgcc/config/ia64/crtn.S
140
+++ b/src/libgcc/config/ia64/crtn.S
147
+.section .note.GNU-stack; .previous
149
Index: b/src/libgcc/config/ia64/lib1funcs.S
150
===================================================================
151
--- a/src/libgcc/config/ia64/lib1funcs.S
152
+++ b/src/libgcc/config/ia64/lib1funcs.S
153
@@ -793,3 +793,7 @@ __floattitf:
159
+.section .note.GNU-stack; .previous
161
Index: b/src/gcc/config/ia64/linux.h
162
===================================================================
163
--- a/src/gcc/config/ia64/linux.h
164
+++ b/src/gcc/config/ia64/linux.h
165
@@ -79,5 +79,8 @@ do { \
166
#undef TARGET_INIT_LIBFUNCS
167
#define TARGET_INIT_LIBFUNCS ia64_soft_fp_init_libfuncs
169
+#undef TARGET_ASM_FILE_END
170
+#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
172
/* Define this to be nonzero if static stack checking is supported. */
173
#define STACK_CHECK_STATIC_BUILTIN 1
174
Index: b/src/gcc/config/rs6000/ppc-asm.h
175
===================================================================
176
--- a/src/gcc/config/rs6000/ppc-asm.h
177
+++ b/src/gcc/config/rs6000/ppc-asm.h
178
@@ -375,7 +375,7 @@ GLUE(.L,name): \
182
-#if defined __linux__ && !defined __powerpc64__
183
+#if defined __linux__
184
.section .note.GNU-stack