summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/bfd/targmatch.sed
blob: 5bbd17e9ec9db6107758c309574e8a59c591ef54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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/;;//