757756b5525ad9298b4df1fe35cdbb8a2761f370
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.stabs / weird-xcoff.S
1 #define N_GSYM 128
2 #define N_LSYM 129
3
4 /* If we try to use .stabx for common blocks, the AIX assembler (bogusly)
5 complains about the lack of a colon in the stabstring. */
6 #define BEGIN_COMMON(name) .bc name
7 #define END_COMMON(name) .ec
8
9 #define VAR(name) \
10 .globl name; \
11 .align 1; \
12 name:; \
13 .long 42;
14 #define STAB(string,type,value) .stabx string,value,type,0
15
16 /* Put everything in this csect, which seems to make things work.
17 The compiler actually puts the stabs in .csect [PR], but that didn't
18 work here (I guess because there is no text section). */
19 .csect .data[RW]
20 #include "weird.def"
21
22 /* Stuff with backslashes needs to go here, since the aix assembler treats
23 them differently. */
24
25 STAB("sym92:\ !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0)
26 STAB("type92:t92=\ !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0)
27 STAB("attr92:G392=@\ !#$%&'()*+,-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~;1",N_GSYM, 0)
This page took 0.030097 seconds and 3 git commands to generate.