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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-i386/] [vxworks1-lib.s] - Rev 856

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

	.text
	.globl	foo
	.type	foo, @function
foo:
	push	%ebx
	movl	__GOTT_BASE__, %ebx
	movl	__GOTT_INDEX__(%ecx), %ebx
	movl	x@GOT(%ebx), %eax
	incl	(%eax)
	call	slocal@plt
	call	sglobal@plt
	call	sexternal@plt
	pop	%ebx
	ret
	.size	foo, .-foo
 
	.type	slocal, @function
slocal:
	ret
	.size	slocal, .-slocal
 
	.globl	sglobal
	.type	sglobal, @function
sglobal:
	ret
	.size	sglobal, .-sglobal
 
	.data
	.4byte	slocal
 
	.comm	x,4,4
 

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.