summaryrefslogtreecommitdiff
path: root/packages/glibc/2.17/0062-glibc-ppc64le-40.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glibc/2.17/0062-glibc-ppc64le-40.patch')
-rw-r--r--packages/glibc/2.17/0062-glibc-ppc64le-40.patch23
1 files changed, 13 insertions, 10 deletions
diff --git a/packages/glibc/2.17/0062-glibc-ppc64le-40.patch b/packages/glibc/2.17/0062-glibc-ppc64le-40.patch
index 663d2f3..87b707d 100644
--- a/packages/glibc/2.17/0062-glibc-ppc64le-40.patch
+++ b/packages/glibc/2.17/0062-glibc-ppc64le-40.patch
@@ -27,10 +27,15 @@
# the target function for the first time, since it assumed that function
# would always reload its own TOC anyway ...
#
-diff -urN glibc-2.17-c758a686/elf/elf.h glibc-2.17-c758a686/elf/elf.h
---- glibc-2.17-c758a686/elf/elf.h 2014-05-29 14:08:44.000000000 -0500
-+++ glibc-2.17-c758a686/elf/elf.h 2014-05-29 14:08:44.000000000 -0500
-@@ -2273,8 +2273,19 @@
+---
+# elf/elf.h | 11 +++++++
+# sysdeps/powerpc/powerpc64/dl-machine.h | 44 ++++++++++++++++++++++++++++--
+# sysdeps/powerpc/powerpc64/dl-trampoline.S | 8 +++++
+# 3 files changed, 61 insertions(+), 2 deletions(-)
+#
+--- a/elf/elf.h
++++ b/elf/elf.h
+@@ -2270,8 +2270,19 @@
#define DT_PPC64_GLINK (DT_LOPROC + 0)
#define DT_PPC64_OPD (DT_LOPROC + 1)
#define DT_PPC64_OPDSZ (DT_LOPROC + 2)
@@ -50,9 +55,8 @@ diff -urN glibc-2.17-c758a686/elf/elf.h glibc-2.17-c758a686/elf/elf.h
/* ARM specific declarations */
-diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/dl-machine.h glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/dl-machine.h
---- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/dl-machine.h 2014-05-29 14:08:40.000000000 -0500
-+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/dl-machine.h 2014-05-29 14:08:44.000000000 -0500
+--- a/sysdeps/powerpc/powerpc64/dl-machine.h
++++ b/sysdeps/powerpc/powerpc64/dl-machine.h
@@ -425,6 +425,42 @@
return lazy;
}
@@ -132,9 +136,8 @@ diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/dl-machine.h glibc-2.17-
#else
elf_machine_fixup_plt (map, sym_map, reloc, reloc_addr, value);
#endif
-diff -urN glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/dl-trampoline.S glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/dl-trampoline.S
---- glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/dl-trampoline.S 2014-05-29 14:08:40.000000000 -0500
-+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/dl-trampoline.S 2014-05-29 14:08:44.000000000 -0500
+--- a/sysdeps/powerpc/powerpc64/dl-trampoline.S
++++ b/sysdeps/powerpc/powerpc64/dl-trampoline.S
@@ -74,6 +74,10 @@
/* Prepare for calling the function returned by fixup. */
PPC64_LOAD_FUNCPTR r3