platform/upstream/binutils.git
26 years ago Rename cpu m32r to m32rb to distinguish from architecture name.
Doug Evans [Tue, 4 Aug 1998 02:52:16 +0000 (02:52 +0000)]
Rename cpu m32r to m32rb to distinguish from architecture name.
* Makefile.in (mloop.c): cpu m32r renamed to m32rb.
(stamp-cpu): Ditto.
* sim-main.h (WANT_CPU_M32RB): Renamed from WANT_CPU_M32R.
* tconfig.in (WANT_CPU_M32RB): Ditto.
* m32r.c (WANT_CPU_M32RB): Ditto.
(*): m32r_ cpu fns renamed to m32rb_.
* sim-if.c (sim_stop,sim_sync_stop,sim_resume): Update.
* arch.h,arch.c: Regenerate.
* cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
* sem-switch.c,sem.c: Regenerate.

* sim-if.c (sim_open): Don't allocate memory on top of any user
specified memory.
(h_gr_get,h_gr_set): Delete.
* sim-main.h (h_gr_get,h_gr_set): Delete.
* traps.c (m32r_trap): Replace calls to h_gr_[gs]et with
a_m32r_h_gr_[gs]et.

26 years agofixed armelf sanitization
Nick Clifton [Tue, 4 Aug 1998 00:36:01 +0000 (00:36 +0000)]
fixed armelf sanitization

26 years ago * elf32-sparc.c (elf32_sparc_check_relocs): Permit WPLT30 against
Ian Lance Taylor [Tue, 4 Aug 1998 00:11:32 +0000 (00:11 +0000)]
* elf32-sparc.c (elf32_sparc_check_relocs): Permit WPLT30 against
a local symbol.
(elf32_sparc_relocate_section): Likewise.

