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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-m68hc11/] [bug-3331.s] - Blame information for rev 816

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

Line No. Rev Author Line
1 205 julius
;;; Bug #3331:  Invalid group relaxation, bset uses an invalid address
2
;;; http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3331&group_id=2424
3
;;; 
4
        .sect .text
5
        .globl _start
6
_start:
7
        .relax  L1
8
        ldx     #foo            ;; This relax group must not be changed.
9
        bset    0,x #4
10
L1:
11
        ldd     #2
12
        std     table           ;; This instruction uses a symbol in page0
13
                                ;; and it triggered the relaxation of the
14
                                ;; previous relax group
15
        rts
16
 
17
        .sect .page0
18
        .globl table
19
table:  .long 0
20
 
21
        .sect .data
22
        .globl foo
23
foo:    .long 0

powered by: WebSVN 2.1.0

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