Commit Graph

16414 Commits

Author SHA1 Message Date
Ian Lance Taylor
972b1bb03e * alpha-opc.c: Correct second case of "mov" to use OPRL. 1996-07-04 15:43:31 +00:00
Jackie Smith Cashion
36e5ed4cd4 Added "keep" entries for div-ilocks.d and mul-ilocks.d 1996-07-04 15:23:57 +00:00
Jackie Smith Cashion
fc636a52d7 Thu Jul 4 10:11:33 1996 James G. Smith <jsmith@cygnus.co.uk>
* config/tc-mips.c (mips_ip): Only perform range check when
 	dealing with O_constant expressions.

Problem noticed by QMS, where "%lo(SYM + LARGEOFFSET)" would complain
about the OFFSET being greater than 16bits or not absolute, when it
should really just be taking the lo-16bits of the final address value.
1996-07-04 09:14:55 +00:00
Ian Lance Taylor
c5d8f96eff * read.h (is_it_end_of_statement): Declare.
* read.c (is_it_end_of_statement): Remove declaration.
1996-07-04 01:37:00 +00:00
Stu Grossman
bc859e6361 * configure: Re-build with autoconf-2.10. 1996-07-04 01:17:14 +00:00
Stu Grossman
b7b3111471 * erc32.c (mec_reset mec_read mec_write memory_read memory_write),
sis.h:  Get rid of all uses of long long's.
	* (close_port read_uart write_uart uarta_tx):  Don't seg fault
	when can't open pty's.
	* exec.c:  Add two new instructions: smul, and divscc.
	* interf.c (flush_windows):  New routine to flush the register
	windows out to the stack just before returning to GDB.  Makes
	backtraces work much better.
1996-07-04 00:51:22 +00:00
Stu Grossman
eb2c851803 * sparc-dis.c (print_insn_sparclite): New routine to print
sparclite instructions.
1996-07-04 00:50:29 +00:00
Stu Grossman
89e673a481 * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
config/sparc/tm-sparclite.h:  Initialize tm_print_insn from
	TM_PRINT_INSN, which comes from the tm file.

	* Makefile.in (INTERNAL_LDFLAGS):  Add in flags from configure.
	* configure configure.in:  Only make sol-thread.o for native.
	Also, switch to dlopened libthread_db.so.1.
	* sol-thread.c:  Switch to using dlopen to get the thread_db
	library.

	* configure, configure.in:  Change test for libthread_db to only
	work for configs where build/host/target are the same.
1996-07-04 00:49:25 +00:00
J.T. Conklin
d41d2ccc63 * m68k-parse.h (m68k_register): Add new coldfile control
registers.

* config/tc-m68k.c (mcf5200_control_regs): New variable,
array of control registers for the coldfire.
(cpu_of_arch): Added mcf5200.
(archs): Added mcf5200.
(init_table): Add new control registers.
(m68k_ip): Added support for new control registers.
(m68k_init_after_args): Likewise.

* config/tc-m68k.c (md_show_usage): Add -m5200 to usage text.
1996-07-03 22:20:42 +00:00
J.T. Conklin
9070eaffef * m68k-opc.c (m68k_opcodes): Add coldfire support. 1996-07-03 21:28:05 +00:00
Ian Lance Taylor
9a14baf2fb fixup 1996-07-03 21:07:53 +00:00
Ian Lance Taylor
ac76c7e98c * config/tc-i386.h (AOUT_MACHTYPE): Define as 0 if TE_386BSD. 1996-07-03 21:01:25 +00:00
Ian Lance Taylor
4d3daf4fae * i386aout.c: Include "aout/aout64.h".
(i386aout_write_object_contents): New static function.
	(MY_write_object_contents): Define.
1996-07-03 20:50:56 +00:00
Ian Lance Taylor
5af96dce32 Based on patches from Tom Quiggle <quiggle@sgi.com>:
* ecoff.c (last_lineno): New static variable.
	(add_procedure): Set last_lineno.
	(ecoff_directive_loc): Likewise.
	(ecoff_generate_asm_lineno): Likewise.
	(ecoff_fix_loc): New function.
	* ecoff.h (ecoff_fix_loc): Declare.
	* config/tc-mips.c (append_insn): When inserting nops, and using
	ECOFF debugging, call ecoff_fix_loc.
