Commit Graph

24734 Commits

Author SHA1 Message Date
Stan Shebs 3dd8d9225d Not part of the sources 1999-04-26 17:34:15 +00:00
Stan Shebs c906108c21 Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
Stan Shebs cd946cff9e This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
1999-04-16 01:34:55 +00:00
Stan Shebs d60d9f651a Initial creation of sourceware repository 1999-04-16 01:34:55 +00:00
Stan Shebs 9733ab3f56 Initial creation of sourceware repository 1999-04-16 01:34:49 +00:00
Stan Shebs 071ea11e85 Initial creation of sourceware repository 1999-04-16 01:34:07 +00:00
Mark Alexander 1730ec6b18 * config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
coffread.c will correctly handle char or short function parameters.
1999-02-15 02:23:56 +00:00
Ken Raeburn 8a71fa4e1e config/tc-alpha.c (md_show_usage): Put \ before newline in strings always. 1999-02-15 00:00:20 +00:00
Richard Henderson 15445dcdcd * config/tc-alpha.c (cpu_types): Enable EV6 PALcode with -m21264.
(emit_insn): Look for pc-relative and no-overflow specifiers on
        internal relocation types.
1999-02-13 22:13:09 +00:00
Jim Blandy 287169e548 Add clauses for tx19, vr4xxx, vr4320, tx49, and r5900 1999-02-13 21:59:27 +00:00
Jim Blandy 0e00d2706a *** empty log message *** 1999-02-13 21:37:36 +00:00
Jim Blandy 3b88ed2a72 * doc/c-mips.texi (MIPS Opts): Updated list of -mNNNN and
-mcpu=NNNN flags.
1999-02-13 21:37:16 +00:00
Jim Blandy de484a066b * config/tc-mips.c: Remove all the mips_NNNN variables; just use
mips_cpu instead.
(mips_4650, mips_4010, mips_4100): Variables removed.
start-sanitize-vr4xxx
(mips_4121): Variable removed.
end-sanitize-vr4xxx
start-sanitize-vr4320
(mips_4320): Variable removed.
end-sanitize-vr4320
start-sanitize-cygnus
(mips_5400): Variable removed.
end-sanitize-cygnus
start-sanitize-r5900
(mips_5900): Variable removed.
end-sanitize-r5900
start-sanitize-tx49
(mips_4900): Variable removed.
end-sanitize-tx49
(hilo_interlocks, gpr_interlocks, append_insn, macro_build, macro,
macro2, mips16_macro, mips_ip): Test mips_cpu, not the mips_NNNN
variables.
(md_begin): Don't bother initializing the mips_NNNN variables;
mips_cpu is set, and that's good enough now.
(md_parse_option): Have the -mNNNN options set mips_cpu instead of
the mips_NNNN variable.  The -no-mNNNN flags are now no-ops.
(show): New function, to handle wrapping in the CPU lists.
(md_show_usage): Update lists of -mcpu and -mNNNN switches.
1999-02-13 21:36:35 +00:00
Jim Blandy adfdbe9083 *** empty log message *** 1999-02-13 21:19:17 +00:00
Jim Blandy 346b8b0797 *** empty log message *** 1999-02-13 20:07:02 +00:00
Jim Blandy bd24408345 * gas/mips/mips.exp: Run the new tests, below.
* gas/mips/elf_e_flags1.d, gas/mips/elf_e_flags2.d,
gas/mips/elf_e_flags3.d, gas/mips/elf_e_flags4.d: New files.
* gas/mips/elf_e_flags.c, gas/mips/elf_e_flags.s: New files.
1999-02-13 20:06:53 +00:00
Jim Blandy c80f964dc6 *** empty log message *** 1999-02-13 20:04:28 +00:00
Jim Blandy 06643e93f6 *** empty log message *** 1999-02-13 20:04:14 +00:00
Richard Henderson e58ae7a3fd * config/tc-i386.c (i386_intel_operand): Ignore `SHORT' rather
than treat as an immediate specifier.
1999-02-13 08:18:51 +00:00
Stan Shebs 35564bd7ba * gdb.texinfo: Update the credits. 1999-02-12 02:02:45 +00:00
Richard Henderson e715a0271e * config/tc-i386.c: Prototype many functions.
(set_intel_syntax): Accept `prefix'/`noprefix' specifiers.
        (i386_immediate): Remove unused second argument.
        (i386_intel_operand): Fix i386_is_reg typo.
        (i386_operand): Use allow_naked_reg.
        (output_invalid): Make operand int for K&R.
