summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/ppc/astest2.d
blob: 740e3bfe19d714e7e981f65347197f01bb8266a1 (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
63
64
65
66
67
68
69
70
71
72
73
74
75
#objdump: -Dr
#name: PowerPC test 2

.*: +file format elf32-powerpc

Disassembly of section .text:

0+0000000 <foo>:
   0:	60 00 00 00 	nop
   4:	60 00 00 00 	nop
   8:	60 00 00 00 	nop
   c:	48 00 00 04 	b	10 <foo\+0x10>
  10:	48 00 00 08 	b	18 <foo\+0x18>
  14:	48 00 00 00 	b	14 <foo\+0x14>
			14: R_PPC_REL24	x
  18:	48 00 00 04 	b	1c <foo\+0x1c>
			18: R_PPC_REL24	.data\+0x4
  1c:	48 00 00 00 	b	1c <foo\+0x1c>
			1c: R_PPC_REL24	z
  20:	48 00 00 14 	b	34 <foo\+0x34>
			20: R_PPC_REL24	z\+0x14
  24:	48 00 00 04 	b	28 <foo\+0x28>
  28:	48 00 00 00 	b	28 <foo\+0x28>
			28: R_PPC_REL24	a
  2c:	48 00 00 50 	b	7c <apfour>
  30:	48 00 00 04 	b	34 <foo\+0x34>
			30: R_PPC_REL24	a\+0x4
  34:	48 00 00 4c 	b	80 <apfour\+0x4>
  38:	48 00 00 00 	b	38 <foo\+0x38>
			38: R_PPC_LOCAL24PC	a
  3c:	48 00 00 40 	b	7c <apfour>

  40:	00 00 00 40 	.long 0x40
			40: R_PPC_ADDR32	.text\+0x40

  44:	00 00 00 4c 	.long 0x4c
			44: R_PPC_ADDR32	.text\+0x4c
  48:	00 00 00 00 	.long 0x0
			48: R_PPC_REL32	x
  4c:	00 00 00 04 	.long 0x4
			4c: R_PPC_REL32	x\+0x4
	...
			50: R_PPC_REL32	z
			54: R_PPC_REL32	y
			58: R_PPC_ADDR32	x
			5c: R_PPC_ADDR32	y
			60: R_PPC_ADDR32	z
  64:	ff ff ff fc 	fnmsub	f31,f31,f31,f31
			64: R_PPC_ADDR32	x\+0xf+ffffffc
  68:	ff ff ff fc 	fnmsub	f31,f31,f31,f31
			68: R_PPC_ADDR32	y\+0xf+ffffffc
  6c:	ff ff ff fc 	fnmsub	f31,f31,f31,f31
			6c: R_PPC_ADDR32	z\+0xf+ffffffc
  70:	00 00 00 08 	.long 0x8
  74:	00 00 00 08 	.long 0x8

0+0000078 <a>:
  78:	00 00 00 00 	.long 0x0
			78: R_PPC_ADDR32	a

0+000007c <apfour>:
	...
			7c: R_PPC_ADDR32	b
			80: R_PPC_ADDR32	apfour
  84:	ff ff ff fc 	fnmsub	f31,f31,f31,f31
  88:	00 00 00 02 	.long 0x2
			88: R_PPC_ADDR32	apfour\+0x2
  8c:	00 00 00 00 	.long 0x0
Disassembly of section .data:

0+0000000 <x>:
   0:	00 00 00 00 	.long 0x0

0+0000004 <y>:
   4:	00 00 00 00 	.long 0x0