Commit Graph

13023 Commits

Author SHA1 Message Date
David Edelsohn
4f36d4ab73 * arc-tdep.c (arc_bfd_mach_type): New static global.
(codestream_fill): Handle byte order differences.
	(setup_prologue_scan): Don't read stdarg function's "sub sp,sp,N".
	(arc_get_frame_setup): Read it here.
	(arc_frame_saved_pc): And here.
	(arc_print_insn): New function.
	(arc_set_cpu_type): Set arc_bfd_mach_type.  Don't set tm_print_insn.
	(_initialize_arc_tdep): Set tm_print_insn to arc_print_insn.
1995-06-02 18:29:46 +00:00
Ken Raeburn
1cb0d00d8f arm config fix from Richard Earnshaw 1995-06-01 22:28:54 +00:00
Steve Chamberlain
fa29f969c1 Thu Jun 1 13:51:49 1995 Steve Chamberlain <sac@slash.cygnus.com>
* coffcode.h (sec_to_styp_flags, styp_to_sec_flags,
	coff_new_section_hook):  Any section that starts ".stab"
	is now marked as debugging.
1995-06-01 22:20:30 +00:00
Ken Raeburn
58abad7d79 vms fixes from Pat Rankin 1995-06-01 22:12:20 +00:00
Ken Raeburn
db88e79a6a * archive.c (_bfd_write_archive_contents): Disable extended name table until it
can be made optional, so that native AR has half a chance on SunOS and HP/UX.
[PR binutils/6888]
1995-06-01 20:22:53 +00:00
Ken Raeburn
45fb9cd1ee * linker.c (_bfd_generic_link_output_symbols, case bfd_link_hash_indirect): Add
cast to correct pointer types.
1995-06-01 20:17:12 +00:00
J.T. Conklin
119a5f4e87 * nlm/{configure.in, Makefile.in}: Converted to use autoconf.
* nlm/configure: New file, generated with autoconf 2.3.
1995-05-31 22:21:32 +00:00
J.T. Conklin
3be5f0397a * nlm/configure.in: Use sed instead of awk to get the value of
cpufile.  Awk is not a utility required by the GNU coding
  standards.  This change also fixes the rigid whitespace
  requirements that were required for awk.
1995-05-31 19:31:20 +00:00
J.T. Conklin
2de498d8e3 * sparclite/aload.c: Use a file descriptor instead of a stdio
stream for i/o with target board.
  Use #error if HAVE_TERMIOS is not defined.

* sparclite/{Makefile.in, configure.in}: Converted to use
  autoconf.
* sparclite/configure: New file, generated with autoconf 2.3.
1995-05-31 19:13:06 +00:00
Ken Raeburn
3bb1b4171a * Makefile.in: Delete lines with lots of #### because four or more indicate a
point for makefile fragment substitution.
1995-05-30 18:28:52 +00:00
Ken Raeburn
0b14349249 (grump. thought i checked this in last week.)
Check explicitly for undefined local dollar and f/b labels, and print a useful
message if any are found, instead of generating obscure undefined symbol table
entries.
1995-05-30 16:39:06 +00:00
Stan Shebs
05ea937986 Remove mention of no-longer-needed keep-mpw, add mention of lose-gdbtk. 1995-05-29 20:52:31 +00:00
Jeff Law
089c930358 * defs.h: Include either varargs.h or stdarg.h (for va_list).
Fix stupid thinko in last change ("..." -> "va_list").
1995-05-29 05:26:27 +00:00
Jeff Law
413cba82b4 * defs.h (vprintf_filtered declaration): Add PARAMS prototype;
gcc-2.5 chokes on format attributes for unprototyped functions.
	(vfprintf_filtered declaration): Likewise.
	(vprintf_unfiltered declaration): Likewise.
	(vfprintf_unfiltered). Likewise.
1995-05-29 05:15:18 +00:00
J.T. Conklin
094fd4ae01 * configure.in: Use sed instead of awk to get the values of
hostfile, targetfile and nativefile.  Awk is not a utility
  required by the GNU coding standards.  This change also
  fixes the rigid whitespace requirements that were required
  for awk.