26 years ago * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
Doug Evans [Mon, 3 Aug 1998 21:18:08 +0000 (21:18 +0000)]
* cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
(gas_cgen_opcode_desc): Declare.
(gas_cgen_parse_operand): Declare.
(*): Prepend gas_ to gas specific fns to denote them as such.
All uses updated.
* cgen.c (gas_cgen_opcode_desc): New global
(gas_cgen_init_parse): Renamed from cgen_asm_init_parse.
(queue_fixup): Renamed from cgen_queue_fixup.
(*): Prepend gas_ to gas specific fns to denote them as such.
All uses updated.
(gas_cgen_md_apply_fix3): Update call to insert_operand.
(gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn.
* config/tc-m32r.c (md_begin): Remove use of CGEN_SYM.
Open opcode table and initialize it.
(make_parallel): Use gas_cgen_opcode_desc.
(assemble_parallel_insn): Ditto.  Remove use of CGEN_SYM.
(md_assemble): Ditto.

26 years ago * Makefile.in (INCLUDE_DEPS): Add include/opcode/cgen.h.
Doug Evans [Mon, 3 Aug 1998 19:58:36 +0000 (19:58 +0000)]
* Makefile.in (INCLUDE_DEPS): Add include/opcode/cgen.h.

* sim-if.c (sim_open): Open opcode table.
(sim_close): Close it.

26 years ago Move all global state data into opcode table struct, and treat
Doug Evans [Mon, 3 Aug 1998 19:56:43 +0000 (19:56 +0000)]
Move all global state data into opcode table struct, and treat
opcode table as something that is "opened/closed".
* cgen-asm.c (all fns): New first arg of opcode table descriptor.
(cgen_asm_init): Delete.
(cgen_set_parse_operand_fn): New function.
* cgen-dis.c (all fns): New first arg of opcode table descriptor.
(cgen_dis_init): Delete.
* cgen-opc.c (all fns): New first arg of opcode table descriptor.
(cgen_current_{opcode_table_mach,endian}): Delete.
* cgen-asm.in (all fns): New first arg of opcode table descriptor.
* cgen-dis.in (all fns): Ditto.
* cgen-opc.in (all fns): Ditto.
* m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate.

* cgen-asm.in (parse_insn_normal): Ignore case in mnemonics.

* cgen-dis.in (print_normal): Split into two.
(print_address): New function.
(extract_insn_normal): Clarify insn_value arg.
(print_int_insn): Renamed from print_insn.
(print_insn): New arg.
(print_insn_@arch@): Open opcode table if not already done so.
Move reading of insn into print_insn.

26 years ago Move all global state data into opcode table struct, and treat
Doug Evans [Mon, 3 Aug 1998 19:29:51 +0000 (19:29 +0000)]
Move all global state data into opcode table struct, and treat
opcode table as something that is "opened/closed".
* cgen.h (CGEN_OPCODE_DESC): New type.
(all fns): New first arg of opcode table descriptor.
(cgen_set_parse_operand_fn): Add prototype.
(cgen_current_machine,cgen_current_endian): Delete.
(CGEN_OPCODE_TABLE): New members mach,endian,operand_table,
parse_operand_fn,asm_hash_table,asm_hash_table_entries,
dis_hash_table,dis_hash_table_entries.
(opcode_open,opcode_close): Add prototypes.

* cgen.h (cgen_insn): New element `cdx'.

26 years ago * cgen-sim.h (cgen_state): New member opcode_table.
Doug Evans [Mon, 3 Aug 1998 18:45:06 +0000 (18:45 +0000)]
* cgen-sim.h (cgen_state): New member opcode_table.
* cgen-utils.c (sim_disassemble_insn): Use it.

26 years agoadd armelf.
Catherine Moore [Sun, 2 Aug 1998 17:30:11 +0000 (17:30 +0000)]
add armelf.

26 years agoAdd armelf.
Catherine Moore [Sun, 2 Aug 1998 17:26:10 +0000 (17:26 +0000)]
Add armelf.

26 years agoRemove elf32-arm.c from armelf_files.
Catherine Moore [Sun, 2 Aug 1998 17:21:39 +0000 (17:21 +0000)]
Remove elf32-arm.c from armelf_files.

26 years agoadd armelf.
Catherine Moore [Sun, 2 Aug 1998 17:20:50 +0000 (17:20 +0000)]
add armelf.

26 years ago * elf32-ppc.c (ppc_elf_check_relocs): Init sgot to NULL. Create the
Richard Henderson [Sun, 2 Aug 1998 10:22:30 +0000 (10:22 +0000)]
    * elf32-ppc.c (ppc_elf_check_relocs): Init sgot to NULL.  Create the
        .got if any relocation referrs to _GLOBAL_OFFSET_TABLE_.
        (ppc_elf_relocate_section): Pull sgot and splt search to the start
        of the function.  Recognize no .plt as static linking.

26 years ago * as.h (debug_info_type): Add entries for unspecified and dwarf*.
Richard Henderson [Sun, 2 Aug 1998 02:39:52 +0000 (02:39 +0000)]
    * as.h (debug_info_type): Add entries for unspecified and dwarf*.
        * ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call
        as_where ourselves.  Provide a stub for !ECOFF_DEBUGGING.
        * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H.
        Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection.
        * read.c (generate_lineno_debug): Tidy ECOFF bits.  Use
        DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test.
        * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable.
        (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING.
        (INIT_STAB_SECTION): Likewise.
        (OBJ_PROCESS_STAB): Likewise.

        * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug.
        (md_parse_option): Watch for them.
        (alpha_cur_ent_sym, alpha_flag_mdebug): New variables.
        (md_begin): Kill neverdef code.
        (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New.
        (s_alpha_prologue): Watch alpha_cur_ent_sym.
        (s_alpha_coff_wrapper): New.
        (md_pseudo_table): Trap all ECOFF pseudos.

26 years ago * scripttempl/elfarm.sc: New file.
Catherine Moore [Sat, 1 Aug 1998 17:30:02 +0000 (17:30 +0000)]
    * scripttempl/elfarm.sc:  New file.
        * emulparams/armelf.sh: Set SCRIPT_NAME to elfarm.

26 years ago * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Don't pass
Ulrich Drepper [Sat, 1 Aug 1998 16:41:51 +0000 (16:41 +0000)]
    * elf32-mips.c (_bfd_mips_elf_section_from_shdr): Don't pass
        .liblist string through gettext.

26 years agoAdd missing RHF_* constants.
Ulrich Drepper [Sat, 1 Aug 1998 04:30:17 +0000 (04:30 +0000)]
Add missing RHF_* constants.

26 years ago * config/tm-txvu.h: use NUM_CORE_REGS instead of NUM_R5900_REGS
Ron Unrau [Fri, 31 Jul 1998 22:08:08 +0000 (22:08 +0000)]
    * config/tm-txvu.h: use NUM_CORE_REGS instead of NUM_R5900_REGS
        * mips-tdep.c: use NUM_CORE_REGS
        * txvu-tdep.c: use NUM_CORE_REGS, add function prototypes
        (txvu_insert_breakpoints): use VIF interrupt bit

26 years ago * sim-main.h: shadow NUM_CORE_REGS from tm-txvu.h
Ron Unrau [Fri, 31 Jul 1998 22:02:12 +0000 (22:02 +0000)]
    * sim-main.h: shadow NUM_CORE_REGS from tm-txvu.h
        * interp.c: use NUM_CORE_REGS
        * sky-gdb.c (set_fifo_breakpoints): use VIF interrupt bit for break
        * sky-pke.c (pke_issue): use interrupt bit for break points

26 years ago Start of changes to remove mdebug section from mips*-elf
Ron Unrau [Fri, 31 Jul 1998 21:56:15 +0000 (21:56 +0000)]
    Start of changes to remove mdebug section from mips*-elf
        Based on MIPS_STAB_ELF definition
        * acconfig.h: undef if not configured
        * config.in: undef if not configured
        * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
        * config/tc-mips.c (s_ent): set BSF_FUNCTION
        * stabs.c (s_stab_generic): flush frag

26 years ago*** empty log message ***
Catherine Moore [Fri, 31 Jul 1998 21:51:01 +0000 (21:51 +0000)]
*** empty log message ***

26 years ago* config/tc-arm.h: Add definitions for OBJ_ELF.
Catherine Moore [Fri, 31 Jul 1998 21:44:56 +0000 (21:44 +0000)]
* config/tc-arm.h:  Add definitions for OBJ_ELF.

26 years ago*** empty log message ***
Catherine Moore [Fri, 31 Jul 1998 21:40:41 +0000 (21:40 +0000)]
*** empty log message ***

26 years ago * Makefile.am: Add support for elf32-arm.lo.
Catherine Moore [Fri, 31 Jul 1998 21:26:28 +0000 (21:26 +0000)]
    * Makefile.am: Add support for elf32-arm.lo.
        * Makefile.in: Rebuild.
        * config.bfd (arm-*-elf):  Define targ_defvec and targ_selvecs.
        (thumb-*-elf): Define targ_defvec and targ_selvecs.
        * configure.in:  Handle bfd_elf32_littlearm_vec and bfd_elf32_bigarm_vec.
        * configure: Regenerate.
        * elf.c: (prep_headers):  Support arch_type of EM_ARM.
        * targets.c:  Support new targets bfd_elf32_bigarm_vec and
        bfd_target bfd_elf32_littlearm_vec.
        * elf32-arm.c:  New file.

26 years ago*** empty log message ***
Catherine Moore [Fri, 31 Jul 1998 21:18:34 +0000 (21:18 +0000)]
*** empty log message ***

26 years ago * configure.in: (arm-*-elf): Handle.
Catherine Moore [Fri, 31 Jul 1998 21:15:51 +0000 (21:15 +0000)]
    * configure.in: (arm-*-elf):  Handle.
        (thumb-*-elf): Handle.
        * configure:  Regenerate.
        * read.c (stringer): Fix typo in comment.
        * write.c (fixup_segment): Don't add symbol value to addend if
        TC_ARM and OBJ_ELF.
        * config/tc-arm.c (md_section_align):  Don't align dwarf debug
        sections.
        (tc_gen_reloc):  Always set the reloc addend to fixp->fx_offset
        for OBJ_ELF.

26 years agoemulparams/armelf.sh: New file.
Catherine Moore [Fri, 31 Jul 1998 21:14:19 +0000 (21:14 +0000)]
emulparams/armelf.sh: New file.
configure.tgt:  Recognize thumb-elf and arm-elf.
Makefile.am (earmelf.o): New.
Makefile.in: Rebuild.

26 years agoChange the definition of ui_loop_hook to be a function pointer
Drew Moseley [Fri, 31 Jul 1998 17:26:05 +0000 (17:26 +0000)]
Change the definition of ui_loop_hook to be a function pointer
rather than a function.

26 years ago(dump_relocations): EM_ARM uses rela relocs.
Catherine Moore [Fri, 31 Jul 1998 15:08:44 +0000 (15:08 +0000)]
(dump_relocations):  EM_ARM uses rela relocs.

26 years agoAdd R_ARM_THM_PC9 relocation.
Catherine Moore [Fri, 31 Jul 1998 15:04:36 +0000 (15:04 +0000)]
Add R_ARM_THM_PC9 relocation.

26 years agoAdd sanitize markers for thumb-elf and arm-elf.
Catherine Moore [Fri, 31 Jul 1998 14:50:23 +0000 (14:50 +0000)]
Add sanitize markers for thumb-elf and arm-elf.

26 years agoAdd arm-elf and thumb-elf support.
Catherine Moore [Fri, 31 Jul 1998 14:43:47 +0000 (14:43 +0000)]
Add arm-elf and thumb-elf support.

26 years agofix sanitization
Jeff Holcomb [Fri, 31 Jul 1998 05:23:28 +0000 (05:23 +0000)]
fix sanitization

26 years ago * mips-tdep.c (mask_address_p): New variable.
Mark Alexander [Thu, 30 Jul 1998 21:07:14 +0000 (21:07 +0000)]
* mips-tdep.c (mask_address_p): New variable.
(mips_addr_bits_remove): Test mask_address_p to decide whether
to mask off the upper 32 bits of addresses.
(_initialize_mips_tdep): Add command to set mask_address_p.
(mips_call_dummy_address): New function.
* config/mips/tm-mips.h (CALL_DUMMY_ADDRESS): Redefine to
call mips_call_dummy_address.

26 years ago* Fix for PR 16389, brought over from d30v branch.
Frank Ch. Eigler [Thu, 30 Jul 1998 19:41:18 +0000 (19:41 +0000)]
* Fix for PR 16389, brought over from d30v branch.
Thu Jul 30 21:38:43 1998  Frank Ch. Eigler  <fche@cygnus.com>
* config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
(write_2_short): Emit warning if new flag is set.
(do_assemble): Set flags if left instruction is one of special
"right-instruction-killer" type.

26 years ago* Fix for PR 16389, brought over from d30v branch.
Frank Ch. Eigler [Thu, 30 Jul 1998 19:39:47 +0000 (19:39 +0000)]
* Fix for PR 16389, brought over from d30v branch.
Thu Jul 30 21:44:25 1998  Frank Ch. Eigler  <fche@cygnus.com>
* d30v.h (FLAG_LKR): New flag for "left-kills-right" instructions.

26 years ago* Fix for PR 16389, brought over from d30v branch
Frank Ch. Eigler [Thu, 30 Jul 1998 19:38:15 +0000 (19:38 +0000)]
* Fix for PR 16389, brought over from d30v branch
Thu Jul 30 21:41:10 1998  Frank Ch. Eigler  <fche@cygnus.com>
* d30v-opc.c (d30v_opcode_table): Add new "LKR" flag to some
instructions.

26 years ago * symfile.c (add_symbol_file_command): Test for the from_tty
Fernando Nasser [Wed, 29 Jul 1998 18:59:19 +0000 (18:59 +0000)]
* symfile.c (add_symbol_file_command): Test for the from_tty
parameter and avoid query when not interactive.
PR16620

26 years agoFix sanitize misspellings.
Jeff Law [Wed, 29 Jul 1998 18:28:29 +0000 (18:28 +0000)]
Fix sanitize misspellings.

26 years agoSanitize away beos references.
Jeff Law [Wed, 29 Jul 1998 18:26:26 +0000 (18:26 +0000)]
Sanitize away beos references.

26 years agoKeep sysdep-hpux11.h
Jeff Law [Wed, 29 Jul 1998 17:22:48 +0000 (17:22 +0000)]
Keep sysdep-hpux11.h

26 years ago * mn10300-tdep.c (set_movm_offsets): Do nothing for the am33
Jeff Law [Wed, 29 Jul 1998 16:41:36 +0000 (16:41 +0000)]
    * mn10300-tdep.c (set_movm_offsets): Do nothing for the am33
        registers if we are not in am33 mode.
        (mn10300_frame_chain, mn10300_frame_saved_pc): Similarly.
        (set_machine_hook): Keep track of whether or not we're in am33 mode.

26 years agosparc.h: (R_SPARC_REV32): Added for little endian data e.g. sparc 86x.
Stan Cox [Wed, 29 Jul 1998 01:47:13 +0000 (01:47 +0000)]
sparc.h: (R_SPARC_REV32): Added for little endian data e.g. sparc 86x.

26 years agoFix incorrect calculation of conditional field when being extracted
Andrew Cagney [Wed, 29 Jul 1998 00:14:29 +0000 (00:14 +0000)]
Fix incorrect calculation of conditional field when being extracted
from a previous decode.

26 years ago Add support for new versions of mulwhi,mulwlo,macwhi,macwlo that
Doug Evans [Tue, 28 Jul 1998 20:09:10 +0000 (20:09 +0000)]
Add support for new versions of mulwhi,mulwlo,macwhi,macwlo that
accept an accumulator choice.
* cpux.c,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate.

26 years agoNew testcases for PR 16547 (new insns added).
Doug Evans [Tue, 28 Jul 1998 18:47:29 +0000 (18:47 +0000)]
New testcases for PR 16547 (new insns added).

26 years agoNew testcases for PR 16547 (new instructions added).
Doug Evans [Tue, 28 Jul 1998 18:43:52 +0000 (18:43 +0000)]
New testcases for PR 16547 (new instructions added).

26 years ago * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
Jeff Law [Tue, 28 Jul 1998 17:03:05 +0000 (17:03 +0000)]
    * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
        to work with internationalization code.  Issue an error when two
        operands match that are not allowed to match.

26 years ago * m10300-opc.c: Add entries for "no_match_operands" field in
Jeff Law [Tue, 28 Jul 1998 17:01:21 +0000 (17:01 +0000)]
    * m10300-opc.c: Add entries for "no_match_operands" field in
        the opcode table.

26 years ago * sysdep-hpux11.h: New file.
Jeff Law [Tue, 28 Jul 1998 15:44:30 +0000 (15:44 +0000)]
    * sysdep-hpux11.h: New file.
        * configure.in (*-*-*-hpux11*): Use sysdep-hpux11.h.

26 years agoAdd note about limitations of insn_field_cmp().
Andrew Cagney [Tue, 28 Jul 1998 08:58:23 +0000 (08:58 +0000)]
Add note about limitations of insn_field_cmp().

26 years agoProblems with conditional instruction-table fields (N!M, N=M, ...).
Andrew Cagney [Tue, 28 Jul 1998 08:08:54 +0000 (08:08 +0000)]
Problems with conditional instruction-table fields (N!M, N=M, ...).
Was restricting `M' to opcode fields in the current word.

26 years ago * configure.in (install_tooldir): Allow target to specify whether
Doug Evans [Mon, 27 Jul 1998 23:30:34 +0000 (23:30 +0000)]
* configure.in (install_tooldir): Allow target to specify whether
it wants to be installed in $(tooldir)/bin.
start-sanitize-sky
(dvp-*-*): Don't install in $(tooldir)/bin.
end-sanitize-sky
* configure: Regenerate.
* Makefile.am (install-exec-local): Set install-exec-tooldir
dependency via configure.
* Makefile.in: Regenerate.

26 years ago * mt-sky (install-dvp-gas): Delete.
Doug Evans [Mon, 27 Jul 1998 23:25:03 +0000 (23:25 +0000)]
* mt-sky (install-dvp-gas): Delete.

26 years agoMon Jul 27 16:11:42 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Mon, 27 Jul 1998 23:13:22 +0000 (23:13 +0000)]
Mon Jul 27 16:11:42 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * tracepoint.c (remote_set_transparent_ranges): new function.
        Send the start and end addresses of all loadable read-only
        sections down to the trace target, so that it can treat them
        as "transparent" (ie. don't care if they were collected or not).

26 years ago * mn10300-tdep.c (mn10300_analyze_prologue): Undo previous fix
Mark Alexander [Mon, 27 Jul 1998 22:41:21 +0000 (22:41 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Undo previous fix
for setting frame address in optimized code; made unnecessary
by compiler fixes.

26 years agoMon Jul 27 13:07:16 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Mon, 27 Jul 1998 20:23:58 +0000 (20:23 +0000)]
Mon Jul 27 13:07:16 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk.c (gdbtk_call_command): Removed because it is now
in gdbtk-hooks.c
(null_routine): Removed.

* gdbtk-hooks.c (tracepoint_notify): Fix sprintf to
match number of arguments.

* gdbtk-cmds.c (gdb_loc): When calling gdb_loc with an
argument, call find_pc_line() to get a complete
symtab_and_line struct.

26 years agoMon Jul 27 10:45:56 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Mon, 27 Jul 1998 20:23:32 +0000 (20:23 +0000)]
Mon Jul 27 10:45:56 1998  Martin M. Hunt  <hunt@cygnus.com>

* symtab.c (decode_line_1): For minimal symbol, call
find_pc_sect_line() to make sure the line number gets set
properly.
(print_symbol_info): Redeclare function void.

26 years ago1998-07-27 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Mon, 27 Jul 1998 19:24:40 +0000 (19:24 +0000)]
1998-07-27  Jason Molenda  (jsm@bugshack.cygnus.com)

        * config/d10v/tm-d10v.h (REGISTER_NAMES): sp -> r15.  The
        stack pointer et al are synthesized from the SP_REGNUM (etc)
        defines and should not be mentioned in REGISTER_NAMES.

