Commit Graph

4703 Commits

Author SHA1 Message Date
Ken Raeburn 539a840f7b * elf.c (elf_write_object_contents): Section ".shstrtab" should be
type SHT_STRTAB.  Don't alter file offset for section 0.
	(reloc_type_names): Now an array instead of a macro.  Still inside
	"#if 0", since it's used only in debugging code also in "#if 0".
	(struct elf_reloc_map_elt, struct elf_reloc_map): New types.
	(sort_reloc_map): New function.
	(sparc_reloc_map): New variable.
	(elf_bfd_reloc_type_lookup): New function.

Now bfd-gas can create valid empty object files for sun4sol2.
1993-02-25 14:28:02 +00:00
Per Bothner ee948e4e23 In comment on how to make tar file, fix cvs tag name binutils->ld_utils. 1993-02-25 04:04:00 +00:00
Per Bothner 05985c7724 Bump to version 2.1. 1993-02-25 03:50:17 +00:00
Per Bothner eba174cea6 * Makefile.in: Set VERSION to 2.1.
* README, NEWS: Updates.
	* nm.c:  Add -v as a synonym for -V.
1993-02-25 03:48:13 +00:00
John Gilmore 58dbaabdda Remove remnants of NAMES_HAVE_UNDERSCORE. 1993-02-25 03:21:32 +00:00
Fred Fish f31e2e7a1e * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize contents
of demangled name fields to NULL if no demangling exists for
	a symbol.  SYMBOL_INIT_LANGUAGE_SPECIFIC does this for new
	symbols if their language is known at the time they are created,
	but sometimes the language is not known until later.
1993-02-25 00:40:45 +00:00
Ken Raeburn 162e34854c (s_xword): Now accepts large integer constants, but not symbolic constants
or expressions.
1993-02-24 23:30:59 +00:00
Ian Lance Taylor 160b7f0fef * app.c (do_scrub_next_char): In LEX_IS_LINE_COMMENT_START case:
Don't unget ch2 if we didn't get it.
1993-02-24 18:34:26 +00:00
Ian Lance Taylor 5b272a2d0b * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
	expected failures for mips-idt-* and mips-sgi-*.
	* gdb.t00/default.exp (attach): Kill process if requested.
	* gdb.t00/help.exp (help target core, help target): Accept a gdb
	that does not read core files.
	* gdb.t01/run.exp: Removed checks for exit status code.
	* gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
	it is linked in.
	* gdb.t03/ptype.exp: Increase timeout when calling malloc.
	* gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
	appropriate, rather than doing it by hand.
	* gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
	execution.
	* gdb.t10/crossload.exp: Kill existing program if needed.
	* gdb.t15/funcargs.exp: Use delete_breakpoints function where
	appropriate, rather than doing it by hand.  Always increase
	timeout for this test, not just for VxWorks.
1993-02-24 16:29:33 +00:00
Fred Fish 16aa4b532e **** start-sanitize-chill ****
* gdb.t31/chillvars.exp (test_structs):  New proc to test printing
	of Chill STRUCT types and STRUCT values.
	* gdb.t31/chillvars.exp (test_strings):  Expect "CHAR" now, rather
	than "char".
	* gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
	struct2):  New struct definitions and initializations to test
	simple Chill STRUCT types.
	**** end-sanitize-chill ****
1993-02-24 16:10:41 +00:00
Fred Fish 8fbdca53aa **** start-sanitize-chill ****
* ch-typeprint.c (chill_print_type_base):  Name changed to
	chill_type_print_base to match pattern for C and C++ names.
	* ch-typeprint.c (chill_print_type):  Change "char" to "CHAR"
	to be consistent with other usages.
	* ch-typeprint.c (chill_type_print_base):  Add support for
	printing Chill STRUCT types.
	* ch-valprint.c:  Include values.h.
	* ch-valprint.c (chill_print_value_fields):  New function and
	prototype for printing Chill STRUCT values.
	* ch-valprint.c (chill_val_print):  Fix call to val_print_string
	that was being called with two args instead of three.
	* ch-valprint.c (chill_val_print):  Call chill_print_value_fields
	to print Chill STRUCT values.
	**** end-sanitize-chill ****
