Home | History | Annotate | Download | only in i386
      1 	.text
      2 _start:
      3 	movq	$foo@GOTPCREL, %rax
      4 	movq	foo@GOTPCREL, %rax
      5 	movq	foo@GOTPCREL(%rip), %rax
      6 	movq	foo@GOTPCREL(%rcx), %rax
      7 
      8 	call	*foo@GOTPCREL(%rip)
      9 	call	*foo@GOTPCREL(%rax)
     10 	jmp	*foo@GOTPCREL(%rip)
     11 	jmp	*foo@GOTPCREL(%rcx)
     12 
     13 	.intel_syntax noprefix
     14 
     15 	mov	rax, offset foo@gotpcrel
     16 	mov	rax, QWORD PTR [foo@GOTPCREL]
     17 	mov	rax, QWORD PTR [rip + foo@GOTPCREL]
     18 	mov	rax, QWORD PTR [rcx + foo@GOTPCREL]
     19 
     20 	call	QWORD PTR [rip + foo@GOTPCREL]
     21 	call	QWORD PTR [rax + foo@GOTPCREL]
     22 	jmp	QWORD PTR [rip + foo@GOTPCREL]
     23 	jmp	QWORD PTR [rcx + foo@GOTPCREL]
     24