binutils-gdb.git
28 years ago * v850-dis.c (disassemble): Handle insertion of ',', '[' and
Jeff Law [Sat, 31 Aug 1996 22:00:45 +0000 (22:00 +0000)]
    * v850-dis.c (disassemble): Handle insertion of ',', '[' and
        ']' characters into the output stream.
        * v850-opc.c (v850_opcodes: Remove size field from all opcodes.
        Add "memop" field to all opcodes (for the disassembler).
        Reorder opcodes so that "nop" comes before "mov" and "jr"
        comes before "jarl".
Should give us a functional disassembler.

28 years ago * v850-dis.c (print_insn_v850): Properly handle disassembling
Jeff Law [Sat, 31 Aug 1996 21:21:27 +0000 (21:21 +0000)]
    * v850-dis.c (print_insn_v850): Properly handle disassembling
        a two byte insn at the end of a memory region when the memory
        region's size is only two byte aligned.

28 years ago * v850-dis.c (v850_cc_names): Fix stupid thinkos.
Jeff Law [Sat, 31 Aug 1996 21:10:43 +0000 (21:10 +0000)]
    * v850-dis.c (v850_cc_names): Fix stupid thinkos.

28 years ago * v850-dis.c (v850_reg_names): Define.
Jeff Law [Sat, 31 Aug 1996 20:56:05 +0000 (20:56 +0000)]
    * v850-dis.c (v850_reg_names): Define.
        (v850_sreg_names, v850_cc_names): Likewise.
        (disassemble): Very rough cut at printing operands (unformatted).
One step at a time.

        * v850-opc.c (BOP_MASK): Fix.
        (v850_opcodes): Fix mask for jarl and jr.
Bugs exposed by disassembler testing.

28 years ago * dis-asm.h (print_insn_v850): Declare.
Jeff Law [Sat, 31 Aug 1996 19:26:47 +0000 (19:26 +0000)]
    * dis-asm.h (print_insn_v850): Declare.

28 years ago * v850-dis.c: New file. Skeleton for disassembler support.
Jeff Law [Sat, 31 Aug 1996 19:22:11 +0000 (19:22 +0000)]
    * v850-dis.c: New file.  Skeleton for disassembler support.
        * Makefile.in Remove v850 references, they're not needed here
        and they weren't being sanitized away.
        * configure.in: Add v850-dis.o when building v850 toolchains.
        * configure: Rebuilt.
        * disassemble.c (disassembler): Call v850 disassembler.

28 years ago * v850-dis.c: New file. Skeleton for disassembler support.
Jeff Law [Sat, 31 Aug 1996 19:20:28 +0000 (19:20 +0000)]
    * v850-dis.c: New file.  Skeleton for disassembler support.
        * Makefile.in Remove v850 references, they're not needed here
        and they weren't being sanitized away.
        * configure.in: Add v850-dis.o when building v850 toolchains.
        * configure: Rebuilt.
        * disassemble.c (disassembler): Call v850 disassembler.
Skeleton support for V850 disassembler.

28 years ago * config/tc-v850.c (md_apply_fix3): Do simple byte, short and
Jeff Law [Sat, 31 Aug 1996 18:36:19 +0000 (18:36 +0000)]
    * config/tc-v850.c (md_apply_fix3): Do simple byte, short and
        word fixups too.
Fixes "difference between forward references".

28 years ago * v850-opc.c (insert_d8_7, extract_d8_7): New functions.
Jeff Law [Sat, 31 Aug 1996 18:23:02 +0000 (18:23 +0000)]
    * v850-opc.c (insert_d8_7, extract_d8_7): New functions.
        (insert_d8_6, extract_d8_6): New functions.
        (v850_operands): Rename D7S to D7; operand for D7 is unsigned.
        Rename D8 to D8_7, use {insert,extract}_d8_7 routines.
        Add D8_6.
        (IF4A, IF4B): Use "D7" instead of "D7S".
        (IF4C, IF4D): Use "D8_7" instead of "D8".
        (IF4E, IF4F): New.  Use "D8_6".
        (v850_opcodes): Use IF4A/IF4B for sld.b/sst.b.  Use IF4C/IF4D for
        sld.h/sst.h.  Use IF4E/IF4F for sld.w/sst.w.
So we can assemble sst/sld instructions correctly.

28 years ago * v850-opc.c (insert_d16_15, extract_d16_15): New functions.
Jeff Law [Sat, 31 Aug 1996 17:43:28 +0000 (17:43 +0000)]
    * v850-opc.c (insert_d16_15, extract_d16_15): New functions.
        (v850_operands): Change D16 to D16_15, use special insert/extract
        routines.  New new D16 that uses the generic insert/extract code.
        (IF7A, IF7B): Use D16_15.
        (IF7C, IF7D): New.  Use D16.
        (v850_opcodes): Use IF7C and IF7D for ld.b and st.b.

28 years ago * v850-opc.c (insert_d9, insert_d22): Slightly improve error
Jeff Law [Sat, 31 Aug 1996 17:23:49 +0000 (17:23 +0000)]
    * v850-opc.c (insert_d9, insert_d22): Slightly improve error
        message.  Issue an error if the branch offset is odd.

28 years ago * elf32-v850.c (enum reloc_type): Add R_V850_{32,16,8}.
Jeff Law [Sat, 31 Aug 1996 16:24:18 +0000 (16:24 +0000)]
    * elf32-v850.c (enum reloc_type): Add R_V850_{32,16,8}.
        (elf_v850_howto_table): Add support for R_V850_{32,16,8}.
        (v850_reloc_map): Add translation from BFD_RELOC_{32,16,8}
        to R_V850_{32,16,8}.
So we don't get "reloc XXX not supported" messages anymore.

28 years ago * v850-opc.c: Add notes about needing special insert/extract
Jeff Law [Sat, 31 Aug 1996 07:32:01 +0000 (07:32 +0000)]
    * v850-opc.c: Add notes about needing special insert/extract
        for all the load/store insns, except "ld.b" and "st.b".
So we don't forget!

28 years ago * v850-opc.c (insert_d22, extract_d22): New functions.
Jeff Law [Sat, 31 Aug 1996 07:28:22 +0000 (07:28 +0000)]
    * v850-opc.c (insert_d22, extract_d22): New functions.
        (v850_operands): Use insert_d22 and extract_d22 for
        D22 operands.
        (insert_d9): Fix range check.

28 years ago * gas/v850/basic.exp (do_branch): Check offsets in branch insns.
Jeff Law [Sat, 31 Aug 1996 07:26:35 +0000 (07:26 +0000)]
    * gas/v850/basic.exp (do_branch): Check offsets in branch insns.
        (do_jumps): Likewise.
Now that we can resolve known branch targets.

28 years ago * config/tc-v850.c (md_apply_fix3): Use little endian get/put
Jeff Law [Sat, 31 Aug 1996 05:52:38 +0000 (05:52 +0000)]
    * config/tc-v850.c (md_apply_fix3): Use little endian get/put
        routines to fetch/store the updated instruction from/to memory.
        (v850_insert_operand): If the operand has a specialized insert
        routine, call it.
Getting fixups closer.  At least br <target> works now.

28 years ago * emulparms/v850.sh: Entry symbol is "_start", tweak
Jeff Law [Sat, 31 Aug 1996 04:31:18 +0000 (04:31 +0000)]
    * emulparms/v850.sh: Entry symbol is "_start", tweak
        ctor/dtor support.

28 years agoOpps. Forgot to commit this a few days ago.
Jeff Law [Sat, 31 Aug 1996 02:49:05 +0000 (02:49 +0000)]
Opps.  Forgot to commit this a few days ago.

28 years ago* config/tc-v850.c (reg_name_search): Align calling convention to
J.T. Conklin [Sat, 31 Aug 1996 01:42:46 +0000 (01:42 +0000)]
* config/tc-v850.c (reg_name_search): Align calling convention to
be like identical function found in tc-ppc.c.
(get_reloc): Removed.
(v850_reloc_prefix): New function, parse lo(), hi() and hi0().
(md_assemble): emit fixups.
(md_pcrel_from): renamed from md_pcrel_from_section, emit proper
displacement.
(md_apply_fix3): handle fixups/relocs.
* config/tc-v850.h (MD_PCREL_FROM_SECTION): Removed definition.

28 years ago* elf32-v850.c (reloc_type): Add R_V850_HI16_S.
J.T. Conklin [Sat, 31 Aug 1996 01:32:13 +0000 (01:32 +0000)]
* elf32-v850.c (reloc_type): Add R_V850_HI16_S.
(elf_v850_howto_table): Add info for HI16_S reloc.
(v850_reloc_map): Add HI_16_S reloc.
* reloc.c: Define BFD_RELOC_V850_* relocs.

28 years ago* v850-opc.c (v850_operands): Add V850_OPERAND_SIGNED flag
J.T. Conklin [Sat, 31 Aug 1996 01:04:39 +0000 (01:04 +0000)]
* v850-opc.c (v850_operands): Add V850_OPERAND_SIGNED flag
and set bits field to D9 and D22 operands.

28 years ago * configure.tgt (sh-*-elf*): New target.
Ian Lance Taylor [Fri, 30 Aug 1996 22:36:45 +0000 (22:36 +0000)]
* configure.tgt (sh-*-elf*): New target.
* emulparams/shelf.sh: New file.
* emulparams/shlelf.sh: New file.
* Makefile.in (ALL_EMULATIONS): Add eshelf.o and eshlelf.o.
(eshelf.c, eshlelf.c): New targets.
* scripttempl/elf.sc: If EMBEDDED is defined, then don't add
SIZEOF_HEADERS to TEXT_START_ADDR.  Expand CTOR_START and CTOR_END
around .ctors, and DTOR_START and DTOR_END around .dtors.  Expand
OTHER_RELOCATING_SECTIONS if RELOCATING.

28 years ago Add SH ELF support.
Ian Lance Taylor [Fri, 30 Aug 1996 22:29:42 +0000 (22:29 +0000)]
Add SH ELF support.
* configure.in (sh-*-elf*): New target.
* config/tc-sh.h (TARGET_ARCH): Define.
(WORKING_DOT_WORD): Define.
  (TC_COFF_FIX2RTYPE): Only define if OBJ_COFF.
(BFD_ARCH, COFF_MAGIC, TC_COUNT_RELOC): Likewise.
(TC_RELOC_MANGLE, tc_coff_symbol_emit_hook): Likewise.
(DO_NOT_STRIP, NEED_FX_R_TYPE, TC_KEEP_FX_OFFSET): Likewise.
(TC_COFF_SIZEMACHDEP, tc_frob_file): Likewise.
(SUB_SEGMENT_ALIGN): Likewise.
(RELOC_32): Don't define.
(tc_frob_file_before_adjust): Define if BFD_ASSEMBLER.
(target_big_endian): Declare if OBJ_ELF.
(TARGET_FORMAT): Define if OBJ_ELF.
* config/tc-sh.c: Use BFD reloc codes instead of SH COFF reloc
numbers throughout.
(tc_crawl_symbol_chain): Only define if OBJ_COFF.
(tc_headers_hook, tc_coff_sizemachdep): Likewise.
(struct sh_count_relocs): Define.
(sh_count_relocs): New static function, broken out of
sh_frob_file.  Add BFD_ASSEMBLER code.
(sh_frob_section): Likewise.
(sh_frob_file): Call sh_frob_section.
(md_convert_frag): If BFD_ASSEMBLER, change type of headers, and
call section_symbol rather than seg_info (seg)->dot.
(md_section_align): Add OBJ_ELF version.
(SWITCH_TABLE_CONS): Define.
(SWITCH_TABLE): Use SWITCH_TABLE_CONS.
(md_apply_fix): Change parameter types if BFD_ASSEMBLER.  Only
handle fx_r_type == 0 if not BFD_ASSEMBLER.  Return 0 if
BFD_ASSEMBLER.
(struct reloc_map): Define if not BFD_ASSEMBLER.
(coff_reloc_map): Likewise.
(sh_coff_reloc_mangle): Use coff_reloc_map to convert fx_r_type.
(tc_gen_reloc): New function if BFD_ASSEMBLER.
* write.c (write_relocs): Ifdef out fx_where test which triggers
inappropriately for SH ELF.
(write_object_file): Call tc_frob_file_before_adjust and
obj_frob_file_before_adjust if they are defined.

* write.c (write_object_file): Use BFD_RELOC_16, not
BFD_RELOC_NONE, when calling fix_new_exp for a broken word.

28 years ago Add SH ELF support.
Ian Lance Taylor [Fri, 30 Aug 1996 22:09:51 +0000 (22:09 +0000)]
Add SH ELF support.
* elf32-sh.c: New file.
* elf.c (prep_headers): Handle bfd_arch_sh.
* elfcode.h (write_relocs): Handle absolute symbol.
* elf-bfd.h (_bfd_elf32_link_read_relocs): Declare.
(_bfd_elf64_link_read_relocs): Declare.
* elflink.h (NAME(_bfd_elf,link_read_relocs)): Rename from
elf_link_read_relocs.  Make globally visible.  Change all
callers.
(elf_link_input_bfd): Get external symbols from cache in
symtab_hdr->contents.  Get contents from cache in
elf_section_data.
* elfxx-target.h (bfD_elfNN_bfd_relax_section): Only define if not
already defined.
* reloc.c: Define BFD_RELOC_SH_* relocs.
* libbfd-in.h (_bfd_sh_align_load_span): Declare.
* coff-sh.c (sh_insns_conflict): Fix a return value.
(_bfd_sh_align_load_span): New globally visible function, broken
out of sh_align_load.
(sh_align_load): Call _bfd_sh_align_load_span.
(sh_swap_insns): Change relocs parameter to PTR.
* bfd-in2.h, libbfd.h: Rebuild.
* targets.c (bfd_elf32_sh_vec): Declare.
(bfd_elf32_shl_vec): Declare.
* config.bfd (sh-*-elf*): New target.
* configure.in (bfd_elf32_sh_vec): New target vector.
(bfd_elf32_shl_vec): New target vector.
* configure: Rebuild.
* Makefile.in: Rebuild dependencies.
  (BFD32_BACKENDS): Add elf32-sh.o.
(BFD32_BACKENDS_CFILES): Add elf32-sh.c.

* elf.c (map_sections_to_segments): Check that LMA does not skip a
page before checking D_PAGED.

28 years ago * simops.c: Fix "not1" and "set1".
Jeff Law [Fri, 30 Aug 1996 21:55:26 +0000 (21:55 +0000)]
    * simops.c: Fix "not1" and "set1".

28 years agoFri Aug 30 14:47:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Fri, 30 Aug 1996 21:50:52 +0000 (21:50 +0000)]
Fri Aug 30 14:47:38 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c (find_opcode): Fix problem with calculating
branch sizes in across sections.

28 years ago * simops.c: Don't forget to initialize temp for
Jeff Law [Fri, 30 Aug 1996 20:15:51 +0000 (20:15 +0000)]
    * simops.c: Don't forget to initialize temp for
        "ld.h" and "ld.w"

28 years ago * gas/v850/misc.s: Tweak register numbers for better testing.
Jeff Law [Fri, 30 Aug 1996 19:59:06 +0000 (19:59 +0000)]
    * gas/v850/misc.s: Tweak register numbers for better testing.
        * gas/v850/basic.exp (misc_tests): Corresponding changes.

28 years ago * v850-opc.c (v850_operands): Define SR2 operand.
Jeff Law [Fri, 30 Aug 1996 19:44:42 +0000 (19:44 +0000)]
    * v850-opc.c (v850_operands): Define SR2 operand.
        (v850_opcodes): "ldsr" uses R1,SR2.
ldsr is kinda weird.

28 years ago * interp.c: Remove various debugging printfs.
Jeff Law [Fri, 30 Aug 1996 16:42:49 +0000 (16:42 +0000)]
    * interp.c: Remove various debugging printfs.

28 years ago * simops.c: Fix satadd, satsub boundary case handling.
Jeff Law [Fri, 30 Aug 1996 16:41:39 +0000 (16:41 +0000)]
    * simops.c: Fix satadd, satsub boundary case handling.

28 years ago * interp.c (hash): Fix.
Jeff Law [Fri, 30 Aug 1996 16:35:10 +0000 (16:35 +0000)]
    * interp.c (hash): Fix.
        * interp.c (do_format_8): Get operands correctly and
        call the target function.
        * simops.c: Rough cut at "clr1", "not1", "set1", and "tst1".

28 years ago * gmon.h: Replace #elif with #else/#endif.
Ian Lance Taylor [Fri, 30 Aug 1996 16:19:15 +0000 (16:19 +0000)]
* gmon.h: Replace #elif with #else/#endif.

28 years ago * ihex.c (ihex_scan): Removed unnecessary extbase variable.
Ian Lance Taylor [Fri, 30 Aug 1996 15:52:40 +0000 (15:52 +0000)]
* ihex.c (ihex_scan): Removed unnecessary extbase variable.
(ihex_write_object_contents): Remove extbase; always use segbase
instead.

28 years agoFri Aug 30 15:07:14 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Fri, 30 Aug 1996 14:15:27 +0000 (14:15 +0000)]
Fri Aug 30 15:07:14 1996  James G. Smith  <jsmith@cygnus.co.uk>

* remote-mips.c: Provide support for CAIRO target board.
(cairo_open, cairo_ops): Added.
(mips_monitor_type): MON_CAIRO Added.
(mips_enter_debug, mips_exit_debug, mips_initialize,
  mips_fetch_registers, common_breakpoint, mips_load,
  _initialize_remote_mips): Updated.

