Jim Kingdon [Fri, 28 Jan 1994 16:56:58 +0000 (16:56 +0000)]
 
	* mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel with
	index indexNil.
Ian Lance Taylor [Fri, 28 Jan 1994 16:30:29 +0000 (16:30 +0000)]
 
	* config/obj-coff.c (obj_coff_section_header_append): Do not
	declare if BFD_ASSEMBLER.
	(stack_pop): Correct test for stack underflow.
	(obj_coff_endef, obj_coff_dim, obj_coff_line, obj_coff_size,
	obj_coff_scl, obj_coff_tag, obj_coff_type, obj_coff_val): Declare
	type of ignored argument to avoid gcc warning.
	(align): Removed unused function.
Jim Kingdon [Fri, 28 Jan 1994 16:25:25 +0000 (16:25 +0000)]
 
	* config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.
	* elfread.c (record_minimal_symbol_and_info),
	dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it.
Ken Raeburn [Fri, 28 Jan 1994 05:38:41 +0000 (05:38 +0000)]
 
removed rcs cruft
Roland Pesch [Fri, 28 Jan 1994 04:32:37 +0000 (04:32 +0000)]
 
Many scattered edits, primarily on recent mods.
Ancient "Internals" text deleted.
Jim Kingdon [Fri, 28 Jan 1994 02:50:18 +0000 (02:50 +0000)]
 
* i386-stub.c: Add ".text" right before "mem_fault:".
Jim Kingdon [Fri, 28 Jan 1994 02:18:39 +0000 (02:18 +0000)]
 
	* main.c (baud_rate): Add FIXME comment about printing -1 value.
	* remote-utils.c (usage): Fix message to be accurate and conform
	more closely to normal conventions.
	* remote-utils.c (gr_files_info): Have the exec_bfd test control
	whether to show information about exec_bfd, and not control whether
	to show information about device and speed.
	* remote-utils.c (gr_open): If sr_get_device returns NULL, give
	usage message, don't dump core.
	* remote-bug.c (bug_write_memory): Use alloca, not GCC extension
	for variable size array.
	(bug_fetch_register, bug_store_register): Rename "value" to
	"fpreg_buf" because some compilers don't like variables whose
	names are the same as types.
	(bug_store_register): Use a cast when converting char * to
	unsigned char *.
Ken Raeburn [Fri, 28 Jan 1994 01:42:05 +0000 (01:42 +0000)]
 
Various changes: alpha support, fx_done handling, EMIT_SECTION_SYMBOLS, ...
Ken Raeburn [Fri, 28 Jan 1994 01:40:22 +0000 (01:40 +0000)]
 
Comment change: Soften recommendations against supplying sym+addend operands,
since it works, and gas does it.  It's merely wasteful of space.
Ken Raeburn [Fri, 28 Jan 1994 01:37:02 +0000 (01:37 +0000)]
 
New Alpha support files, based on files from CMU.
Still to do:
 - fix floating-point handling
 - figure out if we can adapt to using ../opcodes/alpha-opc.h
 - gcc bootstrap testing
 - 32-bit mode support?
 - test cross-assembly
Steve Chamberlain [Fri, 28 Jan 1994 01:26:25 +0000 (01:26 +0000)]
 
Thu Jan 27 17:19:54 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
	* ldlang.c (print_one_symbol, print_input_section):  Print
	global symbols in symbol table again.
Ken Raeburn [Fri, 28 Jan 1994 01:21:53 +0000 (01:21 +0000)]
 
