projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do without ld ENABLE_PLUGINS
[deliverable/binutils-gdb.git]
/
bfd
/
targmatch.sed
diff --git
a/bfd/targmatch.sed
b/bfd/targmatch.sed
index 9effbd579fdcc06331092a4389170807844b4e20..2716876547467d122ad1347022296c6f1eef8616 100644
(file)
--- a/
bfd/targmatch.sed
+++ b/
bfd/targmatch.sed
@@
-1,5
+1,6
@@
1,/START OF targmatch.h/ d
/END OF targmatch.h/,$ d
1,/START OF targmatch.h/ d
/END OF targmatch.h/,$ d
+/^[ ]*case/,/^[ ]*esac/ d
s/^#if/KEEP #if/
s/^#endif/KEEP #endif/
s/^[ ]*#.*$//
s/^#if/KEEP #if/
s/^#endif/KEEP #endif/
s/^[ ]*#.*$//
@@
-20,9
+21,13
@@
H
d
:lab3
G
d
:lab3
G
-s/\(defined (HAVE_\)\([^)]*\)\(.*\n*.*\n*.*\n*.*\)/\1\2\3\
+s/\n/%EOL%/g
+s/\(defined (HAVE_\)\([^)]*\)\(.*\)/\1\2\3\
\&\2 },\
#endif/
\&\2 },\
#endif/
+s/%EOL%/\
+/g
p
p
-s/.*\n*.*\n*.*\n*.*//g
+s/.*//g
+s/\n//g
h
h
This page took
0.023007 seconds
and
4
git commands to generate.