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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-arm/] [thumb2-bl.s] - Diff between revs 156 and 816

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
 
 
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.