* as.h: If __GNUC__ and inline are both undefined, define inline away.
* write.c (cvt_frag_to_fill): Don't assume that fr_var for rs_align or rs_org
frags will be 1.
(relax_segment): For rs_align, if fr_var is not 1, complain if
required padding is not a multiple of the size of the pad pattern.
(fixup_segment): Leave gp-relative relocations alone.  For pcrel relocations
referring to the same segment, clear fx_pcrel when clearing fx_addsy.
* as.h: Adjust comments on rs_align.
* write.c, config/obj-{aout,bout,coff*}.c, config/tc-sparc.c: Query the fx_done
field instead of fx_addsy to see if the fixup still needs to be applied.  Set
fx_done and clear fx_addsy both, for now.  If TC_HANDLES_FX_DONE isn't defined,
assume md_apply_fix will only clear fx_addsy, and set fx_done accordingly after
returning.
* config/tc-sparc.h (TC_HANDLES_FX_DONE): Define.
* config/obj-coff.c (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Defined
here, static.
* config/obj-aout.c [BFD_ASSEMBLER]: Undef NO_RELOC before including aout/aout64.h.
* write.c (write_object_file): If EMIT_SECTION_SYMBOLS is false, don't write
out a section symbol even if it's used in a relocation; assume relocations will
handle section numbers somehow.  Rename "punt_it" label to "punt_it_if_unused"
to reflect it's true use.
(EMIT_SECTION_SYMBOLS): Default to 1.
(adjust_reloc_syms): Don't create a new symbol for an absolute
reference; just use the absolute section symbol.
(write_relocs): Make printout of reloc values dependent on flag DEBUG3, not
DEBUG2.
* config/obj-aout.h (EMIT_SECTION_SYMBOLS): Define as 0.
* config/obj-ecoff.h (EMIT_SECTION_SYMBOLS): Ditto.
Jim Kingdon [Fri, 28 Jan 1994 01:05:39 +0000 (01:05 +0000)]
 
* chardefs.h: Only declare strrchr if it is not #define'd.
Ken Raeburn [Fri, 28 Jan 1994 00:58:00 +0000 (00:58 +0000)]
 
whitespace/formatting changes
Jim Kingdon [Fri, 28 Jan 1994 00:46:43 +0000 (00:46 +0000)]
 
	* symmisc.c (maintenance_print_symbols): Don't refer to the name
	of the command in error message (the text was referring to the old
	name of the command).
	* symmisc.c (dump_symtab): Fix args to fprintf_filtered.
Ken Raeburn [Fri, 28 Jan 1994 00:21:03 +0000 (00:21 +0000)]
 
whitespace/comment changes
Ken Raeburn [Fri, 28 Jan 1994 00:03:38 +0000 (00:03 +0000)]
 
* symbols.c (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Deleted.
(symbol_begin): Moved to end of file, so function inlining can work better.
(fb_label_count, fb_label_max): Default C static initializers are sufficient.
* symbols.h (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Declarations
deleted.
Jim Kingdon [Thu, 27 Jan 1994 23:55:10 +0000 (23:55 +0000)]
 
	* c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to print
	full details on structure elements without names.  This partially
	reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect
	of those changes was accidental.
Ken Raeburn [Thu, 27 Jan 1994 23:39:00 +0000 (23:39 +0000)]
 
* atof-generic.c: Some reformatting.
(atof_generic): Be careful when mixing signed/unsigned values of different
sizes.
Ian Lance Taylor [Thu, 27 Jan 1994 23:10:19 +0000 (23:10 +0000)]
 
	* read.c (lex_type): No longer make '{' a valid character for
	symbol names.
Jim Kingdon [Thu, 27 Jan 1994 22:01:52 +0000 (22:01 +0000)]
 
	* gdb.texinfo (Selection, Frame Info): Update information about
	arbitrary frame specficiations.
Ian Lance Taylor [Thu, 27 Jan 1994 21:53:17 +0000 (21:53 +0000)]
 
	* as.c (main): Print long values using %ld.
Ian Lance Taylor [Thu, 27 Jan 1994 21:50:46 +0000 (21:50 +0000)]
 
	* messages.c (as_warn_internal): New static function.
	(as_warn, 3 versions): Use as_warn_internal.
	(as_warn_where, 3 versions): New function.
	* as.h (as_warn_where): Declare.
Jim Kingdon [Thu, 27 Jan 1994 21:44:40 +0000 (21:44 +0000)]
 
	* stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME is
	defined, make it an error to specify a single argument which is not
	a frame number.
David MacKenzie [Thu, 27 Jan 1994 20:49:21 +0000 (20:49 +0000)]
 
	* ldmain.c ldmain.h ldgram.y: If -v -V or --version was given,
	exit successfully instead of complaining if no input files are
	given.
Jim Kingdon [Thu, 27 Jan 1994 20:19:13 +0000 (20:19 +0000)]
 
	* Makefile.in (version.c), main.c (print_gdb_version): Use
	host_alias and target_alias, not host_canonical and
	target_canonical, to print configuration.
Ian Lance Taylor [Thu, 27 Jan 1994 18:56:42 +0000 (18:56 +0000)]
 
	* linker.c (generic_link_add_symbol_list): If symbol is common,
	set the BSF_OLD_COMMON flag.
Jeff Law [Thu, 27 Jan 1994 16:22:10 +0000 (16:22 +0000)]
 
    * gdb.t10/hppa.mt: A makefile fragment for the PA.
        * gdb.t10/configure.in (hppa*-*-*): Use it.
Jim Kingdon [Thu, 27 Jan 1994 01:23:50 +0000 (01:23 +0000)]
 
	* parse.c (write_exp_msymbol): Use new type msymbol_addr_type instead
	of builtin_type_long.  It is necessary to get a type which is
	TARGET_PTR_BIT bits in size; builtin_type_long might not be big enough.
Jim Kingdon [Thu, 27 Jan 1994 01:12:06 +0000 (01:12 +0000)]
 
	Fix many sins which will come up in 32 bit x 64 bit GDB, and
	various miscellaneous things discovered in the process:
	* printcmd.c, defs.h (print_address_numeric): New function.
	* c-valprint.c (c_val_print), ch-valprint.c (chill_val_print)
	breakpoint.c (describe_other_breakpoints, breakpoint_1, mention),
	cp-valprint.c (cplus_print_value), infcmd.c (jump_command),
	printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c:
	Use it.
	* utils.c, defs.h (gdb_print_address): New function.
	* expprint (dump_expression), gdbtypes.h: Use it.
	* breakpoint.c (describe_other_breakpoints),
	symmisc.c (dump_symtab, print_symbol):
	Use filtered not unfiltered I/O.
	(remove_breakpoints): Remove BREAKPOINT_DEBUG code.  Might as well
	just run gdb under a debugger for this (and it had problems with
	printing addresses, how to print b->shadow, etc.).
	* buildsym.c (make_blockvector), core.c (memory_error),
	exec.c (print_section_info), maint.c (print_section_table),
	mdebugread.c (parse_procedure), solib.c, source.c, symfile.c,
	symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
	Add comments saying code is broken.  Marked with "FIXME-32x64".
	* dbxread.c (process_one_symbol), partial-stab.h (default),
	remote-vx.c (vx_run_files_info):
	Don't cast int being passed to local_hex_string.
	* symmisc.c (print_symbol): Don't cast long being passed to %lx.
	* symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE
	only being a long.
	* symmisc.c (print_symbol): Print "offset" in message for LOC_ARG
	and LOC_LOCAL.
	* printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE.
	* source.c: Include <sys/types.h> regardless of USG.
Jim Kingdon [Thu, 27 Jan 1994 00:36:05 +0000 (00:36 +0000)]
 
	Fix many sins which will come up in 32 bit x 64 bit GDB, and
	various miscellaneous things discovered in the process:
	* printcmd.c, defs.h (print_address_numeric): New function.
	* c-valprint.c (c_val_print), ch-valprint.c (chill_val_print)
	breakpoint.c (describe_other_breakpoints, breakpoint_1, mention),
	cp-valprint.c (cplus_print_value), infcmd.c (jump_command),
	printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c:
	Use it.
	* utils.c, defs.h (gdb_print_address): New function.
	* expprint (dump_expression), gdbtypes.h: Use it.
	* breakpoint.c (describe_other_breakpoints),
	symmisc.c (dump_symtab, print_symbol):
	Use filtered not unfiltered I/O.
	(remove_breakpoints): Remove BREAKPOINT_DEBUG code.  Might as well
	just run gdb under a debugger for this (and it had problems with
	printing addresses, how to print b->shadow, etc.).
	* buildsym.c (make_blockvector), core.c (memory_error),
	exec.c (print_section_info), maint.c (print_section_table),
	mdebugread.c (parse_procedure), solib.c, source.c, symfile.c,
	symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
	Add comments saying code is broken.  Marked with "FIXME-32x64".
	* dbxread.c (process_one_symbol), partial-stab.h (default),
	remote-vx.c (vx_run_files_info):
	Don't cast int being passed to local_hex_string.
	* symmisc.c (print_symbol): Don't cast long being passed to %lx.
	* symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE
	only being a long.
	* symmisc.c (print_symbol): Print "offset" in message for LOC_ARG
	and LOC_LOCAL.
	* printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE.
	* source.c: Include <sys/types.h> regardless of USG.
Roland Pesch [Wed, 26 Jan 1994 23:35:17 +0000 (23:35 +0000)]
 
General editing pass prior to Net release.
David MacKenzie [Wed, 26 Jan 1994 22:11:18 +0000 (22:11 +0000)]
 
	* objcopy.c (filter_bytes): New function.
	(copy_section): Call it.
	(copy_options, copy_usage, copy_main): Add --byte option to
	activate it.  Appropriate the -b option (which was an undocumented
	synonym for -F) for it, also.  Add --interleave, -i option for
	additional control.
	(setup_section, copy_section, mangle_section): Renamed with no `s'
	on the end.
	* objcopy.1, binutils.texi: Document the new options.
	* objdump.c (display_target_tables, display_target_list):
	New functions broken out of display_info.
	Eliminate some magic constants.  Use more meaningful variable names.
	(dump_bfd_header): New function broken out of display_bfd.
	(dump_section_header): New function broken out of dump_headers.
	(remove_useless_symbols): Don't shadow global variable name with
	parameter.
	(objdump_print_address): Fix backward test.
David MacKenzie [Wed, 26 Jan 1994 21:53:55 +0000 (21:53 +0000)]
 
	* format.c (bfd_check_format_matches): Put the new entry in the
	correct element of matching_vector.
Rob Savoye [Wed, 26 Jan 1994 21:44:50 +0000 (21:44 +0000)]
 
Change all occurances of RUNTEST_FLAGS to RUNTESTFLAGS to be consistant with
everything else. (and now work recursively too)
Jeff Law [Wed, 26 Jan 1994 06:00:44 +0000 (06:00 +0000)]
 
More changes as suggested by Roland.  Fix buglets so that it passes makeinfo.
Stan Shebs [Wed, 26 Jan 1994 04:24:30 +0000 (04:24 +0000)]
 
	* Makefile.in: Format variable definitions consistently.
	(LD_PROG): Remove unnecessary variables from link command,
	change variable LOADLIBES to EXTRALIBS.
Stan Shebs [Wed, 26 Jan 1994 04:19:32 +0000 (04:19 +0000)]
 
Add MPW/GM sanitizing
Stan Shebs [Wed, 26 Jan 1994 04:18:25 +0000 (04:18 +0000)]
 
Tue Jan 25 20:01:55 1994  Stan Shebs  (shebs@andros.cygnus.com)
	* mpw-xconfig.in: New file, mpw x mips configuration fragment.
	* mpw-em.c: New file, compressed version of em_mipsidt.c.
Stan Shebs [Wed, 26 Jan 1994 04:17:05 +0000 (04:17 +0000)]
 
Tue Jan 25 19:54:19 1994  Stan Shebs  (shebs@andros.cygnus.com)
	* mpw-config.in: New file, MPW configuration fragment.
	* mpw-build.in: New file, MPW build script fragment.
	* mpw-make.in: New file, MPW makefile fragment.
	(This file is semi-automatically generated from Makefile.in.)
	* ldfile.c (slash): If MPW, set to `:'.
	* ldlex.l (TRUE_FALSE_ALREADY_DEFINED): If MPW, set this to
	prevent redefinition errors.
Stan Shebs [Wed, 26 Jan 1994 03:46:17 +0000 (03:46 +0000)]
 
Removed objdump.h
Stan Shebs [Wed, 26 Jan 1994 03:45:21 +0000 (03:45 +0000)]
 
Tue Jan 25 19:40:54 1994  Stan Shebs  (shebs@andros.cygnus.com)
	* bucomm.c (print_arelt_descr): Change decl of `when' to time_t.
	* objdump.h: Removed.
Stan Shebs [Wed, 26 Jan 1994 02:34:20 +0000 (02:34 +0000)]
 
Tue Jan 25 18:30:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
	* as.c (quiet_flag): New flag.
	(main): If -noquiet given, display execution time and memory used.
Jeff Law [Tue, 25 Jan 1994 23:54:34 +0000 (23:54 +0000)]
 
    * doc/{all.texi,as.texinfo}: Add documentation for HPPA port.
Rob Savoye [Tue, 25 Jan 1994 22:28:03 +0000 (22:28 +0000)]
 
Add lib dir and utils-lib.exp.
Stan Shebs [Tue, 25 Jan 1994 21:30:00 +0000 (21:30 +0000)]
 
Tue Jan 25 13:19:41 1994  Stan Shebs  (shebs@andros.cygnus.com)
	* ldmain.c (main): Compute and display total execution time.
	* ld.texinfo (-stats): Document the option.
Peter Schauer [Tue, 25 Jan 1994 21:04:57 +0000 (21:04 +0000)]
 
	* gdb.t09/corefile:  Increase timeout when spawning gdb explicitly.
Peter Schauer [Tue, 25 Jan 1994 21:03:56 +0000 (21:03 +0000)]
 
	* valops.c (value_assign):  Set `type' after coercing toval.
	* c-valprint.c (c_val_print), ch-valprint.c (chill_val_print):
	Use extract_unsigned_integer to get the address of a reference.
Ian Lance Taylor [Tue, 25 Jan 1994 20:48:48 +0000 (20:48 +0000)]
 
	* reloc.c (bfd_get_reloc_size): Size of type -2 is 4 bytes, not 2.
Ian Lance Taylor [Tue, 25 Jan 1994 20:26:48 +0000 (20:26 +0000)]
 
Correct comment.
Stan Shebs [Tue, 25 Jan 1994 18:59:27 +0000 (18:59 +0000)]
 
Tue Jan 25 10:49:31 1994  Stan Shebs  (shebs@andros.cygnus.com)
	* mpw-config.in (varargs.h, sys/*.h): Don't create when
	configuring.
	(host.h): Create with forward-include.
	* mpw-make.in (CFLAGS): Add -w flag.
	* mpw-build.in: New file, build script fragment.
Stan Shebs [Tue, 25 Jan 1994 18:57:17 +0000 (18:57 +0000)]
 
Tue Jan 25 10:52:22 1994  Stan Shebs  (shebs@andros.cygnus.com)
	* mpw-xconfig.in: Use forward-include to create include files.
Ian Lance Taylor [Tue, 25 Jan 1994 18:52:01 +0000 (18:52 +0000)]
 
Use <= in ecoff_frob_symbol, not <.
Jim Kingdon [Tue, 25 Jan 1994 18:51:54 +0000 (18:51 +0000)]
 
Improve ChangeLog entry for HAVE_SIGSETMASK to discuss what ANSI specifies
(just for kicks).
Ian Lance Taylor [Tue, 25 Jan 1994 18:38:20 +0000 (18:38 +0000)]
 
	* hp300hpux.c (MY(write_object_contents)): Write out the symbols
	before writing out the relocs, so that the right symbol indices
	are used.
Ian Lance Taylor [Tue, 25 Jan 1994 18:20:50 +0000 (18:20 +0000)]
 
	* archive.c (do_slurp_bsd_armap, bfd_slurp_bsd_armap_f2): Do not
	try to overlay the internal carsyms on the external symdefs.  That
	can not work if the size of a host pointer is larger than 4 bytes.
Ian Lance Taylor [Tue, 25 Jan 1994 18:14:25 +0000 (18:14 +0000)]
 
	* format.c (bfd_check_format_matches): Cast result of
	bfd_xmalloc_by_size_t.
	* opncls.c (_bfd_new_bfd): Avoid ANSI C prototype.
Jim Kingdon [Tue, 25 Jan 1994 17:42:20 +0000 (17:42 +0000)]
 
* stabs.texinfo (String Field): Discuss continuing stabs with ?.
Jim Kingdon [Tue, 25 Jan 1994 17:28:05 +0000 (17:28 +0000)]
 
	* stabsread.c (STABS_CONTINUE, error_type), partial-stab.h:
	AIX can use ? instead of \ for continuation.  Deal with it.
Jim Kingdon [Tue, 25 Jan 1994 16:56:24 +0000 (16:56 +0000)]
 
	* som.c, som.h (bfd_som_set_section_attributes,
	bfd_som_set_subsection_attributes): Change parameters from char
	to int.  Following a prototype with an old-style function definition
	in the presence of widened parameters is a GCC-ism not supported
	by the HP compiler in ANSI mode.
Ian Lance Taylor [Tue, 25 Jan 1994 16:53:48 +0000 (16:53 +0000)]
 
A few more minor formatting cleanups.
Ian Lance Taylor [Tue, 25 Jan 1994 16:47:50 +0000 (16:47 +0000)]
 
	* archive.c: Reindented to GNU standards.
Jim Kingdon [Tue, 25 Jan 1994 16:39:10 +0000 (16:39 +0000)]
 
	* paread.c (read_unwind_info): Just assign to objfile->obj_private,
	not OBJ_UNWIND_INFO.  Assigning to a cast is a GCC-ism which
	the HP compiler in ANSI mode doesn't like.
	* main.c: When defaulting HAVE_SIGSETMASK based on USG, just do it
	based on USG, rather than defining HAVE_SIGSETMASK to an expression
	containing defined.  This is for the HP compiler in ANSI mode.
Jim Kingdon [Tue, 25 Jan 1994 16:31:26 +0000 (16:31 +0000)]
 
* rldefs.h: Accept __hpux as well as hpux for HP compiler in ANSI mode.
David MacKenzie [Tue, 25 Jan 1994 13:27:56 +0000 (13:27 +0000)]
 
	* objdump.c (display_file): Remove call to list_matching_formats.
	It would never be called.
	(list_matching_formats): Take an arg giving the list of matching
	formats.
	(display_bfd): Pass the arg, and get it filled in by calling
	bfd_check_format_matches instead of bfd_check_format.
	(display_info, display_info_table): target_vector was renamed to
	bfd_target_vector.
David MacKenzie [Tue, 25 Jan 1994 13:25:26 +0000 (13:25 +0000)]
 
	* opncls.c (_bfd_new_bfd, _bfd_new_bfd_contained_in): Add
	"_bfd_" to function names.
	* archive.c (_bfd_create_empty_archive_element_shell),
	libbfd-in.h: Change callers.
	* libbfd.c (bfd_zmalloc): Renamed from zalloc.
	* libbfd.c (bfd_add_to_string_table),
	trad-core.c (trad_unix_core_file_p),
	targets.c (bfd_target_list),
	ptrace-core.c (ptrace_unix_core_file_p),
	opncls.c (new_bfd), libbfd-in.h,
	ieee.c (ieee_make_empty_symbol),
	elf32-hppa.c (hppa_elf_stub_branch_reloc),
	(hppa_elf_stub_reloc): Change callers.
	* libbfd.h: Regenerated.
	* archive.c (_bfd_look_for_bfd_in_cache): Add "_bfd_" to name.
	(_bfd_get_elt_at_filepos),
	coff-rs6000.c (rs6000coff_get_elt_at_filepos), libbfd-in.h:
	Change callers.
	* format.c (bfd_check_format_matches), libbfd-in.h, targets.c,
	elfcode.h (elf_object_p): Rename target_vector to bfd_target_vector
	and default_vector to bfd_default_vector.
	* libbfd.h: Regenerated.
John Gilmore [Tue, 25 Jan 1994 04:54:05 +0000 (04:54 +0000)]
 
* sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
Clean up the changes of 11 Jan, as recommended by Peter Schauer.
Per Bothner [Tue, 25 Jan 1994 02:42:14 +0000 (02:42 +0000)]
 
	* config.guess:  Clean up NeXT support, to allow nextstep
	on Intel machines.  Make OS be nextstep.
	* config.guess: Add alternate forms for Convex.
Rob Savoye [Tue, 25 Jan 1994 02:09:26 +0000 (02:09 +0000)]
 
Change RUNTESTFLAGS to RUNTEST_FLAGS to be consistant with FLAGS_TO_PASS.
Ian Lance Taylor [Tue, 25 Jan 1994 01:52:48 +0000 (01:52 +0000)]
 
	* coff-alpha.c (alpha_ecoff_object_p): New function.  Set size of
	.pdata section based on lnnoptr field, not section header.
	(alpha_relocate_section): Don't bother to check if r_symndx >= 0,
	since it is unsigned.
	(ecoffalpha_little_vec): Use alpha_ecoff_object_p rather than
	coff_object_p.
	* ecoff.c (ecoff_new_section_hook): Set alignment_power field of
	.pdata section to 3.
	(ecoff_compute_section_file_positions): Save the size of the
	.pdata section in the line_filepos field, and actually align the
	.pdata section to an alignment power of 4.
	(ecoff_compute_reloc_file_positions): Set output_has_begun after
	calling ecoff_compute_section_file_positions.
	(ecoff_write_object_contents): Set s_lnnoptr for the .pdata
	section from the line_filepos field.  Set vstamp for the optional
	header from the vstamp of the symbolic header.
	(ecoff_bfd_final_link): Set vstamp of the symbolic header to the
	vstamp used by the first object file in the link.
Ian Lance Taylor [Tue, 25 Jan 1994 01:50:46 +0000 (01:50 +0000)]
 
	* ecofflink.c (ecoff_align_debug): Align RFDs to debug_align.
Ian Lance Taylor [Tue, 25 Jan 1994 00:27:25 +0000 (00:27 +0000)]
 
Various entries.
Ian Lance Taylor [Tue, 25 Jan 1994 00:26:33 +0000 (00:26 +0000)]
 
	* ecoff.c (ecoff_frob_symbol): New function.  Put undefined
	symbols of known size in the undefined section.  Put small common
	symbols in a .scommon section.
	* ecoff.h (ecoff_frob_symbol): Declare.
	* config/obj-ecoff.h (obj_frob_symbol): Define.
	* config/obj-elf.c (obj_elf_write_symbol_p, obj_elf_write_symbol,
	obj_elf_frob_symbol): Removed unused functions.
	* config/obj-elf.h (obj_frob_symbol, obj_write_symbol): Removed
	unused macros.
	(obj_elf_frob_symbol, obj_elf_write_symbol): Removed declarations
	of unused functions.
	(obj_frob_symbol): Define if ECOFF_DEBUGGING.
Ian Lance Taylor [Tue, 25 Jan 1994 00:24:57 +0000 (00:24 +0000)]
 
	* tc-mips.c (g_switch_seen): New static variable.
	(md_parse_option): Set g_switch_seen for -G option.
	(s_option): If creating PIC code, force the GP size to be 0.  Warn
	if -G switch used with a non-zero value.
Ian Lance Taylor [Tue, 25 Jan 1994 00:20:48 +0000 (00:20 +0000)]
 
	* symbols.c (S_IS_COMMON): Use bfd_is_com_section rather than
	comparing against bfd_com_section.
Ian Lance Taylor [Mon, 24 Jan 1994 23:56:56 +0000 (23:56 +0000)]
 
	* linker.c (generic_link_check_achive_element): Set SEC_ALLOC flag
	for a created common section.
	(_bfd_generic_link_add_one_symbol): Likewise.
Ian Lance Taylor [Mon, 24 Jan 1994 23:54:51 +0000 (23:54 +0000)]
 
	* elfcode.h (swap_out_syms): Use elf_section_from_bfd_section to
	get the index of a common section, rather than always using
	SHN_COMMON (MIPS has multiple common sections).
David MacKenzie [Mon, 24 Jan 1994 23:38:03 +0000 (23:38 +0000)]
 
	* objdump.c (display_file): Remove call to list_matching_formats.
	It would never be called.
	(list_matching_formats): Take an arg giving the list of matching
	formats.
	(display_bfd): Pass the arg, and get it filled in by calling
	bfd_check_format_matches instead of bfd_check_format.
	* binutils.texi (objdump): Note some limitations of -h section
	address printing.
David MacKenzie [Mon, 24 Jan 1994 23:33:23 +0000 (23:33 +0000)]
 
	* format.c (bfd_check_format_matches): New function.
	(bfd_check_format): Call it.
	(bfd_matching_formats): Function removed.
	* targets.c: Replace the vector added on Jan 21 with a count of
	entries in default_vector.
	* bfd-in2.h: Regenerated.
David MacKenzie [Mon, 24 Jan 1994 21:31:01 +0000 (21:31 +0000)]
 
	* binutils.texi (objdump): Note some limitations of -h section
	address printing.
Stan Shebs [Mon, 24 Jan 1994 20:40:04 +0000 (20:40 +0000)]
 
Mon Jan 24 12:09:35 1994  Stan Shebs  (shebs@andros.cygnus.com)
	* mpw-xconfig.in (opcode/mips.h): Create using forward-include.
Stan Shebs [Mon, 24 Jan 1994 20:39:06 +0000 (20:39 +0000)]
 
Mon Jan 24 12:07:22 1994  Stan Shebs  (shebs@andros.cygnus.com)
	* mpw-config.in (varargs.h): Don't create.
	(sysdep.h): Create using forward-include.
	* mpw-make.in (CSEARCH): Add include/mpw to search path.
Ian Lance Taylor [Mon, 24 Jan 1994 20:26:49 +0000 (20:26 +0000)]
 
	* elf32-hppa.c (hppa_elf_gen_reloc_type): Typo (== for =).
Ian Lance Taylor [Mon, 24 Jan 1994 20:23:18 +0000 (20:23 +0000)]
 
	* bfd/aoutx.h (aout_link_input_section_std,
	aout_link_input_section_ext): Pass additional arguments to
	reloc_overflow callback.
	* coff-alpha.c (alpha_ecoff_get_relocated_section_contents,
	alpha_relocat_section): Likewise.
	* coff-h8300.c (h8300_reloc16_extra_cases): Likewise.
	* coff-h8500.c (extra_case): Likewise.
	* coff-mips.c (mips_relocate_section): Likewise.
	* coff-z8k.c (extra_case): Likewise.
	* elf32-hppa.c (hppa_elf_stub_finish): Likewise.
	* reloc.c (bfd_generic_get_relocated_section_contents): Likewise.
Ian Lance Taylor [Mon, 24 Jan 1994 20:22:12 +0000 (20:22 +0000)]
 
	* ldmain.c (reloc_overflow): Added name, reloc_name and addend
	arguments.
Ian Lance Taylor [Mon, 24 Jan 1994 19:55:02 +0000 (19:55 +0000)]
 
	* ldlang.c (lookup_name): Set BFD GP size to -G argument value
	after opening BFD.
Fred Fish [Mon, 24 Jan 1994 19:36:12 +0000 (19:36 +0000)]
 
Since gdb distributions must be sanitized, and it is easy to forget to
run Sanitize during the build process, cause the distribution build process
to emit a appropriate message and quit when run in an unsanitized tree.
Ken Raeburn [Mon, 24 Jan 1994 19:17:03 +0000 (19:17 +0000)]
 
read.c (s_lcomm): Treat Alpha like MIPS in handling of .sbss section.
Ian Lance Taylor [Mon, 24 Jan 1994 18:05:08 +0000 (18:05 +0000)]
 
	* bout.c (calljx_callback, callj_callback): Use get_value to get
	the symbol value and check for undefined symbols.
	(get_value): If the symbol is undefined, look it up in the linker
	hash table.
	(b_out_get_relocated_section_contents): For PCREL24 and PCREL13
	use get_value to get the symbol value and check for undefined
	symbols.
	* reloc16.c (bfd_coff_reloc16_get_value): If the symbol is
	undefined, look it up in the linker hash table.
Ian Lance Taylor [Mon, 24 Jan 1994 17:59:18 +0000 (17:59 +0000)]
 
	* ldlang.c (relaxing): Removed global variable.
	(lang_size_sections): If the canonical symbols have not already
	been read in, read them in before relaxing.
	* ldlang.h (relaxing): Removed declaration.
Ian Lance Taylor [Mon, 24 Jan 1994 17:41:21 +0000 (17:41 +0000)]
 
	* aoutx.h (translate_symbol_table): The string index 0 has a
	special meaning for normal symbols, but not for dynamic symbols.
Per Bothner [Sun, 23 Jan 1994 20:42:00 +0000 (20:42 +0000)]
 
	* ch-exp.y (match_string_literal):  Allow a zero-length string.
	* ch-lang.c (chill_printstr):  Don't print zero-length string funny.
Stan Shebs [Sun, 23 Jan 1994 00:34:31 +0000 (00:34 +0000)]
 
Sat Jan 22 16:25:09 1994  Stan Shebs  (shebs@andros.cygnus.com)
	* mpw-build.in: New file, build script fragment for MPW make.
	* mpw-make.in: New file, MPW makefile fragment for binutils.
	(Normally automatically generated from Makefile.in.)
Stan Shebs [Sun, 23 Jan 1994 00:31:14 +0000 (00:31 +0000)]
 
Minor MPW compatibility tweaks.
Jim Kingdon [Sat, 22 Jan 1994 22:14:04 +0000 (22:14 +0000)]
 
	* i386aix-nat.c (i386_float_info): Reverse order of registers before
	passing them to print_387_status.
	(print_387_status): Don't subtract top from 7 before using it.
	* i387-tdep.c: Remove comment about AIX wanting "top" subtracted
	from 7; the above explains it.
Stan Shebs [Sat, 22 Jan 1994 22:06:27 +0000 (22:06 +0000)]
 
Sat Jan 22 13:41:25 1994  Stan Shebs  (shebs@andros.cygnus.com)
	* mpw-xconfig.in: Added forward-includes for all the files,
	and changed to use absolute pathnames.
Stan Shebs [Sat, 22 Jan 1994 22:05:42 +0000 (22:05 +0000)]
 
Sat Jan 22 13:30:57 1994  Stan Shebs  (shebs@andros.cygnus.com)
	* mpw-config.in: Create sysdep.h using forward-include.
	Remove unneeded synthesis of varargs.h.
	* mpw-make.in (CC, CFLAGS): Remove, now in config/mpw-mh-mpw.
	(CSEARCH): Added path to extra-include.
Stan Shebs [Sat, 22 Jan 1994 21:28:29 +0000 (21:28 +0000)]
 
Sat Jan 22 13:23:46 1994  Stan Shebs  (shebs@andros.cygnus.com)
	* mpw-configure: Add more things to the top of each configured
	Makefile, including contents of config/mpw-mh-mpw.
	* mpw-config.in (extra-include): Create this directory and fill it
	with Posix-like include files when configuring.
Stan Shebs [Sat, 22 Jan 1994 21:22:08 +0000 (21:22 +0000)]
 
MPW makefile definitions
Peter Schauer [Sat, 22 Jan 1994 20:45:55 +0000 (20:45 +0000)]
 
	* mips-tdep.c (init_extra_frame_info):  Use frame relative stack
	pointer value when fixing up the frame at the start of a function