Commit Graph

7615 Commits

Author SHA1 Message Date
Ken Raeburn
97eb2f0cb6 More "make dep" fixups.
Apollo 68k support from Troy Rollo <troy@cbme.unsw.edu.au>.
1993-10-13 23:08:10 +00:00
Ken Raeburn
6327ba5dc7 Oopsie.
Use "[^ ]*", not ".*", in matching filename patterns.
Updated dependencies in Makefile.in.
1993-10-13 22:33:48 +00:00
Ken Raeburn
28f4c45f71 remove inclusion of strings.h 1993-10-13 21:42:42 +00:00
Ken Raeburn
132239bfda obj-coffbfd change for wellfleet pic 1993-10-13 20:54:54 +00:00
Ken Raeburn
56f61233b2 * config/obj-coffbfd.c (fixup_segment) [DIFF_EXPR_OK]: If
sub_symbolP is in the current segment, convert to a PC-relative
	fixup and discard the symbol.
(Copied from write.c.)
1993-10-13 20:54:03 +00:00
Ian Lance Taylor
98b5caadf3 * ldmain.c (enter_global_ref): Just ignore any weak symbol for
which we already have a definition, rather than checking in
	several different places whether the symbol is weak.
1993-10-13 20:04:30 +00:00
Ken Raeburn
cbd8493e6c coff-i386.c (i3coff_object_p): Now static. 1993-10-13 19:17:05 +00:00
Ken Raeburn
f3bb56f1c8 68kcoff, makedep changes 1993-10-13 19:04:43 +00:00
Ken Raeburn
d684720f29 Make "make dep" easier to work with. Updated lots of dependencies.
Don't try "make dep" alone; use "make dep DEP=mymkdep", where "mymkdep" has
been hacked to use "gcc -MM"...
1993-10-13 19:04:08 +00:00
Ken Raeburn
3fd4fab335 Define ONLY_DECLARE_RELOCS, to avoid name conflicts when "--with-targets=all". 1993-10-13 18:57:21 +00:00
Ken Raeburn
dd4edae4db for m68klynx_coff_vec, include coff-m68k.o for now 1993-10-13 18:56:39 +00:00
Ian Lance Taylor
463b185190 * config/obj-ecoff.c (ecoff_build_symbols): Handle st_End symbol
for st_StaticProc just like st_Proc.
1993-10-13 18:53:03 +00:00
Jim Kingdon
76e473bbdd * inflow.c (terminal_ours_1): Don't print warning on failure to
set process group.
1993-10-13 18:29:09 +00:00
Jim Kingdon
9309b4d929 * printcmd.c (printf_command): Instead of using makeva* and
calling vprintf, just make the appropriate calls to printf.
	* printcmd.c, config/pa/xm-pa.h, config/mips/xm-makeva.h,
	config/alpha/xm-alpha.h, config/m88k/xm-m88k.h: Remove all
	traces of makeva*.  My apologies to everyone (including me!)
	who spent so much time getting it to work on various machines,
	but look at the bright side, at least you won't have to do it
	again in the future.

	* printcmd.c (printf_command): Make a cleanup for val_args (fixes
	a memory leak).
1993-10-13 18:17:49 +00:00
Ian Lance Taylor
b7cbb59ff6 * write.c (relax_and_size_all_segments): Moved #endif for OBJ_BOUT
so that OBJ_BOUT doesn't forget to adjust all the fragments in the
	.bss section.

Fixes critical PR 3600.
1993-10-13 18:04:53 +00:00
Jim Kingdon
d62e3f378d * config/mips/xm-mips.h: Remove comment about HAVE_SGTTY vs. usleep. 1993-10-13 04:00:46 +00:00
David D. Zuhn
79f68f0f83 only configure gdbserver for native environments 1993-10-13 01:08:40 +00:00
Jim Kingdon
99d1da6a3c * gdb.texinfo (Files): Say what address the load command loads it at. 1993-10-13 00:46:09 +00:00
Jim Kingdon
4fc9d7c70e * stabsread.c (read_type): Treat a negative type number at the start
of a type as a type reference, not as a definition of a type with
	"50=" omitted.  This makes things work on the RS/6000 again (the
	14 Sep 1993 change broke it).
