binutils-gdb.git
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.

28 years ago * gas/v850/basic.exp (compare_tests): Test instruction bit patterns.
Jeff Law [Fri, 23 Aug 1996 18:58:09 +0000 (18:58 +0000)]
    * gas/v850/basic.exp (compare_tests): Test instruction bit patterns.

28 years agoFri Aug 23 11:40:47 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Fri, 23 Aug 1996 18:43:48 +0000 (18:43 +0000)]
Fri Aug 23 11:40:47 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* doc/c-d10v.texi: Fix typo.

28 years ago * gas/v850/basic.exp (branch_tests): Test instruction bit patters,
Jeff Law [Fri, 23 Aug 1996 18:34:48 +0000 (18:34 +0000)]
    * gas/v850/basic.exp (branch_tests): Test instruction bit patters,
        but not displacements (yet).

28 years ago * v850-opc.c (v850_operands): D16 inserts at offset 16!
Jeff Law [Fri, 23 Aug 1996 18:27:43 +0000 (18:27 +0000)]
    * v850-opc.c (v850_operands): D16 inserts at offset 16!

28 years ago * gas/v850/basic.exp (bit_tests): Test instruction bit patterns.
Jeff Law [Fri, 23 Aug 1996 18:26:59 +0000 (18:26 +0000)]
    * gas/v850/basic.exp (bit_tests): Test instruction bit patterns.

28 years ago * config/tc-v850.c (md_assemble): Don't forget to initialize
Jeff Law [Fri, 23 Aug 1996 18:19:08 +0000 (18:19 +0000)]
    * config/tc-v850.c (md_assemble): Don't forget to initialize
        "insn"!

28 years ago * v850-opc.c (two): Get order of words correct.
Jeff Law [Fri, 23 Aug 1996 18:17:31 +0000 (18:17 +0000)]
    * v850-opc.c (two): Get order of words correct.

28 years ago * gas/v850/basic.exp (arith_tests): Test instruction bit patterns.
Jeff Law [Fri, 23 Aug 1996 18:16:02 +0000 (18:16 +0000)]
    * gas/v850/basic.exp (arith_tests): Test instruction bit patterns.
        * gas/v850/arith.s: Tweak constants for better testing.

28 years ago * v850-opc.c (v850_operands): I16 inserts at offset 16!
Jeff Law [Fri, 23 Aug 1996 17:52:00 +0000 (17:52 +0000)]
    * v850-opc.c (v850_operands): I16 inserts at offset 16!
Should get immediate 16bit operands into the right place

28 years ago * gas/v850/basic.exp (misc_tests): No longer expect failures
Jeff Law [Fri, 23 Aug 1996 17:42:00 +0000 (17:42 +0000)]
    * gas/v850/basic.exp (misc_tests): No longer expect failures
        assembling "ldsr" and "stsr" opcodes.
        * gas/v850/misc.s: Re-enable assembling of "ldsr" and "stsr"
        opcodes.

28 years ago * config/tc-v850.c (reg_name_search): Generalize to search
Jeff Law [Fri, 23 Aug 1996 17:39:43 +0000 (17:39 +0000)]
    * config/tc-v850.c (reg_name_search): Generalize to search
        any given register table.
        (register_name): Pass appropriate table and size to reg_name_search.
        (system_register_name): New function.
        (SYSREG_NAME_CNT): Define.
        (md_assemble): Handle operands which are system registers.
Still working on the parser..

28 years ago * v850-opc.c (v850_operands): Add "SR1" and "SR2" for system
Jeff Law [Fri, 23 Aug 1996 17:35:11 +0000 (17:35 +0000)]
    * v850-opc.c (v850_operands): Add "SR1" and "SR2" for system
        register source and destination operands.
        (v850_opcodes): Use SR1 and SR2 for "ldsr" and "stsr".
More parsing fixes.

28 years ago * gas/v850/basic.exp (misc_tests): No longer expect failures
Jeff Law [Fri, 23 Aug 1996 17:10:41 +0000 (17:10 +0000)]
    * gas/v850/basic.exp (misc_tests): No longer expect failures
        assembling "trap" opcodes.
        * gas/v850/misc.s: Re-enable assembling of "trap" opcodes.

28 years ago * v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode. Fix
Jeff Law [Fri, 23 Aug 1996 17:09:28 +0000 (17:09 +0000)]
    * v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode.  Fix
        same thinko in "trap" opcode.

28 years ago * v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode.
Jeff Law [Fri, 23 Aug 1996 17:07:21 +0000 (17:07 +0000)]
    * v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode.

28 years ago * gas/v850: New directory with v850 tests.
Jeff Law [Fri, 23 Aug 1996 17:03:52 +0000 (17:03 +0000)]
    * gas/v850: New directory with v850 tests.
Beginnings of a gas testsuite for the v850.

28 years ago * config/tc-v850.c (md_assemble): If we find a register, but the
Jeff Law [Fri, 23 Aug 1996 16:43:23 +0000 (16:43 +0000)]
    * config/tc-v850.c (md_assemble): If we find a register, but the
        opcode doesn't want a register, then we don't have a match.
        (md_assemble): Get size of the instruction from the opcode table.
So we choose the right opcode and so that we get the sizes right.

28 years ago * v850-opc.c (v850_opcodes): Add initializer for size field
Jeff Law [Fri, 23 Aug 1996 16:40:15 +0000 (16:40 +0000)]
    * v850-opc.c (v850_opcodes): Add initializer for size field
        on all opcodes.

28 years ago * v850-opc.c (v850_operands): D6 -> DS7. References changed.
Jeff Law [Fri, 23 Aug 1996 15:41:30 +0000 (15:41 +0000)]
    * v850-opc.c (v850_operands): D6 -> DS7.  References changed.
        Add D8 for 8-bit unsigned field in short load/store insns.
        (IF4A, IF4D): These both need two registers.
        (IF4C, IF4D): Define.  Use 8-bit unsigned field.
        (v850_opcodes): For "sld.h", "sld.w", "sst.h", "sst.w", use
        IF4C & IF4D.  For "trap" use I5U, not I5.  Add IF1 operand
        for "ldsr" and "stsr".
        * v850-opc.c (v850_operands): 3-bit immediate for bit insns
        is unsigned.
Fixing up the parser again.

28 years agoFixup my email addresses to consistently be fnf@cygnus.com
Fred Fish [Fri, 23 Aug 1996 08:02:23 +0000 (08:02 +0000)]
Fixup my email addresses to consistently be fnf@cygnus.com

28 years ago * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and
Fred Fish [Fri, 23 Aug 1996 07:57:10 +0000 (07:57 +0000)]
* gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and
gracefully degrade to using command line interface if none is
found.

28 years ago * v850-opc.c (v850_operansd): 3-bit immediate for bit insns
Jeff Law [Fri, 23 Aug 1996 06:56:44 +0000 (06:56 +0000)]
    * v850-opc.c (v850_operansd): 3-bit immediate for bit insns
        is unsigned.

28 years agorework operand parsing
J.T. Conklin [Fri, 23 Aug 1996 06:33:10 +0000 (06:33 +0000)]
rework operand parsing

28 years agoAdd V850_OPERAND_SIGNED flag as appropriate, create new unsigned IMM5 operand
J.T. Conklin [Fri, 23 Aug 1996 06:29:55 +0000 (06:29 +0000)]
Add V850_OPERAND_SIGNED flag as appropriate, create new unsigned IMM5 operand

28 years ago * v850-opc.c (v850_opcodes): Correct short store half (sst.h) and
Jeff Law [Fri, 23 Aug 1996 06:27:37 +0000 (06:27 +0000)]
    * v850-opc.c (v850_opcodes): Correct short store half (sst.h) and
        short store word (sst.w).