There is a log discussion copied into PR 15966 about how this is not
handled consistently across all targets and we ought to clean it up
a bit.  I'm not tackling the general for this PR, though.

26 years ago * am33.igen: Detect cases where two operands must not match in
Jeff Law [Mon, 27 Jul 1998 18:05:43 +0000 (18:05 +0000)]
    * am33.igen: Detect cases where two operands must not match in
        non-DSP instructions.

26 years ago * mn10300-tdep.c (mn10300_frame_chain): Account for space saved
Jeff Law [Mon, 27 Jul 1998 14:55:51 +0000 (14:55 +0000)]
    * mn10300-tdep.c (mn10300_frame_chain): Account for space saved
        by am33 register saves.
        (mn10300_frame_saved_pc): Similarly.

26 years agoFor vr* processors start using vr.igen.
Andrew Cagney [Sat, 25 Jul 1998 07:49:29 +0000 (07:49 +0000)]
For vr* processors start using vr.igen.
Sanitize out README.Cygnus.

26 years agoAdd new file vr.igen which is a merge of vr5400.igen and vr4320.igen.
Andrew Cagney [Sat, 25 Jul 1998 06:45:18 +0000 (06:45 +0000)]
Add new file vr.igen which is a merge of vr5400.igen and vr4320.igen.
Hack sanitize so that it doesn't sanitize vrXXX when either of
keep-vr5400 or keep-vr4320 are specified.
Move two basic vr4100 instructions from mips.igen to vr.igen.

