mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
18 lines
387 B
Sed
18 lines
387 B
Sed
|
1,/START OF targmatch.h/ d
|
||
|
/END OF targmatch.h/,$ d
|
||
|
s/^#if/KEEP #if/
|
||
|
s/^#endif/KEEP #endif/
|
||
|
s/^[ ]*#.*$//
|
||
|
s/^KEEP #/#/
|
||
|
s/[ ]*\\$//
|
||
|
s/[| ][| ]*\([^|() ][^|() ]*\)[ ]*\|/{ "\1", NULL },/g
|
||
|
s/[| ][| ]*\([^|() ][^|() ]*\)[ ]*)/{ "\1",/g
|
||
|
s/^[ ]*targ_defvec=\([^ ]*\)/#if !defined (SELECT_VECS) || defined (HAVE_\1)\
|
||
|
\&\1\
|
||
|
#else\
|
||
|
UNSUPPORTED_TARGET\
|
||
|
#endif\
|
||
|
},/
|
||
|
s/.*=.*//
|
||
|
s/;;//
|