Ian Lance Taylor [Fri, 11 Jun 1993 20:35:35 +0000 (20:35 +0000)]
* remote-mips.c (mips_send_packet): Don't print garbage character
in debugging info.
(mips_request): Don't check that remote pid is 0, because
sometimes it isn't.
Ian Lance Taylor [Thu, 10 Jun 1993 21:02:59 +0000 (21:02 +0000)]
* ldexp.c (exp_fold_tree): Don't lose the old flag bits.
* ldgram.y (statement_list_opt): New nonterminal, either empty or
statement_list.
(section): Use statement_list_opt, not statement_list.
* m68kcoff.sc-sh: Gather constructors and destructors and define
__CTOR_LIST__ and __DTOR_LIST__ appropriately.
* sa29200.sc-sh: Gather constructors and destructors and define
___CTOR_LIST__ and ___DTOR_LIST__ appropriately.
Ian Lance Taylor [Thu, 10 Jun 1993 18:51:48 +0000 (18:51 +0000)]
* coff-mips.c (ecoff_sec_to_styp_flags): Use STYP_MIPS_INIT for
section named _INIT. Don't set STYP_TEXT unless SEC_CODE is set.
(ecoff_styp_to_sec_flags): Treat a STYP_MIPS_INIT section like
a STYP_TEXT section.
* coff-mips.c (ecoff_mkobject_hook): Mark ZMAGIC files as D_PAGED.
(ecoff_write_object_contents): If not D_PAGED, don't add the
section headers to text_size. If not D_PAGED, set the magic
number to OMAGIC rather than ZMAGIC. If creating a D_PAGED
executable, the executable must fully occupy an even number of
pages.
(ecoff_set_symbol_info, make_bfd_asection, ecoff_little_vec,
ecoff_big_vec): Consistently set section alignment power to 4,
since ECOFF sections should be multiples of 16 bytes.
(ecoff_little_vec, ecoff_big_vec): Added D_PAGED to object_flags.
Made ar_pad_char and ar_max_namelen agree for both.
Mark Eichin [Wed, 9 Jun 1993 00:30:58 +0000 (00:30 +0000)]
* elfcode.h (elf_slurp_symbol_table): subtract section vma from
symbol value, since bfd symbols are section relative, but ELF
symbols aren't.
for previous change.
Jim Kingdon [Tue, 8 Jun 1993 23:35:00 +0000 (23:35 +0000)]
* Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) to
m68k-tdep.c (m68k_find_saved_regs). Don't duplicate code between
68881 and non-68881 cases. Check for a pair of movel instructions.
Jim Kingdon [Tue, 8 Jun 1993 20:46:45 +0000 (20:46 +0000)]
* gdb.texinfo (Print Settings): Move all stuff relating to symbolic
addresses together. Also motivate the set print symbol-filename
command and suggest other solutions.
* coff-mips.c (ecoff_compute_section_file_positions,
ecoff_write_object_contents): Only round to page boundaries if
D_PAGED flag is set for the output BFD.
Fred Fish [Mon, 7 Jun 1993 23:41:44 +0000 (23:41 +0000)]
* Makefile.in (BFD_SRC_DIR): Renamed def and usages from BFD_DIR.
* Makefile.in (BFD_OBJ_DIR): New definition for the bfd build
directory to find automatically generated header files and library.
* Makefile.in (BFD_LIB): Use BFD_OBJ_DIR.
* Makefile.in (LINTFLAGS): Include BFD_OBJ_DIR.
* Makefile.in (saber_gdb): Include BFD_OBJ_DIR.
* Makefile.in (depend): Include BFD_OBJ_DIR in gcc args.
* Makefile.in (paread.o, xcoffexec.o): Remove, now in depend.
* depend, alldeps.mak: Rebuild after Makefile.in changes.
Per Bothner [Mon, 7 Jun 1993 19:45:12 +0000 (19:45 +0000)]
* Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
* configure.in: No longer need to configure to get sysdep.h.
* objcopy.c (copy_object): Fix symbol table handling.
* coffcode.h (get_index, coff_slurp_symbol_table): Fix pointer
casts to work on machine where sizeof(long) != sizeof(int) !=
sizeof(char *).
* coffgen.c (coff_get_normalized_symtab): Ditto.
* cpu-h8300.c coff-h8300.c: Support for H8/300-H.
David D. Zuhn [Fri, 4 Jun 1993 21:17:32 +0000 (21:17 +0000)]
* configure.in: change lynx support to CPU-*-lynxos*
* Makefile.in (subdir_do): change test from existence of directory
to existence of Makefile (the directory may exist but not be configured)
* configure.in (mips-idt-ecoffl*): New target; use mips-idtl.
(mips-idt-ecoff*): Added trailing '*'.
* config/mips-idtl.mt: New file; use EMUL of mipsidtl.
* mipsidtl.sh: New file; like mipsidt.sh, but little endian.
* Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o.
* configure.in (mips-idt-ecoffl*): New target; use idtl.
(mips-idt-ecoff*): Added trailing '*'.
* config/mips/idtl.mt: New file; like idt.mt, but little endian.