gcc/
2015-03-27 Dominik Vogt <vogt@linux.vnet.ibm.com>
* config/s390/s390.c (s390_function_num_hotpatch_hw): Remove special
cases for not hotpatching main () and artificial functions.
gcc/testsuite
2015-03-27 Dominik Vogt <vogt@linux.vnet.ibm.com>
* gcc.target/s390/hotpatch-compile-16.c: Remove include of stdio.h.
From-SVN: r221791
+2015-03-31 Dominik Vogt <vogt@linux.vnet.ibm.com>
+
+ * config/s390/s390.c (s390_function_num_hotpatch_hw): Remove special
+ cases for not hotpatching main () and artificial functions.
+
2015-03-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Backport of r214242, r214254, and bug fix patches from mainline
*hw_before = 0;
*hw_after = 0;
- if (DECL_ARTIFICIAL (decl)
- || MAIN_NAME_P (DECL_NAME (decl)))
- {
- /* - Artificial functions need not be hotpatched.
- - Making the main function hotpatchable is useless. */
- return false;
- }
attr = lookup_attribute ("hotpatch", DECL_ATTRIBUTES (decl));
/* Handle the arguments of the hotpatch attribute. The values
+2015-03-31 Dominik Vogt <vogt@linux.vnet.ibm.com>
+
+ * gcc.target/s390/hotpatch-compile-16.c: Remove include of stdio.h.
+
2015-03-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Backport r214254 and related tests from mainline
/* { dg-do compile } */
/* { dg-options "-O3 -mzarch" } */
-#include <stdio.h>
-
typedef int (*fn_t)(void);
fn_t hp1(void)