aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-gc/all-debug-sections.s
blob: 076f18353d06e32f52964f8dab9676a56127df63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
 .section .text.useless,"ax",%progbits
 .globl	useless
 .type useless, %function
useless:
 .long 1

 .section .text.main,"ax",%progbits
 .globl _start
_start:
 .globl main
 .type main, %function
main:
 .long 2

 .section .text,"ax",%progbits
 .long main

 .section .debug_info.text.main,"",%progbits
debug_info_main:
 .long 0x3c
 .long main

 .section .debug_info.text.useless,"",%progbits
debug_info_useless:
 .long 0x38
 .long useless

 .section .debug_info,"",%progbits
 .long 0x49

 .section .debug_aranges,"",%progbits
 .long 0x3c

 .section .debug_aranges.text.main,"",%progbits
debug_aranges_main:
 .long 0x2c
 .long main

 .section .debug_aranges.text.useless,"",%progbits
debug_aranges_useless:
 .long 0x2c
 .long useless

 .section .debug_line,"",%progbits
 .long 0x3c

 .section .debug_line.text.main,"",%progbits
debug_line_main:
 .long 0x2c
 .long main

 .section .debug_line.text.useless,"",%progbits
debug_line_useless:
 .long 0x2c
 .long useless