Commit Graph

4491 Commits

Author SHA1 Message Date
Ian Lance Taylor
f31cb329d5 Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com)
* ldmain.c (subfile_wanted_p): If we already have a common
	definition of a symbol, don't necessarily pull in an object file
	that provides a non-common definition.
1993-01-29 19:47:56 +00:00
Ian Lance Taylor
8a3efe67ae Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com)
* ldlex.l (COMMAND): Accept -EB and -EL command line arguments,
	returning OPTION_EB and OPTION_EL.  gcc passes these to a MIPS
	linker.
	* ldgram.y (OPTION_EB, OPTION_EL): New tokens.
	(command_line_option): Accept and ignore OPTION_EB and OPTION_EL.
1993-01-29 18:47:43 +00:00
John Gilmore
c3012f8567 reg.h, xdr_regs.c, xdr_regs.h are gone now. 1993-01-29 07:38:05 +00:00
John Gilmore
9d9fa9dca8 Fix typo in file name. 1993-01-29 06:32:36 +00:00
John Gilmore
00db1549f5 * doc/gdbint.texinfo (Host Conditionals): Remove
NAMES_HAVE_UNDERSCORE, SOME_NAMES_HAVE_DOT, document
MEM_FNS_DECLARED.
(Target Conditionals):  Remove all of the above.
1993-01-29 06:19:13 +00:00
John Gilmore
bdec39b376 Update for doc/ changes. 1993-01-29 06:17:28 +00:00
John Gilmore
92063c3e60 * config/hp300hpux.mh: No cross-host file needed, just native. 1993-01-29 05:53:31 +00:00
John Gilmore
71e60679bd Remove nonexistent GO32 "native" support. 1993-01-29 05:49:03 +00:00
John Gilmore
1d0d5dbe7f Delta 88 changes inspired by Carl Greco, <cgreco@Creighton.Edu>:
* m88k.h (PMEM):  Avoid previous definition from <sys/param.h>.
(AND):  Change to AND_ to avoid ansidecl.h `AND' conflict.
1993-01-29 05:34:09 +00:00
John Gilmore
2a770cac0f M88K fixes reported by Carl Greco, <cgreco@Creighton.Edu>:
* tm-m88k.h (REGISTER_CONVERT_TO_RAW):  Fix typo.
* m88k-tdep.c (next_insn):  Lint, cleanup.
(store_parm_word):  Lint.
1993-01-29 05:28:45 +00:00
John Gilmore
536c2ad4be Fix minor bugs reported by Carl Greco, <cgreco@parrot.creighton.edu>:
* hosts/delta88.h (strtol):  Fix prototype.
* config/m88k-coff.mh (SELECT_ARCHITECTURES):  Fix name.
1993-01-29 05:04:45 +00:00
John Gilmore
926d780054 Typo 1993-01-29 03:11:55 +00:00
Ian Lance Taylor
af6237a4a8 Thu Jan 28 15:12:04 1993 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in (install): Remove $(tooldir)/bin/gld before creating
	the link to it.
1993-01-28 23:13:32 +00:00
Ian Lance Taylor
41a882343a Thu Jan 28 15:09:59 1993 Ian Lance Taylor (ian@cygnus.com)
* test-build.mk (HOLES): Added tar, cpio and uudecode.
1993-01-28 23:11:07 +00:00
Fred Fish
2fcc38b81f * expression.h (BINOP_CONCAT): Document use for self concatenation
an integral number of times.
	* language.c (binop_type_check):  Extend BINOP_CONCAT for self
	concatenation case.
	* valarith.c (value_concat):  Rewrite to support self
	concatenation an integral number of times.
	**** start-sanitize-chill ****
	* Makefile.in (ch-exp.tab.c):  Change "expect" message.
	* ch-exp.y (FIXME's):  Make all FIXME tokens distinct, to
	eliminate hundreds of spurious shift/reduce and reduce/reduce
	conflicts that mask the 5 real ones.
	* ch-exp.y (STRING, CONSTANT, SC):  Remove unused tokens.
	* ch-exp.y (integer_literal_expression):  Remove production,
	no longer used.
	**** end-sanitize-chill ****
1993-01-28 05:47:42 +00:00
Jim Wilson
3a8d4a5faf Add h8500 as a cpu type. 1993-01-28 00:55:20 +00:00
Ken Raeburn
5a61aea99c not used 1993-01-27 22:58:05 +00:00
Ken Raeburn
23daa41e49 not used 1993-01-27 22:58:04 +00:00
Ian Lance Taylor
bf4b84bc49 Checkpoint. Linker appears to work. 1993-01-27 19:33:48 +00:00
Roland Pesch
ed447b952e Fixes from (or inspired by) Bob Chassell editing pass for last
FSF printing of this manual.
1993-01-27 02:10:10 +00:00
Ian Lance Taylor
a625bbb1e8 Tue Jan 26 11:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
* copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
	macro rather than checking for equality to bfd_com_section.
1993-01-26 19:57:59 +00:00
Ian Lance Taylor
8a045e502f Tue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com)
* ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than
	checking for equality to bfd_com_section.
1993-01-26 19:56:17 +00:00
Ian Lance Taylor
4b9c23a9f5 Tue Jan 26 11:49:20 1993 Ian Lance Taylor (ian@cygnus.com)
* bfd.h: Update for SEC_IS_COMMON flag.
1993-01-26 19:54:40 +00:00
Ian Lance Taylor
382f2a3d75 Tue Jan 26 11:43:14 1993 Ian Lance Taylor (ian@cygnus.com)
* section.c (SEC_IS_COMMON): New section flag, needed for MIPS
	ECOFF which has two common sections.
	(bfd_com_section): Set SEC_IS_COMMON flag.
	* bfd-in.h (bfd_is_com_section): New macro to test SEC_IS_COMMON.
	* aoutx.h, archive.c, bout.c, coff-a29k.c, coff-m88k.c,
	coff-mips.c, coffgen.c, ieee.c, oasys.c, reloc.c, syms.: Use
	bfd_is_com_section macro rather than checking for equality to
	bfd_com_section.
1993-01-26 19:54:07 +00:00
Ian Lance Taylor
388d890471 Correct syntax errors which only appeared when relocating. 1993-01-26 19:51:41 +00:00
Ian Lance Taylor
c3fe0c418c Checkpoint. ld works, ld -r doesn't. 1993-01-25 23:33:27 +00:00
Ian Lance Taylor
27f524a317 Mon Jan 25 15:27:36 1993 Ian Lance Taylor (ian@cygnus.com)
* coffcode.h (_bfd_coff_mkobject_hook): Pass aouthdr argument.
	(coff_mkobject_hook): Accept aouthdr argument.
	* coffgen.c (coff_real_object_p): Pass aouthdr to mkobject_hook.
	Handle NULL aouthdr argument.
	(coff_object_p): If there is no aouthdr, pass it as NULL to
	coff_real_object_p.
	* libcoff.h: Rebuilt for mkobject_hook changes.
1993-01-25 23:32:26 +00:00
Ian Lance Taylor
fa8fea3dda * coffswap.h (coff_swap_aouthdr_in, coff_swap_aouthdr_in): Swap
additional MIPS ECOFF fields.
1993-01-25 23:31:51 +00:00
Ian Lance Taylor
62aaa2e709 Mon Jan 25 11:35:51 1993 Ian Lance Taylor (ian@cygnus.com)
* internal.h (internal_aouthdr): Added additional fields used only
	by MIPS ECOFF.
1993-01-25 23:24:22 +00:00
Sean Eric Fagan
804c13bdb1 Add a usage statement if an unrecognized option is given. 1993-01-24 19:07:11 +00:00
David D. Zuhn
fab5d4e319 recognize irix[34]* instead of irix[34] 1993-01-24 03:48:58 +00:00
Per Bothner
5cc24596c8 * guess-systype: Renamed to ...
* config.guess:  ... by popular request.
	* configure.in, Makefile.in:  Update accordingly.
1993-01-23 21:55:04 +00:00
Roland Pesch
18fae2a8db These changes abolish M4 preprocessing for the GDB manual.
Formatting these files now depends on the recently designed
Texinfo conditionals:  to format successfully, you must use very
recent versions (not yet distributed by FSF) of texinfo.tex and makeinfo.c.

The new Texinfo commands are @set, @clear, @ifset, @ifclear, and @value.
Recent texinfo-2 Beta distributions contained partial implementations.

texi2roff does not yet support these commands.

There are miscellaneous clean-ups to Makefile.in as well.
1993-01-23 00:30:28 +00:00
Ian Lance Taylor
42b5c73927 Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com)
* mips.sc-sh: New file.  Ultrix, and hopefully other MIPS ECOFF
	targets, linker script.
	* mipslit.sh: New file.  Little endian MIPS emulation.
	* config/mips-lit.mt: New file.  Use mipslit emulation.
	* configure.in (mips-dec-ultrix*): Use target mips-lit.
	* Makefile.in (ALL_EMULATIONS): Added em_mipslit.o.
	(em_mipslit.c): New target.  Uses mipslit.sh.
1993-01-22 22:30:52 +00:00
Per Bothner
746ed52529 * guess-systype: Patches from John Eaton <jwe@che.utexas.edu>:
+ Add Convex, Cray/Unicos, and Encore/Multimax support.
	+ Execute ./dummy instead of assuming . is in PATH.
1993-01-21 20:25:51 +00:00
Fred Fish
fcbadaee94 * eval.c (evaluate_subexp): Fix OP_ARRAY, remove code that
implied that "no side effects" was nonfunctional.
	* eval.c (evaluate_subexp):  Add BINOP_CONCAT case to deal with
	character string and bitstring concatenation.
	* expprint.c (dump_expression):  Add case for BINOP_CONCAT.
	* expression.h (exp_opcode):  Add BINOP_CONCAT.
	* gdbtypes.h (type_code):  Add TYPE_CODE_BITSTRING.
	* language.c (string_type):  Add function to determine if a type
	is a string type.
	* language.c (binop_type_check):  Add case for BINOP_CONCAT.
	* valarith.c (value_concat):  New function to concatenate two
	values, such as character strings or bitstrings.
	* valops.c (value_string):  Remove error stub and implement
	function body.
	* value.h (value_concat):  Add prototype.
	**** start-sanitize-chill ****
	* ch-exp.y (operand_3):  Add actions for SLASH_SLASH (//).
	* ch-exp.y (yylex):  Recognize SLASH_SLASH.
	* ch-lang.c (chill_op_print_tab):  Add SLASH_SLASH (//) as
	BINOP_CONCAT.
	**** end-sanitize-chill ****
1993-01-21 18:13:55 +00:00
Steve Chamberlain
2c320e3598 fix endian problem 1993-01-21 01:33:20 +00:00
Per Bothner
9f2cd205e8 Add Linux and hp300bsd. Tweak SCO. 1993-01-20 22:56:42 +00:00
Ken Raeburn
eeeaa7780b whitespace/comment changes 1993-01-20 22:22:21 +00:00
Ian Lance Taylor
dcf5ddb89b Revert yesterday's change (adding casts) at gnu's request. 1993-01-20 15:35:50 +00:00
Per Bothner
897029a9a2 Fix (?) discrimination between hppa1.1 and 1.0. 1993-01-20 07:43:32 +00:00
Per Bothner
2c763c2b0b Add support for HP-UX; SCO; fix Solaris2. 1993-01-20 06:47:39 +00:00
Per Bothner
bf2e56058e Minor improvements 1993-01-20 02:22:45 +00:00
Per Bothner
cc83d8b091 * guess-systype: New shell script. Attempts to guess the
canonical host name of the executing host.
	Only a few hosts are supported so far.
	* configure:  Call guess-systype if no host is specified.
1993-01-20 01:20:29 +00:00
Fred Fish
ec16f7015b * c-exp.y (exp): Add production to support direct creation
of array constants using the obvious syntax.
	* c-valprint.c (c_val_print):  Set printed string length.
	* dwarfread.c (read_tag_string_type):  New prototype and
	function that handles TAG_string_type DIEs.
	* dwarfread.c (process_dies):  Add case for TAG_string_type
	that calls new read_tag_string_type function.
	* expprint.c (print_subexp):  Add support for OP_ARRAY.
	* gdbtypes.c (create_range_type, create_array_type):  Inherit
	objfile from the index type.
	**** start-sanitize-chill ****
	* ch-typeprint.c (chill_print_type):  Add case for
	TYPE_CODE_STRING.
	* ch-valprint.c (chill_val_print):  Fix case for
	TYPE_CODE_STRING.
	**** end-sanitize-chill ****
1993-01-19 23:00:19 +00:00
Ian Lance Taylor
fa2b89f103 Tue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)
* aoutx.h (swap_ext_reloc_in, swap_std_reloc_in),
	bout.c (b_out_slurp_reloc_table),
	coff-mips.c (ecoff_swap_reloc_in),
	coff-msym.c (ecoff_swap_sym_in, ecoff_swap_rndx_in,
	ecoff_swap_opt_in): Added casts to int to avoid muttering by
	MIPS compiler.
1993-01-19 18:23:21 +00:00
Ian Lance Taylor
b6bef86226 Checkpoint. Can now read relocs. 1993-01-19 17:38:13 +00:00
Ian Lance Taylor
74e8194991 Tue Jan 19 12:25:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* bfd.h: Update for bfd_asymbol_value bug fix.
1993-01-19 17:32:43 +00:00
Ian Lance Taylor
8b8a071eb2 Tue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)
* bfd-in.h (bfd_asymbol_value): Add needed parentheses.
1993-01-19 17:28:28 +00:00
Ian Lance Taylor
ee3e0efb4f Tue Jan 19 12:21:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* mips.h (RELOC_SECTION_*, ECOFF_R_*): Defined constants for ECOFF
	relocs.
1993-01-19 17:22:43 +00:00