mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
2002-12-14 Olaf Hering <olh@suse.de>
* sysdeps/powerpc/bits/setjmp.h: Include <bits/wordsize.h>. * sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load.
This commit is contained in:
@ -27,6 +27,8 @@
|
|||||||
assembler easier. Naturally, user code should not depend on
|
assembler easier. Naturally, user code should not depend on
|
||||||
either representation. */
|
either representation. */
|
||||||
|
|
||||||
|
#include <bits/wordsize.h>
|
||||||
|
|
||||||
#if defined __USE_MISC || defined _ASM
|
#if defined __USE_MISC || defined _ASM
|
||||||
# define JB_GPR1 0 /* Also known as the stack pointer */
|
# define JB_GPR1 0 /* Also known as the stack pointer */
|
||||||
# define JB_GPR2 1
|
# define JB_GPR2 1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* setjmp for PowerPC64.
|
/* setjmp for PowerPC64.
|
||||||
Copyright (C) 1995, 1996, 1997, 1999, 2000, 2001, 2002
|
Copyright (C) 1995, 1996, 1997, 1999, 2000, 2001, 2002
|
||||||
Free Software Foundation, Inc.
|
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
|
||||||
@ -42,7 +42,7 @@ ___sigsetjmp:
|
|||||||
std r0,(JB_CR*8)(3)
|
std r0,(JB_CR*8)(3)
|
||||||
std r17,((JB_GPRS+3)*8)(3)
|
std r17,((JB_GPRS+3)*8)(3)
|
||||||
stfd fp17,((JB_FPRS+3)*8)(3)
|
stfd fp17,((JB_FPRS+3)*8)(3)
|
||||||
std r18,((JB_GPRS+8)*8)(3)
|
std r18,((JB_GPRS+4)*8)(3)
|
||||||
stfd fp18,((JB_FPRS+4)*8)(3)
|
stfd fp18,((JB_FPRS+4)*8)(3)
|
||||||
std r19,((JB_GPRS+5)*8)(3)
|
std r19,((JB_GPRS+5)*8)(3)
|
||||||
stfd fp19,((JB_FPRS+5)*8)(3)
|
stfd fp19,((JB_FPRS+5)*8)(3)
|
||||||
@ -84,4 +84,3 @@ ENTRY (BP_SYM (__setjmp))
|
|||||||
END (BP_SYM (__setjmp))
|
END (BP_SYM (__setjmp))
|
||||||
|
|
||||||
strong_alias (__setjmp, setjmp)
|
strong_alias (__setjmp, setjmp)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user