mirror of git://sourceware.org/git/glibc.git
* Makerules (lib): Depend on lib-noranlib.
(lib-noranlib): Depend on $(install-lib) in objdir. (common-mostlyclean): Remove $(install-lib) and stub-$(subdir) from objdir. Don't remove TAGS; it comes in the distribution. * malloc/malloc.c (morecore): Save errno around call to _realloc_internal. Don't account for the additional new blocks of the info table itself when choosing the new table size for the first crack; if it succeeds, the new blocks will have been found in existing free space already described by the existing info table. Changes from Germano Caronni <caronni@tik.ethz.ch>: Changes from Germano Caronni <caronni@tik.ethz.ch>:
This commit is contained in:
parent
1e9dc0393c
commit
4788ab4637
14
ChangeLog
14
ChangeLog
|
|
@ -1,5 +1,17 @@
|
||||||
Mon Mar 20 03:19:23 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
Mon Mar 20 03:19:23 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
||||||
|
|
||||||
|
* Makerules (lib): Depend on lib-noranlib.
|
||||||
|
(lib-noranlib): Depend on $(install-lib) in objdir.
|
||||||
|
(common-mostlyclean): Remove $(install-lib) and stub-$(subdir)
|
||||||
|
from objdir. Don't remove TAGS; it comes in the distribution.
|
||||||
|
|
||||||
|
* malloc/malloc.c (morecore): Save errno around call to
|
||||||
|
_realloc_internal. Don't account for the additional new blocks of
|
||||||
|
the info table itself when choosing the new table size for the
|
||||||
|
first crack; if it succeeds, the new blocks will have been found
|
||||||
|
in existing free space already described by the existing info
|
||||||
|
table.
|
||||||
|
|
||||||
* stdio/vfscanf.c (%n): Use READ_IN - 1, so as not to count the
|
* stdio/vfscanf.c (%n): Use READ_IN - 1, so as not to count the
|
||||||
read-ahead character.
|
read-ahead character.
|
||||||
|
|
||||||
|
|
@ -204,6 +216,7 @@ Sun Mar 12 18:21:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
||||||
* malloc/malloc.c (_malloc_internal): Renamed from malloc;
|
* malloc/malloc.c (_malloc_internal): Renamed from malloc;
|
||||||
don't use __malloc_hook.
|
don't use __malloc_hook.
|
||||||
(malloc): New function; call __malloc_hook ?: _malloc_internal.
|
(malloc): New function; call __malloc_hook ?: _malloc_internal.
|
||||||
|
Changes from Germano Caronni <caronni@tik.ethz.ch>:
|
||||||
(initialize): Set up _heaplimit to cover the _heapinfo table.
|
(initialize): Set up _heaplimit to cover the _heapinfo table.
|
||||||
(morecore_recursing): New static variable.
|
(morecore_recursing): New static variable.
|
||||||
(morecore): If that is set, return null immediately.
|
(morecore): If that is set, return null immediately.
|
||||||
|
|
@ -417,6 +430,7 @@ Mon Feb 27 07:00:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
||||||
|
|
||||||
Sun Feb 26 15:51:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
Sun Feb 26 15:51:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
||||||
|
|
||||||
|
Changes from Germano Caronni <caronni@tik.ethz.ch>:
|
||||||
* malloc/malloc.c (morecore): Account in NEWSIZE for the
|
* malloc/malloc.c (morecore): Account in NEWSIZE for the
|
||||||
malloc_info structures for each new block.
|
malloc_info structures for each new block.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -331,7 +331,7 @@ ARFLAGS := r$(verbose)
|
||||||
# This makes all the object files in the parent library archive.
|
# This makes all the object files in the parent library archive.
|
||||||
|
|
||||||
.PHONY: lib libobjs lib-noranlib
|
.PHONY: lib libobjs lib-noranlib
|
||||||
lib: $(foreach l,$(libtypes),$(patsubst %,$(common-objpfx)$l,c))
|
lib: lib-noranlib $(foreach l,$(libtypes),$(patsubst %,$(common-objpfx)$l,c))
|
||||||
|
|
||||||
# Pattern rule for libraries: depend on the __.SYMDEF member updated by ranlib.
|
# Pattern rule for libraries: depend on the __.SYMDEF member updated by ranlib.
|
||||||
lib%.a: lib%.a(__.SYMDEF) ;
|
lib%.a: lib%.a(__.SYMDEF) ;
|
||||||
|
|
@ -347,7 +347,7 @@ endif
|
||||||
libobjs: $(foreach o,$(object-suffixes),\
|
libobjs: $(foreach o,$(object-suffixes),\
|
||||||
$(common-objpfx)$(patsubst %,$(libtype$o),c)(\
|
$(common-objpfx)$(patsubst %,$(libtype$o),c)(\
|
||||||
$(notdir $(objects:.o=$o))))
|
$(notdir $(objects:.o=$o))))
|
||||||
lib-noranlib: libobjs
|
lib-noranlib: libobjs $(addprefix $(objpfx),$(install-lib))
|
||||||
|
|
||||||
ifdef objects
|
ifdef objects
|
||||||
|
|
||||||
|
|
@ -561,8 +561,8 @@ common-mostlyclean:
|
||||||
-rm -f $(addprefix $(objpfx),$(tests) $(others) \
|
-rm -f $(addprefix $(objpfx),$(tests) $(others) \
|
||||||
$(addsuffix .o,$(tests) $(others)) \
|
$(addsuffix .o,$(tests) $(others)) \
|
||||||
$(addsuffix .out,$(tests)))
|
$(addsuffix .out,$(tests)))
|
||||||
-rm -f $(addprefix $(objpfx),$(extra-objs))
|
-rm -f $(addprefix $(objpfx),$(extra-objs) $(install-lib))
|
||||||
-rm -f core TAGS
|
-rm -f core $(objpfx)stub-$(subdir)
|
||||||
$(rmobjs)
|
$(rmobjs)
|
||||||
define rmobjs
|
define rmobjs
|
||||||
$(foreach o,$(object-suffixes),
|
$(foreach o,$(object-suffixes),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue