[packages/gcc] remove obsolete patches.
pluto
pluto at pld-linux.org
Sun Sep 9 19:44:21 CEST 2012
commit 13a7dc3f39c936dbcc4d461b09fea632cfc72ac1
Author: Paweł Sikora <pawel.sikora at agmk.net>
Date: Sun Sep 9 19:44:03 2012 +0200
remove obsolete patches.
gcc-hash-style-gnu.patch | 122 ----------------------------
gcc-python-pretty-printer-bool-vector.patch | 85 -------------------
2 files changed, 207 deletions(-)
---
diff --git a/gcc-hash-style-gnu.patch b/gcc-hash-style-gnu.patch
deleted file mode 100644
index 3c19b2b..0000000
--- a/gcc-hash-style-gnu.patch
+++ /dev/null
@@ -1,122 +0,0 @@
---- gcc-4.2.0-20070316/gcc/config/alpha/linux-elf.h.orig 2006-02-18 06:12:51.000000000 -0500
-+++ gcc-4.2.0-20070316/gcc/config/alpha/linux-elf.h 2007-04-18 07:14:56.875631582 -0400
-@@ -40,7 +40,7 @@
-
- #define ELF_DYNAMIC_LINKER LINUX_DYNAMIC_LINKER
-
--#define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \
-+#define LINK_SPEC "-m elf64alpha --hash-style=gnu %{G*} %{relax:-relax} \
- %{O*:-O3} %{!O*:-O1} \
- %{shared:-shared} \
- %{!shared: \
---- gcc-4.2.0-20070316/gcc/config/s390/linux.h.orig 2006-12-12 10:21:53.000000000 -0500
-+++ gcc-4.2.0-20070316/gcc/config/s390/linux.h 2007-04-18 07:14:56.875631582 -0400
-@@ -78,7 +78,7 @@
-
- #undef LINK_SPEC
- #define LINK_SPEC \
-- "%{m31:-m elf_s390}%{m64:-m elf64_s390} \
-+ "%{m31:-m elf_s390}%{m64:-m elf64_s390} --hash-style=gnu \
- %{shared:-shared} \
- %{!shared: \
- %{static:-static} \
---- gcc-4.2.0-20070316/gcc/config/sparc/linux.h.orig 2006-02-18 06:12:51.000000000 -0500
-+++ gcc-4.2.0-20070316/gcc/config/sparc/linux.h 2007-04-18 07:14:56.875631582 -0400
-@@ -133,7 +133,7 @@
-
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
-+#define LINK_SPEC "-m elf32_sparc --hash-style=gnu -Y P,/usr/lib %{shared:-shared} \
- %{!mno-relax:%{!r:-relax}} \
- %{!shared: \
- %{!ibcs: \
---- gcc-4.2.0-20070316/gcc/config/sparc/linux64.h.orig 2006-03-02 17:47:02.000000000 -0500
-+++ gcc-4.2.0-20070316/gcc/config/sparc/linux64.h 2007-04-18 07:16:49.644880415 -0400
-@@ -121,7 +121,7 @@
- { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \
- { "link_arch", LINK_ARCH_SPEC },
-
--#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \
-+#define LINK_ARCH32_SPEC "-m elf32_sparc --hash-style=gnu -Y P,%R/usr/lib %{shared:-shared} \
- %{!shared: \
- %{!ibcs: \
- %{!static: \
-@@ -130,7 +130,7 @@
- %{static:-static}}} \
- "
-
--#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
-+#define LINK_ARCH64_SPEC "-m elf64_sparc --hash-style=gnu -Y P,%R/usr/lib64 %{shared:-shared} \
- %{!shared: \
- %{!ibcs: \
- %{!static: \
-@@ -211,7 +211,7 @@
- #else /* !SPARC_BI_ARCH */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
-+#define LINK_SPEC "-m elf64_sparc --hash-style=gnu -Y P,%R/usr/lib64 %{shared:-shared} \
- %{!shared: \
- %{!ibcs: \
- %{!static: \
---- gcc-4.2.0-20070316/gcc/config/i386/linux.h.orig 2006-04-06 18:16:11.000000000 -0400
-+++ gcc-4.2.0-20070316/gcc/config/i386/linux.h 2007-04-18 07:14:56.875631582 -0400
-@@ -109,7 +109,7 @@
- { "dynamic_linker", LINUX_DYNAMIC_LINKER }
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m %(link_emulation) %{shared:-shared} \
-+#define LINK_SPEC "-m %(link_emulation) --hash-style=gnu %{shared:-shared} \
- %{!shared: \
- %{!ibcs: \
- %{!static: \
---- gcc-4.2.0-20070316/gcc/config/i386/linux64.h.orig 2006-02-18 06:12:51.000000000 -0500
-+++ gcc-4.2.0-20070316/gcc/config/i386/linux64.h 2007-04-18 07:14:56.875631582 -0400
-@@ -65,7 +65,7 @@
- #endif
-
- #undef LINK_SPEC
--#define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} \
-+#define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} --hash-style=gnu \
- %{shared:-shared} \
- %{!shared: \
- %{!static: \
---- gcc-4.2.0-20070316/gcc/config/ia64/linux.h.orig 2006-12-12 10:21:53.000000000 -0500
-+++ gcc-4.2.0-20070316/gcc/config/ia64/linux.h 2007-04-18 07:14:56.875631582 -0400
-@@ -40,7 +40,7 @@
- #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2"
-
- #undef LINK_SPEC
--#define LINK_SPEC "\
-+#define LINK_SPEC "--hash-style=gnu \
- %{shared:-shared} \
- %{!shared: \
- %{!static: \
---- gcc-4.2.0-20070316/gcc/config/rs6000/sysv4.h.orig 2007-03-09 19:59:15.000000000 -0500
-+++ gcc-4.2.0-20070316/gcc/config/rs6000/sysv4.h 2007-04-18 07:14:56.872300144 -0400
-@@ -902,7 +902,7 @@
- #define LINUX_DYNAMIC_LINKER \
- CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
-
--#define LINK_OS_LINUX_SPEC "-m elf32ppclinux %{!shared: %{!static: \
-+#define LINK_OS_LINUX_SPEC "-m elf32ppclinux --hash-style=gnu %{!shared: %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}}}"
-
---- gcc-4.2.0-20070316/gcc/config/rs6000/linux64.h.orig 2006-07-14 11:54:23.000000000 -0400
-+++ gcc-4.2.0-20070316/gcc/config/rs6000/linux64.h 2007-04-18 07:18:14.042413298 -0400
-@@ -351,11 +351,11 @@
- CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER64, UCLIBC_DYNAMIC_LINKER64)
-
-
--#define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux %{!shared: %{!static: \
-+#define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux --hash-style=gnu %{!shared: %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER32 "}}}"
-
--#define LINK_OS_LINUX_SPEC64 "-m elf64ppc %{!shared: %{!static: \
-+#define LINK_OS_LINUX_SPEC64 "-m elf64ppc --hash-style=gnu %{!shared: %{!static: \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}}"
-
diff --git a/gcc-python-pretty-printer-bool-vector.patch b/gcc-python-pretty-printer-bool-vector.patch
deleted file mode 100644
index bf4f531..0000000
--- a/gcc-python-pretty-printer-bool-vector.patch
+++ /dev/null
@@ -1,85 +0,0 @@
---- libstdc++-v3/python/libstdcxx/v6/printers.py (revision 163281)
-+++ libstdc++-v3/python/libstdcxx/v6/printers.py (revision 163282)
-@@ -153,37 +153,71 @@
- "Print a std::vector"
-
- class _iterator:
-- def __init__ (self, start, finish):
-- self.item = start
-- self.finish = finish
-+ def __init__ (self, start, finish, bitvec):
-+ self.bitvec = bitvec
-+ if bitvec:
-+ self.item = start['_M_p']
-+ self.so = start['_M_offset']
-+ self.finish = finish['_M_p']
-+ self.fo = finish['_M_offset']
-+ itype = self.item.dereference().type
-+ self.isize = 8 * itype.sizeof
-+ else:
-+ self.item = start
-+ self.finish = finish
- self.count = 0
-
- def __iter__(self):
- return self
-
- def next(self):
-- if self.item == self.finish:
-- raise StopIteration
- count = self.count
- self.count = self.count + 1
-- elt = self.item.dereference()
-- self.item = self.item + 1
-- return ('[%d]' % count, elt)
-+ if self.bitvec:
-+ if self.item == self.finish and self.so >= self.fo:
-+ raise StopIteration
-+ elt = self.item.dereference()
-+ obit = 1 if elt & (1 << self.so) else 0
-+ self.so = self.so + 1
-+ if self.so >= self.isize:
-+ self.item = self.item + 1
-+ self.so = 0
-+ return ('[%d]' % count, obit)
-+ else:
-+ if self.item == self.finish:
-+ raise StopIteration
-+ elt = self.item.dereference()
-+ self.item = self.item + 1
-+ return ('[%d]' % count, elt)
-
- def __init__(self, typename, val):
- self.typename = typename
- self.val = val
-+ self.is_bool = val.type.template_argument(0).code == gdb.TYPE_CODE_BOOL
-
- def children(self):
- return self._iterator(self.val['_M_impl']['_M_start'],
-- self.val['_M_impl']['_M_finish'])
-+ self.val['_M_impl']['_M_finish'],
-+ self.is_bool)
-
- def to_string(self):
- start = self.val['_M_impl']['_M_start']
- finish = self.val['_M_impl']['_M_finish']
- end = self.val['_M_impl']['_M_end_of_storage']
-- return ('%s of length %d, capacity %d'
-- % (self.typename, int (finish - start), int (end - start)))
-+ if self.is_bool:
-+ start = self.val['_M_impl']['_M_start']['_M_p']
-+ so = self.val['_M_impl']['_M_start']['_M_offset']
-+ finish = self.val['_M_impl']['_M_finish']['_M_p']
-+ fo = self.val['_M_impl']['_M_finish']['_M_offset']
-+ itype = start.dereference().type
-+ bl = 8 * itype.sizeof
-+ length = (bl - so) + bl * ((finish - start) - 1) + fo
-+ capacity = bl * (end - start)
-+ return ('%s<bool> of length %d, capacity %d'
-+ % (self.typename, int (length), int (capacity)))
-+ else:
-+ return ('%s of length %d, capacity %d'
-+ % (self.typename, int (finish - start), int (end - start)))
-
- def display_hint(self):
- return 'array'
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gcc.git/commitdiff/13a7dc3f39c936dbcc4d461b09fea632cfc72ac1
More information about the pld-cvs-commit
mailing list