4991 Commits

Author SHA1 Message Date
286a4427e5 * elf32.c (elf_object_p): Use ELF_ARCH stored in xvec to match
against machine architecture stored in the ELF header, to resolve
	ambiguities.
	* elf32.c (bfd_section_from_shdr):  Bfd_make_section can return
	NULL, so only use results when non-NULL.
	* targets.c (elf32_m68k_vec, elf32_i860_vec):  Add extern decls
	and add to vector of targets.
1993-03-09 18:59:58 +00:00
16788ca9fd Removed obsolete Makefile.dos. 1993-03-09 18:16:38 +00:00
3b4322922c Removed obsolete Makefile.dos (was being sanitized out anyhow). 1993-03-09 18:14:12 +00:00
50b5f70850 Updated dates. 1993-03-09 17:50:54 +00:00
e99f6f9c8c Added new ECOFF files. 1993-03-09 16:12:44 +00:00
514d95fad2 Checkpoint for ECOFF support. Can assemble hello, world.
* config/obj-ecoff.c, config/obj-ecoff.h: Preliminary ECOFF
	support.

	* config/tc-mips.h (TARGET_FORMAT): Define based on OBJ_AOUT vs.
	OBJ_ECOFF as well as TARGET_BYTES_*_ENDIAN.
	(struct loc, struct proc, struct file): Moved to tc-mips.c within
	#ifndef OBJ_ECOFF block, since ECOFF uses different versions.
	* config/tc-mips.c: Rearranged for ECOFF support.  Added
	prototypes for all static functions.  Moved existing minimal
	debugging format support info #ifndef OBJ_ECOFF blocks.
	(macro_build_lui): Eliminated sign_extend argument, because ECOFF
	does not support a non sign extended high 16 bits reloc.  Adjusted
	all callers accordingly.
	(tc_get_register): Renamed from get_register, and made non-static.

	* config/mips-big.mt, config/mips-lit.mt: New files.  Define
	TARGET_BYTES_BIG_ENDIAN and TARGET_BYTES_LITTLE_ENDIAN,
	respectively.
	* configure.in (mips-*-bsd*): Use gas_target mips-lit.
	(mips-*-ultrix*, mips-*-irix*, mips-*-ecoff): New targets, using
	obj_format ecoff and gas_target mips-lit or mips-big.
1993-03-09 16:11:14 +00:00
c5d4bc889f bump main trunk to version 2.0.1 1993-03-09 15:44:37 +00:00
fefba3a514 * write.c (chain_frchains_together): Check that seg_info (section)
is not NULL.
	(write_object_file): Call obj_frob_file after setting the symbols,
	not before.
1993-03-09 15:42:14 +00:00
04947ce1c7 keep mh-aix386 1993-03-09 02:35:46 +00:00
ddf30c373c * utils.c (quit): If using go32, still call error when quit seen.
(pollquit): New function to poll keyboard for user interrupt,
	called from QUIT.
	* xm-go32.h (QUIT): Define to call pollquit.
	* h8300-tdep.c (examine_prologue): Use correct value for number of
	registers.