Add simple support for NEC CAIRO Vr4300 development board.

28 years ago * config/tc-850.c (md_assemble): Handle hi() correctly. Handle
Jeff Law [Fri, 30 Aug 1996 06:44:44 +0000 (06:44 +0000)]
    * config/tc-850.c (md_assemble): Handle hi() correctly.  Handle
        hi0() too.
Bugfix.

28 years ago * gas/v850/hilo.s: New testfile.
Jeff Law [Fri, 30 Aug 1996 06:40:44 +0000 (06:40 +0000)]
    * gas/v850/hilo.s: New testfile.
        * gas/v850/basic.exp: Run hilo tests.

28 years ago * interp.c (do_format_4): Get operands correctly and
Jeff Law [Fri, 30 Aug 1996 05:49:07 +0000 (05:49 +0000)]
    * interp.c (do_format_4): Get operands correctly and
        call the target function.
        * simops.c: Rough cut at "sld.b", "sld.h", "sld.w", "sst.b",
        "sst.h", and "sst.w".

28 years ago * v850_sim.h: The V850 doesn't have split I&D spaces. Change
Jeff Law [Fri, 30 Aug 1996 05:41:10 +0000 (05:41 +0000)]
    * v850_sim.h: The V850 doesn't have split I&D spaces.  Change
        accordingly.  Remove many unused definitions.
        * interp.c: The V850 doesn't have split I&D spaces.  Change
        accordingly.
        (get_longlong, get_longword, get_word): Deleted.
        (write_longlong, write_longword, write_word): Deleted.
        (get_operands): Deleted.
        (get_byte, get_half, get_word): New functions.
        (put_byte, put_half, put_word): New functions.
        * simops.c: Remove unused functions.  Rough cut at
        "ld.b", "ld.h", "ld.w", "st.b", "st.h", "st.w" insns.

