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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-m68hc11/] [bug-1417.s] - Blame information for rev 853

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

Line No. Rev Author Line
1 38 julius
;;; Bug #1417:  Branch wrong after linker relaxation
2
;;; http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1417&group_id=2424
3
;;; 
4
        .sect .text
5
        .globl _start
6
_start:
7
        tst     table
8
        bne     L1              ; Branch was adjusted but it must not
9
        jsr     foo
10
L1:
11
        .relax  L2
12
        ldx     #table          ; Instruction removed
13
        bset    0,x #4           ; Changed to bset *table #4
14
L2:
15
        rts
16
foo:
17
        rts
18
 
19
        .sect .page0
20
        .globl table
21
table:  .long 0

powered by: WebSVN 2.1.0

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