]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.c
Update copyright year range in all GDB files
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / dw2-case-insensitive.c
CommitLineData
559a7a62
JK
1/* This testcase is part of GDB, the GNU debugger.
2
e2882c85 3 Copyright 2011-2018 Free Software Foundation, Inc.
559a7a62
JK
4
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.
9
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.
14
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/>. */
17
621661e3
MR
18/* Target-specific way of forcing an instruction label. */
19#ifdef __mips__
20#define START_INSNS asm (".insn");
21#else
22#define START_INSNS
23#endif
24
559a7a62 25/* Use DW_LANG_Fortran90 for case insensitive DWARF. */
c7e8af9b
OJ
26asm (".globl cu_text_start");
27asm ("cu_text_start:");
621661e3 28START_INSNS
c7e8af9b
OJ
29
30asm (".globl FUNC_lang_start");
31asm (".p2align 4");
32asm ("FUNC_lang_start:");
621661e3 33START_INSNS
559a7a62
JK
34
35void
36FUNC_lang (void)
37{
38}
39
c7e8af9b
OJ
40asm (".globl FUNC_lang_end");
41asm ("FUNC_lang_end:");
42
559a7a62
JK
43/* Symbol is present only in ELF .symtab. */
44
45void
46FUNC_symtab (void)
47{
48}
49
50int
51main (void)
52{
53 FUNC_lang ();
54 FUNC_symtab ();
55 return 0;
56}
c7e8af9b
OJ
57
58asm (".globl cu_text_end");
59asm ("cu_text_end:");