[PATCH] Fix AMD64 backtrace
Jakub Jelinek
jakub@redhat.com
Mon Jan 12 09:58:00 GMT 2004
On Sat, Jan 10, 2004 at 05:10:18PM +0100, Andreas Jaeger wrote:
> --- sysdeps/unix/sysv/linux/x86_64/__start_context.S 27 Aug 2003 23:03:41 -0000 1.2
> +++ sysdeps/unix/sysv/linux/x86_64/__start_context.S 10 Jan 2004 16:09:40 -0000
> @@ -1,4 +1,4 @@
> -/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
> +/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
> This file is part of the GNU C Library.
> Contributed by Andreas Jaeger <aj@suse.de>, 2002.
>
> @@ -33,6 +33,7 @@ ENTRY(__start_context)
> movq %rbx, %rsp
This is not reflected in the unwind info.
Unless %rbx points to a populated stack with correct caller
something needs to be done about it.
> --- sysdeps/x86_64/strcspn.S 29 Apr 2003 22:47:18 -0000 1.2
> +++ sysdeps/x86_64/strcspn.S 10 Jan 2004 16:09:41 -0000
> @@ -1,7 +1,7 @@
> /* strcspn (str, ss) -- Return the length of the initial segment of STR
> which contains no characters from SS.
> For AMD x86-64.
> - Copyright (C) 1994-1997, 2000, 2002, 2003 Free Software Foundation, Inc.
> + Copyright (C) 1994-1997, 2000, 2002, 2003, 2004 Free Software Foundation, Inc.
> This file is part of the GNU C Library.
> Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>.
> Bug fixes by Alan Modra <Alan@SPRI.Levels.UniSA.Edu.Au>.
> @@ -40,6 +40,7 @@ ENTRY (strcspn)
> table. */
> movq %rdi, %r8 /* Save value. */
> subq $256, %rsp /* Make space for 256 bytes. */
> + cfi_adjust_cfa_offset(-256)
Typo/pasto.
Jakub
More information about the Libc-hacker
mailing list