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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [mips/] [elf-rel6.s] - Rev 38

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

	.sdata
	.global	foo
	.globl	bar
foo:	.byte	1
	.byte	2
bar:	.byte	3
	.byte	4
 
	.text
	.set mips16
	.global	f
	.ent	f
f:
	lb	$2,%gprel(bar)($3)
	lb	$2,%gprel(bar+1)($3)
	lb	$2,%gprel(bar+0x1234)($3)
	.end	f
 
# align section end to 16-byte boundary for easier testing on multiple targets
	.p2align 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.