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