28 years ago * wrstabs.c (struct string_hash_entry): Add next field.
Ian Lance Taylor [Fri, 23 Aug 1996 04:00:43 +0000 (04:00 +0000)]
* wrstabs.c (struct string_hash_entry): Add next field.
(struct stab_write_handle): Change strings to a pointer to
string_hash_entry.  Add last_strings field.  Remove strings_alloc
field.
(string_hash_newfunc): Initialize next field.
(stab_write_symbol): Copy string into hash table rather than into
buffer.  Keep a list of hash table entries.
(write_stabs_in_sections_debugging_info): Initialize last_string.
Copy strings from list of hash table entries in memory.
(stab_modify_type): If the entry on the stack is a definition,
make a new definition rather than failing an assert.
(stab_array_type): The size is only zero if high is strictly less
than low.
PR 10377.

28 years ago * prdbg.c (pr_fix_visibility): Don't abort on
Ian Lance Taylor [Fri, 23 Aug 1996 03:27:47 +0000 (03:27 +0000)]
* prdbg.c (pr_fix_visibility): Don't abort on
DEBUG_VISIBILITY_IGNORE.

28 years ago * debug.c (debug_name_type): Correct error message.
Ian Lance Taylor [Fri, 23 Aug 1996 03:26:59 +0000 (03:26 +0000)]
* debug.c (debug_name_type): Correct error message.

28 years agostart writing functions for extracting and inserting unusual operands
J.T. Conklin [Fri, 23 Aug 1996 02:35:16 +0000 (02:35 +0000)]
start writing functions for extracting and inserting unusual operands

28 years ago From: Eberhard Mattes <mattes@azu.informatik.uni-stuttgart.de>
Fred Fish [Fri, 23 Aug 1996 01:01:02 +0000 (01:01 +0000)]
From: Eberhard Mattes <mattes@azu.informatik.uni-stuttgart.de>
* gdb.texinfo (Frames): Fix typo.

28 years ago * valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well as
Fred Fish [Fri, 23 Aug 1996 00:47:10 +0000 (00:47 +0000)]
* valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well as
PRINTF_HAS_LONG_LONG.
* expprint.c (dump_expression): Ditto.
* configure.in: Fix check for long long support in compiler to
use a function body, not a nested function.
* configure: Rebuild with autoconf.

28 years ago * configure.in: Set and substitute HLDENV.
Ian Lance Taylor [Fri, 23 Aug 1996 00:13:54 +0000 (00:13 +0000)]
* configure.in: Set and substitute HLDENV.
* configure: Rebuild.
* Makefile.in (HLDENV): New variable.
(gprof): Use $(HLDENV).

28 years ago * configure.in: Set and substitute HLDENV.
Ian Lance Taylor [Fri, 23 Aug 1996 00:10:40 +0000 (00:10 +0000)]
* configure.in: Set and substitute HLDENV.
* configure: Rebuild.
* Makefile.in (HLDENV): New variable.
(as.new): Use $(HLDENV).

28 years ago * configure.in: Substitute HLDENV.
Ian Lance Taylor [Fri, 23 Aug 1996 00:09:01 +0000 (00:09 +0000)]
* configure.in: Substitute HLDENV.
* configure: Rebuild.
* Makefile.in (HLDENV): New variable.  Use it whenever linking a
program.

28 years ago * configure.host (HLDENV): New variable to set. Set it for
Ian Lance Taylor [Fri, 23 Aug 1996 00:07:59 +0000 (00:07 +0000)]
* configure.host (HLDENV): New variable to set.  Set it for
*-*-sysv4*, since those linkers may not support -R but they always
support LD_RUN_PATH.

28 years ago * libieee.h (NSECTIONS): Don't define.
Ian Lance Taylor [Fri, 23 Aug 1996 00:02:55 +0000 (00:02 +0000)]
* libieee.h (NSECTIONS): Don't define.
(ieee_data_struct): Change section_table to asection **.  Add
section_table_size.
* ieee.c (get_section_entry): If the table isn't big enough, make
it bigger.
(ieee_slurp_sections): Remove assertion about number of sections.
(ieee_object_p): Adjust initialization of ieee to match changes to
the structure.
PR 10377.