28 years ago * v850_sim.h (struct _state): Remove "psw" field. Add
Jeff Law [Fri, 30 Aug 1996 05:09:08 +0000 (05:09 +0000)]
    * v850_sim.h (struct _state): Remove "psw" field.  Add
        "sregs" field.
        (PSW): Remove bogus definition.
        * simops.c: Change condition code handling to use the psw
        register within the sregs array.  Handle "ldsr" and "stsr".

28 years ago * simops.c: Handle "satadd", "satsub", "satsubi", "satsubr".
Jeff Law [Fri, 30 Aug 1996 04:59:02 +0000 (04:59 +0000)]
    * simops.c: Handle "satadd", "satsub", "satsubi", "satsubr".

28 years ago * interp.c (do_format_5): Get operands correctly and
Jeff Law [Fri, 30 Aug 1996 04:27:48 +0000 (04:27 +0000)]
    * interp.c (do_format_5): Get operands correctly and
        call the target function.
        (sim_resume): Don't do a PC update for format 5 instructions.
        * simops.c: Handle "jarl" and "jmp" instructions.

28 years ago * simops.c: Fix minor typos. Handle "cmp", "setf", "tst"
Jeff Law [Fri, 30 Aug 1996 04:11:32 +0000 (04:11 +0000)]
    * simops.c: Fix minor typos.  Handle "cmp", "setf", "tst"
        "di", and "ei" instructions correctly.

28 years ago * interp.c (do_format_3): Get operands correctly and call
Jeff Law [Fri, 30 Aug 1996 03:48:13 +0000 (03:48 +0000)]
    * interp.c (do_format_3): Get operands correctly and call
        the target function.
        * simops.c: Handle bCC instructions.

28 years ago * simops.c: Add condition code handling to shift insns.
Jeff Law [Fri, 30 Aug 1996 03:23:36 +0000 (03:23 +0000)]
    * simops.c: Add condition code handling to shift insns.
        Fix minor typos in condition code handling for other insns.

28 years ago * Makefile.in: Fix typo.
Jeff Law [Fri, 30 Aug 1996 03:07:24 +0000 (03:07 +0000)]
    * Makefile.in: Fix typo.
        * simops.c: Add condition code handling to "sub" "subr" and
        "divh" instructions.

28 years ago * interp.c (hash): Update to be more accurate.
Jeff Law [Thu, 29 Aug 1996 23:39:23 +0000 (23:39 +0000)]
    * interp.c (hash): Update to be more accurate.
        (lookup_hash): Call hash rather than computing the hash
        code here.
        (do_format_1_2): Handle format 1 and format 2 instructions.
        Get operands correctly and call the target function.
        (do_format_6): Get operands correctly and call the target
        function.
        (do_formats_9_10): Rough cut so shift ops will work.
        (sim_resume): Tweak to deal with format 1 and format 2
        handling in a single funtion.  Don't update the PC
        for format 3 insns.  Fix typos.
        * simops.c: Slightly reorganize.  Add condition code handling
        to "add", "addi", "and", "andi", "or", "ori", "xor", "xori"
        and "not" instructions.
        * v850_sim.h (reg_t): Registers are 32bits.
        (_state): The V850 has 32 general registers.  Add a 32bit
        psw and pc register too.  Add accessor macros
Fixing lots of stuff.  Starting to add condition code support.  Basically
check pointing the work to date.

28 years agoRecognize i586-dg-dgux and use generic System V config file to nop ranlib
Michael Meissner [Thu, 29 Aug 1996 22:45:33 +0000 (22:45 +0000)]
Recognize i586-dg-dgux and use generic System V config file to nop ranlib

28 years ago * simops.c: Add shift support.
Jeff Law [Thu, 29 Aug 1996 22:29:41 +0000 (22:29 +0000)]
    * simops.c: Add shift support.

28 years agoFix typos in multiply and divide code.
Jeff Law [Thu, 29 Aug 1996 22:05:15 +0000 (22:05 +0000)]
Fix typos in multiply and divide code.

28 years agogdbserver/configure does not exist
Michael Meissner [Thu, 29 Aug 1996 21:43:31 +0000 (21:43 +0000)]
gdbserver/configure does not exist

28 years agosanitize change
Geoffrey Noer [Thu, 29 Aug 1996 21:42:15 +0000 (21:42 +0000)]
sanitize change

28 years agoRecognize i686 as pentium pro
Michael Meissner [Thu, 29 Aug 1996 21:42:11 +0000 (21:42 +0000)]
Recognize i686 as pentium pro

