source: trunk/src/binutils/bfd/targmatch.sed@ 1036

Last change on this file since 1036 was 610, checked in by bird, 22 years ago

This commit was generated by cvs2svn to compensate for changes in r609,
which included commits to RCS files with non-trunk default branches.

  • Property cvs2svn:cvs-rev set to 1.1.1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 526 bytes
Line 
11,/START OF targmatch.h/ d
2/END OF targmatch.h/,$ d
3/^[ ]*case/,/^[ ]*esac/ d
4s/^#if/KEEP #if/
5s/^#endif/KEEP #endif/
6s/^[ ]*#.*$//
7s/^KEEP #/#/
8s/[ ]*\\$//
9t lab1
10 :lab1
11s/[| ][| ]*\([^|() ][^|() ]*\)[ ]*|/{ "\1", NULL },/g
12s/[| ][| ]*\([^|() ][^|() ]*\)[ ]*)/{ "\1",/g
13t lab2
14s/^[ ]*targ_defvec=\([^ ]*\)/#if !defined (SELECT_VECS) || defined (HAVE_\1)/
15t lab3
16s/.*=.*//
17s/;;//
18b
19 :lab2
20H
21d
22 :lab3
23G
24s/\n/%EOL%/g
25s/\(defined (HAVE_\)\([^)]*\)\(.*\)/\1\2\3\
26\&\2 },\
27#endif/
28s/%EOL%/\
29/g
30p
31s/.*//g
32s/\n//g
33h
Note: See TracBrowser for help on using the repository browser.