Commit Graph

21955 Commits

Author SHA1 Message Date
Stu Grossman
abf6ba256a * Makefile.in (tmp-igen): Prefix all usage of move-if-change
script with $(SHELL) to make NT native builds happy.
	* configure:  Regenerate because of change to ../common/aclocal.m4.
1998-03-26 10:18:35 +00:00
Geoffrey Noer
1144d003b7 Thu Mar 26 01:54:25 1998 Geoffrey Noer <noer@cygnus.com>
* mh-cygwin32: stop configuring and building dosrel.
1998-03-26 09:57:28 +00:00
Andrew Cagney
51ccd82f7f * configure.in: Make --enable-sim-common the default.
* configure: Re-generate.
* sim-main.h (CIA_GET, CIA_SET): Save/restore current instruction
address into Sate.regs[REG_PC] instead of common struct.
1998-03-26 01:13:38 +00:00
Nick Clifton
3535c3c044 Add interworking support for arm-pe/thumb-pe targets. 1998-03-26 00:00:54 +00:00
Nick Clifton
38c574bbd3 Support interworking for thumb-pe and arm-pe targets. 1998-03-25 23:48:55 +00:00
Andrew Cagney
98f1f62cb4 * dv-pal.c (enum hw_pal_address_mask): From Stu Grossman, was 0x2f
needs to be 0x3f.
1998-03-25 23:48:14 +00:00
Joyce Janczyn
d1607ed316 * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value. 1998-03-25 22:43:19 +00:00
Andrew Cagney
04cdafa7a4 * hw-tree.c (hw_tree_find_property): Return NULL when device is not found.
(hw_tree_find_*_property): Clean up error message when property is not found.
* dv-pal.c (hw_pal_io_read_buffer): Check the smp property is present before
looking for it.
1998-03-25 22:37:33 +00:00
Doug Evans
8b901ef830 * config/tc-dvp.h (md_estimate_size_before_relax): Delete.
(md_convert_frag): Delete.
	(TC_FIX_TYPE): New fields wl,cl,user_value;
	* config/tc-dvp.c (insert_mpg_marker): New argument ignore.
	All callers updated.
	(insert_unpack_marker): New function.
	(insert_file): New argument insert_marker_arg.  All callers updated.
	(gif_user_value): New static local.
	(vif_data_start,vif_data_end): New static locals.
	(mpgloc_sym,unpackloc_sym): New static locals.
	(cur_varlen_frag,cur_varlen_insn,cur_varlen_value): Delete.
	(cur_opcode,cur_operand): New static locals.
	(endmpg_caller): New enum.
	(md_pseudo_table): Pass ENDMPG_USER to s_endmpg.
	(md_begin): Initialize mpgloc_sym, unpackloc_sym.
	(dvp_fixup): New members user_value,wl,cl;
	(assemble_vif): Rewrite.
	(assemble_gif): Tweak name of data start label.
	(assemble_one_insn): Allow special parser to punt and call the
	normal expression parser.  Set cur_opcode,cur_operand for md_operand.
	(md_operand): Handle '*' value for mpgloc,unpackloc.
	(md_estimate_size_before_relax): New function.
	(dvp_relax_frag,md_convert_frag): New functions.
	(md_pcrel_from_section): Handle end data label for variable length
	vif insns.
	(md_apply_fix3): Handle count field for variable length vif insns.
	Handle address field for mpg,unpack.
	(eval_expr): Initialize user_value,wl,cl fields of the fixup.
	(cur_vif_insn_length): Delete.
	(vif_length_value): New function.
	(install_vif_length): Don't perform logical->physical conversion here.
	(s_enddirect,s_endmpg,s_endunpack): Rewrite.
1998-03-25 22:31:13 +00:00
Doug Evans
5b8fd65cf9 * gas/dvp/vif-1.d: Update. 1998-03-25 22:30:01 +00:00
Tom Tromey
940e676c55 * configure.in: Build config.h from config.in.
* config.h.in: Removed.
	* config.in: New file.
