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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-m68hc11/] [bug-3331.s] - Blame information for rev 438

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

Line No. Rev Author Line
1 38 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.