summaryrefslogtreecommitdiff
path: root/toolchain/glibc/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-03-24 12:07:28 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2012-03-24 12:07:28 +0100
commitac46e350e174e78a55a348eda775665ae0eb3277 (patch)
tree5574ba5e9a7108554683edb25bcd4b99599b8fa7 /toolchain/glibc/patches
parent89aa2adc650176b493075e1d8e64f1b6cc635d90 (diff)
update gcc, glibc and fix build breakage
Diffstat (limited to 'toolchain/glibc/patches')
-rw-r--r--toolchain/glibc/patches/longjmp_chk.patch56
1 files changed, 0 insertions, 56 deletions
diff --git a/toolchain/glibc/patches/longjmp_chk.patch b/toolchain/glibc/patches/longjmp_chk.patch
deleted file mode 100644
index b2590460c..000000000
--- a/toolchain/glibc/patches/longjmp_chk.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-diff -Nur glibc-2.11.orig/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S glibc-2.11/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
---- glibc-2.11.orig/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S 2009-10-30 18:17:08.000000000 +0100
-+++ glibc-2.11/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S 2010-02-19 08:06:22.000000000 +0100
-@@ -33,10 +33,10 @@
- cfi_register(%ebx,%ecx); \
- LOAD_PIC_REG (bx); \
- leal longjmp_msg@GOTOFF(%ebx), %eax; \
-- call __GI___fortify_fail@PLT
-+ call HIDDEN_JUMPTARGET(__fortify_fail)
- #else
- # define CALL_FAIL movl $longjmp_msg, %eax; \
-- call __fortify_fail
-+ call HIDDEN_JUMPTARGET(__fortify_fail)
- #endif
-
-
-diff -Nur glibc-2.11.orig/sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S glibc-2.11/sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S
---- glibc-2.11.orig/sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S 2009-10-30 18:17:08.000000000 +0100
-+++ glibc-2.11/sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S 2010-02-19 08:06:22.000000000 +0100
-@@ -30,19 +30,13 @@
-
- #define __longjmp ____longjmp_chk
-
--#ifdef PIC
--# define CALL_FAIL __GI___fortify_fail
--#else
--# define CALL_FAIL __fortify_fail
--#endif
--
- #define CHECK_RSP(reg) \
- cmp.ltu p0, p8 = reg, r12; \
- (p8) br.cond.dpnt .Lok;; \
- addl r28 = @ltoffx(longjmp_msg#), r1;; \
- ld8.mov r28 = [r28], longjmp_msg#;; \
- ld8 out0 = [r28]; \
-- br.call.sptk.many b0 = CALL_FAIL#;; \
-+ br.call.sptk.many b0 = HIDDEN_JUMPTARGET(__fortify_fail)#;; \
- .Lok:
-
- #include "__longjmp.S"
-diff -Nur glibc-2.11.orig/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S glibc-2.11/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
---- glibc-2.11.orig/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S 2009-10-30 18:17:08.000000000 +0100
-+++ glibc-2.11/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S 2010-02-19 08:06:22.000000000 +0100
-@@ -31,10 +31,10 @@
-
- #ifdef PIC
- # define CALL_FAIL leaq longjmp_msg(%rip), %rdi; \
-- call __GI___fortify_fail
-+ call HIDDEN_JUMPTARGET(__fortify_fail)
- #else
- # define CALL_FAIL movq $longjmp_msg, %rdi; \
-- call __fortify_fail
-+ call HIDDEN_JUMPTARGET(__fortify_fail)
- #endif
-
- #define CHECK_RSP(reg) \