1999-02-12 00:27:34 +00:00
Martin Hunt eb9ea5de74 1999-02-11 Martin Hunt <hunt@cygnus.com>
* gdbtk-variable.c (variable_format): Enable binary format.
1999-02-12 00:00:14 +00:00
Martin Hunt 5bbb337f4a *** empty log message *** 1999-02-11 21:12:19 +00:00
Martin Hunt 8ee982c6a9 1999-02-11 Martin Hunt <hunt@cygnus.com>
* gdbtk-hooks.c: Change ALL Tcl_Eval calls in hooks to
	call report_error() if there are errors.
1999-02-11 21:11:58 +00:00
Martin Hunt 5288b2e1b2 1999-02-11 Martin Hunt <hunt@cygnus.com>
* gdbtk.c, gdbtk-cmds.c, gdbtk-hooks.c: Removed old IDE stuff.
1999-02-11 20:53:23 +00:00
Jason Molenda 8fa71a718c 1999-02-11 Jason Molenda (jsm@bugshack.cygnus.com)
* configure, aclocal.m4: Regenerate with correct version of aclocal.
1999-02-11 19:22:23 +00:00
Ian Lance Taylor e0a991bf5e * Makefile.am (EXTRA_as_new_SOURCES): Uncomment--fixed by automake
patch.
	* Makefile.in: Rebuild.
1999-02-11 16:22:25 +00:00
Nick Clifton 22f94ab06c Fix for PR 19070 - add ability to detect and generate errors when sections
overlap.
1999-02-11 16:14:01 +00:00
Doug Evans 39c80401ec * gas/m32r/allinsn.d: Prefix all | with \.
(push,pop): Fix expected output.
	* gas/m32r/relax-1.d: Emitted nops are serial, not parallel.
	* gas/m32r/fslot.d: Prefix all | with \.
	* gas/m32r/fslotx.d: Prefix all | with \.
	* gas/m32r/m32rx.d: Assemble with -O to get effect we're testing for.
	Prefix all | with \.  Fix misc. typos.
	* gas/m32r/m32rx.s (bc__add,bcl__addi): Use non-relaxable versions
	of branches so we get the effect we're testing for.
	* gas/m32r/relax-2.d: Prefix all | with \.
| must be prefixed with \ (or otherwise escaped).
Fix problems that were then revealed.
Some still remain in m32rx.[ds].
1999-02-11 03:24:19 +00:00
Syd Polk 92cf44957c 1999-02-10 Syd Polk <spolk@cygnus.com>
* acinclude.m4: Fix for new location of itclConfig.sh and itkConfig.sh.
	* aclocal.m4: Regnerate.
	* configure: Regenerate.
1999-02-11 02:15:40 +00:00
Stan Shebs 3f25bdb8b9 Remove java sanitization. 1999-02-11 02:02:02 +00:00
Jason Molenda f43739dcc4 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
* demangle.c: Fix comments to mention "set demangle-style"
        instead of "set demangle".
        Run through indent to fix minor indenting problems.
1999-02-11 01:58:22 +00:00
Bob Manson 886f038c4c * i386-tdep.c (gdb_print_insn_i386): Add missing returns.
Disassembly fails on sparc host otherwise (for obvious reasons).
1999-02-11 01:54:15 +00:00
Doug Evans 8a12d48ebe * config/tc-dvp.h (tc_symbol_chars): Define.
pr 19072
1999-02-11 00:58:29 +00:00
Jason Molenda a502297e81 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb.base/smoke.exp: Disambiguate two test case names (both
        called ``print'').
1999-02-11 00:57:35 +00:00
Doug Evans e3fb245ba0 * Makefile.in: Rebuild. 1999-02-11 00:31:53 +00:00
Stan Shebs 87f77edfc6 Removing java sanitization! 1999-02-11 00:24:38 +00:00
Doug Evans 8d3b723419 * sparc-desc.c: New file.
* sparc-desc.h: New file.
	* sparc-opc.h: New file.
	* decode64.c: New file.
	* decode64.h: New file.
	* sem64.c: New file.
	* cpu64.c: New file.
	* cpu64.h: New file.
	* model64.h: New file.
	* mloop64.in: New file.
	* regs64.h: New file.
	* trap64.c: New file.
	* cpu32.h,decode32.c,decode32.h,model32.c,sem32.c: Rebuild.
