]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.arch/ppc64-break-on-_exit.s
Update copyright year range in header of all files managed by GDB
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.arch / ppc64-break-on-_exit.s
CommitLineData
585d6e39
TV
1/* This file is part of GDB, the GNU debugger.
2
213516ef 3 Copyright 2021-2023 Free Software Foundation, Inc.
585d6e39
TV
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
18/* This file was generated from ppc64-break-on-_exit.c. */
19
20 .file "ppc64-break-on-_exit.c"
21 .abiversion 2
22 .section ".text"
23 .align 2
24 .p2align 4,,15
25 .globl _exit
26 .type _exit, @function
27_exit:
28.LCF0:
290: addis 2,12,.TOC.-.LCF0@ha
30 addi 2,2,.TOC.-.LCF0@l
31 .localentry _exit,.-_exit
32 addis 9,2,__libc_errno@got@tprel@ha
33 std 31,-8(1)
34 mr 31,3
35 std 30,-16(1)
36 li 0,234
37 ld 9,__libc_errno@got@tprel@l(9)
38 mr 3,31
39 add 30,9,__libc_errno@tls
40#APP
41 # 28 "src/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c" 1
42 sc
43 mfcr 0
44 0:
45 # 0 "" 2
46#NO_APP
47 andis. 9,0,0x1000
48 mr 9,3
49 li 0,1
50 mr 3,31
51 bne 0,.L13
52 .p2align 4,,15
53.L2:
54#APP
55 # 67 "src/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c" 1
56 sc
57 mfcr 0
58 0:
59 # 0 "" 2
60#NO_APP
61 andis. 9,0,0x1000
62 bne 0,.L14
63.L3:
64#APP
65 # 87 "src/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c" 1
66 .long 0
67 # 0 "" 2
68#NO_APP
69.L15:
70 li 0,234
71 mr 3,31
72#APP
73 # 28 "src/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c" 1
74 sc
75 mfcr 0
76 0:
77 # 0 "" 2
78#NO_APP
79 andis. 9,0,0x1000
80 mr 9,3
81 li 0,1
82 mr 3,31
83 beq 0,.L2
84.L13:
85 stw 9,0(30)
86#APP
87 # 67 "src/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c" 1
88 sc
89 mfcr 0
90 0:
91 # 0 "" 2
92#NO_APP
93 andis. 9,0,0x1000
94 beq 0,.L3
95 .p2align 4,,15
96.L14:
97 stw 3,0(30)
98#APP
99 # 87 "src/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c" 1
100 .long 0
101 # 0 "" 2
102#NO_APP
103 b .L15
104 .long 0
105 .byte 0,0,0,0,0,2,0,0
106 .size _exit,.-_exit
107 .ident "GCC: (SUSE Linux) 7.5.0"
108 .section .note.GNU-stack,"",@progbits