summaryrefslogtreecommitdiff
path: root/patches/glibc/2.3.6/maybe/101-allow-gcc-4.0-powerpc64.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-01-03 22:40:22 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-01-03 22:40:22 (GMT)
commit6568c1a39a29316caf7658f01955c0790639cef0 (patch)
tree37fcc27c967764f9f58c8337b4ce7f63788d26f1 /patches/glibc/2.3.6/maybe/101-allow-gcc-4.0-powerpc64.patch
parenta28b59354823020a4e0676f40646c60da4f044db (diff)
libc-glibc: remove 2.3.6
This is an obsolete version which is no longer used by any sample (the only user, the ia64 sample, has been removed). It also makes the code path a bit complex, with twists just to accomodate that version. Removing the version will make those twists go away, and will ease commonalisation of glibc and eglibc in the future (hopefully!). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'patches/glibc/2.3.6/maybe/101-allow-gcc-4.0-powerpc64.patch')
-rw-r--r--patches/glibc/2.3.6/maybe/101-allow-gcc-4.0-powerpc64.patch65
1 files changed, 0 insertions, 65 deletions
diff --git a/patches/glibc/2.3.6/maybe/101-allow-gcc-4.0-powerpc64.patch b/patches/glibc/2.3.6/maybe/101-allow-gcc-4.0-powerpc64.patch
deleted file mode 100644
index a729541..0000000
--- a/patches/glibc/2.3.6/maybe/101-allow-gcc-4.0-powerpc64.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-Fixes:
-
-In file included from dynamic-link.h:22,
- from dl-reloc.c:269:
-../sysdeps/powerpc/powerpc64/dl-machine.h: In function '_dl_relocate_object':
-../sysdeps/powerpc/powerpc64/dl-machine.h:573: error: invalid storage class for function 'elf_machine_rela_relative'
-../sysdeps/powerpc/powerpc64/dl-machine.h:607: error: invalid storage class for function 'elf_machine_rela'
-../sysdeps/powerpc/powerpc64/dl-machine.h:889: error: invalid storage class for function 'elf_machine_lazy_rel'
-make[2]: Leaving directory `/home/dank/queue/jobdir.fast2/crosstool-dev/build/powerpc64-unknown-linux-gnu/gcc-4.0-20050305-glibc-2.3-20050307/glibc-2.3-20050307/elf'
-
---- glibc-2.3.6.orig/sysdeps/powerpc/powerpc64/dl-machine.h Thu Mar 17 13:35:23 2005
-+++ glibc-2.3.6/sysdeps/powerpc/powerpc64/dl-machine.h Thu Mar 17 13:37:12 2005
-@@ -567,8 +567,14 @@
- const Elf64_Sym *refsym)
- attribute_hidden;
-
--auto inline void
--__attribute__ ((always_inline))
-+#if __GNUC__ >= 4
-+ auto inline void
-+#else
-+ static inline void
-+#endif
-+#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
-+ __attribute ((always_inline))
-+#endif
- elf_machine_rela_relative (Elf64_Addr l_addr, const Elf64_Rela *reloc,
- void *const reloc_addr_arg)
- {
-@@ -599,8 +605,14 @@
-
- /* Perform the relocation specified by RELOC and SYM (which is fully
- resolved). MAP is the object containing the reloc. */
--auto inline void
--__attribute__ ((always_inline))
-+#if __GNUC__ >= 4
-+ auto inline void
-+#else
-+ static inline void
-+#endif
-+#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
-+ __attribute ((always_inline))
-+#endif
- elf_machine_rela (struct link_map *map,
- const Elf64_Rela *reloc,
- const Elf64_Sym *sym,
-@@ -885,8 +897,14 @@
- MODIFIED_CODE_NOQUEUE (reloc_addr);
- }
-
--auto inline void
--__attribute__ ((always_inline))
-+#if __GNUC__ >= 4
-+ auto inline void
-+#else
-+ static inline void
-+#endif
-+#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
-+ __attribute ((always_inline))
-+#endif
- elf_machine_lazy_rel (struct link_map *map,
- Elf64_Addr l_addr, const Elf64_Rela *reloc)
- {
-
-Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>