2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.stabs / xcoff.sed
CommitLineData
c906108c
SS
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).
41i\
5 .csect .data[RW]
6# .stabs string,type,0,0,value -> .stabx string,value,type,0
7s/^[ ]*\.stabs[ ]*\("[^"]*"\),[ ]*\([^,]*\),[ ]*0,0,[ ]*\(.*\)$/.stabx \1,\3,\2,0/
8s/N_GSYM/128/
9# This needs to be C_DECL, which is used for types, not C_LSYM, which is
10# ignored on the initial scan.
11s/N_LSYM/140/
12s/\.begin_common/.bc/
13# The AIX assembler doesn't want the name in a .ec directive
14s/\.end_common.*/.ec/
15s/\.align_it/.align 1/
16/\.data/d
17/^#/d
This page took 0.949753 seconds and 4 git commands to generate.