Commit Graph

21844 Commits

Author SHA1 Message Date
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
Ian Lance Taylor 75777e9b0e * config/obj-coff.c (obj_coff_bss): Compile unconditionally. Call
s_lcomm rather than obj_coff_lcomm.
	(obj_pseudo_table): Compile .bss pseudo-op unconditionally.
1998-03-25 00:48:51 +00:00
Ian Lance Taylor 48c9f0ebd5 * rclex.l: Accept { and } as synonyms for BEGIN and END. 1998-03-25 00:33:29 +00:00
Andrew Cagney e855e57637 Pacify GCC. 1998-03-25 00:08:52 +00:00
Ian Lance Taylor e4dee78c68 Add --demangle and --no-demangle options:
* gprof.h (demangle): Declare.
	* gprof.c (demangle): New global variable.
	(OPTION_DEMANGLE, OPTION_NO_DEMANGLE): Define.
	(long_options): Add "demangle" and "no-demangle".
	(usage): Mention --demangle and --no-demangle.
	(main): Handle OPTION_DEMANGLE and OPTION_NO_DEMANGLE.
	* utils.c (print_name_only): Only demangle symbol name if demangle
	is true.
	* gprof.texi (Output Options): Document new options.
1998-03-25 00:06:23 +00:00
Ian Lance Taylor 44a8b274cf Tue Mar 24 18:32:47 1998 H.J. Lu <hjl@gnu.org>
* i386.h: Set LinearAddress for lidt and lgdt.
1998-03-24 23:34:58 +00:00
Ian Lance Taylor dddc8a823d Tue Mar 24 18:30:58 1998 H.J. Lu <hjl@gnu.org>
* config/tc-i386.h (LinearAddress): Define.
	* config/tc-i386.c (md_assemble): If LinearAddress is set for the
	instruction, don't use a default segment.
1998-03-24 23:34:45 +00:00
Eric Mumpower 3173839b6a * Makefile.in (BASE_FLAGS_TO_PASS): Pass $(lispdir) down to
recursive makes
1998-03-24 23:30:35 +00:00
Andrew Cagney 612a649eee * interp.c (Max, Min): Comment out functions. Not yet used.
* vr4320.igen (DCLZ): Pacify GCC, 64 bit arg, int format.
1998-03-24 23:16:57 +00:00
Ian Carmichael 9fa5e700c0 * Several fixes and performance enhancements from my 2 weeks working in Japan. 1998-03-24 22:23:33 +00:00
Andrew Cagney d797f46f3c * gen-engine.c (print_run_body): Re-extract the CIA after
processing any events.  Events may not restart the simulator.
1998-03-24 21:30:00 +00:00
Joyce Janczyn 8dcf23d28b Add new files: mn10300.igen, mn10300.dc, sim-main.h, op_utils.c 1998-03-24 21:23:29 +00:00