OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [testsuite/] [gdb.stabs/] [xcoff.sed] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
# 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\
5
        .csect .data[RW]
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
# This needs to be C_DECL, which is used for types, not C_LSYM, which is
10
# ignored on the initial scan.
11
s/N_LSYM/140/
12
s/\.begin_common/.bc/
13
# The AIX assembler doesn't want the name in a .ec directive
14
s/\.end_common.*/.ec/
15
s/\.align_it/.align 1/
16
/\.data/d
17
/^#/d

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.