projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
binutils: readelf: support CTF dicts with non-native-endian symtabs
[binutils-gdb.git]
/
ld
/
dep-in.sed
diff --git
a/ld/dep-in.sed
b/ld/dep-in.sed
index 89b120147bd8d384d3017a6161ceda1597458073..4f77b5de5721f0329a13fce0e9bb277cad4e87f0 100644
(file)
--- a/
ld/dep-in.sed
+++ b/
ld/dep-in.sed
@@
-1,16
+1,20
@@
:loop
/\\$/N
:loop
/\\$/N
-/\\$/b loop
+s/\\\n */ /g
+t loop
+s! \./! !g
s!@INCDIR@!$(INCDIR)!g
s!@INCDIR@!$(INCDIR)!g
+s!@TOPDIR@/include!$(INCDIR)!g
+s!@BFDDIR@!$(BFDDIR)!g
+s!@TOPDIR@/bfd!$(BFDDIR)!g
s!@SRCDIR@/!!g
s! \.\./bfd/hosts/[^ ]*\.h! !g
s!@SRCDIR@/!!g
s! \.\./bfd/hosts/[^ ]*\.h! !g
-
-s/\\\n */ /g
+s! \.\./intl/libintl\.h!!g
s/ *$//
s/ */ /g
s/ *$//
s/ */ /g
-/:$/d
-
-s/\(.\{50\}[^ ]*\) /\1 \\\
- /g
+s/^ */A/
+s/ / \\\
+B/g
+$s/$/ \\/