* gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.stabs / wierd-xcoff.S
CommitLineData
2de1aa1c
JK
1#define N_GSYM 128
2#define N_LSYM 129
f492b6c1
JK
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
1458f956
JK
8
9#define VAR(name) \
10 .globl name; \
1458f956
JK
11 .align 1; \
12name:; \
b1285bd9
JK
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]
1458f956 20#include "wierd.def"
884e8cd4
JK
21
22/* Stuff with backslashes needs to go here, since the aix assembler treats
23 them differently. */
24
25STAB("sym92:\ !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0)
26STAB("type92:t92=\ !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0)
27STAB("attr92:G392=@\ !#$%&'()*+,-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~;1",N_GSYM, 0)
This page took 0.038847 seconds and 4 git commands to generate.