26 years agotweak wording of last entry
Doug Evans [Sat, 25 Jul 1998 03:09:51 +0000 (03:09 +0000)]
tweak wording of last entry

26 years ago * Makefile.am (install-exec-local): Split into two ...
Doug Evans [Sat, 25 Jul 1998 03:03:45 +0000 (03:03 +0000)]
* Makefile.am (install-exec-local): Split into two ...
(install-exec-bindir,install-exec-tooldir): New rules.
* Makefile.in: Regenerate.

26 years ago * Makefile.in (INSTALL_TARGET): Move EXTRA_TARGET_HOST_INSTALL_MODULES
Doug Evans [Sat, 25 Jul 1998 02:58:09 +0000 (02:58 +0000)]
* Makefile.in (INSTALL_TARGET): Move EXTRA_TARGET_HOST_INSTALL_MODULES
to here ...
(install-no-fixedincludes): and here
(INSTALL_MODULES): ... to here.

26 years ago * mt-sky (install-dvp-gas): New rule.
Doug Evans [Sat, 25 Jul 1998 02:56:07 +0000 (02:56 +0000)]
* mt-sky (install-dvp-gas): New rule.

26 years agoFri Jul 24 16:28:57 1998 Jeff Holcomb <jeffh@cygnus.com>
Jeff Holcomb [Fri, 24 Jul 1998 23:58:30 +0000 (23:58 +0000)]
Fri Jul 24 16:28:57 1998  Jeff Holcomb  <jeffh@cygnus.com>

* readelf.c (get_dynamic_type): Remove empty default from switch
statement.

26 years agoFri Jul 24 18:15:21 1998 Joyce Janczyn <janczyn@cygnus.com>
Joyce Janczyn [Fri, 24 Jul 1998 22:22:35 +0000 (22:22 +0000)]
Fri Jul 24 18:15:21 1998  Joyce Janczyn  <janczyn@cygnus.com>

* op_utils.c (do_syscall): Rewrite to use common/syscall.c.
(syscall_read_mem, syscall_write_mem): New functions for syscall
callbacks.
* mn10300_sim.h: Add prototypes for syscall_read_mem and
syscall_write_mem.
* mn10300.igen: Change C++ style comments to C style comments.
Check for divide by zero in div and divu ops.

26 years ago * gdb.gdbtk/Makefile.in: Add new example program "stack".
Keith Seitz [Fri, 24 Jul 1998 22:11:22 +0000 (22:11 +0000)]
    * gdb.gdbtk/Makefile.in: Add new example program "stack".
        * gdb.gdbtk/browser.test,browser.exp: Add browser window
          tests.
        * gdb.gdbtk/stack1.c,stack2.c: Test case for browser window.

26 years ago * gdbtk-cmds.c (gdb_search): Add missing NULL to switches.
Keith Seitz [Fri, 24 Jul 1998 22:02:39 +0000 (22:02 +0000)]
    * gdbtk-cmds.c (gdb_search): Add missing NULL to switches.
        Add missing flags to result_ptr.
        Pass along any errors caused by getting the list of files from
        tcl.
        Allocate correct amount of memory for the file list.
        Don't do any unecessary cleanups.

26 years ago * gdb.disasm/am33.s: Add tests for autoincrement instructions.
Jeff Law [Fri, 24 Jul 1998 21:52:43 +0000 (21:52 +0000)]
    * gdb.disasm/am33.s: Add tests for autoincrement instructions.
        * gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
        to use a0-a3/d0-d3 as needed.

26 years ago * stabs.texinfo (Method Type Descriptor): Expand and correct.
Ian Lance Taylor [Fri, 24 Jul 1998 21:52:03 +0000 (21:52 +0000)]
* stabs.texinfo (Method Type Descriptor): Expand and correct.

26 years agoFri Jul 24 14:41:19 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 24 Jul 1998 21:44:14 +0000 (21:44 +0000)]
Fri Jul 24 14:41:19 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * tracepoint.c (encode_actions): Treat register names and simple
        variable names as special cases and don't convert them to byte-
        codes: these things can be collected far more efficiently
        without invoking the bytecode interpreter.

26 years ago * m10300-dis.c: Do not emit a comma before a PLUS (autoincrement)
Jeff Law [Fri, 24 Jul 1998 21:23:35 +0000 (21:23 +0000)]
    * m10300-dis.c: Do not emit a comma before a PLUS (autoincrement)
        operand.

26 years ago * config.sub: Merge with FSF.
Ian Lance Taylor [Fri, 24 Jul 1998 21:13:43 +0000 (21:13 +0000)]
* config.sub: Merge with FSF.

26 years ago * config.guess: Merge with FSF.
Ian Lance Taylor [Fri, 24 Jul 1998 21:04:00 +0000 (21:04 +0000)]
* config.guess: Merge with FSF.
As part of this, the BePC entry is no longer sanitized, since it is
now in the FSF version of config.guess.

26 years agoFix memory corruption due to generic_add_output_symbol being called after elf_map_sym...
Nick Clifton [Fri, 24 Jul 1998 20:56:53 +0000 (20:56 +0000)]
Fix memory corruption due to generic_add_output_symbol being called after elf_map_symbols.

26 years ago * config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make it
Mark Alexander [Fri, 24 Jul 1998 20:44:47 +0000 (20:44 +0000)]
* config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make it
work on hosts of any endianness.
* config/i386/tm-i386v.h: Ditto.

26 years ago * config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make it
Mark Alexander [Fri, 24 Jul 1998 20:38:43 +0000 (20:38 +0000)]
* config/i386/tm-i386.h (STORE_STRUCT_RETURN): Make it
work on hosts of any endianness.

26 years agotipo
Ian Lance Taylor [Fri, 24 Jul 1998 20:34:08 +0000 (20:34 +0000)]
tipo

26 years ago * Makefile.am (install-exec-local): Don't remove the file before
Ian Lance Taylor [Fri, 24 Jul 1998 20:33:13 +0000 (20:33 +0000)]
* Makefile.am (install-exec-local): Don't remove the file before
checking whether $(bindir) == $(tooldir)/bin.  From Maciej
W. Rozycki <macro@ds2.pg.gda.pl>.
* Makefile.in: Rebuild.

26 years ago * Makefile.am (install-exec-local): Don't remove the file before
Ian Lance Taylor [Fri, 24 Jul 1998 20:29:01 +0000 (20:29 +0000)]
* Makefile.am (install-exec-local): Don't remove the file before
checking whether $(bindir) == $(tooldir)/bin.  From "Maciej
W. Rozycki" <macro@ds2.pg.gda.pl>.
* Makefile.in: Rebuild.

26 years ago * m32r.c: Include cgen-mem.h.
Doug Evans [Fri, 24 Jul 1998 20:03:56 +0000 (20:03 +0000)]
* m32r.c: Include cgen-mem.h.
* traps.c (m32r_trap): Tweak for -Wall.
* m32rx.c: Include cgen-mem.h.
* semx.c: Regenerate, get -Wall cleanups.

26 years ago * cgen-mem.h (DECLARE_SETT): Fix return type.
Doug Evans [Fri, 24 Jul 1998 19:44:04 +0000 (19:44 +0000)]
* cgen-mem.h (DECLARE_SETT): Fix return type.

26 years agorebuild dependencies
Ian Lance Taylor [Fri, 24 Jul 1998 19:16:35 +0000 (19:16 +0000)]
rebuild dependencies

26 years ago * am33.igen (translate_xreg): New function. Use it as needed.
Jeff Law [Fri, 24 Jul 1998 18:50:12 +0000 (18:50 +0000)]
    * am33.igen (translate_xreg): New function.  Use it as needed.

26 years ago * cgen.h (cgen_macro_insn_count): Declare.
Doug Evans [Fri, 24 Jul 1998 18:45:58 +0000 (18:45 +0000)]
* cgen.h (cgen_macro_insn_count): Declare.

26 years ago * m32r-asm.c,m32r-opc.c: Regenerate (-Wall cleanups).
Doug Evans [Fri, 24 Jul 1998 18:45:13 +0000 (18:45 +0000)]
* m32r-asm.c,m32r-opc.c: Regenerate (-Wall cleanups).

