- Timestamp:
- Mar 20, 2009 1:33:58 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 44787
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/err/errmsg.sed
r8256 r18117 4 4 # 5 5 6 # Copyright (C) 2006-200 7Sun Microsystems, Inc.6 # Copyright (C) 2006-2009 Sun Microsystems, Inc. 7 7 # 8 8 # This file is part of VirtualBox Open Source Edition (OSE), as … … 47 47 # Convert the defines 48 48 :defines 49 s/^[[:space:]]*#[[:space:]]*define[[:space:]]*\([ a-zA-Z0-9_]*\)[[:space:]]*\(.*\)[[:space:]]*$/ "\1",\n \1 }, /49 s/^[[:space:]]*#[[:space:]]*define[[:space:]]*\([[:alnum:]_]*\)[[:space:]]*\(.*\)[[:space:]]*$/ "\1",\n \1 }, / 50 50 b end 51 51 -
trunk/src/VBox/Runtime/common/err/errmsgcom.sed
r8256 r18117 4 4 # 5 5 6 # Copyright (C) 2006-200 7Sun Microsystems, Inc.6 # Copyright (C) 2006-2009 Sun Microsystems, Inc. 7 7 # 8 8 # This file is part of VirtualBox Open Source Edition (OSE), as … … 62 62 s/"/\\"/g 63 63 # output C array entry 64 s/\([ a-zA-Z0-9_]*\)[\t ]*\n\(.*\)[\t ]*$/{ "\2", "\1", \1 }, /64 s/\([[:alnum:]_]*\)[\t ]*\n\(.*\)[\t ]*$/{ "\2", "\1", \1 }, / 65 65 } 66 66 b end -
trunk/src/VBox/VMM/testcase/tstAsmStructsAsm-lst.sed
r18112 r18117 7 7 /\[absolute /d 8 8 / times /d 9 s/ *[ 0-9]* //9 s/ *[[:digit:]]* // 10 10 /^ *$/d 11 11 s/ *$//g -
trunk/src/recompiler/Sun/op-darwin.sed
r8155 r18117 7 7 8 8 # 9 # Copyright (C) 2006-200 7Sun Microsystems, Inc.9 # Copyright (C) 2006-2009 Sun Microsystems, Inc. 10 10 # 11 11 # This file is part of VirtualBox Open Source Edition (OSE), as … … 36 36 37 37 # .zero seems to be similar to .spaces... 38 s/^\([[:blank:]]*\)\.zero[[:blank:]][[:blank:]]*\([ 0-9][0-9]*\)/\1.space \2/38 s/^\([[:blank:]]*\)\.zero[[:blank:]][[:blank:]]*\([[:digit:]][[:digit:]]*\)/\1.space \2/ 39 39 40 # It looks like if .align is taking a byte count on linux and a power of 40 # It looks like if .align is taking a byte count on linux and a power of 41 41 # two on Darwin, translate to power of two. 42 42 s/\.align 128/\.align 7/ … … 48 48 s/\.align 2/\.align 1/ 49 49 50 51 50 # Darwin uses underscore prefixed names like the DOS based i386 OSes 52 # linux does. So, all global symbols need sto be translated.51 # linux does. So, all global symbols need to be translated. 53 52 s/^[[:blank:]]*\.globl[[:blank:]][[:blank:]]*\([^\t\n ]*\)[[:blank:]]*$/#define \1 _\1\n.globl \1/ 54 53 55 # special hack for __op_labelN56 s/__op_label\([ 0-9]\)/___op_label\1/g54 # Special hack for __op_labelN. 55 s/__op_label\([[:digit:]]\)/___op_label\1/g 57 56 -
trunk/src/recompiler/Sun/op-validate.sed
r4541 r18117 2 2 ## @file 3 3 # 4 # Just some qui tsed hacks for validating an op.S assembly file.4 # Just some quick sed hacks for validating an op.S assembly file. 5 5 # Will try this with gcc 4.x later to see if we can permit gcc 4 6 6 # to build op.c by using this script as guard against bad code. 7 7 # 8 8 9 ## @todo need to check that we've the got two __op_label[0 -1].op_goto_tb[0-1] symbols!9 ## @todo need to check that we've the got two __op_label[01].op_goto_tb[01] symbols! 10 10 11 11 # if (ret) goto return … … 61 61 N 62 62 s/^[[:blank:]]*ret[[:blank:]]*\n*[[:blank:]]*// 63 /\.Lfe[ 0-9][0-9]*:/d64 /\.LFE[ 0-9][0-9]*:/d63 /\.Lfe[[:digit:]][[:digit:]]*:/d 64 /\.LFE[[:digit:]][[:digit:]]*:/d 65 65 /size[[:space:]]/d 66 66 /^[/#]NO_APP[[:space:]]*$/d … … 74 74 #/^[[:blank:]]*jmp/ 75 75 :jump 76 s/^[[:space:]]*j[ a-z]*[[:space:]][[:space:]]*//76 s/^[[:space:]]*j[[:lower:]]*[[:space:]][[:space:]]*// 77 77 /^\.L/d 78 78 /^[1-9][fb]$/d … … 84 84 b end 85 85 86 # An error was found 86 # An error was found. 87 87 :bad 88 88 q 1 89 89 90 # next expression90 # Next expression. 91 91 :end 92 92
Note:
See TracChangeset
for help on using the changeset viewer.