aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/bp-asm.h
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>2000-07-21 07:43:25 +0000
committerGreg McGary <greg@mcgary.org>2000-07-21 07:43:25 +0000
commitdf0f2bf8cccb0d1c4fc829eac281ae8f0ecef734 (patch)
tree87acdf8e6dc9683089c6e79467adea259d105f9d /sysdeps/powerpc/bp-asm.h
parent137bca87e71138610a5b57e64b5e2619d6889853 (diff)
downloadglibc-df0f2bf8cccb0d1c4fc829eac281ae8f0ecef734.tar
glibc-df0f2bf8cccb0d1c4fc829eac281ae8f0ecef734.tar.gz
glibc-df0f2bf8cccb0d1c4fc829eac281ae8f0ecef734.tar.bz2
glibc-df0f2bf8cccb0d1c4fc829eac281ae8f0ecef734.zip
* sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from UNCHECK_BOUNDS.
* sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant. * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Wrap bounds around argv & envp and each of their string members. * sysdeps/powerpc/elf/start.S: Designate BP symbols. * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point symbol in BP_SYM (). Discard bounds of address arg. * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Discard bounds on address arg, add bounds to return value. 2000-07-21 Greg McGary <greg@mcgary.org> * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from UNCHECK_BOUNDS. * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant. * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Wrap bounds around argv & envp and each of their string members. * sysdeps/powerpc/elf/start.S: Designate BP symbols. * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point symbol in BP_SYM (). Discard bounds of address arg. * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Discard bounds on address arg, add bounds to return value.
Diffstat (limited to 'sysdeps/powerpc/bp-asm.h')
-rw-r--r--sysdeps/powerpc/bp-asm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/bp-asm.h b/sysdeps/powerpc/bp-asm.h
index e7a364007c..5ae4d77e6a 100644
--- a/sysdeps/powerpc/bp-asm.h
+++ b/sysdeps/powerpc/bp-asm.h
@@ -30,7 +30,7 @@
/* Don't check bounds, just convert the BP register to its simple
pointer value. */
-# define UNCHECK_BOUNDS(rBP) \
+# define DISCARD_BOUNDS(rBP) \
lwz rBP, oVALUE(rBP)
/* Check low bound, with the side effect that the BP register is converted
@@ -99,7 +99,7 @@
#else
-# define UNCHECK_BOUNDS(rBP)
+# define DISCARD_BOUNDS(rBP)
# define CHECK_BOUNDS_LOW(rBP, rLOW, rHIGH)
# define CHECK_BOUNDS_HIGH(rVALUE, rHIGH, TWLcc)
# define CHECK_BOUNDS_HIGH_RTN(rVALUE, rHIGH, TWLcc)