]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.dwarf2/dw2-ranges-psym-warning.c
Update copyright year range in header of all files managed by GDB
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / dw2-ranges-psym-warning.c
CommitLineData
213516ef 1/* Copyright 2021-2023 Free Software Foundation, Inc.
211aafd1
TV
2
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 3 of the License, or
6 (at your option) any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program. If not, see <http://www.gnu.org/licenses/>. */
15
16void
17baz (void)
18{
19 asm ("baz_label: .globl baz_label");
20} /* baz end */
21
22void
23foo_low (void)
24{ /* foo_low prologue */
25 asm ("foo_low_label: .globl foo_low_label");
26 baz (); /* foo_low baz call */
27 asm ("foo_low_label2: .globl foo_low_label2");
28} /* foo_low end */
29
30void
31bar (void)
32{
33 asm ("bar_label: .globl bar_label");
34} /* bar end */
35
36void
37foo (void)
38{ /* foo prologue */
39 asm ("foo_label: .globl foo_label");
40 bar (); /* foo bar call */
41 asm ("foo_label2: .globl foo_label2");
42 foo_low (); /* foo foo_low call */
43 asm ("foo_label3: .globl foo_label3");
44} /* foo end */