summaryrefslogtreecommitdiff
path: root/packages/glibc/2.17/0058-glibc-ppc64le-36.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-02-11 02:00:59 (GMT)
committerAlexey Neyman <stilor@att.net>2022-02-11 08:47:51 (GMT)
commit86c2982568de1ad4d4cc12a65b19231331484405 (patch)
tree2e0b3fb78c30877c0c152d59d0e0fff817b73822 /packages/glibc/2.17/0058-glibc-ppc64le-36.patch
parent1210b0c2f45e32ef0867ca00e16b6aadb6a81bf9 (diff)
Run patches thru `manage-packages -P`
This refreshes the line numbers, removes any fuzz (which would make any future forward ports easier) and standardizes the patch/file headers (which makes them easier to read). Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/glibc/2.17/0058-glibc-ppc64le-36.patch')
-rw-r--r--packages/glibc/2.17/0058-glibc-ppc64le-36.patch17
1 files changed, 10 insertions, 7 deletions
diff --git a/packages/glibc/2.17/0058-glibc-ppc64le-36.patch b/packages/glibc/2.17/0058-glibc-ppc64le-36.patch
index fbe351c..b710258 100644
--- a/packages/glibc/2.17/0058-glibc-ppc64le-36.patch
+++ b/packages/glibc/2.17/0058-glibc-ppc64le-36.patch
@@ -19,10 +19,14 @@
# The patch also fixes a bug in overflow checking for the R_PPC64_ADDR30
# and R_PPC64_ADDR32 relocations.
#
-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 13:17:35.000000000 -0500
-+++ glibc-2.17-c758a686/elf/elf.h 2014-05-29 13:17:35.000000000 -0500
-@@ -2243,6 +2243,17 @@
+---
+# elf/elf.h | 11 +++++++++++
+# sysdeps/powerpc/powerpc64/dl-machine.h | 24 ++++++++++++++++++++++--
+# 2 files changed, 33 insertions(+), 2 deletions(-)
+#
+--- a/elf/elf.h
++++ b/elf/elf.h
+@@ -2240,6 +2240,17 @@
#define R_PPC64_DTPREL16_HIGHERA 104 /* half16 (sym+add)@dtprel@highera */
#define R_PPC64_DTPREL16_HIGHEST 105 /* half16 (sym+add)@dtprel@highest */
#define R_PPC64_DTPREL16_HIGHESTA 106 /* half16 (sym+add)@dtprel@highesta */
@@ -40,9 +44,8 @@ diff -urN glibc-2.17-c758a686/elf/elf.h glibc-2.17-c758a686/elf/elf.h
/* GNU extension to support local ifunc. */
#define R_PPC64_JMP_IREL 247
-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 13:17:34.000000000 -0500
-+++ glibc-2.17-c758a686/sysdeps/powerpc/powerpc64/dl-machine.h 2014-05-29 13:17:35.000000000 -0500
+--- a/sysdeps/powerpc/powerpc64/dl-machine.h
++++ b/sysdeps/powerpc/powerpc64/dl-machine.h
@@ -663,11 +663,25 @@
case R_PPC64_TPREL16_HI: