summaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/powerpc64
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2009-08-22 02:01:51 -0700
committerUlrich Drepper <drepper@redhat.com>2009-08-22 02:01:51 -0700
commit15efafdf07789322219cc8f938ac758f932fe208 (patch)
tree30e249a3b3fed95c18c78e7bffb260d361f9abb6 /sysdeps/powerpc/powerpc64
parent464dc022eb0be4950e2f3a90fe4de6a17dc3d7d7 (diff)
Add sigstack handling to Linux ____longjmp_chk on powerpc.
Diffstat (limited to 'sysdeps/powerpc/powerpc64')
-rw-r--r--sysdeps/powerpc/powerpc64/____longjmp_chk.S39
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>