Commit | Line | Data |
---|---|---|
aad143dc JK |
1 | # Put everything in this csect, which seems to make things work. |
2 | # The compiler actually puts the stabs in .csect [PR], but that didn't | |
3 | # work here (I guess because there is no text section). | |
4 | 1i\ | |
b1285bd9 | 5 | .csect .data[RW] |
aad143dc JK |
6 | # .stabs string,type,0,0,value -> .stabx string,value,type,0 |
7 | s/^[ ]*\.stabs[ ]*\("[^"]*"\),[ ]*\([^,]*\),[ ]*0,0,[ ]*\(.*\)$/.stabx \1,\3,\2,0/ | |
8 | s/N_GSYM/128/ | |
9 | s/N_LSYM/129/ | |
10 | s/\.begin_common/.bc/ | |
11 | # The AIX assembler doesn't want the name in a .ec directive | |
12 | s/\.end_common.*/.ec/ | |
13 | s/\.align_it/.align 1/ | |
68702ea3 | 14 | /\.data/d |
aad143dc | 15 | /^#/d |
68702ea3 JK |
16 | /\.if alpha/,/\.endif alpha/d |
17 | /\.if/d | |
18 | /\.endif/d |