X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Fdep-in.sed;fp=gas%2Fdep-in.sed;h=69591402afedd56bc01915c55fd3c45b74a4b690;hp=d81c4609b9c08ddded76f76a4a16c69556b3231d;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/dep-in.sed b/gas/dep-in.sed index d81c460..6959140 100644 --- a/gas/dep-in.sed +++ b/gas/dep-in.sed @@ -1,6 +1,7 @@ :loop /\\$/N -/\\$/b loop +s/\\\n */ /g +t loop s! \.\./! !g s! \./! !g @@ -43,11 +44,9 @@ s! symbols\.h!!g s! tc\.h!!g s! write\.h!!g -s/\\\n */ /g - s/ *$// s/ */ /g -/:$/d - -s/\(.\{50\}[^ ]*\) /\1 \\\ - /g +s/^ */A/ +s/ / \\\ +B/g +$s/$/ \\/