mirror of
https://sourceware.org/git/glibc.git
synced 2025-09-01 05:02:03 +03:00
Fix _FORITY_SOURCE version of longjmp for Linux/x86-64.
This commit is contained in:
committed by
Ulrich Drepper
parent
389f72a5da
commit
c044aa7535
@@ -1,3 +1,11 @@
|
|||||||
|
2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
|
||||||
|
Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
[BZ #11968]
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
|
||||||
|
(____longjmp_chk): Use %ebx for saving value across system call.
|
||||||
|
Add unwind info.
|
||||||
|
|
||||||
2010-09-06 Andreas Schwab <schwab@redhat.com>
|
2010-09-06 Andreas Schwab <schwab@redhat.com>
|
||||||
|
|
||||||
* manual/Makefile: Don't mix pattern rules with normal rules.
|
* manual/Makefile: Don't mix pattern rules with normal rules.
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2001,2004,2005,2006,2009 Free Software Foundation, Inc.
|
/* Copyright (C) 2001,2004,2005,2006,2009,2010 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@@ -63,7 +63,9 @@ ENTRY(____longjmp_chk)
|
|||||||
|
|
||||||
/* Save function parameters. */
|
/* Save function parameters. */
|
||||||
movq %rdi, %r10
|
movq %rdi, %r10
|
||||||
movl %esi, %ecx
|
cfi_register (%rdi, %r10)
|
||||||
|
movl %esi, %ebx
|
||||||
|
cfi_register (%rsi, %rbx)
|
||||||
|
|
||||||
xorl %edi, %edi
|
xorl %edi, %edi
|
||||||
leaq -24(%rsp), %rsi
|
leaq -24(%rsp), %rsi
|
||||||
@@ -84,7 +86,9 @@ ENTRY(____longjmp_chk)
|
|||||||
.Lfail: CALL_FAIL
|
.Lfail: CALL_FAIL
|
||||||
|
|
||||||
.Lok2: movq %r10, %rdi
|
.Lok2: movq %r10, %rdi
|
||||||
movl %ecx, %esi
|
cfi_restore (%rdi)
|
||||||
|
movl %ebx, %esi
|
||||||
|
cfi_restore (%rsi)
|
||||||
|
|
||||||
.Lok: /* We add unwind information for the target here. */
|
.Lok: /* We add unwind information for the target here. */
|
||||||
cfi_def_cfa(%rdi, 0)
|
cfi_def_cfa(%rdi, 0)
|
||||||
|
Reference in New Issue
Block a user