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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [mt/] [relocs2.s] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
        .text
2
        ;; Put code near the top of the address space
3
text:
4
        .global i2
5
i2:
6
 
7
        add R5, R6, R7
8
 
9
        .data
10
        ;; Note that the .org that follows is more or less equivalent
11
        ;; to a .space, since the amount specified will be treated like
12
        ;; padding to be added between the .data section in relocs1.s
13
        ;; and this one.
14
        ;; Note also that the two test variables (d2 & d3) are intentionally
15
        ;; roughly $100 apart, so that the FR9 relocation processing in
16
        ;; bfd/elf32-ip2k.c (ip2k_final_link_relocate) is tested a little more.
17
        .org $e0
18
        .global d2
19
d2:     .byte 2
20
        .space $100
21
        .global d3
22
d3:     .byte 3

powered by: WebSVN 2.1.0

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