Commit | Line | Data |
---|---|---|
2de1aa1c JK |
1 | #define N_GSYM 128 |
2 | #define N_LSYM 129 | |
3 | #define N_BCOMM 135 | |
4 | #define N_ECOMM 137 | |
1458f956 JK |
5 | |
6 | #define VAR(name) \ | |
7 | .globl name; \ | |
1458f956 JK |
8 | .align 1; \ |
9 | name:; \ | |
b1285bd9 JK |
10 | .long 42; |
11 | #define STAB(string,type,value) .stabx string,value,type,0 | |
12 | ||
13 | /* Put everything in this csect, which seems to make things work. | |
14 | The compiler actually puts the stabs in .csect [PR], but that didn't | |
15 | work here (I guess because there is no text section). */ | |
16 | .csect .data[RW] | |
1458f956 | 17 | #include "wierd.def" |
884e8cd4 JK |
18 | |
19 | /* Stuff with backslashes needs to go here, since the aix assembler treats | |
20 | them differently. */ | |
21 | ||
22 | STAB("sym92:\ !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0) | |
23 | STAB("type92:t92=\ !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0) | |
24 | STAB("attr92:G392=@\ !#$%&'()*+,-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~;1",N_GSYM, 0) |