* configure configure.in: Don't default CC to cc. It causes problems
[external/binutils.git] / mmalloc / ChangeLog
1 Wed Sep  4 18:02:45 1996  Stu Grossman  (grossman@critters.cygnus.com)
2
3         * configure configure.in:  Don't default CC to cc.  It causes problems
4         when starting a compile in the mmalloc directory.
5
6 Wed Jul 24 00:53:34 1996  Fred Fish  <fnf@cygnus.com>
7
8         * mmalloc.h (mmalloc_findbase): Add prototype.
9
10 Fri Jul 12 18:35:34 1996  Fred Fish  <fnf@cygnus.com>
11
12         * mmap-sup.c (mmalloc_findbase): Change to not require /dev/zero
13         if MMAP_ANONYMOUS is available.
14
15 Wed Jul 10 23:53:42 1996  Fred Fish  <fnf@cygnus.com>
16
17         * detach.c (mmalloc_detach): Fix bug in computation of negative
18         brk value.
19         * mmcheck.c (mmcheckf): Renamed from mmcheck and new FORCE argument
20         added.  Replaced hack that always allowed checking routines to be
21         installed and enforce restriction that they have to be installed
22         prior to allocating any memory on the used heap or the FORCE argument
23         has to be non-NULL.
24         (mmcheck): New function that calls mmcheckf with FORCE set to zero,
25         for backwards compatibility.
26         * mmalloc.c (malloc): Store result in local variable before
27         returning it.  Makes debugging much easier at negligible cost.
28         * mmalloc.h (mmcheckf): Declare.
29         * attach.c (reuse): Call mmcheckf rather than mmcheck.
30         * mmap-sup.c (__mmalloc_mmap_morecore): Improve to allow mmap
31         to select a base mapping address if none is otherwise given.
32         (mmalloc_findbase): New function that user can call to find
33         an available mapping address of a given size.
34         
35 Tue Jun 25 22:54:06 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
36
37         * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
38         Use autoconf-set values.
39         (docdir): Removed.
40         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
41         * configure: Rebuilt.
42
43 Tue May 28 13:51:22 1996  Fred Fish  <fnf@cygnus.com>
44
45         From: Thomas A Peterson <tap@src.honeywell.com>
46         * Makefile.in (install-info): Apply patch to install
47         mmalloc.info from srcdir if not found in build dir.
48
49 Sun Apr  7 20:55:30 1996  Fred Fish  <fnf@rtl.cygnus.com>
50
51         From: Miles Bader  <miles@gnu.ai.mit.edu>
52         * configure.in: Use AC_CHECK_TOOL to find AR & RANLIB.
53         * configure: Regenerate with autoconf.
54         * Makefile.in: Use AR set by configure substitution.
55         
56 Fri Mar 29 09:57:36 1996  Fred Fish  <fnf@cygnus.com>
57
58         * mmalloc.h (mmtrace): Add prototype.
59
60 Sat Feb  3 12:41:00 1996  Fred Fish  <fnf@cygnus.com>
61
62         From H.J. Lu (hjl@gnu.ai.mit.edu):
63         * mvalloc.c (valloc): new.
64         * mmemalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim
65         if possible.
66         (memalign): don't put the node on the _aligned_blocks list more
67         than once.
68
69 Mon Nov 20 12:04:32 1995  Fred Fish  <fnf@cygnus.com>
70
71         * Makefile.in (OFILES): Make objects depend upon Makefile,
72         since Makefile sets DEFS which can definitely affect how
73         objects are to be compiled.
74
75 Mon Nov  6 14:12:13 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
76
77         * configure.in (AC_CHECK_HEADERS): add limits.h.
78         (AC_HEADER_STDC): remove.
79
80         * mmalloc.h: document necessity of defining size_t before
81         including mmalloc.h.
82
83         * mmprivate.h: add check for limits.h, remove definition of
84         NULL and size_t.
85
86 Sun Nov  5 00:27:36 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
87
88         * configure.in: AC_CHECK_HEADERS, not AC_CHECK_HEADER.
89
90 Sun Nov  5 00:14:13 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
91
92         * configure.in: add check for stddef.h
93         * mmalloc.h: include stddef.h if HAVE_STDDEF_H is defined.
94
95 Sat Nov  4 19:10:13 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
96
97         * configure.in: add AC_HEADER_STDC check.
98
99         * mmalloc.h: check if STDC_HEADERS instead of __STDC__.
100
101         * mmprivate.h: check if STDC_HEADERS instead of __STDC__.
102
103 Tue Oct 24 13:17:44 1995  Stan Shebs  <shebs@andros.cygnus.com>
104
105         * mmprivate.h: Remove declarations (PTR, etc) that are already
106         provided by ansidecl.h, include mmalloc.h earlier in file.
107
108 Tue Oct 10 11:04:47 1995  Fred Fish  <fnf@cygnus.com>
109
110         * Makefile.in (BISON):  Remove macro.
111
112 Wed Sep 20 12:51:13 1995  Ian Lance Taylor  <ian@cygnus.com>
113
114         * Makefile.in (maintainer-clean): New target, synonym for
115         realclean.  Add GNU standard maintainer-clean echos.
116
117 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
118
119         * Update all FSF addresses except those in COPYING* files
120         and shar archive of original FSF files.
121
122 Mon Jun 12 12:11:57 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
123
124         * Makefile.in (distclean, realclean): Remove config.cache and
125           config.log.
126
127 Wed May 17 17:47:44 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
128
129         * Makefile.in (Makefile): Added config.status to dependency list.
130           (config.status): New target.
131
132 Fri May  5 15:17:53 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
133
134         * mmap-sup.c: Removed munmap prototype.  Some systems have a
135           slightly different prototype.
136
137 Wed May  3 17:18:13 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
138
139         * Makefile.in, configure.in: Converted to use autoconf.
140         * configure: New file, generated with autoconf 2.3.
141         * config/{mh-go32, mh-irix, mh-ncr3000, mh-sunos4, 
142           mh-sysv4}: Removed.
143
144 Thu Nov  3 23:55:21 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
145
146         * Makefile.in (install-info): Name destination file correctly,
147         rather than using undefined shell variable.
148
149 Fri Oct 28 16:46:58 1994  Stan Shebs  (shebs@andros.cygnus.com)
150
151         * mmprivate.h: New file, was mmalloc.h.
152         (mmalloc.h): Include.
153         * mmalloc.h: Remove all but declarations of mmalloc functions.
154         (ansidecl.h): Include.
155         * attach.c, et al: Include mmprivate.h instead of mmalloc.h.
156
157 Wed Aug 24 12:55:33 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
158
159         * configure.in: Change i[34]86 to i[345]86.
160
161 Mon Aug 22 11:36:40 1994  Stan Shebs  (shebs@andros.cygnus.com)
162
163         * Makefile.in (distclean): Separate from realclean.
164         (realclean): Remove mmalloc.info.
165
166 Fri May  6 13:04:25 1994  Steve Chamberlain  (sac@cygnus.com)
167
168         * config/go32.mh: New file
169         * configure.in (host==go32):  Use new fragment.
170
171 Tue Feb  8 00:32:28 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
172
173         * mmtrace.c (tr_freehook, tr_mallochook, tr_reallochook):
174         Cast addresses put out via fprintf to unsigned long and use %lx.
175
176 Tue Nov 16 20:33:17 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
177
178         * COPYING.LIB: New file (standard version 2 LGPL, as already cited
179         by the source files).
180
181 Fri Nov  5 11:47:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
182
183         * Makefile.in (info dvi install-info): Actually make the manual.
184
185 Mon Nov  1 14:20:25 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
186
187         * mmalloc.texi: Fix typo ("for for" -> "for").
188
189 Fri Jul 16 15:27:08 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
190
191         * test1.c: New file which tests for bug fixed below.
192         * Makefile.in (check): Put in commands to run it (but commented out
193         because it won't work for Canadian cross).
194
195         * mmalloc.c (mmalloc): When extending a free block at the end of the
196         heap, check whether which block is at the end changed.
197
198         * Makefile.in (TAGS): make work when srcdir != objdir.
199
200 Thu Jul 15 07:56:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
201
202         * attach.c, detach.c: Include <sys/types.h> before <fcntl.h>.
203
204 Wed Jun 30 11:00:53 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
205
206         * Makefile.in: Add mostlyclean and realclean targets.
207
208 Wed Mar 24 01:58:12 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
209
210         * Makefile.in: add dvi and installcheck targets
211
212 Fri Mar 12 18:35:43 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
213
214         * configure.in: recognize *-*-solaris2* instead of *-*-solaris* (a
215         number of people want to call SunOS 4.1.2 "solaris1.0" and get it right)
216
217 Mon Feb 22 18:08:53 1993  John Gilmore  (gnu@cygnus.com)
218
219         * Makefile.in (distclean):  Add.
220
221 Tue Feb 16 08:09:15 1993  Fred Fish  (fnf@cygnus.com)
222
223         * Makefile.in, attach.c, detach.c, keys.c, mmap-sup.c, mmtrace.c,
224         sbrk-sup.c:  Use GNU Library General Public License, like other
225         files.
226
227 Wed Nov 18 19:18:59 1992  John Gilmore  (gnu@cygnus.com)
228
229         * configure.in:  Regularize list of host configs.
230
231 Fri Oct 30 00:59:46 1992  John Gilmore  (gnu@cygnus.com)
232
233         * mmalloc.texi:  Add missing doubled @.  Bugfix by Paul Eggert.
234
235 Fri Oct 23 01:50:52 1992  Stu Grossman  (grossman at cygnus.com)
236
237         * configure.in:  Handle solaris same as sysv4.
238
239 Thu Oct  1 23:34:20 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
240
241         * configure.in: use cpu-vendor-os triple instead of nested cases
242
243 Sun Aug 23 11:09:46 1992  Fred Fish  (fnf@cygnus.com)
244
245         * sbrk-sup.c (__mmalloc_brk_init):  Ensure base of sbrk'd region
246         is aligned.  Bug reported by Andrew Heybey (ath@lcs.mit.edu).
247
248 Wed Aug 19 14:49:23 1992  Ian Lance Taylor  (ian@cygnus.com)
249
250         * Makefile.in: always create installation directories.
251
252 Mon Jul 20 21:15:44 1992  Fred Fish  (fnf@cygnus.com)
253
254         * mrealloc.c:  Minor code format style changes for consistency.
255
256 Fri Jul  3 20:25:30 1992  Fred Fish  (fnf@cygnus.com)
257
258         * attach.c, detach.c, mcalloc.c, mmalloc.c, mmtrace.c, mrealloc.c,
259         sbrk-sup.c:  Remove "(void)" casts from function calls where the
260         return value is ignored, in accordance with GNU coding standards.
261
262 Tue Jun 30 16:44:41 1992  Fred Fish  (fnf@cygnus.com)
263
264         * mmalloc.h (struct mdesc):  Add FIXME comments to point out the
265         need to save some data on a per-process basis for mapped regions
266         that are shared.
267         * attach.c (reuse):  Update the morecore field for reused mapped
268         regions to be correct for the current process.
269
270 Mon Jun 29 10:45:25 1992  Fred Fish  (fnf at cygnus.com)
271
272         * mmtrace.c:  Lint.
273
274 Mon Jun 15 12:20:16 1992  Fred Fish  (fnf@cygnus.com)
275
276         * mmalloc.h (struct mdesc):  Change member "errno" to
277         "saved_errno" to avoid possible conflict with ANSI C environments,
278         where it is allowed to be a macro.
279         * config/mh-ncr3000 (INSTALL):  Don't use /usr/ucb/install,
280         it is broken on ncr 3000's.
281         * config/mh-ncr3000 (RANLIB):  Use RANLIB=true.
282
283 Fri Jun 12 21:34:21 1992  John Gilmore  (gnu at cygnus.com)
284
285         * mmap-sup.c:  Avoid ANSI C "empty translation unit" idiocy.
286
287 Tue Jun  9 17:29:04 1992  Fred Fish  (fnf@cygnus.com)
288
289         * config/{mh-ncr3000, mh-sysv4}:  Add definition for INSTALL using
290         /usr/ucb/install.
291
292 Thu Apr 30 22:36:31 1992  Fred Fish  (fnf@cygnus.com)
293
294         * sbrk-sup.c (sbrk_morecore):  Fix sbrk() error return test.
295
296 Mon Apr 20 21:03:30 1992  K. Richard Pixley  (rich@cygnus.com)
297
298         * Makefile.in: rework CFLAGS so that they can be passed from the
299           command line.  remove MINUS_G.  Default CFLAGS to -g.
300
301 Thu Apr 16 20:00:21 1992  Fred Fish  (fnf@cygnus.com)
302
303         * TODO:  New file.
304         * attach.c, mcalloc.c, mfree.c, mmalloc.c, mmalloc.h, mmap-sup.c,
305         mmcheck.c, mtrace.c, mrealloc.c, mvalloc.c, sbrk-sup.c:  Lint.
306
307 Fri Apr 10 22:59:17 1992  Fred Fish  (fnf@cygnus.com)
308
309         * configure.in:  Recognize new ncr3000 config.
310         * config/mh-ncr3000:  New config file.
311         * Makefile.in (MINUS_G):  Add macro and default to -g.
312
313 Wed Apr  8 09:34:53 1992  Fred Fish  (fnf@cygnus.com)
314
315         * mmalloc.c:  Minor fix to comment.
316         * mmalloc.texi:  Update to match actual implementation
317         * mmalloc.h (morecore):  Change prototype's 2nd arg to int.
318
319 Tue Apr  7 22:16:09 1992  Fred Fish  (fnf@cygnus.com)
320
321         * mmalloc.h (size_t, CHAR_BIT):  Only redefine if not already
322         defined.
323
324 Mon Apr  6 20:49:33 1992  Fred Fish  (fnf@cygnus.com)
325
326         * mmalloc.h:  Remove include of <stdlib.h>.  This also gets rid
327         of the ugly kludge installed on 1-Apr-92.
328
329 Mon Apr  6 16:33:37 1992  Stu Grossman  (grossman at cygnus.com)
330
331         * detach.c (mmalloc_detach):  Arg should be PTR, not void *.
332         Fixes complaints from non __STDC__ systems.
333
334 Wed Apr  1 11:47:02 1992  Fred Fish  (fnf@cygnus.com)
335
336         * mcalloc.c, mfree.c, mmalloc.c, mrealloc.c:  Minor comment
337         change.
338         * mmalloc.h:  Add ugly kludge to band-aid over problems with
339         bogus vendor <stdlib.h> files.
340
341 Sun Mar 29 12:41:31 1992  John Gilmore  (gnu at cygnus.com)
342
343         * attach.c, mmalloc.c, mmcheck.c:  Lint.
344
345 Thu Mar 26 17:06:04 1992  Fred Fish  (fnf@cygnus.com)
346
347         * attach.c (reuse):  Explicitly discard return value of mmcheck.
348         * mmcheck.c (mmcheck):  Document requirements for installing
349         corruption checking hooks and set up to enforce restrictions.
350
351 Tue Mar 24 23:41:10 1992  K. Richard Pixley  (rich@cygnus.com)
352
353         * config/mh-irix4: new file.
354
355         * Makefile.in: added standard targets, fixed install directories.
356
357 Sat Mar 14 17:34:59 1992  Fred Fish  (fnf@cygnus.com)
358
359         * Initial release, incorporated into gdb.
360
361