26 years ago * cgen.c: Include libiberty.h.
Doug Evans [Fri, 24 Jul 1998 18:28:19 +0000 (18:28 +0000)]
* cgen.c: Include libiberty.h.
(cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc.
(cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc.
* cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare.
(md_cgen_lookup_reloc)): Declare.
(md_cgen_record_fixup_exp): Declare.
* config/tc-m32r.h (md_pcrel_from_section): Declare.
(m32r_relax_frag): Declare.
(cgen_md_apply_fix3): Decls moved to cgen.h.
(cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto.
(m32r_cgen_record_fixup_exp): Delete decl.
* config/tc-m32r.c (m32r_cpu_desc): #if 0 out.
(assemble_nop): Delete.
(expand_debug_syms): Delete unused `exp'.
(md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc).
Add default case for -Wall.
(m32r_cgen_record_fixup_exp): Add default case for -Wall.
(md_atof): Delete unused wordP.

26 years ago * elf-m10300.c (mn10300_elf_relax_section): Fix typo when relaxing
Jeff Law [Fri, 24 Jul 1998 18:24:31 +0000 (18:24 +0000)]
    * elf-m10300.c (mn10300_elf_relax_section): Fix typo when relaxing
        from 24bit operand to an 8bit operand.

26 years ago * elf-m10300.c (mn10300_elf_relax_section): Do not relax "dmul",
Jeff Law [Fri, 24 Jul 1998 17:49:08 +0000 (17:49 +0000)]
    * elf-m10300.c (mn10300_elf_relax_section): Do not relax "dmul",
        "dmulu", "dmach", "dmachu" with 32bit operands.

26 years ago * elf-m10300.c (mn10300_elf_howto): Add R_MN10300_24 entry.
Jeff Law [Fri, 24 Jul 1998 17:26:51 +0000 (17:26 +0000)]
    * elf-m10300.c (mn10300_elf_howto): Add R_MN10300_24 entry.
        (mn10300_elf_reloc_map): Similarly.
        (mn10300_elf_final_link_relocate): Handle R_MN10300_24.
        (mn10300_elf_relax_section): Support relaxing on the am33.

26 years ago * mn10300.h: Add R_MN10300_24 relocation.
Jeff Law [Fri, 24 Jul 1998 17:22:50 +0000 (17:22 +0000)]
    * mn10300.h: Add R_MN10300_24 relocation.

26 years ago * sim-model.c (model_option_handler): Remove unused variable `n'.
Doug Evans [Fri, 24 Jul 1998 17:16:02 +0000 (17:16 +0000)]
* sim-model.c (model_option_handler): Remove unused variable `n'.

26 years agostart-sanitize-r5900
Ian Lance Taylor [Fri, 24 Jul 1998 16:51:33 +0000 (16:51 +0000)]
start-sanitize-r5900
The value of R_MIPS15_S3 has changed:
* elf32-mips.c (elf_mips15_s3_howto): New static variable.
(mips_reloc_map): Remove BFD_RELOC_MIPS15_S3.
(bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS15_S3
specially.
(mips_info_to_howto_rel): Handle R_MIPS15_S3 specially.
(mips_elf_relocate_section): Check for R_MIPS15_S3.

end-sanitize-r5900
* elf32-mips.c (elf_mips_howto_table): Add reloc types used on
Irix 6.
(bfd_elf32_bfd_reloc_type_lookup): Add default case.
* elf64-mips.c: Replace all uses of mips_elf64_reloc_type with
elf_mips_reloc_type defined in elf/mips.h.

26 years ago * Makefile.in (clean,mostlyclean): Change leading spaces to a tab.
Doug Evans [Fri, 24 Jul 1998 16:44:43 +0000 (16:44 +0000)]
* Makefile.in (clean,mostlyclean): Change leading spaces to a tab.

26 years agoRemoe spurious header file inclusion.
Nick Clifton [Fri, 24 Jul 1998 16:40:56 +0000 (16:40 +0000)]
Remoe spurious header file inclusion.

26 years ago Remove reloc_type definition completely. It's now in elf/mips.h.
Ulrich Drepper [Fri, 24 Jul 1998 16:39:19 +0000 (16:39 +0000)]
 Remove reloc_type definition completely.  It's now in elf/mips.h.

26 years agoRemove reloc_type definition completely. It's now in elf/mips.h.
Ulrich Drepper [Fri, 24 Jul 1998 16:39:08 +0000 (16:39 +0000)]
Remove reloc_type definition completely.  It's now in elf/mips.h.