1993-03-09 01:56:53 +00:00
5bed532149 updated 1993-03-09 01:55:50 +00:00
6344e2c7a7 Add `set print max-symbolic-offset' doc. 1993-03-08 23:55:50 +00:00
0093d9e67f hppa.c: don't require DL_MAGIC, SHL_MAGIC, if they're not defined (hpux 7.0) 1993-03-08 21:30:29 +00:00
59415c56b3 hppa and aix386-core changes 1993-03-08 20:58:34 +00:00
155171dee5 from Noah Friedman: define some needed macros if hpux version < 8 1993-03-08 20:42:00 +00:00
795308d6ec From Minh Tran-Le: recognize i386-ibm-aix (ps/2), and use new config file for
it.
1993-03-08 20:30:47 +00:00
9d1f234b96 for aix386 (ps/2), don't run ranlib 1993-03-08 20:21:19 +00:00
d8bfa0f90f * Makefile.in (GCC_FOR_TARGET): Eliminated definition; use
CC_FOR_TARGET instead.
	(BASE_FLAGS_TO_PASS): Pass GCC_FOR_TARGET=$(CC_FOR_TARGET).

Also added a sanitized dependency of all-gdb on all-chillrt, so that
the gdb chill tests can be built.
1993-03-08 19:15:20 +00:00
72c09fbc24 Clean up damage made when I checked in sanitized version 1993-03-08 18:16:14 +00:00
aecc5459ab * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
3.63.

Also corrected the definitions of CC_FOR_TARGET, CXX_FOR_TARGET and
CHILL_FOR_TARGET.
1993-03-08 06:00:50 +00:00
1be6caef00 * config/*-gdb.exp: returns an error, rather than exiting on
internal errors.
1993-03-07 23:15:44 +00:00
05a291bb1f Doesn't exit after internal errors. 1993-03-07 23:11:56 +00:00
946f014bf8 * am29k-tdep.c (TAGWORD_ZERO_MASK): New #define.
(examine_tag):  Use it.
(read_register_stack):  Only look in the local registers for a
memory address if it's between rfb and rsp; go to memory otherwise.
1993-03-06 02:02:39 +00:00
19327ea5d4 * am29k-tdep.c (initialize_29k): Fix call_scratch_address doc.
Remove reginv command.
(reginv_com):  Remove ancient kludge command.
1993-03-06 01:49:03 +00:00
24365af960 * tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
irix4 will again compile.
1993-03-06 01:25:06 +00:00
5870d84848 * tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed. 1993-03-06 01:23:11 +00:00
81029114ba accept mips-sgi-irix4* for irix4. 1993-03-06 01:19:48 +00:00
36d656a6cb * read.h: Define stringer here.
read.c, config/obj-ieee.c, config/obj-tcm88k.c: Not any of these
	places.
1993-03-05 17:10:02 +00:00
b2ff9b68b2 (print_register_hook): Lint. 1993-03-05 15:52:23 +00:00
4966c17c42 Lint fixes from Paul Eggert (eggert@twinsun.com):
* command.c (do_setshow_command):  var_uintegers are unsigned.
* sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes):
unsigned, since they use hex values with the high bit set.
1993-03-05 01:44:38 +00:00
2456bacba8 Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
* m88k-pinsn.c (sprint_address):  Use SYMBOL_NAME macro to
	access symbol name.
1993-03-05 01:04:48 +00:00
e5bb7e61ad * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET): Enclose
macro definitions in parenthesis.  Bug reported by karl@hq.ileaf.com.
1993-03-05 00:45:08 +00:00
f68d8549cc * coff-mips.c (ecoff_bfd_reloc_type_lookup): New function.
(ecoff_write_object_contents): Added BFD_ASSERT calls to ensure
	relocs are reasonable.
	* coff-msym.c: Eliminated uses of DEFUN.
	(ecoff_swap_tir_out): New function.
1993-03-04 22:48:46 +00:00
9387f834ee * ecoff-ext.h (AUX_GET_*): Rewrote to use new macro AUX_GET_ANY.
(AUX_PUT_*): New macros corresponding to the AUX_GET macros.
	(ecoff_swap_tir_out): Added prototype.

	* mips.h (N_BTMASK, N_TMASK, N_BTSHFT, N_TSHIFT): Define; these
	are needed to interpret gcc debugging output.
1993-03-04 22:39:57 +00:00
ce7d4b0d57 * mips.sc-sh: Added variables which may be overridden by a
specific emulation.
	* mipsidt.sh: New file; emulation for IDT MIPS board.
	* Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o.
	(em_mipsidt.c): New target.  Uses mipsidt.sh and mips.sc-sh.
	* config/mips-idt.mt: New file; sets EMUL to mipsidt.
	* configure.in (mips-idt-ecoff): New target; uses mips-idt.
1993-03-04 20:49:26 +00:00
bf44929331 * read.c (s_space): Multiply repeat count by mult, not fill. 1993-03-04 19:55:59 +00:00
83386662e9 * dbxread.c (dbx_symfile_init): Catch the case where there is
no string table, but the only way we find out is by reading zero
	bytes from EOF.
1993-03-04 16:25:21 +00:00
9471a360d7 read.c needs ctype.h 1993-03-04 13:21:19 +00:00
69a272c4f6 * dbxread.c (dbx_symfile_init): Make size of the string table
size field a define (DBX_STRINGTAB_SIZE_SIZE).  Ensure that the
	offset to the string table is nonzero and handle the nonexistant
	string table case, should it occur.  Ensure that the string table
	size read from the file is reasonable, with a minimum lower bound
	of DBX_STRINGTAB_SIZE_SIZE instead of zero.
1993-03-04 00:01:32 +00:00
350e711979 Always keep simulators 1993-03-03 23:10:48 +00:00
83a4c26f54 Add ChangeLog to kept things 1993-03-03 23:08:41 +00:00
18079b9e6f Found trying to compile on ok.
* Makefile.in: Don't use cb or indent
	* p1.c, state.h, writecode.c: lint
1993-03-03 23:07:53 +00:00
2492e118e3 SUB_SEGMENT_ALIGN now takes an argument. 1993-03-03 19:47:15 +00:00
1101551c9c SUB_SEGMENT_ALIGN now takes an argument.
VMS fixes from Eric Youngdale.
1993-03-03 19:46:12 +00:00
77379667ed Put back mips-dec-bsd* case.
With a comment this time, so maybe zoo will realize it's not a no-op.
1993-03-03 19:44:17 +00:00
b010e28320 * Makefile.in: Changes to build testsuite correctly.
(FLAGS_TO_PASS): Added CXX and CXXFLAGS.
	(CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables.
	(TARGET_FLAGS_TO_PASS): New variable.
	(SUBDIRS): Added testsuite.
	(all): Build testsuite using TARGET_FLAGS_TO_PASS, so that
	testsuite is compiled with CC_FOR_TARGET rather than CC.
1993-03-03 15:26:23 +00:00
d3c06c91b4 (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
* configure.in (vax-*-ultrix2*):  Add Ultrix 2.2 triplet.
	* config.guess:  Change 'VAX*:ULTRIX:*:*' to 'VAX*:ULTRIX*:*:*'.
	* config/mh-vaxult2:  New file.
1993-03-03 06:11:45 +00:00
6985bc542e * dbxread.c (dbx_symfile_init): Fix for nonexistant string table,
reported by mycroft@gnu.ai.mit.edu.

	(Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
	* configure.in (vax-*-ultrix2*):  New triplet.
	* config/vaxult2.mh:  New file.
	* xm-vaxult2.h:  New file.
1993-03-03 06:04:26 +00:00
b84d84d7a6 (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
* configure.host (vax-*-ultrix2*):  Add triplet.
	* hosts/vaxult2.h:  New file.
	* config/vaxult2.mh:  New file.
1993-03-03 05:56:52 +00:00
d6400b148d * sysdep-sysv4.h: New file for SVR4.
* configure.in (*-*-sysv4*):  Use sysdep-sysv4.h.

	* configure.in (*-*-ultrix2):  Add triplet from Michael Rendell
	(michael@mercury.cs.mun.ca)
1993-03-03 05:52:32 +00:00