1993-02-24 15:49:47 +00:00
Ken Raeburn 0cca30f32a BFD branch merging.
Misc optimizations, a couple of bugfixes.
Merged doc/ChangeLog.
Ralph Campbell's MIPS support.
And any other changes I've been putting in, save whitespace/comment adjustments.
1993-02-24 12:59:26 +00:00
Ken Raeburn 67f3dd7170 more bfd merging - see ChangeLog 1993-02-24 12:57:00 +00:00
Ken Raeburn 7050926e7b merged into ../ChangeLog 1993-02-24 11:24:44 +00:00
Ken Raeburn 428d312b82 changes for bfd support, enough for sun4 target 1993-02-24 11:24:14 +00:00
Ken Raeburn 1404ef23ee m68k_ip: for pc-rel addressing of a symbol, fix offset so +2 isn't needed 1993-02-24 11:20:58 +00:00
Ken Raeburn f3abc7b25a deleted emacs local variables comments 1993-02-24 11:19:58 +00:00
Ken Raeburn 41a8f3a896 don't need LOCAL_LOADLIBES any more, with new configure.in changes 1993-02-24 11:16:21 +00:00
Mike Werner 4f8b1219bf * configure.in: added testsuite to configdirs.
* Makefile.in: added support for building testsuite.
1993-02-24 03:02:37 +00:00
Mike Werner b12529c1ec *configure.in: added testsuite to configdirs. 1993-02-24 03:00:23 +00:00
Mike Werner 1dc4f59dcd * configure.in: added "dejagnu" to the hosttools list. 1993-02-23 22:24:47 +00:00
Ian Lance Taylor c0f6093b0c * Minor cleanups provoked by gcc warnings:
* aoutx.h (NAME(aout, reloc_type_lookup)),
	cpu-h8300.c (local_bfd_reloc_type_lookup),
	cpu-z8k.c (local_bfd_reloc_type_lookup): Added default case to
	switches.
	* archive.c (do_slurp_bsd_armap, do_slurp_coff_armap),
	ieee.c (ieee_slurp_section_data),
	elf.c (elf_make_sections, elf_fake_sections,
	elf_compute_section_file_positions, elf_write_object_contents):
	Removed unused variables.
	* archures.c: Removed /* from within comment.
	* bout.c (b_out_squirt_out_relocs): Initialize r_extern.
	* oasys.c (oasys_write_data): Initialize i.
1993-02-23 21:08:32 +00:00
Ian Lance Taylor cd211312d3 * bfd.h: Update for new elements in JUMP_TABLE. 1993-02-23 20:24:38 +00:00
Ian Lance Taylor 8feff71726 * bfd-in.h (JUMP_TABLE): Added bfd_reloc_type_lookup and
bfd_make_debug_symbol; they were already in the target structure.
	* Adjusted all uses of JUMP_TABLE.
	* coffgen.c, libcoff-in.h (coff_bfd_make_debug_symbol): Renamed
	from coff_make_debug_symbol.
	* libcoff.h: Updated accordingly.
1993-02-23 20:24:06 +00:00
Fred Fish ff7f25de27 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
the null byte at the end of strings.
	* gdb.t00/default.exp:  Make show version insensitive to copyright
	date.
	* gdb.t16/in-gdbme.c (ctable1, ctable2):  Make explicitly unsigned
	to avoid dependencies on target char signedness.
	* gdb.t16/printcmds.exp:  Update expected results for explicitly
	unsigned char.
	* gdb.t16/printcmds.exp:  Remove setup_xfails for i960 that should
	now work.
	* gdb.t21/demangle.exp:  Add many more patterns for template
	demangling, most of them being expected failures.
	* gdb.t21/demangle.exp (proc demangle):  Quote the demangled
	string we are matching for, to match on the whole string.
	* gdb.t21/demangle.exp:  Add many new test strings to demangle,
	and fix a whole bunch that had incorrect expected output but were
	passing anyway because of the bug in "proc demangle".
	**** start-sanitize-chill ****
	* gdb.t31/chillvars.exp:  Remove setup_xfail for printing string
	type.
	* gdb.t31/in-gdbme.ch:  Uncomment string4, now compiles.
	**** end-sanitize-chill ****
1993-02-23 19:59:25 +00:00
Fred Fish bb6e8fe6a8 Continue sanitizing Chill related entries... 1993-02-23 19:53:52 +00:00
Mike Stump c2dc518b65 * doc/stabs.texi: The `this' pointer is now known by the name
`this' instead of `$t'.
1993-02-23 19:51:39 +00:00
Fred Fish b6236d6ec4 * ch-lang.c (chill_create_fundamental_type): Track compiler
change that now emits debugging info with the type long for Chill
	longs.
	* dwarfread.c (read_tag_string_type):  Rewrite to allow forward
	references of TAG_string_type DIEs in user defined types.
1993-02-23 19:30:22 +00:00
Per Bothner ba7f177aeb * config.sub, configure.in, config.guess: Add support
for Bosx, an AIX variant from Bull.
	Patches from F.Pierresteguy@frcl.bull.fr.
1993-02-23 07:33:45 +00:00
Per Bothner 7721e5b345 * objdump.c (disassemble_data): Print function names when
given by bfd_find_nearest_line.  If not - still print
	line numbers.
1993-02-23 07:00:32 +00:00
Per Bothner 85fe7cfff3 * libcoff.h (obj_raw_syment_coun): New macro.
* coffgen.c (coff_get_normalized_symtab):  Initialize
	raw_syment_count.
	* coffgen.c (coff_find_nearest_line):  Numerous little fixes.
1993-02-23 06:50:49 +00:00
Ian Lance Taylor c2a0f1cb8e * remote-mips.c: New file; implements MIPS remote debugging
protocol.
	* config/idt.mt: New file; uses remote-mips.c
	* configure.in (mips-idt-ecoff): New target; uses idt.mt.

	* mips-tdep.c (mips_fpu): New variable; controls use of MIPS
	floating point coprocessor.
	(mips_push_dummy_frame): If not mips_fpu, don't save floating
	point registers.
	(mips_pop_frame): If not mips_fpu, don't restore floating point
	registers.
	(_initialize_mips_tdep): New function; let the user reset mips_fpu
	variable.
	* tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not
	mips_fpu, don't use fp0 as floating point return register.
	(FIX_CALL_DUMMY): If not mips_fpu, don't save floating point
	registers.

Also added remote-mips.c to .Sanitize file.
1993-02-22 23:43:03 +00:00
Ian Lance Taylor 20f10b59ff * coff-mips.c (ecoff_set_symbol_info): stBlock symbols are always
debugging symbols.
	(ecoff_get_debug): Offset the fdr adr by the adr of the first pdr,
	for compatibility with tools from MIPS.

	* config/bigmips.mt: New file; default vector is ecoff_big_vec.
	* config/irix3.mt, config/irix4.mt: Removed.
	* configure.in (mips-*-ecoff): New target; uses bigmips.mt.
	(mips-sgi-*, mips-big-*): Use bigmips rather than irix3.
1993-02-22 23:17:45 +00:00
Mike Werner bf3d2b7571 * gdb/testsuite: made modifications to testcases, etc., to allow
them to work properly  given the reorganization of deja-gnu and the
	relocation of the testcases from deja-gnu to a "tool" subdirectory.
1993-02-22 16:20:25 +00:00
Mike Werner 0545aa1ae9 * binutils/testsuite: made modifications to testcases, etc., to allow
them to work properly  given the reorganization of deja-gnu and the
	relocation of the testcases from deja-gnu to a "tool" subdirectory.
1993-02-22 16:12:45 +00:00
Ian Lance Taylor 14b1f0d95a Correct incorrect attribution. 1993-02-22 15:37:37 +00:00
Ken Raeburn d9971b8304 from minyard@bnr.ca: free up copy of section contents each time through loop 1993-02-22 15:31:30 +00:00
Per Bothner 424bac5c8f * stabs.texinfo: Fix for array types to mention lower bounds. 1993-02-22 01:11:13 +00:00
Mike Werner 4d3b63f757 * devo/dejagnu: Initial creation of devo/dejagnu.
Migrated dejagnu testcases and support files for testing software
	tools to reside as subdirectories, currently called "testsuite",
	within the directory of the software tool.  Migrated all programs,
	support libraries, etc. beloging to dejagnu proper from
	devo/deja-gnu to devo/dejagnu.	These files were moved "as is"
	with no modifications.	The changes to these files which will
	allow them to configure, build, and execute properly will be made
	in a future update.
1993-02-21 20:10:23 +00:00
Mike Werner 19fa4a0af3 * gdb/testsuite: Initial creation of gdb/testsuite.
Migrated dejagnu testcases and support files for testing nm to
	gdb/testsuite from deja-gnu.  These files were moved "as is"
	with no modifications.	This migration is part of a major overhaul
	of dejagnu.  The modifications to these testcases, etc., which
	will allow them to work with the new version of dejagnu will be
	made in a future update.
1993-02-21 20:03:55 +00:00
John Gilmore 699bfeaeb9 For MTW 1993-02-21 19:55:15 +00:00
Mike Werner 2614a439a8 * binutils/testsuite: Initial creation of binutils/testsuite.
Migrated dejagnu testcases and support files for testing nm to
	binutils/testsuite from deja-gnu.  These files were moved "as is"
	with no modifications.	This migration is part of a major overhaul
	of dejagnu.  The modifications to these testcases, etc., which
	will allow them to work with the new version of dejagnu will be
	made in a future update.
1993-02-21 19:34:51 +00:00
Brendan Kehoe 00d8b290f8 change send_pr to send-pr 1993-02-21 02:53:55 +00:00
Brendan Kehoe 98941fab9f * Makefile.in: Change send_pr to send-pr.
* configure.in: Likewise.
	* send_pr: Renamed directory to send-pr.
1993-02-20 04:22:04 +00:00
Per Bothner 81246025fa * Makefile.in: Add some extra semi-colons (needed if SHELL=bash). 1993-02-20 03:01:45 +00:00
John Gilmore cb46c4022f Add reminders for next release. 1993-02-20 02:37:36 +00:00
Ian Lance Taylor 254dec351f Wish I'd figured this one out 24 hours ago....
Fri Feb 19 10:01:39 1993  Ian Lance Taylor  (ian@cygnus.com)

	* mipsread.c (parse_lines): Correct check for files compiled with
	-g1.
1993-02-19 18:05:09 +00:00
John Gilmore dba02c60d4 * Makefile.in (VERSION): 4.8.1 to distinguish local versions. 1993-02-19 13:57:10 +00:00
John Gilmore 6d0380ee83 Fix up NEWS file for G++ bug. 1993-02-19 12:08:25 +00:00
John Gilmore 3421ec35b3 Update for gdb-4.8 1993-02-19 11:54:59 +00:00