1 /* Code to start and stop profiling for the Synopsys DesignWare ARC CPU.
3 Copyright (C) 1994, 1995, 1997, 2004, 2007-2012
4 Free Software Foundation, Inc.
5 Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
6 on behalf of Synopsys Inc.
8 This file is part of GCC.
10 GCC is free software; you can redistribute it and/or modify it under
11 the terms of the GNU General Public License as published by the Free
12 Software Foundation; either version 3, or (at your option) any later
15 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
16 WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 Under Section 7 of GPL version 3, you are granted additional
21 permissions described in the GCC Runtime Library Exception, version
22 3.1, as published by the Free Software Foundation.
24 You should have received a copy of the GNU General Public License and
25 a copy of the GCC Runtime Library Exception along with this program;
26 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
27 <http://www.gnu.org/licenses/>. */
37 .section .__arc_profile_desc, "a"
38 .global __arc_profile_desc_secstart
40 __arc_profile_desc_secstart:
41 .section .__arc_profile_forward, "a"
42 .global __arc_profile_forward_secstart
44 __arc_profile_forward_secstart:
45 .section .__arc_profile_counters, "aw"
46 .global __arc_profile_counters_secstart
48 __arc_profile_counters_secstart: