Commit graph

22987 commits

Author SHA1 Message Date
Jeff Law
5760b825aa * gas/mn10300/am33.s: Add .am33 pseudo-op to force am33 mode.
* gas/mn10300/{am33_2.s, am33_3.s, am33_4.s, am33_5.s}: Likewise.
        * gas/mn10300/{am33_6.s, am33_7.s, am33_8.s}: Likewise.
        * gas/mn10300/basic.exp: Corresponding changes.
1998-06-26 17:20:53 +00:00
Jeff Law
85a6fcfd5d * am33.exp: Just compile, do not link the testcase.
* am33.s: Add ".am33" pseudoop to force am33 mode.
1998-06-26 17:17:03 +00:00
Jeff Law
d7fd14cd22 * mn10300.h: Add "machine" field for instructions.
(MN103, AM30): Define machine types.
        (AM33): Define machine type.
1998-06-26 17:14:20 +00:00
Jeff Law
0c9b3858c1 * m10300-dis.c: Only recognize instructions from the currently
selected machine.
        * m10300-opc.c: Add field indicating the particular variant of
        the mn10300 each instruction is available on.
1998-06-26 17:12:10 +00:00
Jeff Law
4db4e912e1 * archures.c (bfd_mach_mn10300): Define.
* elf-m10300.c: Include elf/mn10300.h
        (elf_mn10300_mach): New function.
        (_bfd_mn10300_elf_final_write_processing): Likewise.
        (_bfd_mn10300_elf_object_p): Likewise.
        (elf_backendfinal_write_processing): Define.
        (elf_backend_object_p): Likewise.
start-sanitize-am33
        * archures.c (bfd_mach_am33): Define.
        * cpu-m10300.c (bfd_am33_arch): New arch info structure.  Link it
        into the NEXT field of bfd_mn10300_arch.
end-sanitize-am33
1998-06-26 16:59:08 +00:00
Jeff Law
3f1bb6f2d6 * mn10300.h: New file. 1998-06-26 16:50:13 +00:00
Ian Lance Taylor
69ad8cac12 * configure.in: For bfd_vax_arch, build vax-dis.lo.
* Makefile.am: Rebuild dependencies.
 	(CFILES): Add vax-dis.c.
	(ALL_MACHINES): Add vax-dis.lo.
	* aclocal.m4: Rebuild with current libtool.
	* configure, Makefile.in: Rebuild.

Fri Jun 26 12:03:20 1998  Klaus Kaempf  <kkaempf@progis.de>

	* vax-dis.c: New file, from work by Pauline Middelink
	<middelin@polyware.iaf.nl>.
	* disassemble.c (ARCH_vax): Define if ARCH_all.
	(disassembler): Add case for ARCH_vax.
	* makefile.vms: Support compilation on vms/vax.
1998-06-26 16:08:02 +00:00
Nick Clifton
9ea28a8595 Fix HI16_S relocation 1998-06-26 01:31:43 +00:00
Felix Lee
be2cb9926c * gdb.base/setshow.exp: make sure $pc is sane.
* gdb.stabs/weird.exp: split expect patterns properly.
1998-06-25 22:39:02 +00:00
Frank Ch. Eigler
d3f153adbe * Fix gdb inferior calls on 128-bit MIPS targets.
Thu Jun 25 22:38:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* mips-tdep.c (mips_push_arguments): Use 128-bit stack frame
	alignment for inferior calls.
1998-06-25 20:36:57 +00:00
Patrick Macdonald
80b86d36b3 * sky-pke.c (pke_issue): use default trace file name if the
--log-file option not used
1998-06-25 18:58:10 +00:00
Joyce Janczyn
5eb78d70cc Thu Jun 25 10:12:03 1998 Joyce Janczyn <janczyn@cygnus.com>
* dv-mn103tim.c: Include sim-assert.h
	* dv-mn103ser.c (do_polling_event): Check for incoming data on
	serial line and schedule next polling event.
	(read_status_reg): schedule events to check for incoming data on
	serial line and issue interrupt if necessary.
1998-06-25 14:17:47 +00:00
Frank Ch. Eigler
56b6d49ae0 * Bringing over SKY PKE disassembler feature from sky branch. 1998-06-25 11:41:20 +00:00
Frank Ch. Eigler
dcf63a62ea * Bringing sky pke disasm from sky branch. 1998-06-25 11:35:43 +00:00
Mark Alexander
9d4cd1e849 * mn10200-tdep.c (mn10200_analyze_prologue): Fix calculation
of jsr target address.
1998-06-25 06:20:35 +00:00
Ian Lance Taylor
d8332b2c48 rebuild dependencies 1998-06-25 00:02:38 +00:00
Ian Lance Taylor
9154d6889d remove CVS conflict marker 1998-06-24 23:09:05 +00:00
Ian Lance Taylor
35111bf8a7 * subsegs.h (segment_info_type): Give the struct a name.
* config/tc-h8300.h (tc_reloc_mangle): Add prototype.
	* config/tc-h8500.h (tc_reloc_mangle): Declare.
	* config/tc-sh.h (sh_coff_reloc_mangle): Add prototype.
	* config/tc-w65.h (tc_reloc_mangle): Declare.
	* config/tc-z8k.h (tc_reloc_mangle): Declare.
1998-06-24 23:08:26 +00:00
John Metzler
b57c473d1c * configure.in (noconfigdirs): Add configure pattern for mips tx39
cygmon
1998-06-24 23:03:02 +00:00
James Lemke
7e3459149e * sim/sky/t-int.c, sim/sky/t-int-handler.c:
Testcase errors: two in the former file, one in the latter.
1998-06-24 22:19:38 +00:00
James Lemke
2a7392656c Updated sim/sky/t-dma.c: It missed check-in earlier today. 1998-06-24 21:55:45 +00:00
Ian Lance Taylor
c5673804b8 * stabs.c (parse_number): Sign extend negative values correctly if
bfd_vma is larger than unsigned long.
1998-06-24 21:54:13 +00:00
Ian Lance Taylor
146f8b771c * elflink.h (elf_bfd_final_link): Loop over input_bfds using the
link_next field, not the next field.
1998-06-24 21:18:25 +00:00
Catherine Moore
9576a4d5a0 Restore old section after common creation. 1998-06-24 19:25:49 +00:00
Jeff Law
54977a6833 * gdb.disasm/am33.s: New disassembler testfile for the am33.
* gdb.disasm/am33.exp: Run it.
1998-06-24 19:07:51 +00:00
Jeff Law
1c2a961d56 * m10300-dis.c (print_insn_mn10300): 0xf7 opcode prefix specifies
4 byte instructions.
        (disassemble): Correctly handle FMT_D10 instructions.
1998-06-24 19:04:06 +00:00
Jeff Law
59557be25d * mn10300-opc.c (mn10300_opcodes): Fix typo in IMM24 versions of the
am33 shift instructions.
1998-06-24 19:02:27 +00:00
Nick Clifton
0bbdd534d2 Fixed parsing of output to cope with .call_table_data sections on v850 1998-06-24 16:22:25 +00:00
Jeff Law
70f4a97cb5 * gas/mn10300/basic.exp (do_am33_3): Fix typo. 1998-06-24 16:15:21 +00:00
James Lemke
b8f4ecc8d6 Updated sim/sky/t-dma.{brn|dmaexpect} because a warning msg being checked
for, contains an address that differs between -mhard-float and -msoft-float.
1998-06-24 16:02:01 +00:00
Jeff Law
c29d7797d2 * mn10300-dis.c (print_insn_mn10300): 0xf9 opcode prefix specifies
3 byte instructions.
        (disassemble): Handle new instruction formats FMT_D6, FMT_D7, FMT_D8
        FMT_D9 and FMT_D10.  Handle various new opcode flags for the am33.
1998-06-24 16:00:43 +00:00
Jeff Law
4da06098ff * mn10300-opc.c (IMM32_HIGH8_MEM): New operand type.
(mn10300_opcodes): Reorder so as to try and select opcodes from
        the core chip when multiple alternatives exist.  Change several
        am33 instructions to use IMM32_HIGH8_MEM.  Fix typos in "mac" and
        "macbu" instructions.  Fix typos in a couple DSP instructions too.
1998-06-24 15:56:40 +00:00
Ian Lance Taylor
499ecd2f43 Wed Jun 24 11:50:54 1998 Klaus Kaempf <kkaempf@progis.de>
* config/obj-vms.c (Create_VMS_Object_File): Force binary file.
1998-06-24 15:54:05 +00:00
Jeff Law
5d626b5ece * config/tc-mn10300.c (r_registers): Add a0-a3,d0-d3 and e0-e7
as synonyms for "rN" registers.
        (xr_registers): Add mcrh, mcrl, mcvf, mdrq and sp as synonyms
        for "xrN" registers.
        (md_assemble): Fix typo computing the size of relocations.
