simdext.md: Update copyright years.
[gcc.git] / libgcc / config / arc / crtg.S
1 /* Code to start and stop profiling for the Synopsys DesignWare ARC CPU.
2
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.
7
8 This file is part of GCC.
9
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
13 version.
14
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
18 for more details.
19
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.
23
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/>. */
28
29 .section .init
30 .global _init
31 .global _fini
32 .global __monstartup
33 mov_s r0,_init
34 mov_s r1,_fini
35 jl __monstartup
36
37 .section .__arc_profile_desc, "a"
38 .global __arc_profile_desc_secstart
39 .balign 4
40 __arc_profile_desc_secstart:
41 .section .__arc_profile_forward, "a"
42 .global __arc_profile_forward_secstart
43 .balign 4
44 __arc_profile_forward_secstart:
45 .section .__arc_profile_counters, "aw"
46 .global __arc_profile_counters_secstart
47 .balign 4
48 __arc_profile_counters_secstart:
49
50 .section .fini
51 .global _mcleanup
52 jl _mcleanup