28 years agoRecognize i686-*-* for pentium pro
Michael Meissner [Thu, 29 Aug 1996 21:28:01 +0000 (21:28 +0000)]
Recognize i686-*-* for pentium pro

28 years agoRecognize i686-*-* for pentium pro
Michael Meissner [Thu, 29 Aug 1996 21:16:27 +0000 (21:16 +0000)]
Recognize i686-*-* for pentium pro

28 years ago * simops.c: Add multiply & divide support. Abort for system
Jeff Law [Thu, 29 Aug 1996 20:08:37 +0000 (20:08 +0000)]
    * simops.c: Add multiply & divide support.  Abort for system
        instructions.

28 years ago * simops.c: Add logicals, mov, movhi, movea, add, addi, sub
Jeff Law [Thu, 29 Aug 1996 19:53:37 +0000 (19:53 +0000)]
    * simops.c: Add logicals, mov, movhi, movea, add, addi, sub
        and subr.  No condition codes yet.

28 years ago * v850-opc.c (v850_opcodes): Fix opcode specs for
Jeff Law [Thu, 29 Aug 1996 17:11:13 +0000 (17:11 +0000)]
    * v850-opc.c (v850_opcodes): Fix opcode specs for
        sld.w, sst.b, sst.h, sst.w, and nop.

28 years ago * objdump.c (L_tmpnam): Never define.
Ian Lance Taylor [Thu, 29 Aug 1996 15:30:19 +0000 (15:30 +0000)]
* objdump.c (L_tmpnam): Never define.
(display_target_list): Use choose_temp_base instead of tmpnam.
(display_info_table): Likewise.
PR 10482.

28 years agoThu Aug 29 11:32:23 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Thu, 29 Aug 1996 10:34:09 +0000 (10:34 +0000)]
Thu Aug 29 11:32:23 1996  James G. Smith  <jsmith@cygnus.co.uk>

* gas/arm/arm7t.d: Explicitly force little-endian assembly.

28 years agoWed Aug 28 19:20:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 29 Aug 1996 02:22:25 +0000 (02:22 +0000)]
Wed Aug 28 19:20:04 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c (find_opcode): Fix a bug which could generate
the wrong opcode for cases like st2w where there are many forms
of the same instruction.

28 years ago * ChangeLog, Makefile.in, configure, configure.in, v850_sim.h,
Jeff Law [Thu, 29 Aug 1996 01:06:42 +0000 (01:06 +0000)]
    * ChangeLog, Makefile.in, configure, configure.in, v850_sim.h,
        gencode.c, interp.c, simops.c: Created.
So we've got something to hack on.

28 years ago * configure.in (v850-*-*): Added V850 simulator.
Jeff Law [Thu, 29 Aug 1996 01:05:40 +0000 (01:05 +0000)]
    * configure.in (v850-*-*): Added V850 simulator.

28 years agoWed Aug 28 17:33:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 29 Aug 1996 00:35:11 +0000 (00:35 +0000)]
Wed Aug 28 17:33:19 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* Makefile.in, d10v_sim.h, interp.c: Fix byte-order problems.

28 years ago * v850-opc.c (v850_opcodes): Add null opcode to mark the
Jeff Law [Wed, 28 Aug 1996 21:56:03 +0000 (21:56 +0000)]
    * v850-opc.c (v850_opcodes): Add null opcode to mark the
        end of the opcode table.
For the simulator

28 years agoFix it.
Martin Hunt [Wed, 28 Aug 1996 19:26:04 +0000 (19:26 +0000)]
Fix it.

28 years agoNew file.
Martin Hunt [Wed, 28 Aug 1996 19:16:02 +0000 (19:16 +0000)]
New file.

28 years agoFix d10v_files.
Martin Hunt [Wed, 28 Aug 1996 19:15:20 +0000 (19:15 +0000)]
Fix d10v_files.

28 years agoNew file.
Martin Hunt [Wed, 28 Aug 1996 18:09:06 +0000 (18:09 +0000)]
New file.

28 years ago * configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't run
Ian Lance Taylor [Wed, 28 Aug 1996 17:13:00 +0000 (17:13 +0000)]
* configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't run
CY_AC_LOAD_TCLCONFIG.
* configure: Rebuild.

28 years ago * expr.c (operand): If md_parse_name is defined, call it before
Ian Lance Taylor [Tue, 27 Aug 1996 17:56:47 +0000 (17:56 +0000)]
* expr.c (operand): If md_parse_name is defined, call it before
calling symbol_find_or_make.
* config/tc-ppc.h (md_parse_name): Define.
(ppc_parse_name): Declare.
* config/tc-ppc.c (reg_name_search): Add regs and regcount
parameters.
(register_name): Update call to reg_name_search.
(cr_operand): New static variable.
(cr_names): New static const array.
(ppc_parse_name): New function.
(md_assemble): If PPC_OPERAND_CR is set in the operand flags, set
cr_operand before calling expression.
PR 10460.

