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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-m68hc11/] [bug-1403.s] - Blame information for rev 297

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

Line No. Rev Author Line
1 205 julius
;;; Bug #1403:  Branch adjustment to another section not correct when doing linker relaxation
2
;;; http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1403&group_id=2424
3
;;; 
4
        .sect .text
5
        .globl _start
6
_start:
7
        .relax  L1
8
        ldx     #table
9
        bset    0,x #4
10
L1:
11
        bra     toto            ; bra is assembled as a jmp and relaxed
12
 
13
        .sect .page0
14
        .globl table
15
table:  .long 0
16
 
17
        .sect   .text.toto
18
        .globl  toto
19
toto:
20
        rts

powered by: WebSVN 2.1.0

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