X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gas%2Fdep-in.sed;h=69591402afedd56bc01915c55fd3c45b74a4b690;hb=b42e9fa8cc214f0fa94598da86aa112713a9b192;hp=9f086457db7630e1b0c05fb95d281b38b4ff1344;hpb=4d0b322074f52b3cd49e276290d7c7376901154f;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/dep-in.sed b/gas/dep-in.sed index 9f086457db..69591402af 100644 --- a/gas/dep-in.sed +++ b/gas/dep-in.sed @@ -1,8 +1,10 @@ :loop /\\$/N -/\\$/b loop +s/\\\n */ /g +t loop s! \.\./! !g +s! \./! !g s!@INCDIR@!$(INCDIR)!g s!@TOPDIR@/include!$(INCDIR)!g s!@BFDDIR@!$(BFDDIR)!g @@ -11,17 +13,17 @@ s!@SRCDIR@/config!$(srcdir)/config!g s!@SRCDIR@/\.\./opcodes!$(srcdir)/../opcodes!g s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g s!@SRCDIR@/!!g -s!\.\./bfd/bfdver\.h!$(BFDVER_H)!g s! \$(srcdir)/config/te-generic\.h!!g -s! \.\./bfd/bfd\.h!!g s! itbl-cpu\.h!!g s! itbl-parse\.h!!g +s! \.\./intl/libintl\.h!!g -s! \$(INCDIR)/bin-bugs\.h!!g +s! \.\./bfd/bfd\.h!!g +s! \$(INCDIR)/symcat\.h!!g s! \$(INCDIR)/ansidecl\.h!!g s! \$(INCDIR)/libiberty\.h!!g s! \$(INCDIR)/progress\.h!!g -s! \$(INCDIR)/fopen-same\.h!!g +s! \$(INCDIR)/fopen-[^ ]*\.h!!g s! obj-format\.h!!g s! targ-cpu\.h!!g s! targ-env\.h!!g @@ -42,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/$/ \\/