python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / gcc / patches / no-stack_chk_fail_local.patch
bloba588880defdf1fcfa892be442a6d676f89cc0527
1 --- gcc/targhooks.c 2017-02-07 12:29:06.644837000 +0100
2 +++ gcc/targhooks.c 2017-10-29 17:08:58.318032821 +0100
3 @@ -856,8 +856,8 @@
4 if (t == NULL_TREE)
6 t = build_function_type_list (void_type_node, NULL_TREE);
7 - t = build_decl (UNKNOWN_LOCATION, FUNCTION_DECL,
8 - get_identifier ("__stack_chk_fail_local"), t);
9 + t = build_decl (UNKNOWN_LOCATION,
10 + FUNCTION_DECL, get_identifier ("__stack_chk_fail"), t);
11 TREE_STATIC (t) = 1;
12 TREE_PUBLIC (t) = 1;
13 DECL_EXTERNAL (t) = 1;
14 @@ -866,8 +866,8 @@
15 TREE_NOTHROW (t) = 1;
16 DECL_ARTIFICIAL (t) = 1;
17 DECL_IGNORED_P (t) = 1;
18 + DECL_VISIBILITY (t) = VISIBILITY_DEFAULT;
19 DECL_VISIBILITY_SPECIFIED (t) = 1;
20 - DECL_VISIBILITY (t) = VISIBILITY_HIDDEN;
22 stack_chk_fail_decl = t;