xcoff.sed

来自「这个是LINUX下的GDB调度工具的源码」· SED 代码 · 共 18 行

SED
18
字号
# Put everything in this csect, which seems to make things work.# The compiler actually puts the stabs in .csect [PR], but that didn't# work here (I guess because there is no text section).1i\	.csect .data[RW]# .stabs string,type,0,0,value  ->  .stabx string,value,type,0s/^[ 	]*\.stabs[ 	]*\("[^"]*"\),[ 	]*\([^,]*\),[ 	]*0,0,[ 	]*\(.*\)$/.stabx \1,\3,\2,0/s/N_GSYM/128/# This needs to be C_DECL, which is used for types, not C_LSYM, which is# ignored on the initial scan.s/N_LSYM/140/s/\.begin_common/.bc/# The AIX assembler doesn't want the name in a .ec directives/\.end_common.*/.ec/s/\.align_it/.align 1//\.data/d/^#/d

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?