* configure: regenerated.
1995-05-28 07:07:21 +00:00
J.T. Conklin
6053ed629e * config/te-dpx2.h: Include obj-format.h.
(COFF_MAGIC): Renamed from FILE_HEADER_MAGIC.
1995-05-28 04:36:45 +00:00
Angela Marie Thomas
0cc3f4fcc3 Sat May 27 16:24:04 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>
* sparclite/{Makefile,configure}.in: Add hooks for building with
        -lsocket & -lnsl for solaris2.  Don't build aload/eload for DOS.
1995-05-27 23:32:22 +00:00
J.T. Conklin
a685757684 * configure.in (noconfigdirs): Enable all packages for
i386-unknown-netbsd.
1995-05-26 05:50:06 +00:00
Stan Shebs
588405286c Update gdbtk keep/lose to match main GDB sanitize 1995-05-25 01:30:34 +00:00
Steve Chamberlain
4936656ad7 * arm-tdep.c (_initialize_arm_tdep): Use print_insn_little_arm
now.
1995-05-25 01:05:35 +00:00
Steve Chamberlain
f581f995c2 New file. 1995-05-25 00:11:15 +00:00
Jim Wilson
856253d4d8 Unsanitize SH3 support. 1995-05-25 00:00:03 +00:00
Steve Chamberlain
54af8e6e7b Wed May 24 15:49:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
* arm-tdep.c (convert_from_extended, convert_to_extended):
	New.
	* coffread.c (enter_linenos): Return if linetab 0.
	* config/arm/arm.mt (TDEPFILES): Add simulator support.
	* config/arm/tm-arm.h (FRAME_FIND_SAVED_REGS): Fix prototypes.
1995-05-24 23:56:24 +00:00
Jim Wilson
4cea100d33 Correct typo in all simulator configure.in files other than SH: ../bfd
should be ../../bfd.
1995-05-24 23:38:06 +00:00
Steve Chamberlain
d32033ad35 Wed May 24 14:48:46 1995 Steve Chamberlain <sac@slash.cygnus.com>
* Makefile.in: Support ARM.
	* configure.in: Ditto.
1995-05-24 21:49:24 +00:00
Steve Chamberlain
2494eaf6fd Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>
* New.
1995-05-24 21:45:01 +00:00
Steve Chamberlain
1ff71ed037 Wed May 24 14:16:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
* sh-opc.h: Added bsrf and braf.
1995-05-24 21:16:02 +00:00
Steve Chamberlain
a43b22b577 Wed May 24 14:07:11 1995 Steve Chamberlain <sac@slash.cygnus.com>
* gencode.c (tab): Add bsrf and braf.
1995-05-24 21:14:40 +00:00
Steve Chamberlain
28d0c3ce19 Add support for ARM-PE.
* Makefile.in (ALL_EMULATIONS): Add armpe.o
	* configure.in: Recognize armpe.
	* config/arm-pe.mt: New file.
	* emulparams/armpe.sh: New file.
	* scripttempl/armpe.sc: New file.
1995-05-24 18:26:23 +00:00
Steve Chamberlain
a3444c4926 Wed May 24 10:52:01 1995 Steve Chamberlain <sac@slash.cygnus.com>
pr ld/6997

	* elf32-i386.c (elf_i386_relocate_section): Give error
	message when linking to a shared reloc which isn't there.

Wed May 24 10:40:00 1995  Steve Chamberlain  <sac@slash.cygnus.com>

	Support for ARM-PE.

	* Makefile.in, coffcode.h, config.bfd, configure.in, pe-arm.c,
	 pei-arm.c, reloc.c, targets.c, config/arm-pe.mt:
	 Support for ARM COFF/PE.
1995-05-24 18:14:23 +00:00
Jim Kingdon
eea578da54 * lib/gdb.exp: Fix comment which erroneously identified
gdb_file_cmd as gdb_load (the 19 May change was in fact to
	gdb_file_cmd not gdb_load).
	* config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1995-05-24 15:12:13 +00:00