1993-10-12 23:55:13 +00:00
David D. Zuhn
39ad69d825 add build-latest target 1993-10-12 23:26:57 +00:00
Jim Kingdon
d76eb5f484 * inflow.c: Use 0 (standard input) not scb->fd.
(terminal_ours_1): If printing warning, don't claim it happened in
	terminal_inferior.
1993-10-12 23:12:17 +00:00
Ian Lance Taylor
a71da76017 * configure.in (mips-*-elf*): New target; use mipsb-elf32.
* scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and
	OTHER_READWRITE_SECTIONS if relocating.  Shell variables are not
	expanded within them.
	* config/mipsb-elf32.mt: New file.
	* emulparams/elf32mipb.sh: New file.
	* Makefile.in (em_elf32mipb.c): New target.
1993-10-12 21:46:52 +00:00
Ian Lance Taylor
f1d043f50f elf32mipb.sh: New emulation parameter file for big endian MIPS ELF. 1993-10-12 21:36:05 +00:00
Ian Lance Taylor
514977a5ea mipsb-elf32.mt: New configuration file for big endian MIPS ELF. 1993-10-12 21:33:57 +00:00
Ian Lance Taylor
f2a663d3a3 * config/tc-mips.c: If OBJ_ELF, include elf/mips.h.
(mips_regmask_frag): New static variable, if OBJ_ELF.
	(md_begin): If OBJ_ELF, create .reginfo section and set
	mips_regmask_frag to a frag.
	(mips_elf_final_processing): New function, if OBJ_ELF.  Set
	mips_regmask_frag to register mask information.
	* config/tc-mips.h (elf_tc_final_processing): New macro, defined
	if OBJ_ELF.
1993-10-12 21:31:29 +00:00
Jim Kingdon
4161c620de * blockframe.c (get_prev_frame_info): Don't error() if there are no
frames; just return NULL.
1993-10-12 21:22:03 +00:00
Ian Lance Taylor
d5a30a0879 * elf32-mips.c: Extensive additions to do relocations and to
handle MIPS specific sections.
	* libelf.h (elf_backend_data): Pass fourth argument to
	elf_backend_section_from_bfd_section to permit it to control the
	section index to use.
	(elf_obj_tdata): Add gp and gp_size fields.
	(elf_gp, elf_gp_size): New accessor macros.
	* elfcode.h: Removed a number of unused local variables.
	(elf_fake_sections): Clear section header before calling
	elf_backend_fake_sections, not after.
	(prep_headers): Return true at end.
	(elf_section_from_bfd_section): Pass retval argument to
	elf_backend_section_from_bfd_section.
	* elf32-hppa.c (elf32_hppa_backend_section_from_bfd_section):
	Accept and ignore new retval argument.
	* bfd.c: Include libelf.h.
	(bfd_set_gp_size): Handle ELF targets.
	* Makefile.in (bfd.o): Depends upon libelf.h.
	(elf32-mips.o): Depends upon $(INCDIR)/elf/mips.h.
1993-10-12 21:16:14 +00:00
David D. Zuhn
e718498b08 recognize mips*- instead of mips- 1993-10-12 21:14:26 +00:00
Jim Kingdon
95171817ba * xcoffsolib.h, xcoffexec.c: Undo the part of Fred's bfd->abfd
change which involved structure elements.  It was unnecessary and
	was not consistently done.
1993-10-12 20:36:37 +00:00
Jim Kingdon
9438d64262 * stabsread.h, stabsread.c, dbxread.c (common_block*, copy_pending):
Move common block handling from dbxread.c to stabsread.c.
	Use the name from the BCOMM instead of the ECOMM.
	Allocate things on the symbol_obstack.
	* xcoffread.c (process_xcoff_symbol): Process C_BCOMM, C_ECOMM,
	and C_ECOML.  On unrecognized storage classes, go ahead and call
	define_symbol (after the complaint).

	* dbxread.c (process_one_symbol): Don't relocate 'S' symbols by
	the text offset.
1993-10-12 20:02:11 +00:00
Peter Schauer
49d607d260 * osfsolib.c (solib_create_inferior_hook): Reset stop_soon_quietly
after shared library symbol reading to get rid of warning from
	heuristic_proc_start.
