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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [cris/] [rd-pic-1.s] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
; Check that PIC operands get their right relocation type.
2
; First some expected uses, similar to what GCC will emit.
3
        .text
4
        .syntax no_register_prefix
5
start:
6
        sub.d .:GOTOFF,r1
7
        move.d [r3+extsym:GOT],r10
8
        add.d extsym2:GOTOFF,r9
9
        move.d extsym5:PLT,r8
10
        move.d extsym9:PLTG,r8
11
        move.d [r3+extsym:GOTPLT],r10
12
        move.d [r13+extsym13:GOT16],r10
13
        move.w extsym14:GOTPLT16,r10
14
 
15
; Other for GAS valid operands (some with questionable PIC semantics).
16
        sub.d [r3+extsym3:GOT],r4,r10
17
        sub.d extsym4:GOTOFF+42,r9
18
        sub.d extsym4:GOTOFF-96,r3
19
        add.d [r10+extsym3:GOT+56],r7,r8
20
        move.d [r5+extsym6:GOT+10],r1
21
        add.d [r10+extsym3:GOT-560],r4,r8
22
        move.d [r5+extsym6:GOT-110],r12
23
        move.d [r9=r5+extsym6:GOT-220],r12
24
        move.d [r7=r3+extsym10:GOTOFF-330],r13
25
        move.d extsym7:PLT+4,r5
26
        move.d extsym7:PLT-40,r9
27
        move.d extsym11:PLTG+16,r5
28
        move.d extsym12:PLTG-60,r9
29
        sub.d [r12+extsym3:GOT16-156],r9,r8
30
        move.d [r11+extsym14:GOTPLT16-256],r9
31
        add.d [r10+extsym3:GOTPLT+56],r7,r8

powered by: WebSVN 2.1.0

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