Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-powerpc / aix-glink-2a.s
blobfafbe4329e016efe9e7ce41c04111ff6fa7e257b
1 .toc
3 .macro defabs,type,name,value
4 \type \name
5 \name = \value
6 .endm
8 .macro deffun,type,name,fn
9 \type \name
10 .csect \name\()[DS]
11 \name\():
12 .if size == 32
13 .long .\name\()[PR],TOC[TC0],0
14 .else
15 .llong .\name\()[PR],TOC[TC0],0
16 .endif
18 .globl .\name
19 .csect .\name\()[PR]
20 .\name\():
21 nop
22 .endm
24 .macro defdata,type,name,contents
25 \type \name
26 .csect \name\()[RW]
27 \name\():
28 .long \contents
29 .endm
31 defabs .globl,a1,0xf100
32 deffun .globl,a2
33 defdata .globl,a3,0x1100
35 defabs .globl,b1,0xf200
36 deffun .globl,b2
37 defdata .globl,b3,0x2200
39 defabs .weak,c1,0xf300
40 deffun .weak,c2
41 defdata .weak,c3,0x3300