1998-06-24 15:44:27 +00:00
Mark Alexander
5bf639ac91 * configure.in: Add cygmon and libstub support for mn10200. 1998-06-24 05:44:46 +00:00
Mark Alexander
42fc298244 * m10200-dis.c (print_insn_mn10200): Fix various non-portabilities
related to sign extension and the size of ints.
1998-06-24 02:49:07 +00:00
Mark Alexander
2f75adc0b2 * config/mn10200/tm-mn10200.h (SAVED_PC_AFTER_CALL): Don't
zero upper byte of address.
1998-06-24 02:40:54 +00:00
Jim Wilson
56a72c4548 Fix irix6-x-h8300 gas bug found while looking at gcc nightly testing failure.
* config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to
	char with code that explicitly sign-extends.
1998-06-24 01:48:42 +00:00
Michael Snyder
75621b2b2c Tue Jun 23 17:32:26 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* rs6000-tdep.c (pop_dummy_frame): use memcpy.
        (push_arguments): use memset.
        (various other places): fix up indentation and long lines.
1998-06-24 00:37:49 +00:00
Nick Clifton
59b8f2097f Fix tests to match latest assembler results. 1998-06-23 22:17:19 +00:00
Nick Clifton
e98d1a3265 Fixed testsuite macros/reloc.s failure. 1998-06-23 22:14:25 +00:00
Nick Clifton
7699bb0ba2 Conceal ugly code behing macro. 1998-06-23 20:56:19 +00:00
Ian Lance Taylor
8392754096 * Makefile.am (install-data-local): Make ldscripts subdirectory.
* Makefile.in: Rebuild.

Tue Jun 23 15:17:04 1998  Mike Stump  <mrs@wrs.com>

	* Makefile.am (install-exec-local): Don't let EXEEXT interfere
	with the program transform name.
	* Makefile.in: Rebuild.
1998-06-23 19:17:56 +00:00
Ian Lance Taylor
ff000c2bfa Tue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com>
* Makefile.am (install-exec-local): Don't let EXEEXT interfere
	with the program transform name.
	* Makefile.in: Rebuild.
1998-06-23 19:10:19 +00:00
Ian Lance Taylor
2d93867897 Tue Jun 23 14:55:05 1998 Mike Stump <mrs@wrs.com>
* Makefile.am (install-exec-local): Don't let EXEEXT interfere
	with the program transform name.
	* Makefile.in: Rebuild.
1998-06-23 19:01:50 +00:00
Jason Molenda
59bbabf5c0 Tue Jun 23 11:58:35 1998 Jason Molenda (crash@bugshack.cygnus.com)
* configure.in: s/lXext/-lXext/ for Jillian's change.
1998-06-23 19:01:10 +00:00
Michael Snyder
d32d4319df fix indentation. 1998-06-23 18:55:13 +00:00
Michael Snyder
a59614102b Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/funcargs.exp: simplify expect strings to ease pattern
        match processing (and eliminate spurious timeouts when running).
1998-06-23 18:46:00 +00:00
Michael Snyder
a00dfa360a Tue Jun 23 11:14:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/mips/tm-irix5.h: Modify to work better on irix 6, by
	making FP registers 8 bytes instead of 4.
	REGISTER_BYTES: redefine.  REGISTER_BYTE(): redefine.
	REGISTER_VIRTUAL_TYPE: redefine.  MIPS_LAST_ARG_REGNUM: redefine.
	* irix5-nat.c (fetch_core_registers): read 8 bytes per FP register.
	* mips-tdep.c (FP_REGISTER_DOUBLE): new macro to distinguish
	targets with 8-byte FP registers (don't use TARGET_MIPS64).
	(STACK_ARGSIZE): new macro, how much space is taken up on the
	stack for each function argument (don't use TARGET_MIPS64).
	(mips_push_arguments): modify logic to work better on Irix 6
	(n32 ABI).
1998-06-23 18:22:43 +00:00
Nick Clifton
ebb6416960 Rewrite of readelf to use fopen/fread rather than mmap. 1998-06-23 18:12:44 +00:00