Home | History | Annotate | Download | only in ld-sh
      1 	.text
      2 	.globl	_foo
      3 	.type	_foo, %function
      4 _foo:
      5 	mov.l	r12,@-r15
      6 	sts.l	pr,@-r15
      7 	mov.l	1f,r12
      8 	mov.l	@r12,r12
      9 	mov.l	2f,r0
     10 	mov.l	@(r0,r12),r12
     11 
     12 	mov.l	3f,r0
     13 	mov.l	@(r0,r12),r1
     14 	mov.l	@r1,r2
     15 	add	#1,r2
     16 	mov.l	r2,@r1
     17 
     18 	mov.l	4f,r0
     19 	bsrf	r0
     20 	nop
     21 .Lb4:
     22 
     23 	mov.l	5f,r0
     24 	bsrf	r0
     25 	nop
     26 .Lb5:
     27 
     28 	mov.l	6f,r0
     29 	bsrf	r0
     30 	nop
     31 .Lb6:
     32 
     33 	lds.l	@r15+,pr
     34 	rts
     35 	mov.l	@r15+,r12
     36 	.align	2
     37 1:	.long	___GOTT_BASE__
     38 2:	.long	___GOTT_INDEX__
     39 3:	.long	x@GOT
     40 4:	.long	_slocal - .Lb4
     41 5:	.long	_sglobal@PLT - (.Lb5 - .)
     42 6:	.long	_sexternal@PLT - (.Lb6 - .)
     43 	.size	_foo, .-_foo
     44 
     45 	.type	_slocal, %function
     46 _slocal:
     47 	rts
     48 	nop
     49 	.size	_slocal, .-_slocal
     50 
     51 	.globl	_sglobal
     52 	.type	_sglobal, %function
     53 _sglobal:
     54 	rts
     55 	nop
     56 	.size	_sglobal, .-_sglobal
     57 
     58 	.data
     59 	.4byte	_slocal
     60 
     61 	.comm	x,4,4
     62