From 09f85c7ffd5f5f931c7c5d6b58d56109175f24c9 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 21 Aug 2004 21:39:51 +0000 Subject: Attempt to support 'gcc -finstrument-functions', which seems much more sane than 'gcc -pg' and seems much easier to support. -Erik --- libc/sysdeps/linux/common/noophooks.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 libc/sysdeps/linux/common/noophooks.c (limited to 'libc/sysdeps/linux/common/noophooks.c') diff --git a/libc/sysdeps/linux/common/noophooks.c b/libc/sysdeps/linux/common/noophooks.c new file mode 100644 index 000000000..65e9fdd15 --- /dev/null +++ b/libc/sysdeps/linux/common/noophooks.c @@ -0,0 +1,26 @@ +/* Noop hooks for the instrumenting functions. + Copyright (C) 1999, 2000 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1999. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#include + +void __cyg_profile_func_enter (void *this_fn, void *call_site) +{ +} +strong_alias (__cyg_profile_func_enter, __cyg_profile_func_exit) -- cgit v1.2.3