File: jal-xgot.d

package info (click to toggle)
binutils 2.32.51.20190821-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 309,676 kB
  • sloc: ansic: 1,201,497; asm: 658,869; cpp: 130,432; exp: 69,370; makefile: 56,804; sh: 23,583; lisp: 14,519; yacc: 14,467; perl: 2,111; ada: 1,681; lex: 1,649; pascal: 1,446; python: 991; cs: 879; sed: 195; xml: 95; awk: 25
file content (55 lines) | stat: -rw-r--r-- 1,467 bytes parent folder | download | duplicates (26)
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
#objdump: -dr --prefix-addresses -mmips:3000
#name: MIPS R3000 jal-xgot
#as: -32 -mips1 -KPIC -xgot -mtune=r3000
#source: jal-svr4pic.s

# Test the jal macro with -KPIC -xgot.

.*: +file format .*mips.*

Disassembly of section .text:
0+0000 <[^>]*> lui	gp,0x0
[ 	]*0: R_MIPS_HI16	_gp_disp
0+0004 <[^>]*> addiu	gp,gp,0
[ 	]*4: R_MIPS_LO16	_gp_disp
0+0008 <[^>]*> addu	gp,gp,t9
0+000c <[^>]*> sw	gp,0\(sp\)
0+0010 <[^>]*> jalr	t9
0+0014 <[^>]*> nop
0+0018 <[^>]*> lw	gp,0\(sp\)
0+001c <[^>]*> jalr	a0,t9
0+0020 <[^>]*> nop
0+0024 <[^>]*> lw	gp,0\(sp\)
0+0028 <[^>]*> nop
0+002c <[^>]*> lw	t9,0\(gp\)
[ 	]*2c: R_MIPS_GOT16	.text
0+0030 <[^>]*> nop
0+0034 <[^>]*> addiu	t9,t9,0
[ 	]*34: R_MIPS_LO16	.text
0+0038 <[^>]*> jalr	t9
[ 	]*38: R_MIPS_JALR	text_label
0+003c <[^>]*> nop
0+0040 <[^>]*> lw	gp,0\(sp\)
0+0044 <[^>]*> lui	t9,0x0
[ 	]*44: R_MIPS_CALL_HI16	weak_text_label
0+0048 <[^>]*> addu	t9,t9,gp
0+004c <[^>]*> lw	t9,0\(t9\)
[ 	]*4c: R_MIPS_CALL_LO16	weak_text_label
0+0050 <[^>]*> nop
0+0054 <[^>]*> jalr	t9
[ 	]*54: R_MIPS_JALR	weak_text_label
0+0058 <[^>]*> nop
0+005c <[^>]*> lw	gp,0\(sp\)
0+0060 <[^>]*> lui	t9,0x0
[ 	]*60: R_MIPS_CALL_HI16	external_text_label
0+0064 <[^>]*> addu	t9,t9,gp
0+0068 <[^>]*> lw	t9,0\(t9\)
[ 	]*68: R_MIPS_CALL_LO16	external_text_label
0+006c <[^>]*> nop
0+0070 <[^>]*> jalr	t9
[ 	]*70: R_MIPS_JALR	external_text_label
0+0074 <[^>]*> nop
0+0078 <[^>]*> lw	gp,0\(sp\)
0+007c <[^>]*> b	0+0000 <text_label>
0+0080 <[^>]*> nop
	...