Commit graph

5110 commits

Author SHA1 Message Date
Fred Fish
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
Ian Lance Taylor
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
Ian Lance Taylor
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
Ian Lance Taylor
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
Steve Chamberlain
bf44929331 * read.c (s_space): Multiply repeat count by mult, not fill. 1993-03-04 19:55:59 +00:00
Fred Fish
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
Ken Raeburn
9471a360d7 read.c needs ctype.h 1993-03-04 13:21:19 +00:00
Fred Fish
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
Steve Chamberlain
350e711979 Always keep simulators 1993-03-03 23:10:48 +00:00
Steve Chamberlain
83a4c26f54 Add ChangeLog to kept things 1993-03-03 23:08:41 +00:00
Steve Chamberlain
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
Ken Raeburn
2492e118e3 SUB_SEGMENT_ALIGN now takes an argument. 1993-03-03 19:47:15 +00:00
Ken Raeburn
1101551c9c SUB_SEGMENT_ALIGN now takes an argument.
VMS fixes from Eric Youngdale.
1993-03-03 19:46:12 +00:00
Ken Raeburn
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
Ian Lance Taylor
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
Fred Fish
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
Fred Fish
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
Fred Fish
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
Fred Fish
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
David D. Zuhn
4acdfbb0b1 * configure.in: remove no-op mips-dec-bsd* in "case $target"
* Makefile.in (dir.info): only run gen-info-dir if it exists,
	(install-info): install dir.info only if it exists,
	(all-expect, install-expect): pass along X11_FLAGS_TO_PASS
1993-03-03 04:28:20 +00:00
Rob Savoye
6fcb280eb7 "make check" now works! 1993-03-03 03:15:52 +00:00
Fred Fish
45364c8a2a * c-exp.y (parse_number): Change high_bit to unsigned.
* demangle.c:  Change all references to cfront to ARM, since the
	actual algorithm is the one specified in the Annotated Reference
	Manual.  This was confusing users into thinking that full cfront
	support was implemented.
	* dwarfread.c (CFRONT_PRODUCER):  Remove, was never really used.
	* eval.c (evaluate_subexp):  For STRUCTOP_PTR pass the arg type
	directly to lookup_struct_elt_type, which will do the
	dereferencing itself.
	* gdbtypes.c (lookup_struct_elt_type):  Expand comments.  Fix
	NULL dereferencing bug for unnamed structs, comment out
	questionable code.
1993-03-03 02:09:02 +00:00
Fred Fish
312bef9d21 * aoutx.h (string.h): Include for strchr and friends.
* archive.c (string.h):  Include for memchr and friends.
	* elf32.c (string.h):  Include for strrchr and friends.
1993-03-03 01:54:42 +00:00
Ian Lance Taylor
5e4cddb77d * listing.c: Cleaned up a bit, added prototypes, made NO_LISTING
case compile again.
1993-03-02 19:57:53 +00:00
Ken Raeburn
734ed1a37a ChangeLog is gone 1993-03-02 17:57:05 +00:00
Ken Raeburn
4743848f07 keep new elf files 1993-03-02 17:36:08 +00:00
Ken Raeburn
f9667cbe74 build gas for mips-dec-bsd 1993-03-02 17:18:03 +00:00
Ken Raeburn
f3ca2a6421 changes this morning & yesterday 1993-03-02 17:14:43 +00:00
Ken Raeburn
43ca9aa677 set SEC_RELOC only if fixups are required 1993-03-02 17:05:34 +00:00
Ken Raeburn
be956b0c97 configure.in: For VMS target, skip bfd, ld, binutils. 1993-03-02 17:02:35 +00:00
Ian Lance Taylor
0c85d4acae * configure (makesrcdir): If ${srcdir} is relative and not ".",
and ${subdir} is not ".", set makesrcdir based on ${invsubdir}.
1993-03-02 16:44:50 +00:00
John Gilmore
7687d89bfb Update Gilmore entry 1993-03-02 08:51:08 +00:00
John Gilmore
1d9449abbf * coffread.c (process_coff_symbol): Change PCC argument correction
so that it only happens on big-endian targets; so that it only
happens if the short or char argument is aligned on an int
boundary; and so that it changes the location, rather than the
type, of the argument.  These changes tend to parallel similar
(old) changes in stabsread.c.

* coffread.c (coff_read_enum_type):  Use the specified size for
enums, don't assume that they are int-sized.

* c-valprint.c (c_val_print):  Don't assume enums are the same as
ints.
1993-03-02 03:39:37 +00:00
John Gilmore
fefe2ed929 * coredep.c: Handle NO_PTRACE_H in coredep.c. Fix by Michael
Rendell, <michael@mercury.cs.mun.ca>.
1993-03-02 01:56:22 +00:00
Brendan Kehoe
fd2aaadcc9 undo prev change 1993-03-02 01:05:24 +00:00
Brendan Kehoe
0e51924087 * Makefile.in (all-prms, install-prms): Changed to gnats.
* configure.in (host_tools): Changed prms to gnats.
1993-03-02 00:44:39 +00:00
Jim Wilson
b4d4c33d94 ChangeLog entry for last week's tc-sparc.c change. 1993-03-01 20:09:16 +00:00
Ken Raeburn
502a558445 forgot to check in: sparc s_xword support 1993-03-01 20:02:59 +00:00
Ken Raeburn
07c788cec9 updated and expanded 1993-03-01 20:01:35 +00:00
K. Richard Pixley
f8ec0a459f record some of my gas work 1993-03-01 19:31:57 +00:00
Fred Fish
58a66e2424 * language.h (local_decimal_format_custom): Add prototype.
* language.c (local_decimal_format_custom):  Add function, bug
	reported by Robert R. Henry (rrh@tera.com).
1993-03-01 16:46:55 +00:00
Ken Raeburn
1b1b6c0249 minor revision, some new info 1993-02-28 17:00:51 +00:00
Ken Raeburn
e637dcf08b mips-bsd and 386bsd support 1993-02-28 14:46:25 +00:00
Brendan Kehoe
28edf847ec undo previous change 1993-02-28 06:12:32 +00:00
Brendan Kehoe
9f33c26423 * Makefile.in (BASE_FLAGS_TO_PASS): Pass PRMS down, for the PRMS
special install.
1993-02-28 05:58:37 +00:00
Per Bothner
33023c9c9c * gprof.c (funcsymbol): Invert test for aflag. 1993-02-28 02:18:40 +00:00
Ken Raeburn
14c5897713 Document damage^H^H^H^H^H^Hwork done so far tonight.
Mostly playing with elves.
1993-02-27 07:34:47 +00:00
Ken Raeburn
81187b5475 revised elf support 1993-02-27 07:05:09 +00:00
John Gilmore
9116f7c7ff * xcoffexec.c (vmap_ldinfo): Fix "/" for '/' typo, reported
by Josef Leherbauer, joe@takeFive.co.at.
1993-02-27 02:35:04 +00:00
Steve Chamberlain
2ebd09764b symbol srec stuff 1993-02-27 01:43:10 +00:00