OSDN Git Service

7435406595cf9c0113fd7cdd1fd5b032d4f4fcc6
[pf3gnuchains/pf3gnuchains4x.git] / gas / testsuite / gas / ms1 / relocs2.s
1         .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