28 years ago * config/tc-hppa.c (tc_gen_reloc): Add new argument to
Jeff Law [Tue, 27 Aug 1996 15:21:30 +0000 (15:21 +0000)]
    * config/tc-hppa.c (tc_gen_reloc): Add new argument to
        hppa_gen_reloc_type call.
Fixing a problem with -mlinker-opt.

28 years agoRegenerate configure
Michael Meissner [Tue, 27 Aug 1996 14:18:23 +0000 (14:18 +0000)]
Regenerate configure

28 years agoTue Aug 27 04:25:08 1996 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Tue, 27 Aug 1996 11:32:34 +0000 (11:32 +0000)]
Tue Aug 27 04:25:08 1996  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: work around host_alias configure bug.
        AC_CANONICAL_HOST is called twice (first by AC_CHECK_TOOL
        and second by AC_CANONICAL_SYSTEM).  The second clobbers the
        previous setting.  Circumventing by moving the second check
        to before the first.
        * configure: regenerated

28 years ago * elf32-mips.c (mips_elf_check_relocs): Set dynobj if needed for
Ian Lance Taylor [Tue, 27 Aug 1996 04:14:13 +0000 (04:14 +0000)]
* elf32-mips.c (mips_elf_check_relocs): Set dynobj if needed for
R_MIPS_32 and R_MIPS_REL32.  Set sgot and g as soon as possible.
(mips_elf_size_dynamic_sections): Don't require .got to exist.
(mips_elf_finish_dynamic_sections): Likewise.

28 years agoMon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 27 Aug 1996 01:52:31 +0000 (01:52 +0000)]
Mon Aug 26 18:36:54 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v.mt: New file.
* tm-d10v.h: New file.

28 years agoMon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 27 Aug 1996 01:52:18 +0000 (01:52 +0000)]
Mon Aug 26 18:36:54 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v/d10v.mt: New file.
* d10v/tm-d10v.h: New file.

28 years agoMon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 27 Aug 1996 01:51:55 +0000 (01:51 +0000)]
Mon Aug 26 18:36:54 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/d10v/d10v.mt: New file.
* config/d10v/tm-d10v.h: New file.
* configure.in: New target D10V.
* d10v-tdep.c: New file.

28 years agoMon Aug 26 18:34:42 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 27 Aug 1996 01:48:04 +0000 (01:48 +0000)]
Mon Aug 26 18:34:42 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* configure.in (noconfigdirs): Removed gdb for D10V.

28 years agoMon Aug 26 18:30:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 27 Aug 1996 01:32:48 +0000 (01:32 +0000)]
Mon Aug 26 18:30:28 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v_sim.h (SEXT32): Added.
* interp.c: Commented out printfs.
* simops.c:  Fixed error in sb and st2w.

28 years agoMon Aug 26 18:24:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 27 Aug 1996 01:28:29 +0000 (01:28 +0000)]
Mon Aug 26 18:24:51 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* tc-d10v.c: Fixed ".word".  Fixed problem with range checking
on addresses.  Improved error messages.

28 years agoMon Aug 26 18:24:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 27 Aug 1996 01:28:10 +0000 (01:28 +0000)]
Mon Aug 26 18:24:51 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c: Fixed ".word".  Fixed problem with range checking
on addresses.  Improved error messages.
* doc/c-d10v.texi: Added docs for register pairs.

28 years agoMon Aug 26 13:39:27 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Mon, 26 Aug 1996 20:42:37 +0000 (20:42 +0000)]
Mon Aug 26 13:39:27 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* tc-d10v.c (parallel_ok): Fix bug in parallel
checking code.

28 years agoMon Aug 26 13:39:27 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Mon, 26 Aug 1996 20:42:19 +0000 (20:42 +0000)]
Mon Aug 26 13:39:27 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c (parallel_ok): Fix bug in parallel
checking code.

28 years ago * ecoff.c (init_file): Initialize fMerge to 1.
Ian Lance Taylor [Mon, 26 Aug 1996 19:07:06 +0000 (19:07 +0000)]
* ecoff.c (init_file): Initialize fMerge to 1.
(add_file): Restore old file merging code, but only merge files if
fMerge is set.
(ecoff_directive_loc): Clear fMerge field of current file.
(ecoff_generate_asm_lineno): Likewise.

28 years agoRemove v850-opc.c from things-to-keep
J.T. Conklin [Mon, 26 Aug 1996 17:36:45 +0000 (17:36 +0000)]
Remove v850-opc.c from things-to-keep

28 years agoremove extra incorrect check for sanitization
Ian Lance Taylor [Mon, 26 Aug 1996 17:34:46 +0000 (17:34 +0000)]
remove extra incorrect check for sanitization

28 years ago * ldver.c (ldversion): Print GNU ld in the version message.
Ian Lance Taylor [Mon, 26 Aug 1996 17:02:00 +0000 (17:02 +0000)]
* ldver.c (ldversion): Print GNU ld in the version message.