1999-02-10 23:39:09 +00:00
Stan Shebs baf6de2ed9 Declare Gould configuration obsolete:
* configure.host, configure.tgt: Comment out Gould configs.
	* Makefile.in: Comment out Gould-related actions.
	* gould-xdep.c, gould-tdep.c, config/gould/*: Comment out.
	* NEWS: Mention obsolete status.
And the first one bites the dust...
1999-02-10 21:28:03 +00:00
Doug Evans 9ebb9ec84a fix sanitization of m32r-desc.c,m32r-desc.h,m32r-ibld.c,m32r-opinst.c 1999-02-10 20:22:20 +00:00
Christopher Faylor dc3623dc4b Fix a typo. 1999-02-10 17:19:01 +00:00
Doug Evans c14d22a7a7 * Makefile.in (SPARC64_OBJS): Add dev64.o.
(CPU_OBJS): New variable.
	(SIM_OBJS): Add sparc-desc.o.
	(SIM_EXTRA_DEPS): Replace cpu-opc.h with sparc-desc.h.
	(sim-core.o): Add dev64.h dependency.
	(dev64.o): Add rule.
	(stamp-arch,stamp-cpu32): Update FLAGS variable, option syntax changed.
	(stamp-cpu64): Ditto.
	(stamp-desc): New rule.
	* configure.in (sim_link_files,sim_link_links): Delete.
	Set cpu_objs to one of SPARC32_OBJS,SPARC64_OBJS.
	* configure: Rebuild.
	* acconfig.h: Rebuild.
	* config.in: Rebuild.
	* dev64.c: New file.
	* dev64.h: New file.
	* sparc64.c: New file.
	* trap64.h: New file.
	* arch.c,arch.h,cpuall.h: Rebuild.
	* cpu32.c,decode32.c,decode32.h,model32.c,sem32.c: Rebuild.
	* sim-if.c (sparc_disassemble_insn): New function.
	(sim_open): sparc_cgen_cpu_open renamed from sparc_cgen_opcode_open.
	Set disassembler.
	(sim_close): sparc_cgen_cpu_open renamed from sparc_cgen_opcode_open.
	* sim-main.h: Don't include cpu-opc.h,cpu-sim.h. Include
	sparc-desc.h,sparc-opc.h,sparc-sim.h.
1999-02-10 09:42:33 +00:00
Doug Evans 9aa2d8ddaf * Makefile.in (SIM_EXTRA_DEPS): Add m32r-desc.h, delete cpu-opc.h.
(stamp-arch,stamp-cpu): Update FLAGS variable, option syntax changed.
	(stamp-xmloop): s/-parallel/-parallel-write/.
	(stamp-xcpu): Update FLAGS variable, option syntax changed.
	* configure.in (sim_link_files,sim_link_links): Delete.
	* configure: Rebuild.
	* decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
	* decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild.
	* mloop.in (execute): CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
	* sim-if.c (sim_open): m32r_cgen_cpu_open renamed from
	m32r_cgen_opcode_open.  Set disassembler.
	(sim_close): m32r_cgen_cpu_open renamed from m32r_cgen_opcode_open.
	* sim-main.h: Don't include cpu-opc.h,cpu-sim.h. Include
	m32r-desc.h,m32r-opc.h,m32r-sim.h.
1999-02-10 09:23:35 +00:00
Doug Evans 2d84b54332 * configure.in (sparc*): Configure sparc subdir if --with-cgen or
--with-cgen-sim.
	* configure: Rebuild.
1999-02-10 08:56:15 +00:00
Doug Evans 3ab32eae4d * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
(cgen.o): Ditto.
	(EXTRA_as_new_SOURCES): Comment out.
	(.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
	* Makefile.in: Rebuild.
	* doc/Makefile.in: Rebuild.
	* configure.in: Require autoconf 2.13.  Redo using_cgen handling.
	Delete call to AM_CYGWIN32.  Replace AM_EXEEXT with AC_EXEEXT.
	(AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
	* configure: Rebuild.
	* aclocal.m4: Rebuild.
	* config.in: Rebuild.
	* cgen.c: Include cgen-desc.h, not cgen-opc.h.
	(*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
	(gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
	CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
	CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
	(gas_cgen_record_fixup): Remove unnecessary != 0 test.
	(gas_cgen_record_fixup_exp): Ditto.
	(gas_cgen_finish_insn): Ditto.  Refer to operand table via cpu
	descriptor, not global variable.
	(gas_cgen_md_apply_fix3): Refer to operand_table via cpu
	descriptor, not global variable.  Refer to insert_operand handler
	via cpu descriptor, not global function.
	* cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
	* config/tc-fr30.c: Include opcodes/fr30-desc.h.
	(*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
	CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
	Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
	* config/tc-m32r.c: Ditto.
	(assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
	(md_assemble): Ditto.
	(md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
1999-02-10 03:20:59 +00:00
Doug Evans 310addc423 * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
(cgen.o): Ditto.
	(EXTRA_as_new_SOURCES): Comment out.
	(.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
	* Makefile.in: Rebuild.
	* configure.in: Require autoconf 2.13.  Redo using_cgen handling.
	Delete call to AM_CYGWIN32.  Replace AM_EXEEXT with AC_EXEEXT.
	(AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
	* configure: Rebuild.
	* aclocal.m4: Rebuild.
	* config.in: Rebuild.
	* cgen.c: Include cgen-desc.h, not cgen-opc.h.
	(*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
	(gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
	CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
	CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
	(gas_cgen_record_fixup): Remove unnecessary != 0 test.
	(gas_cgen_record_fixup_exp): Ditto.
	(gas_cgen_finish_insn): Ditto.  Refer to operand table via cpu
	descriptor, not global variable.
	(gas_cgen_md_apply_fix3): Refer to operand_table via cpu
	descriptor, not global variable.  Refer to insert_operand handler
	via cpu descriptor, not global function.
	* cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
	* config/tc-fr30.c: Include opcodes/fr30-desc.h.
	(*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
	CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
	Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
	* config/tc-m32r.c: Ditto.
	(assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
	(md_assemble): Ditto.
	(md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
1999-02-10 03:19:32 +00:00
Doug Evans b43ef111ac * i960c-asm.c,i960c-dis.c,i960c-opc.c,i960c-opc.h: Delete.
* i960-dis.c (print_insn_i960): Rename from print_insn_i960_orig.
	* Makefile.am: Remove references to them.
	(HFILES): Add fr30-desc.h,m32r-desc.h.
	(CFILES): Add fr30-desc.c,fr30-ibld.c,m32r-desc.c,m32r-ibld.c,
	m32r-opinst.c.
	(ALL_MACHINES): Update.
	* configure.in: Redo handling of cgen_files.
	(bfd_i960_arch): Delete i960c-*.lo files.
	* configure: Regenerate.
	* cgen-asm.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
	(hash_insn_array): Rewrite.
	* cgen-dis.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
	(hash_insn_array): Rewrite.
	* cgen-opc.c (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
	(cgen_lookup_insn,cgen_get_insn_operands): Define here.
	(cgen_lookup_get_insn_operands): Ditto.
	* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerate.
	* m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate.
	* po/POTFILES.in: Rebuild.
	* po/opcodes.pot: Rebuild.

	* Makefile.am (fr30 cgen dependencies): Add new files.
	(m32r cgen dependencies): Add new files.
	(CGENFILES): Update for opcode table reorg.
	(run-cgen): Pass $(extrafiles).
	(stamp-m32r): Set extrafiles to "opinst".
	* cgen-opc.in: Delete.
	* cgen-ibld.in: New file.
	* cgen-asm.in: Include @prefix@-desc.h.
	(insert_1,insert_normal,insert_insn_normal): Moved to cgen-ibld.in.
	* cgen-dis.in: Include @prefix@-desc.h.
	(fill_cache,extract_1,extract_normal,extract_insn_normal): Moved to
	cgen-ibld.in.
	* cgen.sh: Accept new arg to handle generation of opinst file.
	Generate arch-desc.[ch],arch-opinst.c,arch-ibld.c files.
1999-02-10 02:38:05 +00:00
Doug Evans 39f7f4b83c cleanup last change 1999-02-10 01:47:02 +00:00
Doug Evans b1673d727b (CGEN_INSN_ATTR): New type. 1999-02-10 01:45:30 +00:00
Doug Evans f1ffcb322b * cgen.h (CGEN_CPU_DESC): Renamed from CGEN_OPCODE_DESC.
All uses updated.  New members int_insn_p, max_insn_size,
	parse_operand,insert_operand,extract_operand,print_operand,
	sizeof_fields,set_fields_bitsize,get_int_operand,set_int_operand,
	get_vma_operand,set_vma_operand,parse_handlers,insert_handlers,
	extract_handlers,print_handlers.
	(CGEN_ATTR): Change type of num_nonbools to unsigned int.
	(CGEN_ATTR_BOOL_OFFSET): New macro.
	(CGEN_ATTR_MASK): Subtract it to compute bit number.
	(CGEN_ATTR_VALUE): Redo bool/nonbool attr calculation.
	(cgen_opcode_handler): Renamed from cgen_base.
	(CGEN_HW_ATTR_VALUE): Renamed from CGEN_HW_ATTR, all uses updated.
	(CGEN_OPERAND_ATTR_VALUE): Renamed from CGEN_OPERAND_ATTR,
	all uses updated.
	(CGEN_OPERAND_INDEX): Rewrite to use table entry, not global.
	(enum cgen_opinst_type): Renamed from cgen_operand_instance_type.
	(CGEN_IFLD_ATTR_VALUE): Renamed from CGEN_IFLD_ATTR, all uses updated.
	(CGEN_OPCODE,CGEN_IBASE): New types.
	(CGEN_INSN): Rewrite.
	(CGEN_{ASM,DIS}_HASH*): Delete.
	(init_opcode_table,init_ibld_table): Declare.
1999-02-10 01:12:01 +00:00