binutils-gdb.git
27 years agoAdd ../sim/common/libcommon.a
Michael Meissner [Thu, 12 Dec 1996 18:30:50 +0000 (18:30 +0000)]
Add ../sim/common/libcommon.a

27 years ago * mn10200-dis.c: Finish writing disassembler.
Jeff Law [Thu, 12 Dec 1996 08:09:27 +0000 (08:09 +0000)]
    * mn10200-dis.c: Finish writing disassembler.
        * mn10200-opc.c (mn10200_opcodes): Fix mask for "mov imm8,dn".
        Fix mask for "jmp (an)".
mn10200 disassembler works!

27 years ago * gdbtk.c (gdb_loc): Correct truncation of PC on 64-bit MIPS.
Mark Alexander [Thu, 12 Dec 1996 02:54:55 +0000 (02:54 +0000)]
* gdbtk.c (gdb_loc): Correct truncation of PC on 64-bit MIPS.

27 years agoFor NEC 4100/4300 project: Add little endian support and misc cleanups.
Jim Wilson [Wed, 11 Dec 1996 22:04:46 +0000 (22:04 +0000)]
For NEC 4100/4300 project: Add little endian support and misc cleanups.
* gencode.c (build_instruction): Use !ByteSwapMem instead of
BigEndianMem.
* interp.c (CONFIG, config_EP_{mask,shift,D,DxxDxx, config_BE): Delete.
(BigEndianMem): Rename to ByteSwapMem and change sense.
(BigEndianCPU, sim_write, LoadMemory, StoreMemory): Change
BigEndianMem references to !ByteSwapMem.
(set_endianness): New function, with prototype.
(sim_open): Call set_endianness.
(sim_info): Use simBE instead of BigEndianMem.
(xfer_direct_word, xfer_direct_long, swap_direct_word,
swap_direct_long, xfer_big_word, xfer_big_long, xfer_little_word,
xfer_little_long, swap_word, swap_long): Delete unnecessary MSC_VER
ifdefs, keeping the prototype declaration.
(swap_word): Rewrite correctly.
(ColdReset): Delete references to CONFIG.  Delete endianness related
code; moved to set_endianness.

27 years ago * monitor.c (monitor_load): Add support for load address argument.
David Edelsohn [Wed, 11 Dec 1996 20:14:11 +0000 (20:14 +0000)]
* monitor.c (monitor_load): Add support for load address argument.
* dsrec.c: #include <time.h>.
(load_srec): New argument load_offset.  Print download stats.
* srec.h (load_srec): Update prototype.
* sh3-rom.c (sh3_load): Update call to load_srec.

27 years ago * mn10300-dis.c (disassemble, print_insn_mn10300): Corrently
Jeff Law [Wed, 11 Dec 1996 17:34:15 +0000 (17:34 +0000)]
    * mn10300-dis.c (disassemble, print_insn_mn10300): Corrently
        handle endianness issues for mn10300.

27 years ago * gencode.c (write_opcodes): Also write out the format of the
Jeff Law [Wed, 11 Dec 1996 16:58:33 +0000 (16:58 +0000)]
    * gencode.c (write_opcodes): Also write out the format of the
        opcode.
        * mn10300_sim.h (simops): Add "format" field.
        * interp.c (sim_resume): Deal with endianness issues here.

27 years ago * mn10200-opc.c (mn10200_opcodes): Fix operands for "movb dm,(an)".
Jeff Law [Wed, 11 Dec 1996 16:29:02 +0000 (16:29 +0000)]
    * mn10200-opc.c (mn10200_opcodes): Fix operands for "movb dm,(an)".
Yoshihiro Adachi sez the manual was wrong for this insn.

27 years ago * elf32-mn10300.c (reloc_type): Remove big endian mn10300 reloc
Jeff Law [Wed, 11 Dec 1996 06:31:23 +0000 (06:31 +0000)]
    * elf32-mn10300.c (reloc_type): Remove big endian mn10300 reloc
        variants.
        (elf32_mn10300_howto_table, mn10300_reloc_map): Likewise.
        (bfd_elf32_mn10300_reloc): Write data in little endian format.
        * reloc.c: Remove mn10300 big endian relocs.
        * bfd-in2.h, libbfd.h: Rebuilt.

        * elf32-mn10200.c: Update from elf32-mn10300.c.

27 years ago * gas/mn10300/basic.exp: Update after endianness changes to
Jeff Law [Wed, 11 Dec 1996 06:20:40 +0000 (06:20 +0000)]
    * gas/mn10300/basic.exp: Update after endianness changes to
        the assembler.

27 years ago * config/tc-mn10300.c (md_assemble): Update to handle endianness
Jeff Law [Wed, 11 Dec 1996 06:19:43 +0000 (06:19 +0000)]
    * config/tc-mn10300.c (md_assemble): Update to handle endianness
        issues correctly.

27 years ago * simops.c (REG0_4): Define.
Jeff Law [Tue, 10 Dec 1996 22:10:07 +0000 (22:10 +0000)]
    * simops.c (REG0_4): Define.
        Use REG0_4 for indexed loads/stores.
Fixes bugs exposed after minor codegen improvements in the compiler.

27 years agoTue Dec 10 13:51:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 10 Dec 1996 21:53:34 +0000 (21:53 +0000)]
Tue Dec 10 13:51:55 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c (write_2_short): Remove code that called
parallel_ok() when the programmer specified parallel instructions.

27 years ago * config/tc-mips.c (append_insn): Make sure there is enough room
Ian Lance Taylor [Tue, 10 Dec 1996 21:18:38 +0000 (21:18 +0000)]
* config/tc-mips.c (append_insn): Make sure there is enough room
in a frag after a mips16 instruction to switch it with a jump
instruction.

27 years ago * mn10200-opc.c (mn10200_opcodes): "mov imm8,d0" is a format 2
Jeff Law [Tue, 10 Dec 1996 20:34:14 +0000 (20:34 +0000)]
    * mn10200-opc.c (mn10200_opcodes): "mov imm8,d0" is a format 2
        instruction.  Fix opcode field for "movb (imm24),dn".
Stuff found by the testsuite.

27 years ago * gas/mn10200/{mov1.s,mov2.s,mov3.s,mov4.s,movx.s}: New tests.
Jeff Law [Tue, 10 Dec 1996 20:06:33 +0000 (20:06 +0000)]
    * gas/mn10200/{mov1.s,mov2.s,mov3.s,mov4.s,movx.s}: New tests.
        * gas/mn10200/{movb.s, movbu.s}: Likewise.
        * gas/mn10200/basic.exp: Run them.
We correctly assemble & insert operands for all mn10200 instructions.

27 years agoFor NEC 4100/4300 project
Jim Wilson [Tue, 10 Dec 1996 19:39:55 +0000 (19:39 +0000)]
For NEC 4100/4300 project
* gencode.c (build_instruction, case JUMP): Truncate PC to 32 bits.
* interp.c (CHECKHILO): Define away.
(simSIGINT): New macro.
(membank_size): Increase from 1MB to 2MB.
(control_c): New function.
(sim_resume): Rename parameter signal to signal_number.  Add local
variable prev.  Call signal before and after simulate.
(sim_stop_reason): Add simSIGINT support.
(sim_warning, sim_error, dotrace, SignalException): Define as stdarg
functions always.
(sim_warning): Delete call to SignalException.  Do call printf_filtered
if logfh is NULL.
(AddressTranslation): Add #ifdef DEBUG around debugging message and
a call to sim_warning.

27 years ago * config/tc-mn10200.c (md_assemble): Opcode 0x0 is valid!
Jeff Law [Tue, 10 Dec 1996 19:33:48 +0000 (19:33 +0000)]
    * config/tc-mn10200.c (md_assemble): Opcode 0x0 is valid!
        * config/tc-mn10300.c (md_assemble): Likewise.
Found by mn10200 gas testsuite.

27 years ago * mn10200-opc.c (mn10200_operands): Fix insertion position
Jeff Law [Tue, 10 Dec 1996 19:13:07 +0000 (19:13 +0000)]
    * mn10200-opc.c (mn10200_operands): Fix insertion position
        for DI operand.
Found by gas testsuite.

27 years ago * config/tc-mips.c (mips16_extended_frag): Give an error for an
Ian Lance Taylor [Tue, 10 Dec 1996 16:38:22 +0000 (16:38 +0000)]
* config/tc-mips.c (mips16_extended_frag): Give an error for an
attempt to use a non absolute symbol in an extending frag.

27 years agoNew revision from Andrew
Michael Meissner [Tue, 10 Dec 1996 16:12:48 +0000 (16:12 +0000)]
New revision from Andrew

27 years ago * app.c (do_scrub_chars): At the end of a C comment, pass space to
Ian Lance Taylor [Tue, 10 Dec 1996 03:47:41 +0000 (03:47 +0000)]
* app.c (do_scrub_chars): At the end of a C comment, pass space to
UNGET rather than PUT.  Set old_state before setting state to -2.
PR 11229.

27 years agoMon Dec 9 17:34:05 1996 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Tue, 10 Dec 1996 01:41:16 +0000 (01:41 +0000)]
Mon Dec  9 17:34:05 1996  Geoffrey Noer  <noer@cygnus.com>

        * config/mn10300/tm-mn10300.h: more small register fixes
        * mn10300-tdep.c: filled in from another target

27 years ago * monitor.c (monitor_insert_breakpoint): Handle bi-endian machines.
David Edelsohn [Tue, 10 Dec 1996 01:32:17 +0000 (01:32 +0000)]
* monitor.c (monitor_insert_breakpoint): Handle bi-endian machines.

27 years ago * config/mips/tm-mips.h: Get rid of call-dummy code.
Mark Alexander [Tue, 10 Dec 1996 00:15:46 +0000 (00:15 +0000)]
* config/mips/tm-mips.h: Get rid of call-dummy code.
Minor changes to make pre-ANSI compilers happy.

27 years ago * config/mips/tm-mips.h: Get rid of call-dummy code.
Mark Alexander [Tue, 10 Dec 1996 00:14:48 +0000 (00:14 +0000)]
* config/mips/tm-mips.h: Get rid of call-dummy code.
Minor changes to make pre-ANSI compilers happy.
* mips-tdep.c: Minor changes to make pre-ANSI compilers happy.
(mips_push_arguments): Rewrite to partially support EABI.
(mips_pc_in_call_dummy): New function.
* infcmd.c: Include symfile.h to get prototype of entry_point_address,
which fixes 64-bit sign extension bug on MIPS.

27 years ago * gas/mn10200/*.s: New tests for the mn10200 assembler.
Jeff Law [Tue, 10 Dec 1996 00:14:35 +0000 (00:14 +0000)]
    * gas/mn10200/*.s: New tests for the mn10200 assembler.
        * gas/mn10200/basic.exp: Run them.
Tests for all instructions except mov*.

27 years ago * gdb.texinfo, refcard.tex: Restore author credit
Fred Fish [Mon, 9 Dec 1996 23:58:07 +0000 (23:58 +0000)]
* gdb.texinfo, refcard.tex: Restore author credit

27 years ago * config/tc-mn10200.c: Flesh out assembler support for MN10200.
Jeff Law [Mon, 9 Dec 1996 23:53:37 +0000 (23:53 +0000)]
    * config/tc-mn10200.c: Flesh out assembler support for MN10200.
        * config/tc-mn10200.h: Likewise.
Actually assembles some mn10200 stuff (everything but mov* instructions!)

27 years ago * mn10200-opc.c: Create mn10200 opcode table.
Jeff Law [Mon, 9 Dec 1996 23:48:15 +0000 (23:48 +0000)]
    * mn10200-opc.c: Create mn10200 opcode table.
        * mn10200-dis.c: Flesh out mn10200 disassembler.  Not ready,
        but moving along nicely.
Checkpointing today's mn10200 work.

27 years ago * config/tc-mips.c (mips16_extended_frag): Avoid an infinite loop
Ian Lance Taylor [Mon, 9 Dec 1996 23:34:20 +0000 (23:34 +0000)]
* config/tc-mips.c (mips16_extended_frag): Avoid an infinite loop
when extending because the value is exactly maxtiny + 1.

27 years ago * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add small and ext
Ian Lance Taylor [Mon, 9 Dec 1996 23:26:15 +0000 (23:26 +0000)]
* config/tc-mips.c (RELAX_MIPS16_ENCODE): Add small and ext
arguments, and store them.  Adjust other RELAX_MIPS16 macros.
(RELAX_MIPS16_USER_SMALL): Define.
(RELAX_MIPS16_USER_EXT): Define.
(mips16_small, mips16_ext): New static variables.
(append_insn): Pass mips16_small and mips16_ext to
RELAX_MIPS16_ENCODE.
(mips16_ip): Set mips16_small and mips16_ext.
(mips16_immed): Don't check mips16_autoextend.
(mips16_extended_frag): Check USER_SMALL and USER_EXT.

27 years ago * write.c (write_relocs): Print an error for an out of range
Ian Lance Taylor [Mon, 9 Dec 1996 22:11:24 +0000 (22:11 +0000)]
* write.c (write_relocs): Print an error for an out of range
fixup, rather than calling abort.

* as.c (main): Unlink the output file if there are errors while
generating the fixups.

27 years agoadditional register stuff
Geoffrey Noer [Mon, 9 Dec 1996 09:11:45 +0000 (09:11 +0000)]
additional register stuff

27 years agoMon Dec 9 00:14:49 1996 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 9 Dec 1996 08:33:27 +0000 (08:33 +0000)]
Mon Dec  9 00:14:49 1996  Geoffrey Noer  <noer@cygnus.com>

        * config/mn10300/tm-mn10300.h: fix register names
        * mn10300-tdep.c: new skeleton tdep for mn10300

27 years ago * callback.c: #include <stdlib.h>
David Edelsohn [Mon, 9 Dec 1996 02:27:59 +0000 (02:27 +0000)]
* callback.c: #include <stdlib.h>
(os_error): New function.
(default_callback): Add os_error.

27 years ago * remote-sim.h: Update some comments.
David Edelsohn [Mon, 9 Dec 1996 02:06:42 +0000 (02:06 +0000)]
* remote-sim.h: Update some comments.
* remote-sim.c (gdb_os_error): New function.
(init_callbacks): Fix initializing of gdb_callback.  Add gdb_os_error.
(gdb_os_printf_filtered): Use gdb_stdout, not stdout.

27 years ago * callback.h (host_callback): New member `error'.
David Edelsohn [Mon, 9 Dec 1996 01:12:03 +0000 (01:12 +0000)]
* callback.h (host_callback): New member `error'.

27 years ago * Makefile.in (ALL_MACHINES): Add mips16-opc.o.
Peter Schauer [Sun, 8 Dec 1996 12:35:28 +0000 (12:35 +0000)]
* Makefile.in (ALL_MACHINES):  Add mips16-opc.o.

27 years ago * irix5-nat.c (supply_gregset, fill_gregset): Handle gregsets
Peter Schauer [Sun, 8 Dec 1996 08:38:34 +0000 (08:38 +0000)]
* irix5-nat.c (supply_gregset, fill_gregset):  Handle gregsets
from O32 and N32 ABI.
(xfer_link_map_member):  Work around problem with alignments
in struct obj when compiling GDB under N32 ABI.

27 years ago * simops.c (REG0_16): Fix typo.
Jeff Law [Sat, 7 Dec 1996 16:54:57 +0000 (16:54 +0000)]
    * simops.c (REG0_16): Fix typo.

27 years ago* m68k-opc.c (m68k_opcodes): Revert change to use < and >
J.T. Conklin [Sat, 7 Dec 1996 00:54:51 +0000 (00:54 +0000)]
* m68k-opc.c (m68k_opcodes): Revert change to use < and >
specifiers for fmovem* instructions.

27 years agoAdd missing semicolons in last change.
Jeff Law [Sat, 7 Dec 1996 00:36:50 +0000 (00:36 +0000)]
Add missing semicolons in last change.

27 years ago * config/tc-mips.c (mips16_extended_frag): Don't call
Ian Lance Taylor [Sat, 7 Dec 1996 00:32:05 +0000 (00:32 +0000)]
* config/tc-mips.c (mips16_extended_frag): Don't call
S_GET_VALUE.
(md_convert_frag): Call resolve_symbol_value before calling
S_GET_VALUE, and don't add in the frag address.

27 years ago * config/tc-mips.c (mips16_immed): Add file and line parameters,
Ian Lance Taylor [Fri, 6 Dec 1996 23:51:01 +0000 (23:51 +0000)]
* config/tc-mips.c (mips16_immed): Add file and line parameters,
and use them when reporting errors.  Change all callers.

27 years ago * elf32-mn10300.c (elf_symbol_leading_char): Define.
Jeff Law [Fri, 6 Dec 1996 22:51:44 +0000 (22:51 +0000)]
    * elf32-mn10300.c (elf_symbol_leading_char): Define.

27 years ago * config/tc-mn10300.c: Fix various gcc -Wall warnings.
Jeff Law [Fri, 6 Dec 1996 22:44:30 +0000 (22:44 +0000)]
    * config/tc-mn10300.c: Fix various gcc -Wall warnings.
        Remove '$' prefixing for registers.

27 years ago * mn10300-dis.c (disassemble): Remove '$' register prefixing.
Jeff Law [Fri, 6 Dec 1996 22:40:31 +0000 (22:40 +0000)]
    * mn10300-dis.c (disassemble): Remove '$' register prefixing.

27 years ago * gas/mn10300/*.s: Remove '$' register prefixing.
Jeff Law [Fri, 6 Dec 1996 22:39:18 +0000 (22:39 +0000)]
    * gas/mn10300/*.s: Remove '$' register prefixing.

27 years ago * mips16-opc.c: Change opcode for entry/exit to avoid conflicting
Ian Lance Taylor [Fri, 6 Dec 1996 22:35:01 +0000 (22:35 +0000)]
* mips16-opc.c: Change opcode for entry/exit to avoid conflicting
with dsrl.

27 years ago * elf32-mn10300.c: Add some comments.
Jeff Law [Fri, 6 Dec 1996 22:23:37 +0000 (22:23 +0000)]
    * elf32-mn10300.c: Add some comments.
Still cleaning up.

27 years ago * ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gcc
Ian Lance Taylor [Fri, 6 Dec 1996 22:22:52 +0000 (22:22 +0000)]
* ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gcc
warning about uninitialized variable.
(ieee_read_cxx_class): Likewise, for pf.
(ieee_enum_type): Likewise, for i.

27 years ago * ihex.c (ihex_scan): Always initialize buf before jumping to
Ian Lance Taylor [Fri, 6 Dec 1996 22:20:24 +0000 (22:20 +0000)]
* ihex.c (ihex_scan): Always initialize buf before jumping to
error_return.
(ihex_read_section): Likewise.

27 years ago * mn10300-opc.c: Add some comments explaining the various
Jeff Law [Fri, 6 Dec 1996 22:04:12 +0000 (22:04 +0000)]
    * mn10300-opc.c: Add some comments explaining the various
        operands and such.

        * mn10300-dis.c (disassemble): Fix minor gcc -Wall warnings.

27 years ago * simops.c: Call abort for any instruction that's not currently
Jeff Law [Fri, 6 Dec 1996 21:49:27 +0000 (21:49 +0000)]
    * simops.c: Call abort for any instruction that's not currently
        simulated.

27 years ago * simops.c: Define accessor macros to extract register
Jeff Law [Fri, 6 Dec 1996 21:47:21 +0000 (21:47 +0000)]
    * simops.c: Define accessor macros to extract register
        values from instructions.  Use them consistently.

27 years ago * interp.c: Delete unused global variable "OP".
Jeff Law [Fri, 6 Dec 1996 21:33:48 +0000 (21:33 +0000)]
    * interp.c: Delete unused global variable "OP".
        (sim_resume): Remove unused variable "opcode".
        * simops.c: Fix some uninitialized variable problems, add
        parens to fix various -Wall warnings.
Fixing assorted -Wall problems.

27 years agoOpps. Forgot something in last change.
Jeff Law [Fri, 6 Dec 1996 21:20:17 +0000 (21:20 +0000)]
Opps.  Forgot something in last change.

27 years ago * gencode.c (write_header): Add "insn" and "extension" arguments
Jeff Law [Fri, 6 Dec 1996 21:19:37 +0000 (21:19 +0000)]
    * gencode.c (write_header): Add "insn" and "extension" arguments
        to the OP_* declarations.
        (write_template): Similarly for function templates.
        * interp.c (insn, extension): Remove global variables.  Instead
        pass them as arguments to the OP_* functions.
        * mn10300_sim.h: Remove decls for "insn" and "extension".
        * simops.c (OP_*): Accept "insn" and "extension" as arguments
        instead of using globals.
Starting to clean things up.

27 years ago * add valops.c to list of files to be sanitized for d10v
Mark Alexander [Fri, 6 Dec 1996 17:44:23 +0000 (17:44 +0000)]
* add valops.c to list of files to be sanitized for d10v

27 years agoFri Dec 6 00:55:48 1996 Martin <hunt@cygnus.com>
Martin Hunt [Fri, 6 Dec 1996 09:13:25 +0000 (09:13 +0000)]
Fri Dec  6 00:55:48 1996  Martin  <hunt@cygnus.com>

* config/tc-d10v.c (md_assemble): Check to see if prev_seg
is initialized before using it.
(d10v_cleanup): No longer uses its argument, so make it void.

* config/tc-d10v.h (d10v_cleanup): Change prototype.

27 years ago * simops.c: Fix typos in "mov am,(d16,an)" and "mov am,(d32,an)"
Jeff Law [Fri, 6 Dec 1996 07:57:21 +0000 (07:57 +0000)]
    * simops.c: Fix typos in "mov am,(d16,an)" and "mov am,(d32,an)"
Fixes remaining hangs while running c-torture execution tests.
Only 12 c-torture execution failures left:

  * 920625-1.c fails all 6 execution tests.

  * 960521-1.c fails all 6 execution tests.

27 years ago * d10v-tdep.c: Add support for examination and interpretation
Stan Shebs [Fri, 6 Dec 1996 07:37:24 +0000 (07:37 +0000)]
* d10v-tdep.c: Add support for examination and interpretation
of instruction trace buffer.
(trace, untrace, info trace, tdisassemble): New commands.

27 years ago * elf32-mn10300.c (elf_mn10300_howto_table): Don't set partial-
Jeff Law [Fri, 6 Dec 1996 05:35:00 +0000 (05:35 +0000)]
    * elf32-mn10300.c (elf_mn10300_howto_table): Don't set partial-
        inplace for most relocs.

27 years ago * simops.c: Fix thinkos in last change to "inc dn".
Jeff Law [Fri, 6 Dec 1996 05:30:24 +0000 (05:30 +0000)]
    * simops.c: Fix thinkos in last change to "inc dn".

27 years agoFix recent breakage
Michael Meissner [Fri, 6 Dec 1996 04:46:19 +0000 (04:46 +0000)]
Fix recent breakage

27 years agomodify last patch
Ian Lance Taylor [Thu, 5 Dec 1996 23:34:59 +0000 (23:34 +0000)]
modify last patch

27 years ago (TM_PRINT_INSN_MACH): Redefine for sparclet.
David Edelsohn [Thu, 5 Dec 1996 22:30:45 +0000 (22:30 +0000)]
(TM_PRINT_INSN_MACH): Redefine for sparclet.

27 years ago* tm-sparclet.h (TM_PRINT_INSN_MACH): Redefine for sparclet.
David Edelsohn [Thu, 5 Dec 1996 22:26:44 +0000 (22:26 +0000)]
* tm-sparclet.h (TM_PRINT_INSN_MACH): Redefine for sparclet.

27 years ago * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER): Undef.
David Edelsohn [Thu, 5 Dec 1996 22:09:15 +0000 (22:09 +0000)]
* config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER): Undef.
(TARGET_BYTE_ORDER_SELECTABLE): Define.
(BREAKPOINT): Undef.
({BIG,LITTLE}_BREAKPOINT): Define.

27 years ago * config/h8300/h8300.mt (SIM): Change to ../sim/h8300/libsim.a.
David Edelsohn [Thu, 5 Dec 1996 22:04:46 +0000 (22:04 +0000)]
* config/h8300/h8300.mt (SIM): Change to ../sim/h8300/libsim.a.
* config/h8500/h8500.mt (SIM): Change to ../sim/h8500/libsim.a.
Entries missing from Nov. 20 change.

27 years ago* m68k-dis.c (print_insn_arg): Handle new < and > operand
J.T. Conklin [Thu, 5 Dec 1996 20:12:47 +0000 (20:12 +0000)]
* m68k-dis.c (print_insn_arg): Handle new < and > operand
specifiers.
* m68k-opc.c (m68k_opcodes): Simplify table by using < and >
operand specifiers in fmovm* instructions.

27 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
Ian Lance Taylor [Thu, 5 Dec 1996 18:47:22 +0000 (18:47 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
use hold_rel unless SEC_ALLOC is set for the reloc section.
(gld${EMULATION_NAME}_place_section): Only set hold_rel if
SEC_ALLOC is set.
PR 11174.

27 years ago * elflink.h (elf_link_add_object_symbols): Calling check_relocs
Ian Lance Taylor [Thu, 5 Dec 1996 18:47:03 +0000 (18:47 +0000)]
* elflink.h (elf_link_add_object_symbols): Calling check_relocs
even if SEC_ALLOC is not set.
* elf32-i386.c (elf_i386_check_relocs): Don't check SEC_ALLOC
when deciding whether to copy a reloc into a shared object.
(elf_i386_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_check_relocs): Likewise.
(elf32_sparc_relocate_section): Likewise.
* elf32-i386.c (elf_i386_check_relocs): Don't set SEC_ALLOC in a
reloc section if it is not set in the source section.
* elf32-sparc.c (elf32_sparc_check_relocs): Likewise.
* elf.c (bfd_section_from_shdr): Mark a reloc section associated
with a SEC_DEBUGGING section as SEC_DEBUGGING.
PR 11174.

27 years ago * write.c (fixup_segment): Don't discard the symbol for a PC
Ian Lance Taylor [Thu, 5 Dec 1996 16:06:14 +0000 (16:06 +0000)]
* write.c (fixup_segment): Don't discard the symbol for a PC
relative fixup to an absolute symbol.
PR 11204.

27 years agoWed Dec 4 16:53:05 1996 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 5 Dec 1996 00:55:29 +0000 (00:55 +0000)]
Wed Dec  4 16:53:05 1996  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: don't avoid building gdb for mn10300 any more
        * Makefile.in: double-quote GCC_FOR_TARGET line in EXTRA_GCC_FLAGS
        instead of single-quoting it.

27 years agofixed sanitize files
Geoffrey Noer [Thu, 5 Dec 1996 00:37:33 +0000 (00:37 +0000)]
fixed sanitize files

27 years agoWed Dec 4 16:34:05 1996 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 5 Dec 1996 00:36:45 +0000 (00:36 +0000)]
Wed Dec  4 16:34:05 1996  Geoffrey Noer  <noer@cygnus.com>

        * config/mn10300/mn10300.mt
        * config/mn10300/tm-mn10300.h: new config files for mn10300
        processor

27 years agoWed Dec 4 15:42:41 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 4 Dec 1996 23:47:30 +0000 (23:47 +0000)]
Wed Dec  4 15:42:41 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* tc-d10v.c (md_assemble, d10v_cleanup): Fix bug
with multiple sections.

27 years agoWed Dec 4 15:42:41 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 4 Dec 1996 23:47:16 +0000 (23:47 +0000)]
Wed Dec  4 15:42:41 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c (md_assemble, d10v_cleanup): Fix bug
with multiple sections.

27 years agoUpdate .Sanitize files
Michael Meissner [Wed, 4 Dec 1996 21:12:01 +0000 (21:12 +0000)]
Update .Sanitize files

27 years ago * ppc-opc.c (insert_li): Give an error if the offset has the two
Ian Lance Taylor [Wed, 4 Dec 1996 19:53:09 +0000 (19:53 +0000)]
* ppc-opc.c (insert_li): Give an error if the offset has the two
least significant bits set.
PR 11201.

27 years ago#if 0 some code that is not used yet
Michael Meissner [Wed, 4 Dec 1996 19:19:15 +0000 (19:19 +0000)]
#if 0 some code that is not used yet

27 years ago * simops.c: "add imm,sp" does not effect the condition codes.
Jeff Law [Wed, 4 Dec 1996 18:02:00 +0000 (18:02 +0000)]
    * simops.c: "add imm,sp" does not effect the condition codes.
        "inc dn" does effect the condition codes.
Just something I noticed.

27 years ago * config/tc-mips.c (md_longopts): Rename mips-16 to mips16, and
Ian Lance Taylor [Wed, 4 Dec 1996 18:01:48 +0000 (18:01 +0000)]
* config/tc-mips.c (md_longopts): Rename mips-16 to mips16, and
no-mips-16 to no-mips16.
(s_mipsset): Accept .set mips16 and .set nomips16.

27 years agoAllow foo@suffix+constant relocations
Michael Meissner [Wed, 4 Dec 1996 15:42:14 +0000 (15:42 +0000)]
Allow foo@suffix+constant relocations

27 years ago * configure.in: Don't use --with-stabs on IRIX 6.
Jason Merrill [Wed, 4 Dec 1996 13:10:04 +0000 (13:10 +0000)]
* configure.in: Don't use --with-stabs on IRIX 6.

27 years ago * simops.c: Treat both operands as signed values for
Jeff Law [Wed, 4 Dec 1996 05:00:49 +0000 (05:00 +0000)]
    * simops.c: Treat both operands as signed values for
        "div" instruction.
Fixes another dozen c-torture execution failures.

27 years agoAdd -m{,no-}solaris support to enable/disable solaris comments & setting ppc flags
Michael Meissner [Wed, 4 Dec 1996 04:26:04 +0000 (04:26 +0000)]
Add -m{,no-}solaris support to enable/disable solaris comments & setting ppc flags

27 years ago * configure.in: Look for libtermcap.a.
Rob Savoye [Wed, 4 Dec 1996 00:56:56 +0000 (00:56 +0000)]
* configure.in: Look for libtermcap.a.
* Makefile.in: Only link in -ltermcap if it exists.
* erc32.c: Update to version 2.6a. Fix uart handling.
* exec.c: Update to version 2.6a. Add sparclite support.
* float.c: Update to version 2.6a. Convert comments to
preprocessor warnings. Add __setfpucw() for i385 hosts so floating
point exceptions work.
* func.c: Update to version 2.6a. Fix uart handling, add support
for user error traps.
* help.c: Update to version 2.6a. Add help note on user error
traps.
* interf.c: Update to version 2.6a. Fix uart handling, and add
sparclite support.
* examples/gccx: Use sparclite cross compiler, not native gcc.
* examples/srt0.S: Use "mov" rather than "wr" for manipulating
the psr register.

27 years ago * simops.c: Fix simulation of division instructions.
Jeff Law [Wed, 4 Dec 1996 00:42:01 +0000 (00:42 +0000)]
    * simops.c: Fix simulation of division instructions.
        Fix typos/thinkos in several "cmp" and "sub" instructions.
Another couple dozen c-torture failures fixed.

27 years agoTue Dec 3 11:38:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 3 Dec 1996 19:44:51 +0000 (19:44 +0000)]
Tue Dec  3 11:38:14 1996  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * blockframe.c: add macro USE_GENERIC_DUMMY_FRAMES to enable/disable
          code for generic call_dummy frames.
        * config/h8300/tm-h8300.h: turn on USE_GENERIC_DUMMY_FRAMES
        * config/m32r/tm-m32r.h: turn on USE_GENERIC_DUMMY_FRAMES
        * config/sh/tm-sh.h: turn on USE_GENERIC_DUMMY_FRAMES
        * config/v850/tm-v850.h: turn on USE_GENERIC_DUMMY_FRAMES

27 years ago * configure.in (m32r): Build gdb, libg++ now.
David Edelsohn [Tue, 3 Dec 1996 17:15:36 +0000 (17:15 +0000)]
* configure.in (m32r): Build gdb, libg++ now.

27 years agofix sanitize typo
Brendan Kehoe [Mon, 2 Dec 1996 22:29:55 +0000 (22:29 +0000)]
fix sanitize typo

27 years ago * simomps.c: Fix carry bit handling in "sub" and "cmp"
Jeff Law [Mon, 2 Dec 1996 20:12:08 +0000 (20:12 +0000)]
    * simomps.c: Fix carry bit handling in "sub" and "cmp"
        instructions.
Another dozen execution failures fixed.

27 years ago * simops.c: Fix "mov imm8,an" and "mov imm16,dn".
Jeff Law [Mon, 2 Dec 1996 19:35:55 +0000 (19:35 +0000)]
    * simops.c: Fix "mov imm8,an" and "mov imm16,dn".
Fixes 80 or so c-torture execution failures.  400 to go.

27 years ago * cofflink.c (_bfd_coff_generic_relocate_section): Print an error
Ian Lance Taylor [Mon, 2 Dec 1996 18:18:33 +0000 (18:18 +0000)]
* cofflink.c (_bfd_coff_generic_relocate_section): Print an error
message for bfd_reloc_outofrange, rather than aborting.  From
Philippe De Muyter <phdm@info.ucl.ac.be>.

27 years agocomment fix
Ian Lance Taylor [Mon, 2 Dec 1996 17:30:09 +0000 (17:30 +0000)]
comment fix

27 years ago * cofflink.c (_bfd_coff_final_link): If there aren't any relocs in
Ian Lance Taylor [Mon, 2 Dec 1996 17:15:05 +0000 (17:15 +0000)]
* cofflink.c (_bfd_coff_final_link): If there aren't any relocs in
a relocateable link, don't try to process them.  From Heinz Wrobel
<wrobel@lpr.e-technik.tu-muenchen.de>.

27 years ago * simops.c: Fix overflow computation for many instructions.
Jeff Law [Mon, 2 Dec 1996 08:35:20 +0000 (08:35 +0000)]
    * simops.c: Fix overflow computation for many instructions.
Fixes several hangs in the c-torture execution tests.  Also fixes about
40 failures.