Commit Graph

22465 Commits

Author SHA1 Message Date
Jeff Law
c8f90c731e * po/Make-in (install-info): New target. 1998-05-11 04:36:09 +00:00
Jeff Law
ee201bec5c * Makefile.in (install-info): New target. 1998-05-11 04:34:46 +00:00
Doug Evans
801354e772 * lib/sim-defs.exp (sim_version): Simplify.
(sim_run): Implement.
	(run_sim_test): Use sim_run.
	(sim_compile): New proc.
1998-05-08 21:42:49 +00:00
Nick Clifton
b1e901371e Extended help information provided about command line options. 1998-05-08 17:36:22 +00:00
Ian Lance Taylor
494c7c8688 * Makefile.in (GASB_SUPPORT_DIRS): Remove intl; already included via
GAS_SUPPORT_DIRS.
1998-05-08 05:31:07 +00:00
Bob Manson
1e9c814fb9 * config/sparc/tm-sp64.h (CALL_DUMMY): Store and retrieve
%o0-%o5 as 64-bit values; compensate for stack bias.
	(USE_STRUCT_CONVENTION): We only pass pointers to structs
	if they're larger than 32 bytes.
	(REG_STRUCT_HAS_ADDR): Ditto.

	* sparc-tdep.c (sparc_init_extra_frame_info): Use read_sp()
 	instead of read_register. If the target is a sparc64 and the frame
 	pointer is odd, compensate for the stack bias.
	(get_saved_register): Use read_sp().
	(DUMMY_STACK_REG_BUF_SIZE): Use FP_REGISTER_BYTES.
	(sparc_push_dummy_frame): Use read_sp()/write_sp(). On sparc64,
 	save the PC, NPC, CCR, FSR, FPRS, Y and ASI registers.
	(sparc_frame_find_saved_regs): Use read_sp(). Read the PC, NPC,
 	CCR, FSR, FPRS, Y and ASI registers from the frame, if it's a
 	dummy frame.
	(sparc_pop_frame): Use write_sp(). If the target is a sparc64 and
 	the FP is odd, compensate for stack bias.
	(sparc_store_return_value): Right-justify the return value before
 	writing it to %o0.
	(sparc_fix_call_dummy): Don't NOP out part of the call dummy on
 	sparc64.
	(sparc64_read_sp, sparc64_read_fp, sparc64_write_sp,
 	sparc64_write_fp, sp64_push_arguments,
 	sparc64_extract_return_value): New functions to support the
 	sparc64 ABI.

	* dwarfread.c (handle_producer): Set processing_gcc_compilation to
 	the right version number.

	* dwarf2read.c (read_file_scope): Assume we're processing
	GCC2 output.
1998-05-08 05:30:24 +00:00
Doug Evans
d67094c621 * Makefile.am: Update with `make dep-am'.
(HFILES): Add cgen.h.
	(cgen.o): Depend on cgen.h.
	* Makefile.in: Regenerate.
1998-05-07 23:40:41 +00:00
Ian Lance Taylor
980381afd7 If sysdep.h includes a header file, don't include it again:
* aix386-core.c: Don't include <stdio.h>, <stddef.h>, or
	<errno.h>.
	* aoutx.h: Don't include <string.h>.  Use "sysdep.h" rather than
	<sysdep.h>.
	* archive.c: Don't include <string.h> or <errno.h>.
	* evax-alpha.c; Don't include <stdio.h>.
	* evax-egsd.c: Likewise.
	* evax-etir.c: Likewise.
	* evax-misc.c: Likewise.
	* evax-emh.c: Likewise.  Also, don't include <sys/types.h>.
	* hppabsd-core.c: Don't include <stdio.h>, <sys/types.h>, or
	<errno.h>.
	* hpux-core.c: Likewise.
	* netbsd-core.c: Likewise.
	* som.c: Likewise.
	* libbfd.c: Don't include <sys/types.h>.
	* nlmcode.h: Don't include <string.h>.
	* osf-core.c: Don't include <string.h> or <stdio.h>.
	* ptrace-core.c: Don't include <stdio.h>, <sys/types.h>,
	<errno.h>, or <unistd.h>.
	* trad-core.c: Don't include <stdio.h> or <sys/types.h>.
1998-05-07 22:05:46 +00:00
Ian Lance Taylor
62ebd0a880 * filemode.c: Remove; not used. 1998-05-07 22:05:13 +00:00
Jeff Law
d41e1fba52 * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
instructions.
        * config/tc-mn10300.c (md_assemble): Likewise.
1998-05-07 21:50:14 +00:00
Ian Lance Taylor
33e0ca6136 * ltconfig, ltmain.sh: Avoid producing a version number if
-version-info was not used.
1998-05-07 21:28:06 +00:00
Ian Lance Taylor
c21d8b4f01 * configure.in (WIN32LIBADD): Add -lintl on cygwin32.
* configure: Rebuild.
1998-05-07 21:16:31 +00:00
Patrick Macdonald
55470cc7ef * Roll Alpha modifications into devo for sky-gpuif*/ sky-gs*/ interp.c
* Complete and informative details can be found in ChangeLog.sky
1998-05-07 19:14:28 +00:00
Doug Evans
f19f301d0c * cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where. 1998-05-07 18:47:57 +00:00
Frank Ch. Eigler
1d99416d38 * Keep new test cases ({trap,break}20.[sd]). 1998-05-07 17:51:51 +00:00
Frank Ch. Eigler
a1d609b4fe * Changes to sky PKE sim to calculate word-precision source-addresses
for VU memory tracking tables.

Thu May  7 12:15:41 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* sky-pke.c (pke_pcrel_operand_bits): Compute word-resolution
	source address for UNPACK into VU MEM.
	(pke_code_mpg): Ditto for MPG into VU uMEM.
1998-05-07 17:50:18 +00:00
Frank Ch. Eigler
a5c3c53c34 * Converted conditional-trap MIPS opcodes to extra-operand variety also.
* Bonus test cases to confirm behavior.

[ChangeLog]
Thu May  7 12:50:33 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* config/tc-mips.c (validate_mips_insn): Removed hack
	for previously inaccessible bitfields in some INSN_TRAP
	instructions.

[testsuite/ChangeLog]

Thu May  7 13:05:25 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* gas/mips/break20.[sd]: New tests for 20-bit operand break and
 	sddbp instructions.
	* gas/mips/trap20.[sd]: New tests for 20-bit operand trap
 	instructions.
	* gas/mips/mips.exp: Run them.
1998-05-07 17:45:24 +00:00
Frank Ch. Eigler
bbee738e86 * Converted conditional-trap MIPS opcodes to extra-operand variety also.
Thu May  7 12:49:46 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* mips-opc.c (teq,tge,tgeu,tlt,tltu,tne): Added three-operand
 	variety of ISA2 instructions to set bottom ten bits of trap code.
1998-05-07 17:43:38 +00:00
Ian Lance Taylor
82df8834c9 Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se>
* gasp.c (grab_label): Permit a label to be a preprocessor
	variable by permitting a label to start with a backslash.
1998-05-07 17:22:30 +00:00
Ian Lance Taylor
4c7f1d4109 Thu May 7 13:12:50 1998 Klaus Kaempf <kkaempf@progis.de>
* configure.com: If the version number can not be found in
	configure.in, set it to "unknown" rather than "2.8.1".
1998-05-07 17:13:37 +00:00
Ian Lance Taylor
eb5382d220 remove \f from internationalized string 1998-05-07 16:51:16 +00:00
Ian Lance Taylor
1e0e34e02e sanitize java mentions from ChangeLog 1998-05-07 16:46:30 +00:00
Ian Lance Taylor
6a347e3c9c fix sanitization of mips.h changes 1998-05-07 16:19:40 +00:00
Ian Lance Taylor
e888ecaacf fix sanitization of elf32-mips.c 1998-05-07 16:13:49 +00:00
Ian Lance Taylor
928180df8e * Makefile.am (config.status): Add explicit target so that
config.status depends upon bfd/configure.in.
	* Makefile.in: Rebuild.
1998-05-07 15:56:07 +00:00
Frank Ch. Eigler
01c6e45fe7 * First batch of fixes for sky PR 15853 (20-bit break/sdbbp) 1998-05-07 15:34:13 +00:00
Frank Ch. Eigler
40f0c90498 * Fixes for d30v PR 15627.
* First batch of fixes for sky PR 15853 (20-bit break/sdbbp)
* Fixes for d30v test suite.
1998-05-07 15:27:13 +00:00
Frank Ch. Eigler
53307c2301 * Finish dropping sim/txvu directory. 1998-05-07 14:39:08 +00:00
Ron Unrau
c939ffeb80 Initial Breakpoint support:
* sim-main.h: (struct _sim_cpu): add cur_device field.
          Define cur_device values, breakpoint value, and SIM_ENGINE_HALT_HOOK
        * interp.c (sim_open): initialize cur_device
        * sky-engine.c (engine_run): use cur_device to set current_cpu
        * sky-libvpe.c (vpecallms_cycle): add check for breakpoint
        * sky-hardware.h: delete NUMBER_CPUS
        * sky-hardware.c (attach_devices): create a memory mapped comm
          area for GDB/SIM interactions

misc:
        * sky-vu.c ({read,write}_vu_misc_reg): do default behavior for
          unknown regs instead of sim_io_error. MP reg is float (was missing
          cast).
1998-05-07 14:36:42 +00:00
Michael Meissner
b70d53742c Fix typo 1998-05-07 11:48:27 +00:00
Doug Evans
defc70bf2b * cgen.h: New file.
* cgen.c: Include it.
	(MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
	(cgen_asm_finish_insn): Result is now void.  New arg `result'.
	All callers updated.
	* config/tc-m32r.c: Include cgen.h.
	(m23r_insn): New members num_fixups,fixups.
	(assemble_parallel_insn): Initialize debug_sym_link for each insn.
	(md_assemble): Simplify code to pack two insns in parallel.
	When swapping two insns, update their fixups.
1998-05-07 09:31:42 +00:00
Doug Evans
e2d7426296 * cgen.h (cgen_asm_init_parse): Delete.
(cgen_save_fixups,cgen_restore_fixups,cgen_swap_fixups): Delete.
	(cgen_asm_record_register,cgen_asm_finish_insn): Delete.
1998-05-07 09:16:35 +00:00
Doug Evans
eb00d70698 * sim-main.h (INSN_NAME): New arg `cpu'. 1998-05-07 02:45:07 +00:00
Doug Evans
433a8eafaa * Make-common (sim_main_headers): Sort.
(cgen-*.o): Add cgen-sim.h dependency.

	* sim-cpu.h: New file.  sim_cpu_base moved here.
	Move sim_cpu_lookup decl here.
	* sim-base.h: #include "sim-cpu.h".
	* sim-cpu.c: New file.
	* Make-common (sim_main_headers): Add sim-cpu.h.
	(sim-cpu.o): Add rule for.
1998-05-07 02:08:05 +00:00
Doug Evans
2ac0ca44d3 * config/tc-dvp.c: Delete inclusion of "sysdep.h". 1998-05-06 23:30:32 +00:00
Doug Evans
d9fbbdfaa3 lotsa stuff, see ChangeLog 1998-05-06 22:39:35 +00:00
Doug Evans
40c680ba80 * sem-switch.c: Regenerate. Redo computed goto label handling.
* sem.c: Regenerate.  Call PROFILE_COUNT_INSN.
	* readx.c: Regenerate.  Redo computed goto label handling.
	* semx.c: Regenerate.  Call PROFILE_COUNT_INSN.  Finish profiling
	support.
	* Makefile.in (stamp-xcpu): Turn on profiling support.
1998-05-06 22:38:05 +00:00
Doug Evans
177dedfb88 * Makefile.in (m32r.o,mloop.o,cpu.o,model.o): Add decode.h dependency.
(m32rx.o,mloopx.o,cpux.o,modelx.o): Add decodex.h dependency.
	* decode.c,decode.h: Regenerate, introduces IDESC table.
	* mloop.in (extract16,extract32): Add IDESC support.
	Update names of semantic handler member names.
	(execute): Ditto.  Delete call to PROFILE_COUNT_INSN.
	* decodex.c,decodex.h: Regenerate, introduces IDESC table.
	* mloopx.in: Add IDESC support.
	Update names of semantic handler member names.
	Delete call to PROFILE_COUNT_INSN.
1998-05-06 22:37:14 +00:00
Jeff Law
7252da953d * somsolib.c: Include gdb_stat.h. 1998-05-06 22:33:06 +00:00
Jeff Law
8be4960fe8 * config/tc-hppa.c (md_apply_fix): Slightly rework some code
to avoid compiler warning.
1998-05-06 22:28:53 +00:00
Doug Evans
a2f0f7f230 * cgen.sh: s/@ARCH@/${ARCH}/ in opc.h generation.
* m32r-opc.h: Regenerate.
1998-05-06 21:49:38 +00:00
Doug Evans
b6ea017091 (CGEN_INSN_INDEX): Delete. 1998-05-06 21:43:45 +00:00
Ian Lance Taylor
10779648f8 Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms: Run dec c with /nodebug.  Pass CC value when
	calling make.
1998-05-06 19:32:31 +00:00
Ian Lance Taylor
94db6f7294 Wed May 6 15:30:06 1998 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms: Run dec c with /nodebug.
1998-05-06 19:31:11 +00:00
Ian Lance Taylor
ead3130290 Wed May 6 15:28:51 1998 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms: Run dec c with /nodebug.  Pass CC value when
	calling make.
1998-05-06 19:29:52 +00:00
Ian Lance Taylor
21e2eeaaf1 Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms (OBJS): Add ehopt.obj
1998-05-06 19:27:05 +00:00
Ian Lance Taylor
6a1421c662 Wed May 6 15:11:12 1998 Klaus Kaempf <kkaempf@progis.de>
* doc/c-vax.texi: Correct and extend vax/vms documentation.
1998-05-06 19:12:59 +00:00
Richard Henderson
daaef8f8df * config/tc-d30v.c (do_assemble): Accept a new parameter requesting
a short format insn.
	(md_assemble): Set it for explicitly packed insns.

PR 14601
1998-05-06 18:56:08 +00:00
Ian Lance Taylor
6711d1ef23 fix xgettext invocation 1998-05-06 18:30:34 +00:00
Ian Lance Taylor
ee66b572a8 fix xgettext invocation 1998-05-06 18:16:28 +00:00