summaryrefslogtreecommitdiff
path: root/patches/glibc/ports-2.10.1/320-hppa-pie.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-11-13 20:37:18 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-11-13 20:37:18 (GMT)
commit4b173045e97ab47f92bc27e9bef3a04f5742b263 (patch)
tree5c907ac100fc957240f4936d58c16a26554cfcdf /patches/glibc/ports-2.10.1/320-hppa-pie.patch
parent590ca63f0dc6a548e2254d71b065efbf38ed85d8 (diff)
libc/glibc: add 2.10.1
Woo... It seems the glibc guys finally decided that tarballs were not deprecated, in fact. The patchset was vampirised from Gentoo (kudos, guys!), and applies to glibc+ports, so that's why it's been added as a patchset against ports, not against glibc.
Diffstat (limited to 'patches/glibc/ports-2.10.1/320-hppa-pie.patch')
-rw-r--r--patches/glibc/ports-2.10.1/320-hppa-pie.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/patches/glibc/ports-2.10.1/320-hppa-pie.patch b/patches/glibc/ports-2.10.1/320-hppa-pie.patch
new file mode 100644
index 0000000..f17507d
--- /dev/null
+++ b/patches/glibc/ports-2.10.1/320-hppa-pie.patch
@@ -0,0 +1,29 @@
+
+
+diff -durN glibc-2.10.1.orig/glibc-ports-2.10.1/sysdeps/hppa/elf/start.S glibc-2.10.1/glibc-ports-2.10.1/sysdeps/hppa/elf/start.S
+--- glibc-2.10.1.orig/glibc-ports-2.10.1/sysdeps/hppa/elf/start.S 2009-05-16 10:36:20.000000000 +0200
++++ glibc-2.10.1/glibc-ports-2.10.1/sysdeps/hppa/elf/start.S 2009-11-13 00:50:28.000000000 +0100
+@@ -96,16 +96,16 @@
+
+ #if SHARED
+ /* load main (1st argument) */
+- addil LR'.Lpmain, %r19
+- ldw RR'.Lpmain(%r1), %r26
++ addil LT'.Lpmain, %r19
++ ldw RT'.Lpmain(%r1), %r26
+ ldw 0(%r26),%r26
+ /* void (*init) (void) (4th argument) */
+- addil LR'.Lp__libc_csu_init, %r19
+- ldw RR'.Lp__libc_csu_init(%r1), %r23
++ addil LT'.Lp__libc_csu_init, %r19
++ ldw RT'.Lp__libc_csu_init(%r1), %r23
+ ldw 0(%r23), %r23
+ /* void (*fini) (void) (5th argument) */
+- addil LR'.Lp__libc_csu_fini, %r19
+- ldw RR'.Lp__libc_csu_fini(%r1), %r22
++ addil LT'.Lp__libc_csu_fini, %r19
++ ldw RT'.Lp__libc_csu_fini(%r1), %r22
+ ldw 0(%r22), %r22
+ #else
+ /* load main (1st argument) */
+diff -durN glibc-2.10.1.orig/ports/sysdeps/hppa/elf/start.S glibc-2.10.1/ports/sysdeps/hppa/elf/start.S