28 years ago * rs6000-tdep.c: Fix typo in comment.
Fred Fish [Sun, 25 Aug 1996 07:17:22 +0000 (07:17 +0000)]
* rs6000-tdep.c: Fix typo in comment.
* valops.c (call_function_by_hand): Set using_gcc to 2
for code compiled without -g, per comment in code.
* config/a29k/tm-a29k.h (STACK_ALIGN): Add comment.
* config/sparc/tm-sparc.h (STACK_ALIGN): Add comment.
* config/sparc/tm-sp64.h (STACK_ALIGN): Add comment.
* config/pyr/tm-pyr.h (STACK_ALIGN): Add comment.
* config/m88k/tm-m88k.h (STACK_ALIGN): Add comment.
* config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s.
(STACK_ALIGN): Add comment, move to be with other associated
  macros, and document.
* config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s.
(STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS.
* config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s.
* config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely,
handled by PUSH_ARGUMENTS.
(PUSH_ARGUMENTS): Enclose args in ()'s.

28 years ago * config/tc-v850.c (md_assemble): Rough cut at demanding
Jeff Law [Fri, 23 Aug 1996 20:58:13 +0000 (20:58 +0000)]
    * config/tc-v850.c (md_assemble): Rough cut at demanding
        "ep" or "r30" in sst and sld instructions.
        (md_apply_fix3): Don't abort.  Just warn that we don't
        have relocs yet.

28 years ago * v850-opc.c (v850_operands): Define EP operand.
Jeff Law [Fri, 23 Aug 1996 20:55:15 +0000 (20:55 +0000)]
    * v850-opc.c (v850_operands): Define EP operand.
        (IF4A, IF4B, IF4C, IF4D): Use EP.

28 years ago * gas/v850/basic.exp (move_tests): Test instruction bit patterns.
Jeff Law [Fri, 23 Aug 1996 20:29:34 +0000 (20:29 +0000)]
    * gas/v850/basic.exp (move_tests): Test instruction bit patterns.
        * gas/v850/move.s: Tweak constants for better testing.

28 years ago * v850-opc.c (v850_opcodes): Fix opcode numbers for "mov"
Jeff Law [Fri, 23 Aug 1996 20:27:25 +0000 (20:27 +0000)]
    * v850-opc.c (v850_opcodes): Fix opcode numbers for "mov"
        with immediate operand, "movhi".  Tweak "ldsr".
More fixes.

28 years ago * gas/v850/basic.exp (mem_tests): Test instruction bit patterns.
Jeff Law [Fri, 23 Aug 1996 19:35:05 +0000 (19:35 +0000)]
    * gas/v850/basic.exp (mem_tests): Test instruction bit patterns.
        xfail sst and sld tests.
        (mov_tests): Remove bogus xfail.
        * gas/v850/mem.s: sst and sld instructions can only index from
        "ep" register.

28 years ago * v850-opc.c (v850_opcodes): Get ld.[bhw] and st.[bhw]
Jeff Law [Fri, 23 Aug 1996 19:32:41 +0000 (19:32 +0000)]
    * v850-opc.c (v850_opcodes): Get ld.[bhw] and st.[bhw]
        correct.  Get sld.[bhw] and sst.[bhw] closer.

28 years ago * gas/v850/basic.exp (logical_tests): Test instruction bit patterns.
Jeff Law [Fri, 23 Aug 1996 19:13:56 +0000 (19:13 +0000)]
    * gas/v850/basic.exp (logical_tests): Test instruction bit patterns.
        Update addresses.
        * gas/v850/logical.s: Tweak constants for better testing.

28 years ago * v850-opc.c (v850_operands): "not" is a two byte insn.
Jeff Law [Fri, 23 Aug 1996 19:12:05 +0000 (19:12 +0000)]
    * v850-opc.c (v850_operands): "not" is a two byte insn.

28 years ago * gas/v850/basic.exp (jump_tests): Test instruction bit patterns,
Jeff Law [Fri, 23 Aug 1996 19:05:52 +0000 (19:05 +0000)]
    * gas/v850/basic.exp (jump_tests): Test instruction bit patterns,
        but not displacements (yet).

28 years ago * config/tc-v850.c (CC_NAME_CNT): Define.
Jeff Law [Fri, 23 Aug 1996 19:01:37 +0000 (19:01 +0000)]
    * config/tc-v850.c (CC_NAME_CNT): Define.
        (cc_name): New function.
        (md_assemble): Handle V850_OPERAND_CC correctly.
setf stuff

28 years ago * v850-opc.c (v850_opcodes): Correct bit pattern for setf.
Jeff Law [Fri, 23 Aug 1996 18:58:57 +0000 (18:58 +0000)]
    * v850-opc.c (v850_opcodes): Correct bit pattern for setf.