glibc/sysdeps/sparc/sparc32
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
..
bits Update. 2000-01-17 05:24:52 +00:00
elf * sysdeps/sparc/sparc32/elf.S: Rewrite for __libc_start_main. * sysdeps/sparc/sparc64/elf.S: Likewise. 1998-04-06 17:40:58 +00:00
fpu/bits Update. 2000-05-22 09:25:32 +00:00
sparcv8 Update. 1999-07-27 02:07:01 +00:00
sparcv9 bcopy should handle overlapping copies like memmove, while the previous version worked like memcpy. Implement optimized assembly memmove. 1999-11-23 17:01:11 +00:00
__longjmp.S Update. 1999-01-30 08:22:20 +00:00
add_n.S Update. 1997-08-24 10:55:18 +00:00
addmul_1.S Update. 1997-08-24 10:55:18 +00:00
alloca.S Update. 1997-08-24 10:55:18 +00:00
atomicity.h Update. 1999-05-18 09:48:05 +00:00
bcopy.c Sparc string routines from Jakub. 1999-03-29 13:25:15 +00:00
bsd-_setjmp.S Update. 1997-08-24 10:55:18 +00:00
bsd-setjmp.S Update. 1997-08-24 10:55:18 +00:00
bzero.c Sparc string routines from Jakub. 1999-03-29 13:25:15 +00:00
Dist Update. 1998-07-04 14:40:35 +00:00
divrem.m4 Update. 1997-08-24 10:55:18 +00:00
dl-machine.h Regenerated: autoconf configure.in 2000-07-06 23:33:20 +00:00
dotmul.S Update. 1997-08-24 10:55:18 +00:00
e_sqrt.c Update. 1997-08-14 01:54:13 +00:00
Implies Update. 1999-07-14 00:54:57 +00:00
lshift.S Update. 1997-08-24 10:55:18 +00:00
Makefile Update. 1998-02-16 17:42:46 +00:00
memchr.S update 2000-07-26 18:21:25 +00:00
memcopy.h Update. 1997-08-14 01:54:13 +00:00
memcpy.S bcopy should handle overlapping copies like memmove, while the previous version worked like memcpy. Implement optimized assembly memmove. 1999-11-23 17:01:11 +00:00
memmove.c Sparc string routines from Jakub. 1999-03-29 13:25:15 +00:00
memset.S Sparc string routines from Jakub. 1999-03-29 13:25:15 +00:00
mul_1.S Update. 1997-08-24 10:55:18 +00:00
rem.S Update. 1997-08-24 10:55:18 +00:00
rshift.S Update. 1997-08-24 10:55:18 +00:00
sdiv.S Update. 1997-08-24 10:55:18 +00:00
setjmp.S Update. 1998-01-30 12:53:20 +00:00
stpcpy.S Sparc string routines from Jakub. 1999-03-29 13:25:15 +00:00
strcat.S * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6. * sysdeps/sparc/sparc32/strcpy.S: Likewise. 1999-04-15 18:12:25 +00:00
strchr.S Sparc string routines from Jakub. 1999-03-29 13:25:15 +00:00
strcmp.S Sparc string routines from Jakub. 1999-03-29 13:25:15 +00:00
strcpy.S * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6. * sysdeps/sparc/sparc32/strcpy.S: Likewise. 1999-04-15 18:12:25 +00:00
strlen.S Sparc string routines from Jakub. 1999-03-29 13:25:15 +00:00
strrchr.c Sparc string routines from Jakub. 1999-03-29 13:25:15 +00:00
sub_n.S Update. 1997-08-24 10:55:18 +00:00
submul_1.S Update. 1997-08-24 10:55:18 +00:00
udiv_qrnnd.S Update. 1997-08-24 10:55:18 +00:00
udiv.S Update. 1997-08-24 10:55:18 +00:00
umul.S Update. 1997-08-24 10:55:18 +00:00
urem.S Update. 1997-08-24 10:55:18 +00:00
Versions Update. 1999-05-19 15:35:26 +00:00