aboutsummaryrefslogtreecommitdiff
path: root/bfd/targmatch.sed
blob: f681aac4b9e465ef3e4dd601ec9a4c25e808f685 (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/;;//