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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-m68hc11/] [bug-1403.s] - Blame information for rev 84

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

Line No. Rev Author Line
1 75 khays
;;; 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.