URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 38 |
Rev 156 |
@ Test intended to fail for ALU group relocations.
|
@ Test intended to fail for ALU group relocations.
|
@
|
@
|
@ Beware when editing this file: it is carefully crafted so that
|
@ Beware when editing this file: it is carefully crafted so that
|
@ a specific PC-relative offset arises.
|
@ a specific PC-relative offset arises.
|
|
|
@ We will place .text at 0x8000.
|
@ We will place .text at 0x8000.
|
|
|
.text
|
.text
|
.globl _start
|
.globl _start
|
|
|
_start:
|
_start:
|
add r0, r0, #:pc_g0:(bar)
|
add r0, r0, #:pc_g0:(bar)
|
|
|
@ We will place the section foo at 0x9004.
|
@ We will place the section foo at 0x9004.
|
|
|
.section foo
|
.section foo
|
|
|
bar:
|
bar:
|
mov r0, #0
|
mov r0, #0
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.