1997-07-26 02:25:44 +00:00
|
|
|
/* Machine-dependent definitions for profiling support. ARM version.
|
1998-07-27 17:52:05 +00:00
|
|
|
Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
|
1997-07-26 02:25:44 +00:00
|
|
|
This file is part of the GNU C Library.
|
|
|
|
|
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
2001-07-06 04:56:23 +00:00
|
|
|
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.
|
1997-07-26 02:25:44 +00:00
|
|
|
|
|
|
|
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
|
2001-07-06 04:56:23 +00:00
|
|
|
Lesser General Public License for more details.
|
1997-07-26 02:25:44 +00:00
|
|
|
|
2001-07-06 04:56:23 +00:00
|
|
|
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. */
|
1997-07-26 02:25:44 +00:00
|
|
|
|
|
|
|
/* GCC for the ARM cannot compile __builtin_return_address(N) for N != 0,
|
|
|
|
so we must use an assembly stub. */
|
|
|
|
|
|
|
|
#define _MCOUNT_DECL(frompc, selfpc) \
|
2005-10-09 18:29:25 +00:00
|
|
|
void mcount_internal (u_long frompc, u_long selfpc)
|
1998-10-01 14:29:47 +00:00
|
|
|
|
2005-10-09 18:29:25 +00:00
|
|
|
#define MCOUNT /* Nothing herel code in _mcount.S is used. */
|