summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-12-04 19:00:50 +0000
committerRoland McGrath <roland@gnu.org>1995-12-04 19:00:50 +0000
commitb5a08c5aca57835de5f69b8b017f09cd75f5cf7d (patch)
tree0133ba82bd5eda68f6426e3315d1767202cb5aa1
parentba848785bb048e7700555ef97c9d1fd3911a3da3 (diff)
Mon Dec 4 12:10:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdlib/gen-mpn-copy (translations): Updated for new layout in GMP 1.910. * malloc/malloc.c (__malloc_initialize): Renamed from initialize; made global. (malloc): Caller changed. * malloc/realloc.c (realloc): Call __malloc_initialize if necessary, before checking hook. * malloc/malloc.h: Declare __malloc_initialize. * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself as integer_t arg in RPC.
-rw-r--r--ChangeLog15
-rw-r--r--stdlib/Makefile9
-rw-r--r--stdlib/gen-mpn-copy30
3 files changed, 35 insertions, 19 deletions
diff --git a/ChangeLog b/ChangeLog
index 040c987937..a58c2d572f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+Mon Dec 4 12:10:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
+
+ * stdlib/gen-mpn-copy (translations): Updated for new layout in
+ GMP 1.910.
+
+ * malloc/malloc.c (__malloc_initialize): Renamed from initialize;
+ made global.
+ (malloc): Caller changed.
+ * malloc/realloc.c (realloc): Call __malloc_initialize if
+ necessary, before checking hook.
+ * malloc/malloc.h: Declare __malloc_initialize.
+
+ * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself
+ as integer_t arg in RPC.
+
Sat Dec 2 03:47:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB.
diff --git a/stdlib/Makefile b/stdlib/Makefile
index 6228a2aec2..8228808181 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -49,13 +49,13 @@ tests := tst-strtol tst-strtod testmb testrand testsort testdiv
# Several mpn functions from GNU MP are used by the strtod function.
mpn-routines := add_1 add_n addmul_1 cmp divmod divmod_1 udiv_qrnnd \
- lshift rshift mod_1 mul mul_1 mul_n sub_n submul_1
+ lshift rshift mod_1 mul mul_1 mul_n sub_n submul_1
mpn-headers = longlong.h gmp.h gmp-impl.h gmp-mparam.h asm-syntax.h
routines := $(strip $(routines) $(mpn-routines)) \
dbl2mpn ldbl2mpn \
mpn2flt mpn2dbl mpn2ldbl
-aux := mp_clz_tab fpioconst
+aux := mp_clz_tab fpioconst
distribute := $(distribute) $(mpn-headers) gen-mpn-copy fpioconst.h
@@ -74,8 +74,9 @@ mpn-sysdep := $(addsuffix .c,$(mpn-routines)) \
$(addsuffix .S,$(mpn-routines)) \
$(addsuffix .s,$(mpn-routines)) gmp-mparam.h asm-syntax.h
-mpn-try := $(addprefix $(gmp-srcdir)/mpn/*/,$(mpn-sysdep))
-mpn-found := $(wildcard $(mpn-try))
+mpn-try := $(addprefix $(gmp-srcdir)/mpn/*/,$(mpn-sysdep)) \
+ $(addprefix $(gmp-srcdir)/mpn/*/*/,$(mpn-sysdep))
+mpn-found = $(wildcard $(mpn-try))
include mpn-copy.mk
%.mk: gen-%; sh $< > $@
diff --git a/stdlib/gen-mpn-copy b/stdlib/gen-mpn-copy
index 8fffcb2394..01656ae54d 100644
--- a/stdlib/gen-mpn-copy
+++ b/stdlib/gen-mpn-copy
@@ -1,21 +1,21 @@
#!/bin/sh
translations='
-pentium i386/i586
-sparc8 sparc/sparc8
-sparc9 sparc/sparc9
-mc68000 m68k/m68000
-mc68020 m68k/m68020
-mc88100 m88k/m88100
-mc88110 m88k/m88110
-mips2 mips
-mips3 mips/mips3
-hppa1_0 hppa
-hppa1_1 hppa/hppa1.1
-ev4 alpha
-ev5 alpha/alphaev5
-power rs6000
-am29000 a29k
+sparc64 sparc/sparc64
+sparc32/v8 sparc/sparc8
+sparc32 sparc
+x86/pentium i386/i586
+x86 i386
+m68k/mc68000 m68k/m68000
+m68k/mc68020 m68k/m68020
+m88k/mc88100 m88k/m88100
+m88k/mc88110 m88k/m88110
+mips3 mips/mips3
+mips2 mips
+hppa/hppa1_1 hppa/hppa1.1
+alpha/ev5 alpha/alphaev5
+power rs6000
+am29000 a29k
'
set $translations