1 /* This testcase is part of GDB, the GNU debugger.
3 Copyright 2011-2014 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
18 static volatile int v
;
20 asm ("func_start: .globl func_start\n");
25 asm ("func0: .globl func0\n");
27 asm ("func1: .globl func1\n");
29 asm ("func2: .globl func2\n");
31 asm ("func3: .globl func3\n");
34 asm ("func_end: .globl func_end\n");
36 /* Equivalent copy but renamed s/func/fund/. */
38 asm ("fund_start: .globl fund_start\n");
43 asm ("fund0: .globl fund0\n");
45 asm ("fund1: .globl fund1\n");
47 asm ("fund2: .globl fund2\n");
49 asm ("fund3: .globl fund3\n");
52 asm ("fund_end: .globl fund_end\n");
57 return func () + fund ();
This page took 0.029783 seconds and 4 git commands to generate.