glibc/sysdeps/alpha
Greg McGary 2ed5fd9a2a update
2000-07-26  Greg McGary  <greg@mcgary.org>

	* Makeconfig (+link-bounded, link-libc-bounded,
	link-extra-libs-bounded): New variables.
	(built-program-cmd): Omit $(run-program-prefix) for static BP tests.
	* Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
	* Rules (tests-bp.out): New variable.
	(tests): Conditionally add BP tests.
	(binaries-bounded): Add variable and associated rule.
	* csu/Makefile [build-bounded] (extra-objs, install-lib):
	Move conditional stuff after place where condition is defined.

	* malloc/malloc.c (bp-checks.h): Add #include.
	(mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
	(_bin_at): Add unbounded version of bin_at.
	(IAV, chunk_alloc): Use unbounded _bin_at.
	(mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
	chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
	Wrap BOUNDED_N around return value.
	(chunk_realloc): Adjust oldsize once.

	* sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
	(__ubp_memchr): Add correct decl.
	(_CHECK_STRING): Use __ubp_memchr.
	* sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
	New alias for unbounded-pointer __memchr.
	* sysdeps/i386/memchr.S: Likewise.
	* sysdeps/ia64/memchr.S: Likewise.
	* sysdeps/m68k/memchr.S: Likewise.
	* sysdeps/sparc/sparc32/memchr.S: Likewise.
	* sysdeps/sparc/sparc64/memchr.S: Likewise.
	* sysdeps/vax/memchr.s: Likewise.

	* sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
	(SAVE_PTR): New macro.  (save_ptr): Expand size as BP.
	(strtok): Don't bother to write into SAVE_PTR when returning NULL.
	* sysdeps/i386/i686/strtok.S: Likewise.
	* sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
	RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.

	* sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
	* sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.

	* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
	bounds of copy_result to mount_proc.
2000-07-26 18:21:25 +00:00
..
alphaev5 Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
bits Don't check against SP. 1998-04-24 14:43:00 +00:00
elf ¸ 1998-08-23 04:10:13 +00:00
fpu Update. 2000-06-07 16:53:48 +00:00
__longjmp.S Update. 1997-12-01 17:16:22 +00:00
_mcount.S Updated. 1997-06-26 22:23:01 +00:00
add_n.s Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
addmul_1.s Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
atomicity.h Update. 1999-06-21 13:38:44 +00:00
bb_init_func.S Updated. 1997-06-26 22:23:01 +00:00
bsd-_setjmp.S Update. 1997-09-11 12:09:10 +00:00
bsd-setjmp.S Update. 1997-09-11 12:09:10 +00:00
bzero.S Update. 1998-01-30 12:53:20 +00:00
Dist Update. 1998-07-04 14:40:35 +00:00
div.S Update. 1997-03-21 20:00:48 +00:00
divl.S update from main archive 961105 1996-11-06 04:24:40 +00:00
divq.S update from main archive 961105 1996-11-06 04:24:40 +00:00
divrem.h Update. 1997-06-23 21:55:26 +00:00
dl-machine.h Update. 2000-07-18 14:55:31 +00:00
ffs.S Update. 1998-07-30 12:47:25 +00:00
ffsll.S Update. 1998-07-30 12:47:25 +00:00
gmp-mparam.h Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
htonl.S Update. 1998-01-30 12:53:20 +00:00
htons.S Update. 1998-01-30 12:53:20 +00:00
Implies Update. 1999-07-14 00:54:57 +00:00
ldiv.S Update. 1997-03-21 20:00:48 +00:00
lldiv.S update from main archive 961105 1996-11-06 04:24:40 +00:00
lshift.s Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
machine-gmon.h Update. 1997-06-23 21:55:26 +00:00
Makefile Update. 1999-08-30 21:51:29 +00:00
memchr.S update 2000-07-26 18:21:25 +00:00
memset.S Updated. 1997-06-26 22:23:01 +00:00
memusage.h Update for memprof->memusage renaming. 2000-06-20 06:36:03 +00:00
mul_1.s Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
reml.S update from main archive 961105 1996-11-06 04:24:40 +00:00
remq.S update from main archive 961105 1996-11-06 04:24:40 +00:00
rshift.s Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
s_copysign.S update from main archive 961119 1996-11-20 03:45:51 +00:00
s_fabs.S Update. 1998-02-26 17:17:05 +00:00
setjmp.S Update. 1997-12-01 17:16:22 +00:00
stpcpy.S update from main archive 961119 1996-11-20 03:45:51 +00:00
stpncpy.S update from main archive 961105 1996-11-06 04:24:40 +00:00
strcat.S update from main archive 961119 1996-11-20 03:45:51 +00:00
strchr.S update from main archive 961105 1996-11-06 04:24:40 +00:00
strcmp.S Updated. 1997-06-26 22:23:01 +00:00
strcpy.S update from main archive 961119 1996-11-20 03:45:51 +00:00
strlen.S Updated. 1997-06-26 22:23:01 +00:00
strncat.S update from main archive 961119 1996-11-20 03:45:51 +00:00
strncmp.S Updated. 1997-06-26 22:23:01 +00:00
strncpy.S Updated. 1997-06-26 22:23:01 +00:00
strrchr.S Updated. 1997-06-26 22:23:01 +00:00
stxcpy.S Updated. 1997-06-26 22:23:01 +00:00
stxncpy.S Updated. 1997-06-26 22:23:01 +00:00
sub_n.s Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
submul_1.s Updated from /src/gmp-2.0 1996-05-07 21:04:52 +00:00
udiv_qrnnd.S update from main archive 961105 1996-11-06 04:24:40 +00:00
Versions Update. 1999-01-20 09:23:50 +00:00