2016-11-17 Christophe Lyon <christophe.lyon@linaro.org>
gcc/testsuite/
* gcc.dg/pr78333.c: Add empty implementations of
__cyg_profile_func_enter() and __cyg_profile_func_exit() to avoid
problems on non-glibc systems.
From-SVN: r242553
+2016-11-17 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * gcc.dg/pr78333.c: Add empty implementations of
+ __cyg_profile_func_enter() and __cyg_profile_func_exit() to avoid
+ problems on non-glibc systems.
+
2016-11-17 David Malcolm <dmalcolm@redhat.com>
* gcc.dg/plugin/diagnostic-test-string-literals-1.c
/* { dg-do link } */
/* { dg-options "-finstrument-functions" } */
+/* Add empty implementations of __cyg_profile_func_enter() and
+ __cyg_profile_func_exit() to avoid problems on non-glibc
+ systems. */
+void __attribute__((no_instrument_function))
+__cyg_profile_func_enter(void *this_fn, void *call_site)
+{
+}
+
+void __attribute__((no_instrument_function))
+__cyg_profile_func_exit(void *this_fn, void *call_site)
+{
+}
+
extern inline __attribute__((gnu_inline, always_inline)) int foo () { }
int main()
{