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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [sh/] [tlsnopic.s] - Rev 205

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
 

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.