1998-03-25 22:20:46 +00:00
Tom Tromey
37f3c03c11 * config.h.in: New file. 1998-03-25 22:09:09 +00:00
Tom Tromey
bb69a2b6ef * configure.in, configure, acconfig.h, aclocal.m4: New files.
* Makefile.in (OBJECTS): Depend on config.h, not ../config.h.
        (Makefile): Rebuild Makefile here, not in `..'.
1998-03-25 22:05:40 +00:00
Doug Evans
e5d62150f3 * expr.h (expr_build_uconstant): Add prototype.
(expr_build_unary,expr_build_binary): Add prototypes.
	* expr.c (expr_build_uconstant): New function.
	(expr_build_unary,expr_build_binary): New functions.
1998-03-25 22:03:19 +00:00
Ian Carmichael
8d0bd9889c * Added HAVE_FPU_CONTROL_H and HAVE___SETFPUCW to fix non-linux builds. 1998-03-25 21:54:06 +00:00
Doug Evans
3792311ce6 * dvp-dis.c (print_insn): Print unpack address in hex.
* dvp-opc.c (parse_vif_mpgloc): Renamed from parse_vif_mpgloc_star.
	Don't skip over '*', just record it.
	(insert_vif_mpgloc): Don't update state_vif_mpgloc if '*' value.
	(parse_vif_unpackloc): Renamed from parse_vif_unpackloc_star.
	Don't skip over '*', just record it.
	(insert_vif_unpackloc): Don't update state_vif_unpackloc if '*' value.
	(vif_operands): Delete VIF_MPGLOC_STAR,VIF_UNPACKLOC_STAR entries.
	(vif_opcodes): Likewise.
	(state_vif_{mpg,unpack}loc_star_p): New static locals.
	(vif_macros,vif_macro_count): New globals.
	(vif_unpack_len_value): New arguments wl,cl.  All callers updated.
	(vif_set_{mpg,unpack}loc): Delete.  All callers updated.
	(vif_get_wl_cl): New function.
	(dvp_opcode_init_parse): Init mpgloc,unpackloc state.
1998-03-25 21:43:02 +00:00
Doug Evans
ef5bbde6dc * dvp.h (DVP_OPERAND_UNPACK_ADDRESS): New macro.
(vif_unpack_len_value): Update prototype.
	(vif_get_var_data,vif_get_wl_cl): Add prototypes.
1998-03-25 21:26:38 +00:00
Ian Lance Taylor
143e58b45b Wed Mar 25 14:32:48 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* m68k-dis.c (print_insn_m68k): Use info->mach to select the
	default m68k variant to recognize.
1998-03-25 20:41:31 +00:00
Ian Lance Taylor
d04efb80db * aoutf1.h (sunos_set_arch_mach): Use bfd_mach_m68* rather than
plain numbers.
	(sunos_write_object_contents): Likewise.
	* aoutx.h (NAME(aout,machine_type)): Likewise.
	* coffcode.h (coff_set_arch_mach_hook): Likewise.
1998-03-25 20:21:20 +00:00
Tom Tromey
fa803dc60f This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
1998-03-25 20:15:06 +00:00
Tom Tromey
9e38abb070 Imported intl subdir from GNU gettext 0.10.32 1998-03-25 20:15:06 +00:00
Tom Tromey
7421c9f182 Initial revision 1998-03-25 20:15:05 +00:00
Ian Lance Taylor
ce6821a595 Wed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* archures.c (bfd_mach_m68*): Add definitions for various m68k
	variants.
	(bfd_default_scan): Remove m68k special cases.
	* bfd-in2.h: Rebuild.
	* mipsbsd.c (MY(write_object_contents)): Use bfd_mach_m680*
	instead of plain numbers.
	* sparclynx.c (NAME(lynx,set_arch_mach)): Likewise.
	* cpu-m68k.c (arch_info_struct): Likewise.  Add entry for
	m68k:68000.
	(bfd_m68k_arch): Set mach field to zero to signal no explicit
	selection, change printable_name to just "m68k" and make that the
	default instead of m68k:68020.
1998-03-25 20:12:49 +00:00
Jason Molenda
a921e02e3d My mistake, add libg++ and librx to lose_these_too so that Sanitize knows
what to do with them if it sees them.
1998-03-25 19:52:20 +00:00
Ian Lance Taylor
df5f44d12a Wed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* aout-tic30.c (NAME): Define this to avoid multiple definitions
	from aoutx.h.
	(MY_get_section_contents): Define as aout_32_get_section_contents
	rather than NAME(aout,get_section_contents).

	* elf-m10300.c (elf32_mn10300_link_hash_table_create): Fix cast.

Wed Mar 25 11:19:28 1998  Ian Lance Taylor  <ian@cygnus.com>

	* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Change
	byte_count to unsigned int.
	(mn10300_elf_relax_section): Initialize internal_relocs.  Remove
	unused local variables.
1998-03-25 19:49:40 +00:00
Ian Lance Taylor
025af5b9d2 Wed Mar 25 14:32:48 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* i960-dis.c (pinsn): Change type of first argument to bfd_vma.
	(ctrl, cobr, mem, ea): Likewise.
	(print_addr): Likewise.  Remove cast.
	(ea): Cast argument of print_addr to bfd_vma.

	* cgen-asm.c (cgen_parse_signed_integer): Fix type of local
	variable value.
	(cgen_parse_unsigned_integer): Likewise.
	(cgen_parse_address): Likewise.

Wed Mar 25 14:31:31 1998  Ian Lance Taylor  <ian@cygnus.com>

	* i960-dis.c (ctrl): Add full braces to structure initialization.
	(cobr, mem, reg): Likewise.
	(ea): Correct parenthesization in expression.

	* cgen-asm.c: Include <ctype.h>.
	(build_asm_hash_table): Remove unused local variable i.
	(cgen_parse_keyword): Add casts to avoid warnings.

	* arm-dis.c (print_insn_big_arm): Only call coffsymbol for a COFF
	symbol.  Fix indentation.
	(print_insn_little_arm): Likewise.
1998-03-25 19:36:04 +00:00
Nick Clifton
516548933b Remove CYGNUS LOCAL markers for Thumb port. 1998-03-25 19:17:43 +00:00
Elena Zannoni
e924e1625c Wed Mar 25 14:08:51 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdbtk.c (gdbtk_pre_add_symbol): Use Tcl_merge to form Tcl commands.
1998-03-25 19:12:09 +00:00
Ian Lance Taylor
b35711c4d8 Wed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* evax-alpha.c (evax_set_arch_mach): Only accept bfd_arch_alpha
	and call bfd_default_set_arch_mach to do the real work.

Wed Mar 25 13:59:05 1998  Ian Lance Taylor  <ian@cygnus.com>

	* evax-alpha.c (evax_close_and_cleanup): Remove unused local
	variables er and er1.
1998-03-25 19:00:21 +00:00
Ian Lance Taylor
883f72a204 * cpu-v850.c: Include <ctype.h>.
(scan): Case isdigit argument to unsigned char.
Also fix v850e/v850ea sanitization.
1998-03-25 18:56:03 +00:00
Richard Henderson
0892d40bc3 * bout.c (BALX): Include return register g14 as part of the insn.
(BALX_MASK): New.
	(calljx_callback): Use it.

PR 15310
1998-03-25 18:42:26 +00:00
Ian Lance Taylor
36abac7fd3 Wed Mar 25 13:10:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
* gasp.c (IS*): Cast argument to unsigned char, not unsigned int.
        * macro.c (macro_expand_body): Increase buffer size.
        * messages.c (as_warn): Likewise.
	(as_warn_where, as_bad, as_bad_where): Likewise.
1998-03-25 18:12:52 +00:00
Ian Lance Taylor
ee09ab7f89 Based on patch from H.J. Lu <hjl@gnu.org>:
* Makefile.am (DISTSTUFF): New variable.
	(diststuff): New target.
	(DISTCLEANFILES): New variable.
	* Makefile.in: Rebuild.
1998-03-25 18:06:21 +00:00
Ian Lance Taylor
fb8a5cecae Based on patch from H.J. Lu <hjl@gnu.org>:
* Makefile.am (DISTSTUFF): New variable.
	(diststuff): New target.
	* Makefile.in: Rebuild.
1998-03-25 18:00:09 +00:00
Ian Lance Taylor
51b9a79bdd Based on patch from H.J. Lu <hjl@gnu.org>:
* Makefile.am (LDDISTSTUFF): New variable.
	(diststuff): New target.
	* Makefile.in: Rebuild.
1998-03-25 17:48:56 +00:00
Joyce Janczyn
52ef605e6d * simops.c (OP_F0FD): Initialise variable 'sp' for rti instruction. 1998-03-25 17:10:01 +00:00
Frank Ch. Eigler
bd5eafcd7c * As suggested by crash, made --with-sim-gpu2 option active only on -sky- target. 1998-03-25 16:48:04 +00:00
Ian Lance Taylor
9216fffaef * scripttempl/pe.sc: Only include .idata\$[0-7] in .idata when
relocating.
1998-03-25 16:35:13 +00:00
Ian Lance Taylor
1719df74c1 From Yan Meroth <YAN.MEROTH@st.com>:
* ihex.c (ihex_scan): Add extbase variable so that getting an
 	extended linear address record does not ignore any previous
 	extended address.
	(ihex_write_object_contents): When writing out an extended linear
 	address record, zero out any previous extended address.
1998-03-25 16:21:24 +00:00
Andrew Cagney
c357e16ac8 * dv-mn103int.c (decode_group): A group register every 4 bytes not 8.
(write_icr): Rewrite equation updating request field.
(read_iagr): Fix check that interrupt is still pending.
1998-03-25 14:52:44 +00:00
Andrew Cagney
8077fed51e * interp.c (sim_open): Tidy up device creation.
* dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero value.
(mn103int_io_read_buffer): Convert absolute address to register block offsets.
(read_icr, write_icr): Convert block offset into group offset.
1998-03-25 05:37:42 +00:00
Andrew Cagney
6100784a60 * interp.c (sim_open): Create second 1mb memory region at 0x40000000.
(sim_open): Create a device tree.
(sim-hw.h): Include.
(do_interrupt): Delete, needs to use dv-mn103cpu.c
* dv-mn103int.c, dv-mn103cpu.c: New files.
1998-03-25 04:15:38 +00:00
Andrew Cagney
8388c9a564 * mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM): Define.
(SP): Define.
1998-03-25 04:07:31 +00:00
Andrew Cagney
05d7918e53 * dv-pal.c (hw_pal_countdown, hw_pal_countdown_value,
hw_pal_timer, hw_pal_timer_value): Define.
(hw_pal_io_read_buffer, hw_pal_io_write_buffer): Add timer support
(do_counter_event, do_counter_read, do_counter_value,
do_counter_write): new functions.

* hw-tree.c (hw_printf): Send tree dump to stderr, same as other
trace output.
* hw-base.c (hw_create): Stop searching for a device when one is
found.
1998-03-25 03:44:37 +00:00
Andrew Cagney
d89fa2d80a Re-do --enable-sim-hardware so that each simulator can specify the devices
it wants built.
Generate hw-config.h.
1998-03-25 01:41:33 +00:00
Jeff Law
818c1ddd6e * gas/mips/vu0.s: Add tests for "bc2f", "bc2fl", "bc2t", "bc2tl",
"cfc.i", "cfc.ni", "ctc.i", and "ctc.ni".
        * gas/mips/vu0.d: Corresponding changes.
1998-03-25 01:17:32 +00:00
Jeff Law
f4cbd84efe * vu0.h (cfc2, ctc2): Add variants with ".i" and ".ni"
opcode extensions.
1998-03-25 01:09:09 +00:00
Jason Molenda
7df9e11655 Start deleting libg++ and librx--they are no longer shipped to customers. 1998-03-25 01:02:09 +00:00
Jason Molenda
fd24933604 Tue Mar 24 16:58:29 1998 Jason Molenda (crash@bugshack.cygnus.com)
* Makefile.in (TARGET_CONFIGDIRS, ALL_TARGET_MODULES,
        CONFIGURE_TARGET_MODULES, CHECK_TARGET_MODULES,
        INSTALL_TARGET_MODULES, CLEAN_TARGET_MODULES, all-target-winsup):
        Remove references to librx and libg++.

Bye bye.
1998-03-25 01:00:18 +00:00
Nick Clifton
c671714870 Fix PR15434 by emitting a nop if a section ends with a 16 bit instruction. 1998-03-25 00:54:54 +00:00