* Makerules (o-objects): Supplement with $(o-objects$o).

* string/Makefile (o-objects.ob): Add variable to pull 
unbounded versions of memcpy, memset and memchr into libc_b.
	* Makerules (o-objects): Supplement with $(o-objects$o).
	* string/Makefile (o-objects.ob): Add variable to pull
	unbounded versions of memcpy, memset and memchr into libc_b.
This commit is contained in:
Greg McGary 2000-07-17 22:34:11 +00:00
parent 03df72bf73
commit 916c1395e1
3 changed files with 12 additions and 2 deletions

View File

@ -31,6 +31,10 @@
* include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
ptr as __unbouned.
* Makerules (o-objects): Supplement with $(o-objects$o).
* string/Makefile (o-objects.ob): Add variable to pull
unbounded versions of memcpy, memset and memchr into libc_b.
2000-07-17 Bruno Haible <haible@clisp.cons.org>
* iconv/gconv_open.c (__gconv_open): Initialize the __data

View File

@ -554,7 +554,9 @@ lib-noranlib: libobjs
# Makefiles can define `elide-routines.so = foo' to leave foo.so out.
o-objects = $(patsubst %.o,%$o,$(filter-out $(patsubst %,$(objpfx)%.o,\
$(elide-routines$o)),\
$(objects)))
$(objects))) \
$(addprefix $(objpfx),$(o-objects$o))
others: $(addprefix $(objpfx),$(install-lib))
ifndef objects

View File

@ -1,4 +1,4 @@
# Copyright (C) 1991,92,93,94,95,96,97,98,99 Free Software Foundation, Inc.
# Copyright (C) 1991,92,93,94,95,96,97,98,99,2000 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
@ -41,6 +41,10 @@ routines := strcat strchr strcmp strcoll strcpy strcspn \
envz basename \
strcoll_l strxfrm_l string-inlines memrchr
# Gcc internally generates calls to unbounded memcpy and memset
# for -fbounded-pointer compiles. Glibc uses memchr for explicit checks.
o-objects.ob := memcpy.o memset.o memchr.o
tests := tester inl-tester noinl-tester testcopy test-ffs \
tst-strlen stratcliff tst-svc tst-inlcall
distribute := memcopy.h pagecopy.h tst-svc.expect