URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 156 |
Rev 816 |
@ Test to ensure that a Thumb-2 BL works with an offset that is
|
@ Test to ensure that a Thumb-2 BL works with an offset that is
|
@ not permissable for Thumb-1.
|
@ not permissable for Thumb-1.
|
|
|
.arch armv7
|
.arch armv7
|
.global _start
|
.global _start
|
.syntax unified
|
.syntax unified
|
|
|
@ We will place the section .text at 0x1000.
|
@ We will place the section .text at 0x1000.
|
|
|
.text
|
.text
|
.thumb_func
|
.thumb_func
|
|
|
_start:
|
_start:
|
bl bar
|
bl bar
|
|
|
@ We will place the section .foo at 0x1001000.
|
@ We will place the section .foo at 0x1001000.
|
|
|
.section .foo, "xa"
|
.section .foo, "xa"
|
.thumb_func
|
.thumb_func
|
|
|
bar:
|
bar:
|
bx lr
|
bx lr
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.