Jim Kingdon
0835edd63a * gdb.base/setvar.exp: Make test names consistent between pass and
fail cases.  Use gdb_test more.
1995-05-24 14:16:12 +00:00
David Edelsohn
2e715f06c3 * config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP16
and BFD_RELOC_SPARC_WDISP19.
1995-05-24 00:04:19 +00:00
Ken Raeburn
a16fcab31a Make linking mips-elf and mips-ecoff work. At least, better than it did.
* bfd.c (bfd_get_relocated_section_contents): Now a function, tries calling
routine from input bfd target vector for bfd_indirect_link_order.  Put a
declaration into the header file.
* bfd-in2.h: Regenerated.
* elf32-mips.c (gprel16_with_gp): New function, split out from
mips_elf_gprel16_reloc.
(mips_elf_gprel16_reloc): Call it.  If output bfd target vector isn't elf
flavoured, abort, since it's assumed to be elf in some of this code, including
the code that looks up the gp value.
(elf32_mips_get_relocated_section_contents): New function, modified from
bfd_generic_get_relocated_section_contents to deal with passing gp to
gprel16_with_gp.
(bfd_elf32_bfd_get_relocated_section_contents): New macro.
* elf32-target.h (bfd_elf32_bfd_get_relocated_section_contents): Don't define
if already defined.
1995-05-23 23:30:33 +00:00
Ken Raeburn
6e43bf824c fix emulation code so configurations not supporting it still build 1995-05-23 23:20:52 +00:00
Jeff Law
58c56c60ca * Makefile.in: Install bfdlink.h too. 1995-05-23 22:01:20 +00:00
Ken Raeburn
70d6c39671 fix up stab handling 1995-05-23 01:45:12 +00:00
Rob Savoye
001559ea9f * config/idt.mt: replace monitor and array-rom with the new
remote-array.
1995-05-23 01:39:54 +00:00
Ken Raeburn
6a98ecf24e * lib/ld.exp (default_ld_compile): If cc argument is multiple words, use only
the first when trying to verify the availability of the compiler.
1995-05-23 00:20:44 +00:00
Ken Raeburn
4761bb029a more emulation fixes 1995-05-23 00:09:34 +00:00
Stu Grossman
cac390d444 * remote-nindy.c: Install Kung patch for PR 6820. I have no idea
what this does...
1995-05-23 00:01:17 +00:00
David Edelsohn
1fc2205e09 * config/tc-arc.c (md_pcrel_from): Return 0 for undefined symbols. 1995-05-22 23:58:52 +00:00
Stu Grossman
f5a8f1a6f3 * breakpoint.c: Move defaults of watchpoint related macros into
target.h.
	* target.h:  Macros from breakpoint.c.  Conditionalize based on
	TARGET_HAS_HARDWARE_WATCHPOINTS.
	* i386v-nat.c procfs.c:  Use TARGET_HAS_HARDWARE_WATCHPOINTS
	instead of TARGET_CAN_USE_HARDWARE_WATCHPOINT to enable watchpoint
	code.
	* config/i386/nm-linux.h, config/mips/nm-irix4.h,
	config/pa/nm-hppab.h, config/sparc/tm-sparclite.h:  #define
	TARGET_HAS_HARDWARE_WATCHPOINTS to enable watchpoint code.
1995-05-22 23:03:42 +00:00
David Edelsohn
8574107796 (cf-h8300h.mt): Deleted. 1995-05-22 22:25:46 +00:00
David Edelsohn
a0b2913c09 Clean arc stuff out of objdump.exp. 1995-05-22 19:09:15 +00:00
Jim Kingdon
e8bf33c4ac * breakpoint.c, target.h: Move defaults of watchpoint related
macros back to breakpoint.c.  Required to get GDB compiling
	on Solaris again.
1995-05-22 15:29:00 +00:00
Angela Marie Thomas
fc18000d56 Sat May 20 13:22:31 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>
* configure.in (noconfigdirs): Don't configure tk for i386-go32
        hosted builds (DOS builds)
1995-05-20 20:25:21 +00:00
Ken Raeburn
0509f0643c more vms updates from Pat Rankin 1995-05-20 20:11:38 +00:00
Ken Raeburn
a088fb62b3 From Pat Rankin:
For VMS gas port, make libiberty build on its own instead of driving it all out
of the gas directory.  Also improve some of the libiberty support for VMS.
1995-05-20 19:59:47 +00:00
J.T. Conklin
e3033bb086 * defs.h (ATTR_FORMAT): New macro, expands to gcc's format
attribute when compiled by gcc.
* defs.h, language.h, monitor.h: Changed many function
  declarations to use ATTR_FORMAT.

* breakpoint.c (delete_command); source.c (directory_command);
  top.c (define_command): Changed call to query() that had too
  many arguments.
* printcmd.c (address_info): Changed call to printf_filtered()
  that had too many arguments.
1995-05-19 22:44:51 +00:00