OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [sh/] [tlsnopic.s] - Rev 856

Go to most recent revision | Compare with Previous | Blame | View Log

	.section	.tbss,"awT",@nobits
	.align 2
	.long	foo
	.text
	.align 1
	.global	fn
	.type	fn, @function
fn:
	! Main binary, no PIC
	mov.l	r14,@-r15
	mov	r15,r14
 
	stc	gbr,r1
	mov.l	.L2,r0
	add	r1,r0
	! r0 now contains &foo
 
	mov	r14,r15
	rts	
	mov.l	@r15+,r14
.L3:
	.align 2
.L2:	.long	foo@TPOFF
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.