• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/gdb/testsuite/gdb.stabs/
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
18