1996-07-03 20:15:38 +00:00
Ian Lance Taylor
a31e14f44c * netbsd.h (MY(write_object_contents)): Make sure that
adjust_sizes_and_vmas is called before fiddling with the magic
	number.
1996-07-03 19:01:14 +00:00
Ian Lance Taylor
98c72b6dd7 * gas/all/gas.exp: Remove setup_xfail for h8300*-*-* for two tests
which now pass.
	* gas/h8300/h8300.exp: Fix regexp of mov32bug test to work on a 64
	bit host.
1996-07-03 18:23:06 +00:00
Ian Lance Taylor
4702444f69 * ldlang.c (print_padding_statement): Use %u, not %x, to print
fill value.
1996-07-03 15:46:26 +00:00
Mark Alexander
e74acce48c * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c,
os9kread.c: Replace identical sym_offsets functions with
	default_symfile_offsets.
	* somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS
	macro to allocate section_offsets.
	* symfile.c (default_symfile_offsets): New function.
	* symfile.h: Declare default_symfile_offsets.
	* symtab.h: Define SIZEOF_SECTION_OFFSETS macro to
	simplify allocation of section_offsets.
1996-07-03 05:11:40 +00:00
Jeff Law
7647e0dd79 * run.c (main): Don't "load" sections which don't have
SEC_LOAD set.
        * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
        of OSHIFTS.
        (ONOT): Define.
        (sim_resume, shift/rotate cases): Add support for shift/rotate
        by two bits.
        (OSHIFTS): Corresponding changes.
Handling more H8/S ops.
1996-07-03 05:10:47 +00:00
Jeff Law
7eaffbec23 * h8300.h (SRC_IN_DST): Define.
* h8300.h (UNOP3): Mark the register operand in this insn
        as a source operand, not a destination operand.
        (SHIFT_2, SHIFT_IMM): Remove.  Eliminate all references.
        (UNOP3): Change SHIFT_IMM to IMM for H8/S bitops.  Mark
        register operand with SRC_IN_DST.
More hackery for new shift ops on the H8/S.
1996-07-03 05:07:07 +00:00
Jeff Law
b9bddc84e2 * config/tc-h8300.c (build_bytes): If an operand type is
marked as SRC_IN_DST retrieve it from the "destination" op.
Disgusting hack for shal #2,er0.  HMSE
1996-07-03 05:03:54 +00:00
Ian Lance Taylor
d2d04f7a28 * stabs.c (_bfd_link_section_stabs): Fix casts of psinfo. 1996-07-03 03:32:48 +00:00
Jeff Law
d3329f0d0c * h8300.h (UNOP3): Mark the register operand in this insn
as a source operand, not a destination operand.
So the simulator can handle shal #2,er0 correctly.
1996-07-02 19:20:37 +00:00
Michael Meissner
eafdda3d8d Add stub support for Linux on PowerPC 1996-07-02 19:09:59 +00:00
Jeff Law
171f4664be * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
HMSE H8/S.
1996-07-02 07:37:50 +00:00
Stan Shebs
6687c9531d From Raymond Jou <rjou@mexican.cygnus.com>:
* mpw-make.sed: Add lines to whack out autoconf hook
        @CONFIG_LDFLAGS@.
1996-07-01 21:40:02 +00:00
Mark Alexander
97fd185a48 * remote-e7000.c (e7000_stop): New function.
PR 9935
1996-07-01 18:11:07 +00:00
Michael Meissner
186dfd16ab Add basic d10v support 1996-07-01 17:34:10 +00:00
Stan Shebs
bfac208d92 * mpw-eppcmac.c: Update to reflect May 23 change to aix.em. 1996-06-30 18:19:34 +00:00
Ian Lance Taylor
16c3e32aa0 * objcopy.c (strip_main): Add -o option, and handle it.
(strip_usage): Mention -o.
	* binutils.texi, strip.1: Mention -o.
1996-06-30 17:45:24 +00:00
Ian Lance Taylor
4f6ee760ca * libbfd-in.h (itos, stoi): Don't define.
* libbfd.h: Rebuild.
	* i386lynx.c (KEEPIT): Define as udata.i.
	(NAME(lynx,swap_std_reloc_out)): Don't use stoi.
	(NAME(lynx,swap_ext_reloc_out)): Likewise.
	* riscix.c (riscix_swap_std_reloc_out): Use udata.i rather than
	flags.  Don't use stoi.
