summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/micromips@loc-swap.d
blob: 272f6ae721118c29766a73045acbc56c7ed1aedc (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
57
58
59
60
61
62
#PROG: readelf
#readelf: -wl
#name: MIPS DWARF-2 location information with branch swapping
#as: -32
#source: loc-swap.s

# Verify that DWARF-2 location information for instructions reordered
# into a branch delay slot is updated to point to the branch instead
# (microMIPS).

Raw dump of debug contents of section \.debug_line:

  Offset:                      0x0
  Length:                      67
  DWARF Version:               2
  Prologue Length:             33
  Minimum Instruction Length:  1
  Initial value of 'is_stmt':  1
  Line Base:                   -5
  Line Range:                  14
  Opcode Base:                 13

 Opcodes:
  Opcode 1 has 0 args
  Opcode 2 has 1 args
  Opcode 3 has 1 args
  Opcode 4 has 1 args
  Opcode 5 has 1 args
  Opcode 6 has 0 args
  Opcode 7 has 0 args
  Opcode 8 has 0 args
  Opcode 9 has 1 args
  Opcode 10 has 0 args
  Opcode 11 has 0 args
  Opcode 12 has 1 args

 The Directory Table is empty\.

 The File Name Table:
  Entry	Dir	Time	Size	Name
  1	0	0	0	loc-swap\.s

 Line Number Statements:
  Extended opcode 2: set Address to 0x1
  Special opcode 11: advance Address by 0 to 0x1 and Line by 6 to 7
  Special opcode 35: advance Address by 2 to 0x3 and Line by 2 to 9
  Special opcode 64: advance Address by 4 to 0x7 and Line by 3 to 12
  Special opcode 35: advance Address by 2 to 0x9 and Line by 2 to 14
  Special opcode 64: advance Address by 4 to 0xd and Line by 3 to 17
  Special opcode 35: advance Address by 2 to 0xf and Line by 2 to 19
  Special opcode 64: advance Address by 4 to 0x13 and Line by 3 to 22
  Special opcode 35: advance Address by 2 to 0x15 and Line by 2 to 24
  Special opcode 64: advance Address by 4 to 0x19 and Line by 3 to 27
  Special opcode 35: advance Address by 2 to 0x1b and Line by 2 to 29
  Special opcode 92: advance Address by 6 to 0x21 and Line by 3 to 32
  Special opcode 35: advance Address by 2 to 0x23 and Line by 2 to 34
  Special opcode 92: advance Address by 6 to 0x29 and Line by 3 to 37
  Special opcode 35: advance Address by 2 to 0x2b and Line by 2 to 39
  Special opcode 120: advance Address by 8 to 0x33 and Line by 3 to 42
  Special opcode 35: advance Address by 2 to 0x35 and Line by 2 to 44
  Advance PC by 23 to 0x4c
  Extended opcode 1: End of Sequence