From b5510883226aede4e54f9271bbfa9d5585038bde Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 28 Feb 2013 21:23:47 +0000 Subject: Remove powerpc32 bounded-pointers code. --- sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S') diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S index 197b85203a..5790eff4c1 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S @@ -20,8 +20,6 @@ #define _ERRNO_H 1 #include #include -#include -#include #define CLONE_VM 0x00000100 #define CLONE_THREAD 0x00010000 @@ -35,10 +33,7 @@ int flags [r5], void *arg [r6], void *parent_tid [r7], void *tls [r8], void *child_tid [r9]); */ -ENTRY (BP_SYM (__clone)) - /* GKM FIXME: add bounds checks, where sensible. */ - DISCARD_BOUNDS (r4) - DISCARD_BOUNDS (r6) +ENTRY (__clone) /* Check for child_stack == NULL || fn == NULL. */ cmpwi cr0,r4,0 @@ -124,6 +119,6 @@ L(badargs): b __syscall_error@local cfi_startproc -END (BP_SYM (__clone)) +END (__clone) -weak_alias (BP_SYM (__clone), BP_SYM (clone)) +weak_alias (__clone, clone) -- cgit 1.4.1