X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gprof%2Fdep-in.sed;fp=gprof%2Fdep-in.sed;h=4823f1e3829cfd61978278d4b9e1644878e50faf;hp=aeb22a1acc787f9de5ce605d4c9f53f572d2c0cb;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b 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/$/ \\/