1993-10-12 19:37:14 +00:00
David D. Zuhn
59c2be48f9 fix unterminated character string 1993-10-12 19:03:59 +00:00
Jim Kingdon
05238df4e2 * stabs.texinfo (Common Blocks): Minor cleanups. 1993-10-12 19:03:38 +00:00
Ken Raeburn
2145a18385 messages.c (as_fatal): use myname in printed message 1993-10-12 15:48:22 +00:00
Jim Kingdon
f8cbe5189d * stabs.texinfo: Update ld stabs in elf relocation to reflect the fact
that Sun has backed away from the linker kludge and thus the relevant
	issue is changes to the SunPRO tools, not the Solaris linker.

	* stabs.texinfo (Traditional Integer Types): Clean up description
	of octal bounds a little bit.  Document extra leading zeroes.
1993-10-12 14:59:38 +00:00
Ian Lance Taylor
55d5703fff * mips.h: New file. MIPS ABI specific information. 1993-10-12 14:29:51 +00:00
Jim Kingdon
78934ba843 * stabsread.c: Fix comment about gcc 2.3.3 stab for long long int. 1993-10-12 14:05:22 +00:00
Ken Raeburn
9902404797 more null/empty string fixups 1993-10-12 08:45:49 +00:00
Fred Fish
0bc1509110 Change sp64sim.h to sp64sim.mt in keep_these_too list. Add sp64.mt,
tm-sp64.h, sp64sim.mt, tm-sp64sim.h to lose_these_too list if not added
to keep_these_too list.
1993-10-12 02:48:21 +00:00
Fred Fish
3ea2c30ac7 Add sp64-tdep.c to lose_these_too if it is not added to keep_these_too. 1993-10-12 02:46:26 +00:00
Fred Fish
f7df1b2b26 Add elf64-sparc.c to lose_these_too if it is not added to keep_these_too. 1993-10-12 02:44:07 +00:00
Fred Fish
80cad9ccad Add chillrt test-chill release release-info to lose_these_too if they
are not added to keep_these_too.
1993-10-12 02:42:30 +00:00
Steve Chamberlain
2dd4520949 fix for pr 3571
* config/tc-h8300.c (get_specific): Special action if 8 bit
	address seen. (check_operand): Don't complain if truncating top
	bits of an 8 bit address.  (build_bytes): Allow an immediate and
	an absolute in the same insn.
1993-10-11 23:48:55 +00:00
Jim Kingdon
843cea0d2b * m3-nat.c, config/nm-m3.h: Add a target_ops struct and other
various things to try to get this to work.
1993-10-11 22:39:54 +00:00
Ian Lance Taylor
f37449aaf3 * write.c (write_contents): Don't crash if seginfo is NULL.
* config/obj-ecoff.c (ecoff_frob_file): Write out register masks
	by modifying .reginfo section, not by directly modifying BFD
	backend data.
1993-10-11 21:40:10 +00:00
Ian Lance Taylor
a785321604 * ecoff.c (ecoff_mkobject): Check bfd_make_section return value.
(ecoff_mkobject_hook): New function.
	(ecoff_new_section_hook, ecoff_sizeof_headers,
	ecoff_compute_section_file_positions, ecoff_set_section_contents,
	ecoff_write_object_contents): Handle dummy REGINFO section.
	(ecoff_get_section_contents): New function to handle reading
	REGINFO section.
	* libecoff.h (ecoff_get_section_contents): Change from macro
	definition to function prototype.
	(ecoff_mkobject_hook): New prototype.
	* coff-alpha.c (alpha_ecoff_mkobject_hook): Removed.
	(alpha_ecoff_backend_data): Use ecoff_mkobject_hook.
	* coff-mips.c (mips_ecoff_mkobject_hook): Removed.
	(mips_ecoff_backend_data): Use ecoff_mkobject_hook.
1993-10-11 21:38:38 +00:00
Fred Fish
f3863d3ab1 Revert last change. Dumb idea... 1993-10-11 21:20:44 +00:00
Fred Fish
d8c7289a08 Add release-info to Things-to-lose list. 1993-10-11 21:19:15 +00:00
Ian Lance Taylor
cd5dbb9952 * ecoff.h (REGINFO, struct ecoff_reginfo): Define. 1993-10-11 21:17:50 +00:00
David D. Zuhn
fec552ce18 remove extern time() decl 1993-10-11 21:12:37 +00:00