/[gentoo-x86]/dev-util/valgrind/files/valgrind-3.8.0-non-exec-stack.patch
Gentoo

Contents of /dev-util/valgrind/files/valgrind-3.8.0-non-exec-stack.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Aug 18 08:47:52 2012 UTC (2 years ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Version bump

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 diff -Naur valgrind-3.8.0.orig//coregrind/Makefile.am valgrind-3.8.0/coregrind/Makefile.am
2 --- valgrind-3.8.0.orig//coregrind/Makefile.am 2012-08-05 03:47:20.000000000 -0400
3 +++ valgrind-3.8.0/coregrind/Makefile.am 2012-08-18 04:14:35.000000000 -0400
4 @@ -297,15 +297,6 @@
5 m_demangle/demangle.c \
6 m_demangle/dyn-string.c \
7 m_demangle/safe-ctype.c \
8 - m_dispatch/dispatch-x86-linux.S \
9 - m_dispatch/dispatch-amd64-linux.S \
10 - m_dispatch/dispatch-ppc32-linux.S \
11 - m_dispatch/dispatch-ppc64-linux.S \
12 - m_dispatch/dispatch-arm-linux.S \
13 - m_dispatch/dispatch-s390x-linux.S \
14 - m_dispatch/dispatch-mips32-linux.S \
15 - m_dispatch/dispatch-x86-darwin.S \
16 - m_dispatch/dispatch-amd64-darwin.S \
17 m_gdbserver/inferiors.c \
18 m_gdbserver/m_gdbserver.c \
19 m_gdbserver/regcache.c \
20 @@ -327,8 +318,6 @@
21 m_initimg/initimg-pathscan.c \
22 m_mach/mach_basics.c \
23 m_mach/mach_msg.c \
24 - m_mach/mach_traps-x86-darwin.S \
25 - m_mach/mach_traps-amd64-darwin.S \
26 m_replacemalloc/replacemalloc_core.c \
27 m_scheduler/scheduler.c \
28 m_scheduler/sema.c \
29 @@ -343,15 +332,6 @@
30 m_sigframe/sigframe-mips32-linux.c \
31 m_sigframe/sigframe-x86-darwin.c \
32 m_sigframe/sigframe-amd64-darwin.c \
33 - m_syswrap/syscall-x86-linux.S \
34 - m_syswrap/syscall-amd64-linux.S \
35 - m_syswrap/syscall-ppc32-linux.S \
36 - m_syswrap/syscall-ppc64-linux.S \
37 - m_syswrap/syscall-arm-linux.S \
38 - m_syswrap/syscall-s390x-linux.S \
39 - m_syswrap/syscall-mips32-linux.S \
40 - m_syswrap/syscall-x86-darwin.S \
41 - m_syswrap/syscall-amd64-darwin.S \
42 m_syswrap/syswrap-main.c \
43 m_syswrap/syswrap-generic.c \
44 m_syswrap/syswrap-linux.c \
45 @@ -371,6 +351,29 @@
46 m_ume/main.c \
47 m_ume/script.c
48
49 +COREGRIND_SOURCES_COMMON += \
50 + m_dispatch/dispatch-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S \
51 + m_syswrap/syscall-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S
52 +
53 +if VGCONF_HAVE_PLATFORM_SEC
54 +COREGRIND_SOURCES_COMMON += \
55 + m_dispatch/dispatch-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S \
56 + m_syswrap/syscall-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S
57 +endif
58 +
59 +if VGCONF_OS_IS_DARWIN
60 +COREGRIND_SOURCES_COMMON += \
61 + m_dispatch/dispatch-@VGCONF_ARCH_PRI@-darwin.S \
62 + m_syswrap/syscall-@VGCONF_ARCH_PRI@-darwin.S \
63 + m_mach/mach_traps-@VGCONF_ARCH_PRI@-darwin.S
64 +if VGCONF_HAVE_PLATFORM_SEC
65 +COREGRIND_SOURCES_COMMON += \
66 + m_dispatch/dispatch-@VGCONF_ARCH_SEC@-darwin.S \
67 + m_syswrap/syscall-@VGCONF_ARCH_SEC@-darwin.S \
68 + m_mach/mach_traps-@VGCONF_ARCH_SEC@-darwin.S
69 +endif
70 +endif
71 +
72 libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
73 $(COREGRIND_SOURCES_COMMON)
74 nodist_libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
75 diff -Naur valgrind-3.8.0.orig//coregrind/m_dispatch/dispatch-amd64-linux.S valgrind-3.8.0/coregrind/m_dispatch/dispatch-amd64-linux.S
76 --- valgrind-3.8.0.orig//coregrind/m_dispatch/dispatch-amd64-linux.S 2012-08-05 12:04:11.000000000 -0400
77 +++ valgrind-3.8.0/coregrind/m_dispatch/dispatch-amd64-linux.S 2012-08-18 04:15:57.000000000 -0400
78 @@ -249,11 +249,11 @@
79
80 .size VG_(disp_run_translations), .-VG_(disp_run_translations)
81
82 +#endif // defined(VGP_amd64_linux)
83 +
84 /* Let the linker know we don't need an executable stack */
85 .section .note.GNU-stack,"",@progbits
86
87 -#endif // defined(VGP_amd64_linux)
88 -
89 /*--------------------------------------------------------------------*/
90 /*--- end ---*/
91 /*--------------------------------------------------------------------*/
92 diff -Naur valgrind-3.8.0.orig//coregrind/m_dispatch/dispatch-x86-linux.S valgrind-3.8.0/coregrind/m_dispatch/dispatch-x86-linux.S
93 --- valgrind-3.8.0.orig//coregrind/m_dispatch/dispatch-x86-linux.S 2012-08-05 12:04:11.000000000 -0400
94 +++ valgrind-3.8.0/coregrind/m_dispatch/dispatch-x86-linux.S 2012-08-18 04:16:44.000000000 -0400
95 @@ -240,11 +240,11 @@
96
97 .size VG_(disp_run_translations), .-VG_(disp_run_translations)
98
99 +#endif // defined(VGP_x86_linux)
100 +
101 /* Let the linker know we don't need an executable stack */
102 .section .note.GNU-stack,"",@progbits
103
104 -#endif // defined(VGP_x86_linux)
105 -
106 /*--------------------------------------------------------------------*/
107 /*--- end ---*/
108 /*--------------------------------------------------------------------*/
109 diff -Naur valgrind-3.8.0.orig//coregrind/m_syswrap/syscall-amd64-linux.S valgrind-3.8.0/coregrind/m_syswrap/syscall-amd64-linux.S
110 --- valgrind-3.8.0.orig//coregrind/m_syswrap/syscall-amd64-linux.S 2012-08-05 12:04:11.000000000 -0400
111 +++ valgrind-3.8.0/coregrind/m_syswrap/syscall-amd64-linux.S 2012-08-18 04:17:21.000000000 -0400
112 @@ -205,11 +205,11 @@
113 ML_(blksys_finished): .quad 5b
114 .previous
115
116 +#endif // defined(VGP_amd64_linux)
117 +
118 /* Let the linker know we don't need an executable stack */
119 .section .note.GNU-stack,"",@progbits
120
121 -#endif // defined(VGP_amd64_linux)
122 -
123 /*--------------------------------------------------------------------*/
124 /*--- end ---*/
125 /*--------------------------------------------------------------------*/
126 diff -Naur valgrind-3.8.0.orig//coregrind/m_syswrap/syscall-x86-linux.S valgrind-3.8.0/coregrind/m_syswrap/syscall-x86-linux.S
127 --- valgrind-3.8.0.orig//coregrind/m_syswrap/syscall-x86-linux.S 2012-08-05 12:04:11.000000000 -0400
128 +++ valgrind-3.8.0/coregrind/m_syswrap/syscall-x86-linux.S 2012-08-18 04:17:59.000000000 -0400
129 @@ -165,11 +165,11 @@
130 ML_(blksys_finished): .long 5b
131 .previous
132
133 +#endif // defined(VGP_x86_linux)
134 +
135 /* Let the linker know we don't need an executable stack */
136 .section .note.GNU-stack,"",@progbits
137
138 -#endif // defined(VGP_x86_linux)
139 -
140 /*--------------------------------------------------------------------*/
141 /*--- end ---*/
142 /*--------------------------------------------------------------------*/

  ViewVC Help
Powered by ViewVC 1.1.20