X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gprof%2Fdep-in.sed;fp=gprof%2Fdep-in.sed;h=4823f1e3829cfd61978278d4b9e1644878e50faf;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hp=aeb22a1acc787f9de5ce605d4c9f53f572d2c0cb;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10;p=msp430-binutils.git diff --git a/gprof/dep-in.sed b/gprof/dep-in.sed index aeb22a1..4823f1e 100644 --- a/gprof/dep-in.sed +++ b/gprof/dep-in.sed @@ -1,7 +1,9 @@ :loop /\\$/N -/\\$/b loop +s/\\\n */ /g +t loop +s! \./! !g s!@INCDIR@!$(INCDIR)!g s!@TOPDIR@/include!$(INCDIR)!g s!@BFDDIR@!$(BFDDIR)!g @@ -10,11 +12,9 @@ s!@SRCDIR@/!!g s!@OBJDIR@/!!g s! \.\./intl/libintl\.h!!g -s/\\\n */ /g - s/ *$// s/ */ /g -/:$/d - -s/\(.\{50\}[^ ]*\) /\1 \\\ - /g +s/^ */A/ +s/ / \\\ +B/g +$s/$/ \\/