28 years ago* v850-opc.c (v850_operands): Added insert and extract fields,
J.T. Conklin [Fri, 23 Aug 1996 00:00:18 +0000 (00:00 +0000)]
* v850-opc.c (v850_operands): Added insert and extract fields,
pointers to functions that handle unusual operand encodings.

28 years ago* v850.h (v850_operands): Add insert and extract fields, pointers
J.T. Conklin [Thu, 22 Aug 1996 23:56:25 +0000 (23:56 +0000)]
* v850.h (v850_operands): Add insert and extract fields, pointers
to functions used to handle unusual operand encoding.
(V850_OPERAND_REG, V850_OPERAND_SRG, V850_OPERAND_CC,
V850_OPERAND_SIGNED): Defined.

28 years ago * configure.in: Remove ld, target-libio, target-libg++, and
Jeff Law [Thu, 22 Aug 1996 23:15:36 +0000 (23:15 +0000)]
    * configure.in: Remove ld, target-libio, target-libg++, and
        target-libstdc++ from noconfigdirs.
Now that libg++, libio, libstdc++ and newlib all build...

28 years ago * v850-opc.c (v850_opcodes): Enable "trap".
Jeff Law [Thu, 22 Aug 1996 23:08:03 +0000 (23:08 +0000)]
    * v850-opc.c (v850_opcodes): Enable "trap".

28 years ago * Makefile.in (ev850.c): New target.
Jeff Law [Thu, 22 Aug 1996 22:32:21 +0000 (22:32 +0000)]
    * Makefile.in (ev850.c): New target.
        * configure.tgt (v850-*-*): New target.
        * emulparams/v850.sh: New file.
No, it doesn't work (gas doesn't even emit relocs yet), but having
a "ld" that at least creates an executable image greatly helps the
gcc testsuite.

28 years ago * Makefile.in (gencode): Depend upon gencode.o, getopt.o, and
Ian Lance Taylor [Thu, 22 Aug 1996 22:06:21 +0000 (22:06 +0000)]
* Makefile.in (gencode): Depend upon gencode.o, getopt.o, and
getopt1.o, rather than on gencode.c.  Link objects together.
Don't link against -liberty.
(gencode.o, getopt.o, getopt1.o): New targets.
* gencode.c: Include <ctype.h> and "ansidecl.h".
(AND): Undefine after including "ansidecl.h".
(ULONG_MAX): Define if not defined.
(OP_*): Don't define macros; now defined in opcode/mips.h.
(main): Call my_strtoul rather than strtoul.
(my_strtoul): New static function.

28 years ago * ecoff.c (ecoff_directive_endef): Avoid a division by zero error
Ian Lance Taylor [Thu, 22 Aug 1996 21:00:36 +0000 (21:00 +0000)]
* ecoff.c (ecoff_directive_endef): Avoid a division by zero error
if an array dimension is not known.
PR 10426.

28 years ago * mpw-make.sed: Add @DASH_C_FLAG@ to compiler edit.
Stan Shebs [Thu, 22 Aug 1996 18:18:19 +0000 (18:18 +0000)]
* mpw-make.sed: Add @DASH_C_FLAG@ to compiler edit.

28 years agoThu Aug 22 10:50:00 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 22 Aug 1996 17:54:41 +0000 (17:54 +0000)]
Thu Aug 22 10:50:00 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* doc/c-d10v.texi: Cleanup.

28 years agoThu Aug 22 10:50:00 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 22 Aug 1996 17:53:59 +0000 (17:53 +0000)]
Thu Aug 22 10:50:00 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c: Fix a reloc bug caused by my last change.
* doc/c-d10v.texi: Cleanup.

