Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 211351 Details for
Bug 293637
sys-libs/glibc-2.11[hardened] call to nonexistent __GI___fortify_fail breaks static linking
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
glibc-hidden-jumptarget-fortify-fail.patch
glibc-hidden-jumptarget-fortify-fail.patch (text/plain), 1.94 KB, created by
SpanKY
on 2009-11-27 19:19:03 UTC
(
hide
)
Description:
glibc-hidden-jumptarget-fortify-fail.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2009-11-27 19:19:03 UTC
Size:
1.94 KB
patch
obsolete
>diff --git a/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S b/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S >index a07e6c8..f1b3a77 100644 >--- a/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S >+++ b/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S >@@ -33,10 +33,10 @@ longjmp_msg: > cfi_register(%ebx,%ecx); \ > LOAD_PIC_REG (bx); \ > leal longjmp_msg@GOTOFF(%ebx), %eax; \ >- call __GI___fortify_fail@PLT >+ call HIDDEN_JUMPTARGET(__fortify_fail)@PLT > #else > # define CALL_FAIL movl $longjmp_msg, %eax; \ >- call __fortify_fail >+ call HIDDEN_JUMPTARGET(__fortify_fail) > #endif > > >diff --git a/sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S b/sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S >index e097c22..def85da 100644 >--- a/sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S >+++ b/sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S >@@ -30,19 +30,13 @@ longjmp_msg: > > #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 --git a/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S b/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S >index 5e11540..91432b1 100644 >--- a/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S >+++ b/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S >@@ -31,10 +31,10 @@ longjmp_msg: > > #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) \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 293637
:
210583
|
211348
|
211349
| 211351 |
211527