blob: ee33c4badf7c42b7c555f94501abd4aaa9b28e39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
support older ssp (gcc-3.4.x). this ssp was never in mainline gcc, thus
upstream wine wont accept it. can drop once hardened gets a stable gcc-4.x.
http://bugs.gentoo.org/66002
--- loader/preloader.c
+++ loader/preloader.c
@@ -155,6 +155,8 @@ struct wld_link_map {
/* similar to the above but for -fstack-protector */
void *__stack_chk_guard = 0;
+void *__guard = 0;
+void __stack_smash_handler(void) { return; }
void __stack_chk_fail(void) { return; }
* The _start function is the entry and exit point of this program
|