28 years ago * v850-opc.c (v850_opcodes): Fix order of displacement
Jeff Law [Thu, 22 Aug 1996 07:06:13 +0000 (07:06 +0000)]
    * v850-opc.c (v850_opcodes): Fix order of displacement
        and register for "set1", "clr1", "not1", and "tst1".

28 years agominimal setf support
J.T. Conklin [Thu, 22 Aug 1996 06:33:27 +0000 (06:33 +0000)]
minimal setf support

28 years agoparse [reg], lo(exp), and hi(exp)
J.T. Conklin [Thu, 22 Aug 1996 05:30:14 +0000 (05:30 +0000)]
parse [reg], lo(exp), and hi(exp)

28 years agoStub in load and store insns. Fix order of jarl operands
J.T. Conklin [Thu, 22 Aug 1996 05:29:14 +0000 (05:29 +0000)]
Stub in load and store insns.  Fix order of jarl operands

28 years ago * configure: Fix three locations where shell scripts were
Fred Fish [Thu, 22 Aug 1996 02:51:34 +0000 (02:51 +0000)]
* configure: Fix three locations where shell scripts were
being run directly rather than with config_shell.

28 years agoArggh. B3. shift counts are from the start of each half-word apparently.
Jeff Law [Thu, 22 Aug 1996 02:20:08 +0000 (02:20 +0000)]
Arggh.  B3.  shift counts are from the start of each half-word apparently.

28 years agoFix thinko in B3.
Jeff Law [Thu, 22 Aug 1996 02:18:07 +0000 (02:18 +0000)]
Fix thinko in B3.

28 years ago * v850-opc.c (v850_operands): Add "B3" support.
Jeff Law [Thu, 22 Aug 1996 02:08:02 +0000 (02:08 +0000)]
    * v850-opc.c (v850_operands): Add "B3" support.
        (v850_opcodes): Fix and enable "set1", "clr1", "not1"
        and "tst1".

28 years ago * v850-ope.c ("jmp"): R1 is only operand.
Jeff Law [Thu, 22 Aug 1996 01:39:22 +0000 (01:39 +0000)]
    * v850-ope.c ("jmp"): R1 is only operand.

28 years ago * v850-opc.c: Close unterminated comment.
Jeff Law [Thu, 22 Aug 1996 00:46:47 +0000 (00:46 +0000)]
    * v850-opc.c: Close unterminated comment.
Something -Wall caught.

28 years ago* v850.h (v850_operands): Add flags field.
J.T. Conklin [Thu, 22 Aug 1996 00:46:17 +0000 (00:46 +0000)]
* v850.h (v850_operands): Add flags field.
(OPERAND_REG, OPERAND_NUM): Defined.

28 years ago* v850-opc.c: Add flags field to struct v850_operands, add move
J.T. Conklin [Thu, 22 Aug 1996 00:35:28 +0000 (00:35 +0000)]
* v850-opc.c: Add flags field to struct v850_operands, add move
opcodes to opcode table.

28 years ago* config/tc-v850.c: New file.
J.T. Conklin [Wed, 21 Aug 1996 23:37:04 +0000 (23:37 +0000)]
* config/tc-v850.c: New file.
* config/tc-v850.h: New file.
* configure (v850-*-elf): New target.
* configure.in (v850-*-elf): New target.

28 years agoWed Aug 21 15:50:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 21 Aug 1996 22:53:53 +0000 (22:53 +0000)]
Wed Aug 21 15:50:54 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* c-d10v.texi: New file.
* all.texi: Added D10V stuff.
* as.texinfo: Added D10V stuff.

28 years agoWed Aug 21 15:50:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 21 Aug 1996 22:53:14 +0000 (22:53 +0000)]
Wed Aug 21 15:50:54 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* doc/c-d10v.texi: New file.
* doc/all.texi: Added D10V stuff.
* doc/as.texinfo: Added D10V stuff.

