Home | History | Annotate | Download | only in sh
      1 	.section	.tdata,"awT",@progbits
      2 	.align 2
      3 	.long	foo
      4 	.text
      5 	.align 1
      6 	.global	fn
      7 	.type	fn, @function
      8 fn:
      9 	! Main binary, no PIC
     10 	mov.l	r14,@-r15
     11 	mov	r15,r14
     12 
     13 	stc	gbr,r1
     14 	mov.l	.L2,r0
     15 	add	r1,r0
     16 	! r0 now contains &foo
     17 
     18 	mov	r14,r15
     19 	rts
     20 	mov.l	@r15+,r14
     21 .L3:
     22 	.align 2
     23 .L2:	.long	foo@TPOFF
     24