From a9a8b9e7e4aee6a3846ba62703283d10849bc0a6 Mon Sep 17 00:00:00 2001 From: Jing Yu Date: Sun, 30 Jan 2011 22:09:54 -0800 Subject: Upgrade binutils and gold. upgrade binutils-2.19 to binutils-2.20.1 upgrade gold to a relatively new version binutils-20100303 Before, both binutils and gold were built from binutils-2.19. Now binutils will be built from binutils-2.20.1 and gold will be built from binutils-20100303. Change-Id: Ibd0130756723337d2b4783d5b1d5e5b02a1adc83 --- binutils-20100303/bfd/targmatch.sed | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 binutils-20100303/bfd/targmatch.sed (limited to 'binutils-20100303/bfd/targmatch.sed') diff --git a/binutils-20100303/bfd/targmatch.sed b/binutils-20100303/bfd/targmatch.sed new file mode 100644 index 00000000..27168765 --- /dev/null +++ b/binutils-20100303/bfd/targmatch.sed @@ -0,0 +1,33 @@ +1,/START OF targmatch.h/ d +/END OF targmatch.h/,$ d +/^[ ]*case/,/^[ ]*esac/ d +s/^#if/KEEP #if/ +s/^#endif/KEEP #endif/ +s/^[ ]*#.*$// +s/^KEEP #/#/ +s/[ ]*\\$// +t lab1 + :lab1 +s/[| ][| ]*\([^|() ][^|() ]*\)[ ]*|/{ "\1", NULL },/g +s/[| ][| ]*\([^|() ][^|() ]*\)[ ]*)/{ "\1",/g +t lab2 +s/^[ ]*targ_defvec=\([^ ]*\)/#if !defined (SELECT_VECS) || defined (HAVE_\1)/ +t lab3 +s/.*=.*// +s/;;// +b + :lab2 +H +d + :lab3 +G +s/\n/%EOL%/g +s/\(defined (HAVE_\)\([^)]*\)\(.*\)/\1\2\3\ +\&\2 },\ +#endif/ +s/%EOL%/\ +/g +p +s/.*//g +s/\n//g +h -- cgit v1.2.3