28 years agotweak last patch
Ian Lance Taylor [Wed, 21 Aug 1996 20:10:54 +0000 (20:10 +0000)]
tweak last patch

28 years ago * scripttempl/elf.sc: Put .gnu.linkonce* sections in .text.
Ian Lance Taylor [Wed, 21 Aug 1996 18:27:28 +0000 (18:27 +0000)]
* scripttempl/elf.sc: Put .gnu.linkonce* sections in .text.

28 years ago * aclocal.m4: Include ../bfd/aclocal.m4.
Ian Lance Taylor [Wed, 21 Aug 1996 01:02:53 +0000 (01:02 +0000)]
* aclocal.m4: Include ../bfd/aclocal.m4.
* configure.in: Add stdlib.h to AC_CHECK_HEADERS.  Call
BFD_NEED_DECLARATION on malloc, realloc, and free.
* acconfig.h: Add NEED_DECLARATION_MALLOC,
NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE.
* configure, config.in: Rebuild.
* defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H
rather than __STDC__.  Only declare malloc, realloc, and free if
NEED_DECLARATION_* is defined.

28 years ago * solib.c (_initialize_solib): Add missing '\' chars at ends of
Fred Fish [Tue, 20 Aug 1996 22:56:22 +0000 (22:56 +0000)]
* solib.c (_initialize_solib): Add missing '\' chars at ends of
  strings that continue on next line.
(enable_break): Replace "return 0" with setting success to zero
  and letting normal return handle the return.
Fix for 96q4 bug 003

28 years ago* Makefile.in (ALL_MACHINES): Add cpu-v850.o.
J.T. Conklin [Tue, 20 Aug 1996 22:09:25 +0000 (22:09 +0000)]
* Makefile.in (ALL_MACHINES): Add cpu-v850.o.
(BFD32_BACKENDS) Add elf32-v850.o.
* archures.c: Add bfd_v850_arch.
* bfd-in2.h: Add bfd_v850_arch.
* config.bfd (v850-*-*): New target.
* configure: (bfd_elf32_v850_vec) New vector.
* configure.in: (bfd_elf32_v850_vec) New vector.
* cpu-v850.c: New file.
* elf.c (prep_headers): Added case bfd_arch_v850.
* elf32-v850.c: New file.
* targets.c (bfd_elf32_v850_vec): New vector.

28 years ago* v850.h: New file.
J.T. Conklin [Tue, 20 Aug 1996 21:52:59 +0000 (21:52 +0000)]
* v850.h: New file.

28 years ago* common.h (EM_CYGNUS_V850): Define.
J.T. Conklin [Tue, 20 Aug 1996 21:49:23 +0000 (21:49 +0000)]
* common.h (EM_CYGNUS_V850): Define.

28 years ago* Makefile.in (ALL_MACHINES): Add v850-opc.o.
J.T. Conklin [Tue, 20 Aug 1996 21:45:02 +0000 (21:45 +0000)]
* Makefile.in (ALL_MACHINES): Add v850-opc.o.
* configure: (bfd_v850v_arch) Add new case.
* configure.in: (bfd_v850_arch) Add new case.
* v850-opc.c: New file.

28 years ago* configure.in (v850-*-*): Set up initial $noconfigdirs.
J.T. Conklin [Tue, 20 Aug 1996 21:30:41 +0000 (21:30 +0000)]
* configure.in (v850-*-*): Set up initial $noconfigdirs.
* config.sub (basic_machine): Recognize v850.

28 years agoTue Aug 20 14:10:02 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 20 Aug 1996 21:15:18 +0000 (21:15 +0000)]
Tue Aug 20 14:10:02 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* tc-d10v.c: All references to defined symbols should
  now use the optimal instruction.  .float and .double now work.

28 years agoTue Aug 20 14:10:02 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 20 Aug 1996 21:15:05 +0000 (21:15 +0000)]
Tue Aug 20 14:10:02 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c: All references to defined symbols should
  now use the optimal instruction.  .float and .double now work.