Commit graph

4743 commits

Author SHA1 Message Date
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
David Edelsohn
d9c2980f64 Added initial sparc-v9 support. 1993-02-26 18:53:13 +00:00
Per Bothner
7f7b0a77db * Makefile.in: When making tar file, remove texinfo/*,
except for texinfo/texinfo.tex.
1993-02-26 00:14:49 +00:00
Per Bothner
8a6e5b69e4 * printgprof (xmalloc, xrealloc): Cast results of malloc
and realloc to PTR.
1993-02-26 00:03:24 +00:00
Per Bothner
3048fb38f0 * ardup.c: Add extern declaration of strdup.
* Makefile.in (testsuite):  Add 'else true' since otherwise
	Ultrix /bin/sh complains.
1993-02-25 23:59:10 +00:00
Per Bothner
26483cc668 * ldsym.c (KEEP macro): Add spaces around '=' for the
sake of old (e.g. PCC) compilers.
1993-02-25 23:47:21 +00:00
Ian Lance Taylor
31ca3f4ce5 * configure.in (mips-idt-ecoff): New target.
* config/mips-gdb.exp: New file for remote board using MIPS remote
	debugging protocol.
1993-02-25 19:15:32 +00:00
Ian Lance Taylor
01cec5c8e7 * Redid configuration scheme. Removed gdb.t*/configure.in.
Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*.  Changed to use CC, CXX
	instead of CC_FOR_TARGET, CXX_FOR_TARGET.  Added mostlyclean and
	distclean targets.  Built executables via .o files.  Adjusted
	tests to account for source files in $(srcdir) rather than
	$(objdir).
	* lib/gdb.exp (runto): Don't expect () after the function name,
	because it may have arguments.
1993-02-25 18:50:45 +00:00
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