aboutsummaryrefslogtreecommitdiff
path: root/gas/dep-in.sed
diff options
context:
space:
mode:
Diffstat (limited to 'gas/dep-in.sed')
-rw-r--r--gas/dep-in.sed12
1 files changed, 5 insertions, 7 deletions
diff --git a/gas/dep-in.sed b/gas/dep-in.sed
index d81c460..b5c0bd0 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,8 @@ 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/ / \\\nB/g
+$s/$/ \\/