1996-06-30 17:42:02 +00:00
David Edelsohn
146ff25228 (all-cfg.text): @set SPARCLET.
(gdb-texinfo): Add sparclet.
(remote.texi): Restore vxworks clobberage.  Fix sparclet typos.
1996-06-30 05:32:38 +00:00
Geoffrey Noer
230b079723 nope, don't build texinfo yet for cygwin32, there's a problem with
Makefile.in that needs resolving
1996-06-30 04:30:53 +00:00
Geoffrey Noer
283b6d062c Allow texinfo to be configured and built for Canadian crosses 1996-06-30 02:08:41 +00:00
Kim Knuttila
dfb89b82d4 Fixed the ppc/nt strip bug. Missing D_PAGED. 1996-06-29 23:25:23 +00:00
Ian Lance Taylor
5cd26e22ac * gas/all/gas.exp: Add setup_xfail for vax*-*-vms* for 930509a
test.
	* gas/vax/quad.exp: Expect a nop after the movq.
1996-06-29 22:22:37 +00:00
Ian Lance Taylor
69c1de907f * configure.in (arm-*-riscix*): Set emulation to riscix.
* configure: Rebuild.
	* config/te-riscix.h: New file to define TE_RISCIX.
1996-06-29 22:20:57 +00:00
Ian Lance Taylor
379c2fb4d7 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Define. 1996-06-29 17:39:19 +00:00
Ian Lance Taylor
be4931bae0 sanitize out reference to MACREG 1996-06-29 16:48:44 +00:00
Ian Lance Taylor
b615d67824 fix sanitization of EXR in MODE 1996-06-29 16:47:12 +00:00
Dawn Perchik
6905de2875 * remote.texi: Add documentation for target Sparclet. 1996-06-29 09:15:11 +00:00
David Edelsohn
7afcc4e838 Keep sparclet.mt. 1996-06-28 23:47:43 +00:00
David Edelsohn
b1dd184ef7 * sparc-opc.c (asi_table): Add #ASI_N, #ASI_N_L, #ASI_NUCLEUS,
#ASI_NUCLEUS_LITTLE.  Rename #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_L
	to #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE.
1996-06-28 22:56:17 +00:00
Ian Lance Taylor
f93fb27543 * xcofflink.c (xcoff_link_check_ar_symbols): An undefined symbol
with XCOFF_DEF_DYNAMIC set is really defined.
	(xcoff_link_check_dynamic_ar_symbols): Likewise.
The above is for PR 9997.
	(xcoff_link_add_symbols): Only create special sections if using an
	XCOFF hash table.
1996-06-28 22:19:46 +00:00
Stan Shebs
6f607c1229 * mpw-configure: Add support for --bindir.
* mpw-build.in: Use a GCC-specific build script for GCC actions.
1996-06-28 19:19:38 +00:00
David Edelsohn
c6d76a2a6a (native_only): Add gawk. 1996-06-28 18:24:41 +00:00
Stan Shebs
c611cd82fc * mpw-config.in (TARGET_OS): Add definition to conf. 1996-06-28 18:13:47 +00:00
Ian Lance Taylor
8e80606fab * reloc.c (bfd_perform_relocation): Handle xcoff-powermac like
aixcoff-rs6000.
	(bfd_install_relocation): Likewise.
1996-06-28 17:50:36 +00:00
Ian Lance Taylor
77dea5447d various trivial cleanups 1996-06-28 16:38:05 +00:00
Ian Lance Taylor
eec2f824fb Fri Jun 28 11:17:00 1996 Richard Henderson <rth@tamu.edu>
* elf64-alpha.c (struct alpha_elf_link_hash_entry): Add flags
	field.
	(ALPHA_ELF_LINK_HASH_LU_ADDR): Define.
	(ALPHA_ELF_LINK_HASH_LU_MEM): Define.
	(ALPHA_ELF_LINK_HASH_LU_FUNC): Define.
	(elf64_alpha_link_hash_newfunc): Initialize flags field.
	(elf64_alpha_check_relocs): Record types of LITUSE entries that
	are found for LITERAL relocs.
	(elf64_alpha_adjust_dynamic_symbol): If a symbol has its address
	taken, we cannot generate a .plt entry for the symbol.
1996-06-28 15:24:18 +00:00