diff options
author | Andreas Schwab <schwab@redhat.com> | 2009-08-22 02:01:51 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-08-22 02:01:51 -0700 |
commit | 15efafdf07789322219cc8f938ac758f932fe208 (patch) | |
tree | 30e249a3b3fed95c18c78e7bffb260d361f9abb6 /sysdeps/powerpc/powerpc64 | |
parent | 464dc022eb0be4950e2f3a90fe4de6a17dc3d7d7 (diff) | |
download | glibc-15efafdf07789322219cc8f938ac758f932fe208.tar glibc-15efafdf07789322219cc8f938ac758f932fe208.tar.gz glibc-15efafdf07789322219cc8f938ac758f932fe208.tar.bz2 glibc-15efafdf07789322219cc8f938ac758f932fe208.zip |
Add sigstack handling to Linux ____longjmp_chk on powerpc.
Diffstat (limited to 'sysdeps/powerpc/powerpc64')
-rw-r--r-- | sysdeps/powerpc/powerpc64/____longjmp_chk.S | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/sysdeps/powerpc/powerpc64/____longjmp_chk.S b/sysdeps/powerpc/powerpc64/____longjmp_chk.S deleted file mode 100644 index 56549021aa..0000000000 --- a/sysdeps/powerpc/powerpc64/____longjmp_chk.S +++ /dev/null @@ -1,39 +0,0 @@ -/* Copyright (C) 2009 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -#include <sysdep.h> -#include <rtld-global-offsets.h> - - .section .rodata.str1.1,"aMS",@progbits,1 -.LC0: - .string "longjmp causes uninitialized stack frame" - .section .toc,"aw" -.LC1: - .tc .LC0[TC],.LC0 - .text - -#define __longjmp ____longjmp_chk - -#define CHECK_SP(reg) \ - cmpld reg, r1; \ - bge+ .Lok; \ - ld r3,.LC1@toc(2); \ - bl HIDDEN_JUMPTARGET (__fortify_fail); \ -.Lok: - -#include <__longjmp-common.S> |