Upload Tizen:Base source
[external/binutils.git] / ld / testsuite / ld-cris / pcrelcp-1.s
1         .symver x,expfn@TST2    ; .symver required to make @ part of name.
2         .global _start
3         .type   _start,@function
4 _start:
5         .dword  0,0,0,0
6         .reloc  0,R_CRIS_32_PCREL,expfn
7         .reloc  4,R_CRIS_32_PCREL,expfn
8         .reloc  8,R_CRIS_32_PCREL,x
9         .reloc  12,R_CRIS_32_PCREL,x
10 .Lfe3:
11         .size   _start,.Lfe3-_start
12
13         .data
14         .global tab1
15         .type   tab1,@object
16 tab1:
17         .dword  0,0,0,0,0,0,0,0
18         .reloc  0,R_CRIS_32_PCREL,expfn
19         .reloc  4,R_CRIS_32_PCREL,expfn
20         .reloc  8,R_CRIS_32_PCREL,expfn
21         .reloc  12,R_CRIS_32_PCREL,expfn
22         .reloc  16,R_CRIS_32_PCREL,x
23         .reloc  20,R_CRIS_32_PCREL,x
24         .reloc  24,R_CRIS_32_PCREL,x
25         .reloc  28,R_CRIS_32_PCREL,x
26         .size   tab1,.-tab1
27
28         .section .data2,"aw",@progbits
29         .global tab2
30         .type   tab2,@object
31 tab2:
32         .dword  0,0,0,0,0,0,0,0
33         .dword  0,0,0,0,0,0,0,0
34         .reloc  0,R_CRIS_32_PCREL,expfn
35         .reloc  4,R_CRIS_32_PCREL,expfn
36         .reloc  8,R_CRIS_32_PCREL,expfn
37         .reloc  12,R_CRIS_32_PCREL,expfn
38         .reloc  16,R_CRIS_32_PCREL,expfn
39         .reloc  20,R_CRIS_32_PCREL,expfn
40         .reloc  24,R_CRIS_32_PCREL,expfn
41         .reloc  28,R_CRIS_32_PCREL,expfn
42         .reloc  32,R_CRIS_32_PCREL,x
43         .reloc  36,R_CRIS_32_PCREL,x
44         .reloc  40,R_CRIS_32_PCREL,x
45         .reloc  44,R_CRIS_32_PCREL,x
46         .reloc  48,R_CRIS_32_PCREL,x
47         .reloc  52,R_CRIS_32_PCREL,x
48         .reloc  56,R_CRIS_32_PCREL,x
49         .reloc  60,R_CRIS_32_PCREL,x
50         .size   tab1,.-tab2