John Gilmore [Fri, 10 May 1991 23:41:14 +0000 (23:41 +0000)]
Update for Sony News port and split of a.out into several variants.
Add write_contents to format-dependent vector.
John Gilmore [Fri, 10 May 1991 23:41:10 +0000 (23:41 +0000)]
Initial revision
Roland Pesch [Fri, 10 May 1991 22:46:08 +0000 (22:46 +0000)]
*** empty log message ***
Steve Chamberlain [Fri, 10 May 1991 19:44:53 +0000 (19:44 +0000)]
*** empty log message ***
Steve Chamberlain [Fri, 10 May 1991 19:44:17 +0000 (19:44 +0000)]
changed forward declaration struct stat; to reduce warnings. Changed
common on bfd_h_<x>_x.
Steve Chamberlain [Fri, 10 May 1991 19:41:19 +0000 (19:41 +0000)]
Now there are two incarnations of relocs, linenos and syments. One for
internal digestion, and one full of char arrays for I/O. The original
names have gone to detect errors.
Steve Chamberlain [Fri, 10 May 1991 19:40:56 +0000 (19:40 +0000)]
Initial revision
Steve Chamberlain [Fri, 10 May 1991 19:38:27 +0000 (19:38 +0000)]
*** empty log message ***
Steve Chamberlain [Fri, 10 May 1991 19:38:10 +0000 (19:38 +0000)]
Added 68kcoff
Steve Chamberlain [Fri, 10 May 1991 19:37:58 +0000 (19:37 +0000)]
Test new structure exporting code with 68k coff implementaion.
Steve Chamberlain [Fri, 10 May 1991 19:33:37 +0000 (19:33 +0000)]
Fixed all the places where there were problems with the size and
alignments of structures on disk and structures in memory. #ifed out
all the code in coffswap.c, since it should be done using the target
swap routines now.
Steve Chamberlain [Fri, 10 May 1991 01:47:44 +0000 (01:47 +0000)]
It's new and improved
John Gilmore [Thu, 9 May 1991 23:56:01 +0000 (23:56 +0000)]
* coff-code.h: Remove coff_get_section_contents, and use the
generic one instead.
John Gilmore [Thu, 9 May 1991 23:54:19 +0000 (23:54 +0000)]
* ieee.c: Cast enums to int before comparing them, for brain-
dead compilers.
John Gilmore [Thu, 9 May 1991 23:48:26 +0000 (23:48 +0000)]
Add bfd_generic_get_section_contents.
Steve Chamberlain [Thu, 9 May 1991 18:05:05 +0000 (18:05 +0000)]
Thu May 9 11:00:45 1991 Steve Chamberlain (steve at cygint.cygnus.com)
* ieee.c (do_one, ieee_slurp_section_data): now supports the load
multiple reloc command.
Steve Chamberlain [Thu, 9 May 1991 18:03:16 +0000 (18:03 +0000)]
Thu May 9 11:00:45 1991 Steve Chamberlain (steve at cygint.cygnus.com)
* sunos.c (sunos4_set_section_contents): Made it so that sections
are always padded to their alignment size.
Steve Chamberlain [Wed, 8 May 1991 19:23:55 +0000 (19:23 +0000)]
Fixed error message text
Steve Chamberlain [Wed, 8 May 1991 19:23:35 +0000 (19:23 +0000)]
Lint
Steve Chamberlain [Wed, 8 May 1991 19:21:48 +0000 (19:21 +0000)]
Various portability lints.
Fixed reloc bug in ieee and oasys.
Steve Chamberlain [Wed, 8 May 1991 19:07:10 +0000 (19:07 +0000)]
Added make dep rule.
When configure is used, the created makefile will have all the
dependencies filled in.
Roland Pesch [Tue, 7 May 1991 19:38:33 +0000 (19:38 +0000)]
(1) Updated to reflect renamed commands;
(2) Reorganized, bringing more common commands forward, merging
"print" and "x" into one section;
(3) New sections: "Essential Commands", "GDB Scripts";
(4) Material on convenience vars and value history added to "Expressions";
(5) Uses PostScript fonts by default, also includes (commented out) alternative
Computer Modern font definitions that format similarly.
Steve Chamberlain [Tue, 7 May 1991 19:16:52 +0000 (19:16 +0000)]
Took out the c++ support
Steve Chamberlain [Tue, 7 May 1991 19:16:33 +0000 (19:16 +0000)]
Fixed the shift reduce errors in the grammer using the yacc debugger.
Removed some lint highlighted by the same.
Steve Chamberlain [Tue, 7 May 1991 19:13:58 +0000 (19:13 +0000)]
Fixed problem where pc relative stuff was not being translated
properly. Oasys keeps no -ve pc in the disp of a branch, so we fake
it.
Steve Chamberlain [Sun, 5 May 1991 22:13:56 +0000 (22:13 +0000)]
*** empty log message ***
John Gilmore [Sat, 4 May 1991 23:15:02 +0000 (23:15 +0000)]
Saber C (lint) cleanups, and a few bug fixes. See ChangeLog.
John Gilmore [Sat, 4 May 1991 22:52:03 +0000 (22:52 +0000)]
Saber C cleanup. Fix horrid bug in opncls.c in which an obstack is
initialized on the stack and then copied into its own allocated space.
(Wow, Steve, you're twisted...)
John Gilmore [Sat, 4 May 1991 22:45:02 +0000 (22:45 +0000)]
Saber C fixups.
John Gilmore [Sat, 4 May 1991 18:10:57 +0000 (18:10 +0000)]
Roll version to 3.95.
John Gilmore [Sat, 4 May 1991 05:22:47 +0000 (05:22 +0000)]
Fix =&'s in copy.c
John Gilmore [Sat, 4 May 1991 05:07:07 +0000 (05:07 +0000)]
See ChangeLog.
John Gilmore [Sat, 4 May 1991 04:42:18 +0000 (04:42 +0000)]
Jim Kingdon's gdb port to the m88k.
John Gilmore [Sat, 4 May 1991 04:41:34 +0000 (04:41 +0000)]
Jim Kingdon's port to m88k on his last day at Cygnus.
John Gilmore [Sat, 4 May 1991 04:40:57 +0000 (04:40 +0000)]
Jim Kingdon's port of gdb to m88k on his last day.
K. Richard Pixley [Sat, 4 May 1991 00:57:57 +0000 (00:57 +0000)]
John's suggestions.
Steve Chamberlain [Sat, 4 May 1991 00:40:37 +0000 (00:40 +0000)]
*** empty log message ***
Steve Chamberlain [Fri, 3 May 1991 23:52:48 +0000 (23:52 +0000)]
*** empty log message ***
John Gilmore [Fri, 3 May 1991 21:30:41 +0000 (21:30 +0000)]
Rename getopt to libiberty.
Roland Pesch [Fri, 3 May 1991 20:19:18 +0000 (20:19 +0000)]
*** empty log message ***
John Gilmore [Fri, 3 May 1991 19:57:13 +0000 (19:57 +0000)]
There should be a Makefile in the cvs main directory, configured
for "./config.gdb none", so that things like "make tags" and "make tar"
will work.
John Gilmore [Fri, 3 May 1991 19:25:38 +0000 (19:25 +0000)]
Avoid making a machine-dependent (probably wrong) declaration of malloc
and free. Depend on the sysdep.h file to do that for us.
John Gilmore [Fri, 3 May 1991 19:24:18 +0000 (19:24 +0000)]
Be sure malloc and free are declared; bfd/opncls uses them.
K. Richard Pixley [Fri, 3 May 1991 19:14:21 +0000 (19:14 +0000)]
Changed getopt to libiberty, commented out an aborted attempt at host
level Makefiles because it caused errors on +rm, add a warning for
directories expected to be removed on +rm but that don't exist.
Jim Kingdon [Fri, 3 May 1991 06:06:53 +0000 (06:06 +0000)]
*** empty log message ***
Jim Kingdon [Fri, 3 May 1991 06:04:13 +0000 (06:04 +0000)]
* mtrace.c: Don't typedef things like size_t, just #define them.
Jim Kingdon [Fri, 3 May 1991 06:03:54 +0000 (06:03 +0000)]
* cplus-dem.c [__STDC__]: Make x{m,re}alloc return void*.
Jim Kingdon [Fri, 3 May 1991 06:02:52 +0000 (06:02 +0000)]
* signame.c: Cast const char* to char* when assigning to sys_siglist.
Jim Kingdon [Fri, 3 May 1991 06:02:03 +0000 (06:02 +0000)]
Make it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog.
Jim Kingdon [Fri, 3 May 1991 05:56:58 +0000 (05:56 +0000)]
(osys_read_record): If record->header.lenth <= sizeof (record->header),
then return rather than passing a negative (or zero) nelts to bfd_read.
Jim Kingdon [Fri, 3 May 1991 01:59:25 +0000 (01:59 +0000)]
Make arg to zalloc a bfd_size_type not a size_t
John Gilmore [Fri, 3 May 1991 01:24:03 +0000 (01:24 +0000)]
Make it limp for MIPS ECOFF, too.
John Gilmore [Fri, 3 May 1991 01:07:12 +0000 (01:07 +0000)]
Mips bringup and general cleanup
* cplus-dem.c: Move CPLUS_MARKER define to after defs.h.
* infptrace.c (PT_WRITE_D, PT_READ_D): Use correct values.
(This still doesn't seem to make MIPS bkpts work.)
* mipsread.c: Remove dup "Reading symbol data..." msg.
(symbol_file_command, add_file_command): Remove, obsol.
* printcmd.c (ptype_command): Say "an enum" rather than "a enum".
Wrap output appropriately.
* stack.c (locals_info, catch_info, args_info): Check
selected_frame rather than target_has_stack or coredumping.
* valprint.c (type_print_varspec_suffix): Wrap "ptype" output of
enums appropriately.
Jim Kingdon [Fri, 3 May 1991 00:50:18 +0000 (00:50 +0000)]
*** empty log message ***
John Gilmore [Thu, 2 May 1991 23:10:23 +0000 (23:10 +0000)]
Merge Per Bothner's MIPS changes from 31 March 1991 (bfd-0.5.2-patch1a)
and make the result compile and run on the DEC 3100. It still has
trouble running but it can handle opening exec and symbol files in
ecoff format.
John Gilmore [Thu, 2 May 1991 21:27:31 +0000 (21:27 +0000)]
Make it compile on DEC 3100.
John Gilmore [Thu, 2 May 1991 21:22:43 +0000 (21:22 +0000)]
Minor cleanup to make it compile on DECstation.
Jim Kingdon [Thu, 2 May 1991 19:05:06 +0000 (19:05 +0000)]
Make bfd_filename return a char *, not a const char *.
Jim Kingdon [Thu, 2 May 1991 06:46:25 +0000 (06:46 +0000)]
*** empty log message ***
Jim Kingdon [Thu, 2 May 1991 04:38:14 +0000 (04:38 +0000)]
*** empty log message ***
John Gilmore [Thu, 2 May 1991 04:37:41 +0000 (04:37 +0000)]
Merge devo/bfd with GDB's bfd.
Jim Kingdon [Thu, 2 May 1991 04:37:28 +0000 (04:37 +0000)]
* xm-sun386.h: Don't define SET_STACK_LIMIT_HUGE.
Jim Kingdon [Thu, 2 May 1991 04:36:15 +0000 (04:36 +0000)]
* blockframe.c, breakpoint.c, core.c, command.c, findvar.c,
eval.c, expprint.c, infcmd.c, infrun.c, main.c, printcmd.c,
remote.c, source.c, stack.c, dbxread.c, coffread.c, symfile.h,
symfile.c, utils.c, valarith.c, values.c, valops.c, tm-68k.h,
target.c, inftarg.c, ieee-float.c, environ.c, defs.h,
command.h, inferior.h, gdbcore.h, symtab.h, expression.h,
symtab.c, cplus-dem.c, value.h, expread.y, valprint.c,
copying.awk, solib.c, inflow.c, symmisc.c
: Lint. Use read_memory not read_memory_integer on CORE_ADDR's.
Use {value_as,unpack}_pointer (added to values.c)
not {value_as,unpack}_long on CORE_ADDR's.
Use longest_to_int (added to defs.h) instead of cast to int.
Remove from_tty arg to mod_path.
Put symfile_bfd in {coff,dbx}read.c not symfile.h.
Use OP_NULL instead of 0 where dummy enum exp_opcode needed.
Jim Kingdon [Thu, 2 May 1991 04:28:42 +0000 (04:28 +0000)]
The list of changes is too long to fit in the cvs log (since it truncates!).
Look at the ChangeLog for Apr 30 and May 1.
Jim Kingdon [Thu, 2 May 1991 04:17:41 +0000 (04:17 +0000)]
* signame.c: Include defs.h and param.h.
John Gilmore [Thu, 2 May 1991 04:11:40 +0000 (04:11 +0000)]
Merge devo/bfd with GDB's bfd.
Remove obstack.h to ../include and obstack.c to ../libiberty.
Move COFF symbol swapping code to coffswap.c where GDB can call it but it
won't be duplicated if we have N different COFF targets.
Add support for traditional Unix core files (with a upage). This support
is from an Ultrix port, but is probably slightly broken now.
Improve bfd_release's of obstack'd items on error returns.
gcc -Wall fixes.
Handle section alignment slightly better in coff, and comment where it
needs more work (on page-aligning virtual vs file addresses for DPAGED).
Use set_tdata everywhere that tdata is set, to avoid "cast to the left
of assignment" problems with some compilers.
Move bfd_alloc, bfd_zalloc, bfd_realloc, and bfd_release into libbfd.h
(from bfd.h) since they are internal routines.
Remove the redundant suffix "_struct" from struct tags.
Set symbol count early in file reading, before slurping in the syms,
for GDB's use.
John Gilmore [Thu, 2 May 1991 04:11:17 +0000 (04:11 +0000)]
Initial revision
John Gilmore [Thu, 2 May 1991 03:39:15 +0000 (03:39 +0000)]
Merge devo/bfd with GDB's bfd.
Get getopt and obstack from -liberty rather than compiling them here.
* coffread.c: turn a printf into a complain(), and try to deal more
gracefully with botched-looking lineno pointers.
* dbxread.c: Use bfd_get_symcount rather than bfd_get_symcount_upper_bound.
Don't coredump on files with zero symbols in them (a BFD bug showed this one).
* environ.c: Pass GNUTARGET into the parent (gdb) as well as the child.
John Gilmore [Thu, 2 May 1991 03:08:32 +0000 (03:08 +0000)]
Merge devo/bfd with GDB's bfd.
Things that use -lbfd must also use -liberty, to get obstacks.
John Gilmore [Thu, 2 May 1991 03:06:46 +0000 (03:06 +0000)]
Merge devo/bfd with GDB's bfd.
Use "libiberty" rather than "getopt" directory.
Add a few FIXME's to ar.c.
John Gilmore [Thu, 2 May 1991 02:52:21 +0000 (02:52 +0000)]
Update for merge of main BFD and GDB's BFD. Remove "_struct" suffix
on all struct types -- they are in a separate namespace anyway.
Move bfd_alloc, bfd_zalloc, bfd_realloc, bfd_release into libbfd.h,
since external users shouldn't be calling them anyway.
Michael Tiemann [Tue, 30 Apr 1991 20:19:02 +0000 (20:19 +0000)]
Tue Apr 30 13:13:33 1991 Michael Tiemann (tiemann at cygint.cygnus.com)
* valprint.c (type_print_base): If the type being printed is a
struct containing undefined types, print "<undefine type>"
as the type instead of crashing.
* values.c (value_headof): Get the vtable pointer taking
TYPE_VPTR_BASETYPE into account.
* symtab.c, symtab.h, dbxread.c: Fix various whitespace splotches.
Jim Kingdon [Tue, 30 Apr 1991 19:51:50 +0000 (19:51 +0000)]
*** empty log message ***
Jim Kingdon [Tue, 30 Apr 1991 19:50:49 +0000 (19:50 +0000)]
* sun3-xdep.c, tm-sun3.h, tm-68k.h: Change TARGET_SUN3 to
GDB_TARGET_IS_SUN3.
Jim Kingdon [Tue, 30 Apr 1991 19:50:07 +0000 (19:50 +0000)]
* Makefile.dist: Add comment about tm-sun3os4.h: tm-sun3.h, etc.
Jim Kingdon [Tue, 30 Apr 1991 19:49:40 +0000 (19:49 +0000)]
* sun386-xdep.c [!GDB_TARGET_IS_SUN386]: Just provide empty
functions which don't do anything.
Jim Kingdon [Tue, 30 Apr 1991 19:49:22 +0000 (19:49 +0000)]
* Move BROKEN_LARGE_ALLOCA from tm-sun386.h to xm-sun386.h.
Jim Kingdon [Mon, 29 Apr 1991 20:54:42 +0000 (20:54 +0000)]
* infrun.c: Don't include sys/user.h and friends (wrong for
cross-debugging and not necessary anymore (see IN_SIGTRAMP in
xm-vax.h)).
[SET_STACK_LIMIT_HUGE]: Include <sys/{resource,time}.h>.
xm-tahoe.h: Don't define _DIRENT_.
* xm-tahoe.h: Remove USE_OLD_TTY (not needed now that terminal.h
includes sgtty.h before sys/ioctl.h).
Jim Kingdon [Mon, 29 Apr 1991 05:28:47 +0000 (05:28 +0000)]
{x,t}m-tahoe.h, tahoe-pinsn.c, tahoe-opcode.h: New files.
Jim Kingdon [Mon, 29 Apr 1991 05:28:45 +0000 (05:28 +0000)]
Initial revision
Jim Kingdon [Mon, 29 Apr 1991 05:27:04 +0000 (05:27 +0000)]
* param-no-tm.h: Make BITS_BIG_ENDIAN defined to 0/1, not defined
or not defined. Don't define it based on TARGET_BYTE_ORDER if
it's already defined (in the tm.h file).
mips-opcode.h (BIT_FIELDS_*),
values.c (modify_field, unpack_field_as_long):
Use #if BITS_BIG_ENDIAN not #ifdef BITS_BIG_ENDIAN.
Jim Kingdon [Fri, 26 Apr 1991 23:09:53 +0000 (23:09 +0000)]
* tm-sparc.h: Add comments about gcc version 2 and structure passing.
Jim Kingdon [Fri, 26 Apr 1991 23:09:52 +0000 (23:09 +0000)]
*** empty log message ***
Jim Kingdon [Fri, 26 Apr 1991 23:07:03 +0000 (23:07 +0000)]
* symfile.c (fill_in_vptr_fieldno): Don't call check_stub_type.
Return void not int. (also declarations in symfile.h and value.h).
Jim Kingdon [Fri, 26 Apr 1991 23:05:38 +0000 (23:05 +0000)]
defs.h (TARGET_LONG_LONG_BIT): New macro.
Jim Kingdon [Fri, 26 Apr 1991 23:05:17 +0000 (23:05 +0000)]
* symtab.c, symtab.h: Have a builtin_type_{,unsigned_}long_long
regardless of LONG_LONG.
symtab.c, symtab.h (allocate_stub_method): New function.
Jim Kingdon [Fri, 26 Apr 1991 23:04:32 +0000 (23:04 +0000)]
* values.c, value.h: New functions value_{headof,from_vtable_info}.
* value.h: Remove redundant declaration of value_static_field.
Jim Kingdon [Fri, 26 Apr 1991 23:04:10 +0000 (23:04 +0000)]
* values.c (check_stub_method): Do lookup_method_type and stuff
rather than smash_to_method_type.
* values.c (check_stub_method): Deal with operator names.
* values.c: Move declaration of cplus_demangle to top of file.
* values.c (baseclass_addr): If can't read memory, set *ERRP
rather than calling error().
* values.c (value_static_field): Recursively check all baseclasses.
Return NULL if not found.
* values.c, value.h: New functions value_{headof,from_vtable_info}.
values.c (value_virtual_fn_field):
Don't bother to do anything with
return value from fill_in_vptr_fieldno.CVS: Modified Files:
Jim Kingdon [Fri, 26 Apr 1991 23:02:38 +0000 (23:02 +0000)]
* valprint.c (val_print): Print out first element of vtbl
specially.
* valprint.c: Move print controls to top and add objectprint.
Add command "set print object on/off".
* valprint.c (value_print, is_vtbl_member): Put things in local
variables rather than continually doing VALUE_TYPE (val), etc.
Jim Kingdon [Fri, 26 Apr 1991 23:02:15 +0000 (23:02 +0000)]
* valops.c (typecmp): If t2 == 0, return 1.
* valops.c (value_struct_elt_for_address): Call check_stub_method.
* valops.c (value_struct_elt): Remove found, arg1_as_ptr.
* valops.c (search_struct_method): Give error if j > 0 && args == 0.
* valops.c (search_struct_field): New argument looking_for_baseclass.
Give error if value_static_field or value_primitive_field
return NULL.
valops.c (various): Call search_struct_field with extra parameter.
Jim Kingdon [Fri, 26 Apr 1991 23:01:36 +0000 (23:01 +0000)]
* symtab.c, symtab.h: Have a builtin_type_{,unsigned_}long_long
regardless of LONG_LONG.
symtab.c, symtab.h (allocate_stub_method): New function.
* symtab.c (decode_line_1): Deal with operators specified as
"operator" <optional whitespace> <symbols for operator>.
(operator_chars): Help do it.
* symtab.c (lookup_struct_elt_type): Call check_stub_type.
Take additional argument noerr.
Don't dump core if TYPE_FIELD_NAME is NULL.
Check the baseclasses recursively.
Jim Kingdon [Fri, 26 Apr 1991 23:00:55 +0000 (23:00 +0000)]
* symfile.c (fill_in_vptr_fieldno): Don't call check_stub_type.
Return void not int. (also declarations in symfile.h and value.h).
Deal with multiple inheritance.
Jim Kingdon [Fri, 26 Apr 1991 23:00:32 +0000 (23:00 +0000)]
* printcmd.c (x_command): Dereference references.
* printcmd.c (print_command_1): Add if (objectprint) code.
Jim Kingdon [Fri, 26 Apr 1991 22:59:54 +0000 (22:59 +0000)]
* eval.c (evaluate_subexp, case UNOP_LOGNOT): If following opcode
is OP_SCOPE, give an error.
* eval.c (evaluate_subexp): Pass third arg to lookup_struct_elt_type.
* eval.c (evaluate_subexp), values.c (value_virtual_fn_field):
Don't bother to do anything with
return value from fill_in_vptr_fieldno.
* eval.c (evaluate_subexp): If value_static_field returns NULL,
give an error.
Jim Kingdon [Fri, 26 Apr 1991 22:59:00 +0000 (22:59 +0000)]
dbxread.c (read_type): If we get "##", don't lookup_function_type
and start clobbering it; allocate_stub_method instead.
* dbxread.c (read_struct_type): Put "op$" instead of "operator"
in the symbol table.
* dbxread.c (read_struct_type): Set fcontext to 0 for normal member
function.
* dbxread.c (read_struct_type): Initialize name to 0.
* dbxread.c (read_ofile_symtab, N_CATCH): Add offset to bufp->n_value.
* dbxread.c (dbx_create_type): Zero TYPE_VPTR_BASETYPE.
(read_struct_type): Don't bother to set TYPE_VTPR_{BASETYPE,FIELDNO}
if it's just going to be {0,1}.
* dbxread.c (virtual_context): Use TYPE_BASECLASS starting at 0
(yes, it's #if 0, but just in case...).
Jim Kingdon [Fri, 26 Apr 1991 22:58:14 +0000 (22:58 +0000)]
* cplus-dem.c (optable): Add "nw", "dl", "compound".
(cplus_mangle_opname): New function.
(do_type): Add case 'Q'.
* vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some
things "const".
Jim Kingdon [Fri, 26 Apr 1991 22:57:44 +0000 (22:57 +0000)]
* expread.y (abs_decl): Accept '&' and '&' abs_decl.
expread.y (typebase): Add {unsigned,} long long {,int}.
* expread.y (variable): Allow for destructor with foo::~name.
* vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some
things "const".
Jim Kingdon [Fri, 26 Apr 1991 22:57:07 +0000 (22:57 +0000)]
* vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some
things "const".
Jim Kingdon [Fri, 26 Apr 1991 22:56:08 +0000 (22:56 +0000)]
gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code.
* gmalloc.c [!HAVE_GETPAGESIZE]: Try to figure out the pagesize.
Jim Kingdon [Fri, 26 Apr 1991 22:55:42 +0000 (22:55 +0000)]
* xconfig/i386v{,32}{,-g}: Add XM_CFLAGS=-Dgetpagesize()=4096.
gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code.