platform/upstream/binutils.git
26 years agoDon't bother generating trace prefix string when not tracing.
Andrew Cagney [Fri, 3 Apr 1998 17:13:40 +0000 (17:13 +0000)]
Don't bother generating trace prefix string when not tracing.

26 years agoFri Apr 3 12:04:48 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Fri, 3 Apr 1998 17:07:03 +0000 (17:07 +0000)]
Fri Apr  3 12:04:48 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386.h: Remove NoModrm flag from all insns: it's never checked.
Add IsString flag to string instructions.
(IS_STRING): Don't define.
(LOCK_PREFIX_OPCODE, CS_PREFIX_OPCODE, DS_PREFIX_OPCODE): Define.
(ES_PREFIX_OPCODE, FS_PREFIX_OPCODE, GS_PREFIX_OPCODE): Define.
(SS_PREFIX_OPCODE): Define.

26 years agoFri Apr 3 11:58:19 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Fri, 3 Apr 1998 17:04:07 +0000 (17:04 +0000)]
Fri Apr  3 11:58:19 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.h: Reorder operand flags and opcode modifier
flags for clarity.  Remove unused definitions: Unknown,
ImmUnknown, DispUnknown, NoModrm.
* config/tc-i386.c (type_names): Add missing Debug type.
(md_assemble): Better duplicate prefix checking.  Quicker string
instruction check via new opcode_modifier flag.

26 years ago * doc/as.texinfo (Invoking): Clarify -Wa example.
Ian Lance Taylor [Fri, 3 Apr 1998 16:47:00 +0000 (16:47 +0000)]
* doc/as.texinfo (Invoking): Clarify -Wa example.

26 years agoFri Apr 3 11:09:42 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Fri, 3 Apr 1998 16:17:08 +0000 (16:17 +0000)]
Fri Apr  3 11:09:42 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf32-m68k.c (elf_m68k_size_dynamic_sections): Generate section
symbols when creating a shared library.
(elf_m68k_adjust_dynindx): New function, used by above code.
(elf_m68k_finish_dynamic_sections): Initialize the section
symbols.
(elf_m68k_relocate_section): Change abort to BFD_ASSERT.

26 years ago * config/tc-mips.c (mips_pseudo_table): Add weakext entry.
Gavin Romig-Koch [Fri, 3 Apr 1998 14:13:52 +0000 (14:13 +0000)]
* config/tc-mips.c (mips_pseudo_table): Add weakext entry.
  (s_mips_weakext): Define.
* ecoff.c (ecoff_directive_weakext): Don't define if defined(TC_MIPS).
* config/obj-ecoff.c (obj_pseudo_table): Don't add weakext if
defined(TC_MIPS).

26 years ago * ld.texinfo: Completely rewrite linker script documentation.
Ian Lance Taylor [Fri, 3 Apr 1998 05:57:33 +0000 (05:57 +0000)]
* ld.texinfo: Completely rewrite linker script documentation.

26 years ago * config/tc-mn10200.c (tc_gen_reloc): The difference of two symbols
Jeff Law [Fri, 3 Apr 1998 05:42:44 +0000 (05:42 +0000)]
    * config/tc-mn10200.c (tc_gen_reloc): The difference of two symbols
        is an error if the value can not be computed at assembly time.
        * config/tc-mn10300.c (tc_gen-reloc): Likewise.

26 years ago * gasp.c (main): Set next field of new include_path structure to
Ian Lance Taylor [Fri, 3 Apr 1998 02:51:47 +0000 (02:51 +0000)]
* gasp.c (main): Set next field of new include_path structure to
NULL.  From Avery Pennarun <averyp@gdc.ca>.

26 years agoThu Apr 2 16:52:44 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Fri, 3 Apr 1998 00:58:29 +0000 (00:58 +0000)]
Thu Apr  2 16:52:44 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * LRS: Reformat a bit to keep text under 80 columns.

26 years agoFix SAT and SATB bit patterns.
Nick Clifton [Fri, 3 Apr 1998 00:50:29 +0000 (00:50 +0000)]
Fix SAT and SATB bit patterns.

26 years agoFix bit patterns for SAT and SATB to rev 0.82 docs.
Nick Clifton [Fri, 3 Apr 1998 00:45:21 +0000 (00:45 +0000)]
Fix bit patterns for SAT and SATB to rev 0.82 docs.

26 years ago * gdb.texinfo: Add some credits, mention bug monitor.
Stan Shebs [Fri, 3 Apr 1998 00:21:17 +0000 (00:21 +0000)]
* gdb.texinfo: Add some credits, mention bug monitor.
* remote.texi: Mention mips monitor targets.
* gdbint.texinfo: Describe SP_REGNUM, STEP_SKIPS_DELAY.

26 years agoThu Apr 2 14:48:44 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 2 Apr 1998 22:52:47 +0000 (22:52 +0000)]
Thu Apr  2 14:48:44 1998  Geoffrey Noer  <noer@cygnus.com>

        * Makefile.in: add ash make rules
        * configure.in: add ash to native_only and host_tools lists

26 years agoAdd extra control registers
Nick Clifton [Thu, 2 Apr 1998 22:10:56 +0000 (22:10 +0000)]
Add extra control registers

26 years ago * sim-main.h: add vif registers
Ron Unrau [Thu, 2 Apr 1998 21:02:38 +0000 (21:02 +0000)]
* sim-main.h: add vif registers
        * interp.c: incorporate vif register load/store
        * sky-pke.[ch]: add register load/store routines
        * sku-vu.c: P register is float

26 years agoRe-do load/store operations so that they work for both 32 and 64 bit
Andrew Cagney [Thu, 2 Apr 1998 19:35:39 +0000 (19:35 +0000)]
Re-do load/store operations so that they work for both 32 and 64 bit
ISAs.
Enable tx39 as igen again.

26 years ago* Fixes for PR 14571.
Frank Ch. Eigler [Thu, 2 Apr 1998 18:54:04 +0000 (18:54 +0000)]
* Fixes for PR 14571.

Thu Apr  2 12:47:41 1998  Frank Ch. Eigler  <fche@cygnus.com>

* sol-thread.c (sol_thread_store_registers): Save & restore new
  value of single updated register to prevent accidental clobbering.

26 years ago * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
Mark Alexander [Thu, 2 Apr 1998 06:04:17 +0000 (06:04 +0000)]
* config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
* config/sparc/sparclite.mt: Link in the erc32 simulator.

26 years agoFor mips get_mem_size call. Force the return of a 32 bit value
Andrew Cagney [Thu, 2 Apr 1998 03:27:24 +0000 (03:27 +0000)]
For mips get_mem_size call.  Force the return of a 32 bit value
regardless of the target's word bitsize.

26 years agoWed Apr 1 16:30:49 1998 Ian Dall <Ian.Dall@dsto.defence.gov.au>
Jason Molenda [Thu, 2 Apr 1998 01:01:35 +0000 (01:01 +0000)]
Wed Apr  1 16:30:49 1998  Ian Dall  <Ian.Dall@dsto.defence.gov.au>

        * ns32k-tdep.c (flip_bytes, ns32k_localcount,
        ns32k_get_enter_addr, sign_extend): Restore functions mysteriously
        deleted.

        * ns32knbsd-nat.c: New (?) file to support fetching and storing
        registers on NetBSD hosts.

        * nbsd.mh (NATDEPFILES): put ns32knbsd-nat.o instead of
        ns32k-nat.o

        * ns32km3-nat.c (reg_offset): Get order of floating point
        registers correct. Add extra 32382 register offsets.
        (REG_ADDRESS): define to point at correct part of thread
        state. Use calls to "warning" instead of "message".

        * tm-nbsd.h, tm-ns32km3.h (REGISTER_NAMES, NUM_REGS,
        REGISTER_BYTES, REGISTER_BYTE): redefine allowing for 32382
        fpu registers.

26 years agoWed Apr 1 16:20:27 1998 Ian Dall <Ian.Dall@dsto.defence.gov.au>
Jason Molenda [Thu, 2 Apr 1998 00:21:05 +0000 (00:21 +0000)]
Wed Apr  1 16:20:27 1998  Ian Dall  <Ian.Dall@dsto.defence.gov.au>

        * ns32k-dis.c (bit_extract_simple): New function to extract bits
        from an arbitrary valid buffer instead of fetching them on demand
        using fetch_data().
        (invalid_float): use bit_extract_simple() instead of bit_extract().

contributed to me for gdb 4.17.

26 years agoFix satb bit pattern.
Nick Clifton [Wed, 1 Apr 1998 23:00:03 +0000 (23:00 +0000)]
Fix satb bit pattern.

26 years agoFix SATB bit pattern. Add extra control registers.
Nick Clifton [Wed, 1 Apr 1998 22:58:53 +0000 (22:58 +0000)]
Fix SATB bit pattern.  Add extra control registers.

26 years agoWed Apr 1 13:43:07 1998 Philippe De Muyter <phdm@macqel.be>
Jason Molenda [Wed, 1 Apr 1998 21:46:40 +0000 (21:46 +0000)]
Wed Apr  1 13:43:07 1998  Philippe De Muyter  <phdm@macqel.be>

        * NEWS: m68k-motorola-sysv host support added.
        * coffread.c (coff_start_symtab): Accept the filename as an argument,
        set it here.  Callers updated.

26 years ago From Zack Weinberg <zack@rabi.phys.columbia.edu> and H.J. Lu
Ian Lance Taylor [Wed, 1 Apr 1998 20:57:21 +0000 (20:57 +0000)]
From Zack Weinberg <zack@rabi.phys.columbia.edu> and H.J. Lu
<hjl@gnu.org>:
* ar.c (usage): Mention S modifier.
(main): Add S modifier.
* ar.1, binutils.texi: Document S modifier.

26 years agofix copyright
Ian Lance Taylor [Wed, 1 Apr 1998 19:44:29 +0000 (19:44 +0000)]
fix copyright

26 years agoAdd patch from Dean Deaver (deaver@amt.tay1.dec.com) via Richard Earnshaw
Nick Clifton [Wed, 1 Apr 1998 19:17:20 +0000 (19:17 +0000)]
Add patch from Dean Deaver (deaver@amt.tay1.dec.com) via Richard Earnshaw
(richard.earnshaw@arm.com) to fix addressing mode 2 using rrx.
Add super interworking support.

26 years agoWed Apr 1 13:36:58 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 1 Apr 1998 18:40:00 +0000 (18:40 +0000)]
Wed Apr  1 13:36:58 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf32-m68k.c (elf_m68k_relocate_section, case R_68K_PLT*O): Fix
assertion.

26 years agoWed Apr 1 13:13:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 1 Apr 1998 18:14:54 +0000 (18:14 +0000)]
Wed Apr  1 13:13:20 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* doc/as.texinfo: Use @itemx for a secondary item in a table.
* doc/c-hppa.texi: Likewise.

26 years agoWed Apr 1 13:11:23 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 1 Apr 1998 18:12:56 +0000 (18:12 +0000)]
Wed Apr  1 13:11:23 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* binutils.texi: Use @itemx for a secondary item in a table.

26 years agosky-vu.[ch]: prototype decls, cast floats to ints before register transfer
Ron Unrau [Wed, 1 Apr 1998 17:31:24 +0000 (17:31 +0000)]
sky-vu.[ch]: prototype decls, cast floats to ints before register transfer
interp.c: integrate VU register read/writes
sim-main.h : track tm-txvu.h

26 years agox
Ian Lance Taylor [Wed, 1 Apr 1998 17:00:11 +0000 (17:00 +0000)]
x

26 years agoMods to generate RELA style relocations instead
Catherine Moore [Wed, 1 Apr 1998 16:53:51 +0000 (16:53 +0000)]
Mods to generate RELA style relocations instead
of REL style.

26 years agoChanges required to emit Elf Rela structures
Catherine Moore [Wed, 1 Apr 1998 16:47:38 +0000 (16:47 +0000)]
Changes required to emit Elf Rela structures
for relocation.

26 years agoMake the SR, FSR and FIR registers 32 bits regardless of the target.
Andrew Cagney [Wed, 1 Apr 1998 14:26:37 +0000 (14:26 +0000)]
Make the SR, FSR and FIR registers 32 bits regardless of the target.

26 years ago* You bop one on the head ... another one appears.
Frank Ch. Eigler [Wed, 1 Apr 1998 13:19:07 +0000 (13:19 +0000)]
* You bop one on the head ... another one appears.

Wed Apr 1 08:20:31 1998  Frank Ch. Eigler  <fche@cygnus.com>

* mips.igen (SQC2/LQC2): Make bodies sky-target-only also.

26 years agoFix Thumb breakpoints and diassembly.
Nick Clifton [Wed, 1 Apr 1998 05:46:36 +0000 (05:46 +0000)]
Fix Thumb breakpoints and diassembly.

26 years ago* d10v-tdep.c (d10v_extract_return_value): Wierd. GCC wants to return
Andrew Cagney [Wed, 1 Apr 1998 04:52:37 +0000 (04:52 +0000)]
* d10v-tdep.c (d10v_extract_return_value): Wierd.  GCC wants to return
odd sized register quantities with only half of the first register used!
* config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Use stack when size > 8.

26 years ago* configure.in (SIM_AC_OPTION_WARNINGS): Add.
Andrew Cagney [Wed, 1 Apr 1998 02:56:05 +0000 (02:56 +0000)]
* configure.in (SIM_AC_OPTION_WARNINGS): Add.
configure: Re-generate.

26 years agoFinal tweaks for dependency building with relative srcdir, and rebuild
Ian Lance Taylor [Tue, 31 Mar 1998 23:58:45 +0000 (23:58 +0000)]
Final tweaks for dependency building with relative srcdir, and rebuild
dependencies.

26 years ago * dep-in.sed: Add rule to remove @OBJDIR@.
Ian Lance Taylor [Tue, 31 Mar 1998 23:45:24 +0000 (23:45 +0000)]
* dep-in.sed: Add rule to remove @OBJDIR@.
* Makefile.am (dep.sed): Substitute for @OBJDIR@.
* Makefile.in: Rebuild.

26 years ago * gdbtk.c (gdb_loadfile): Don't use the return result from sprintf, whi
Keith Seitz [Tue, 31 Mar 1998 23:42:51 +0000 (23:42 +0000)]
    * gdbtk.c (gdb_loadfile): Don't use the return result from sprintf, whi
ch
        returns a char * under SunOS4.

26 years agotweak
Ian Lance Taylor [Tue, 31 Mar 1998 23:00:57 +0000 (23:00 +0000)]
tweak

26 years ago * Makefile.am (DEP_INCLUDES): New variable.
Ian Lance Taylor [Tue, 31 Mar 1998 22:54:00 +0000 (22:54 +0000)]
* Makefile.am (DEP_INCLUDES): New variable.
(.dep1): Change to work when srcdir is not an absolute path.
(.tcdep, .objdep, .dep2): Likewise.
* Makefile.in: Rebuild.

26 years agowhoops
Ian Lance Taylor [Tue, 31 Mar 1998 22:20:36 +0000 (22:20 +0000)]
whoops

26 years ago * configure.in: Add $(LIBIDETCL) as well as $(LIBIDE) if
Ian Lance Taylor [Tue, 31 Mar 1998 22:19:53 +0000 (22:19 +0000)]
* configure.in: Add $(LIBIDETCL) as well as $(LIBIDE) if
--enable-ide.
* Makefile.in (IDE_CFLAGS_X): Add -I for libidetcl/src.
(LIBIDETCL): Define.
* configure: Rebuild.

26 years ago * Makefile.in: Add libidetcl, like libide.
Ian Lance Taylor [Tue, 31 Mar 1998 21:53:15 +0000 (21:53 +0000)]
* Makefile.in: Add libidetcl, like libide.
(all-libide): Remove dependencies on all-tcl, all-tk, all-itcl,
all-ilu.
* configure.IN: Add libidetcl, like libide.
* configure (GDB_TK): If enable_ide, add all-libidetcl.

26 years ago * sky-dma.c: Clarify text in warning msg.
James Lemke [Tue, 31 Mar 1998 21:46:31 +0000 (21:46 +0000)]
* sky-dma.c: Clarify text in warning msg.
* interp.c: Add global option "float-type".
* sky-vu.h: Add SIM_DESC sd; to VectorUnitState for accessing
global options.

26 years ago From H.J. Lu <hjl@gnu.org>:
Ian Lance Taylor [Tue, 31 Mar 1998 16:10:46 +0000 (16:10 +0000)]
From H.J. Lu <hjl@gnu.org>:
* i386-dis.c (dis386): Change 0x8c and 0x8e to movS, and change Ew
to Ev for both.

26 years ago * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
Bob Manson [Tue, 31 Mar 1998 08:42:55 +0000 (08:42 +0000)]
* lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
for a newline from gdb before continuing.
(default_gdb_exit): Just look for y or n.

26 years ago * elf-m10300.c (mn10300_elf_relax_section): Correctly handle
Jeff Law [Tue, 31 Mar 1998 07:15:57 +0000 (07:15 +0000)]
    * elf-m10300.c (mn10300_elf_relax_section): Correctly handle
        absolute symbols.

26 years agofix copyright
Ian Lance Taylor [Tue, 31 Mar 1998 02:41:10 +0000 (02:41 +0000)]
fix copyright

26 years ago * config/tc-i386.h, config/tc-i386.c: Revert March 24
Ian Lance Taylor [Tue, 31 Mar 1998 02:36:59 +0000 (02:36 +0000)]
* config/tc-i386.h, config/tc-i386.c: Revert March 24
LinearAddress patch.

26 years ago * i386.h: Revert March 24 patch; no more LinearAddress.
Ian Lance Taylor [Tue, 31 Mar 1998 02:33:19 +0000 (02:33 +0000)]
* i386.h: Revert March 24 patch; no more LinearAddress.

26 years agoMon Mar 30 16:42:12 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Tue, 31 Mar 1998 00:46:48 +0000 (00:46 +0000)]
Mon Mar 30 16:42:12 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * rdi-share/Makefile.am, rdi-share/aclocal.m4,
        rdi-share/configure: New files.
        * rdi-share/configure.in:  Rewritten to be an autoconf input file.
        * rdi-share/Makefile.in, rdi-share/configure: Generated by
        automake/autoconf.
        * rdi-share/dbg_hif.h, etherdrv.c, hostchan.c: Use autoconf tests
        to check environment.

automake/autoconfiscate rdi-share.  We don't use the checks that autoconf
provides too much for now, but it'll be easier to use them if any problems
crop up in the future.  (rdi-share/ is foreign code and it probably isn't
worth spending any more time than necessary messing with it.)

26 years ago* Continuing sky R5900 / COP2 work. Added extra sanitize tags to hide
Frank Ch. Eigler [Mon, 30 Mar 1998 23:56:52 +0000 (23:56 +0000)]
* Continuing sky R5900 / COP2 work.  Added extra sanitize tags to hide
  128-bit MIPS part.

[ChangeLog]

Mon Mar 30 18:41:43 1998  Frank Ch. Eigler  <fche@cygnus.com>

* interp.c (decode_coproc): Continuing COP2 work.
   (cop_[ls]q): Hide 128-bit COP2 more.

* sim-main.h (COP_[LS]Q): Hide 128-bit COP2 more.

[ChangeLog.sky]

Mon Mar 30 18:44:15 1998  Frank Ch. Eigler  <fche@cygnus.com>

* sky-libvpe.c: Code too wide - ran indent on SCEI code.

* sky-vu.h (vu0_busy*, vu0_macro*): New entry points for COP2
  interface.

* sky-vu.c (vu0_busy*, vu0_macro*): Stub functions for above.

26 years ago * configure.in: Set version to 2.9.1.
Ian Lance Taylor [Mon, 30 Mar 1998 22:56:58 +0000 (22:56 +0000)]
* configure.in: Set version to 2.9.1.
* configure: Rebuild.

26 years ago * configure.in: Set version to 2.9.1.
Ian Lance Taylor [Mon, 30 Mar 1998 22:35:51 +0000 (22:35 +0000)]
* configure.in: Set version to 2.9.1.
* configure: Rebuild.

26 years agox
Ian Lance Taylor [Mon, 30 Mar 1998 22:32:48 +0000 (22:32 +0000)]
x

26 years ago * Makefile.am (DISTCLEANFILES): Remove defparse.h, arparse.h,
Ian Lance Taylor [Mon, 30 Mar 1998 22:30:28 +0000 (22:30 +0000)]
* Makefile.am (DISTCLEANFILES): Remove defparse.h, arparse.h,
rcparse.h, and nlmheader.h.
* Makefile.in: Rebuild.

26 years ago* d30v-dis.c (print_insn_d30v): Don't use uninitialized "num" when
Ken Raeburn [Mon, 30 Mar 1998 20:24:50 +0000 (20:24 +0000)]
* d30v-dis.c (print_insn_d30v): Don't use uninitialized "num" when
disassembling last 4 bytes of a section.

26 years ago * configure.in (mipstx39*-*-*): Use gencode simulator rather
Gavin Romig-Koch [Mon, 30 Mar 1998 19:54:15 +0000 (19:54 +0000)]
* configure.in (mipstx39*-*-*): Use gencode simulator rather
than igen one.
* configure : Rebuild.

26 years agoMon Mar 30 11:22:08 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 30 Mar 1998 16:24:28 +0000 (16:24 +0000)]
Mon Mar 30 11:22:08 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.h (FWait): Define.
* config/tc-i386.c (md_assemble): Emit fwait prefix before any
other prefixes.  Check FWait flag in opcode table to see which
instructions require an fwait prefix.

26 years agocomment fix
Ian Lance Taylor [Mon, 30 Mar 1998 16:02:18 +0000 (16:02 +0000)]
comment fix

26 years ago * elf.c (_bfd_elf_copy_private_section_data): Call
Ian Lance Taylor [Mon, 30 Mar 1998 15:54:24 +0000 (15:54 +0000)]
* elf.c (_bfd_elf_copy_private_section_data): Call
copy_private_bfd_data once we've seen the last SEC_ALLOC section.
Fixes strip on Irix 6.  Without this, a stripped program would report

22964:g++: rld: Warning: This object has a DT_MIPS_OPTIONS tag, but no corresponding
program header.  This could be the result of file corruption
or faulty compilation/linking.

26 years ago * cpu-mips.c: Remove trailing comma at end of enumeration list.
Ian Lance Taylor [Mon, 30 Mar 1998 15:40:04 +0000 (15:40 +0000)]
* cpu-mips.c: Remove trailing comma at end of enumeration list.

26 years agoMon Mar 30 10:25:54 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 30 Mar 1998 15:29:49 +0000 (15:29 +0000)]
Mon Mar 30 10:25:54 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386.h (i386_optab): Change second operand constraint of `mov
sreg,reg|mem' instruction from Reg16|Mem to WordReg|WordMem to
allow legal instructions such as `movl %gs,%esi'

26 years agoMon Mar 30 10:12:00 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 30 Mar 1998 15:13:33 +0000 (15:13 +0000)]
Mon Mar 30 10:12:00 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* stabs.c (get_stab_string_offset): Always create a stab string
section.

26 years ago* run.c (main): Handle all alternatives of enum sim_stop.
Andrew Cagney [Mon, 30 Mar 1998 13:30:10 +0000 (13:30 +0000)]
* run.c (main): Handle all alternatives of enum sim_stop.
(main): Delete unused `asection *s'.

26 years ago * gdbtk.c (gdb_get_tracepoint_info): Change formatting of address.
Keith Seitz [Mon, 30 Mar 1998 05:18:29 +0000 (05:18 +0000)]
    * gdbtk.c (gdb_get_tracepoint_info): Change formatting of address.
        (tracepoint_exists): Remove code which confuses assembly traces.

26 years ago * tracepoint.c (trace_start_command): Set trace_running_p.
Keith Seitz [Sun, 29 Mar 1998 23:20:18 +0000 (23:20 +0000)]
    * tracepoint.c (trace_start_command): Set trace_running_p.
        (trace_stop_command): Clear trace_running_p.

26 years ago* Oops, added #ifdef TARGET_SKY around R5900 COP2 implementation skeleton.
Frank Ch. Eigler [Sun, 29 Mar 1998 22:53:31 +0000 (22:53 +0000)]
* Oops, added #ifdef TARGET_SKY around R5900 COP2 implementation skeleton.

26 years ago Fix some gcc -Wall warnings:
Ian Lance Taylor [Sun, 29 Mar 1998 04:15:29 +0000 (04:15 +0000)]
Fix some gcc -Wall warnings:
* cg_arcs.c (num_cycles): Change to unsigned int.
(numarcs): Likewise.
(arc_add): Change maxarcs to unsigned int.
(cg_assemble): Change index to unsigned int.
* cg_arcs.h (num_cycles, numarcs): Update declarations.
* cg_print.c (cg_print): Change index to unsigned int.
(cg_print_index): Change index, nnames, todo, i, and j to unsigned
int.
(cg_print_file_ordering): Change symbol_count and index2 to
unsigned int.
* core.c (symbol_map_count): Change to unsigned int.
(core_create_function_syms): Change j to unsigned int.
(core_create_line_syms): Add cast to avoid warning.
* hist.c (hist_assign_samples): Change j to unsigned int.
(hist_print): Change index to unsigned i nt.  Add cast to avoid
warning.
* sym_ids.c (parse_spec): Add casts to avoid warning.
* symtab.c (symtab_finalize): Change j to unsigned int.
(sym_lookup): Update printf format strings.
* symtab.h (Sym_Table): Change len to unsigned int.
* tahoe.c (tahoe_reladdr): Add casts to avoid warnings.

26 years agoFix gcc -Wall warnings. See ChangeLog for details.
Ian Lance Taylor [Sun, 29 Mar 1998 03:45:46 +0000 (03:45 +0000)]
Fix gcc -Wall warnings.  See ChangeLog for details.

26 years ago * NEWS: Update for 4.17 release.
Stan Shebs [Sat, 28 Mar 1998 23:24:18 +0000 (23:24 +0000)]
* NEWS: Update for 4.17 release.

26 years ago Fix some gcc -Wall warnings:
Ian Lance Taylor [Sat, 28 Mar 1998 22:45:56 +0000 (22:45 +0000)]
Fix some gcc -Wall warnings:
* nlmconv.c (main): Add casts to avoid warnings.
(alpha_mangle_relocs): Likewise.
* objdump.c (dump_section_stabs): Likewise.
* size.c (print_sysv_format): Likewise.
* srcconv.c (wr_ob): Likewise.
* wrstabs.c (stab_modify_type): Likewise.
(stab_variable): Likewise.
* nlmconv.c (main): Initialize variables to avoid warnings.
* nm.c (sort_symbols_by_size): Likewise.
* objdump.c (disassemble_bytes): Likewise.
* wrstabs.c (stab_end_class_type): Likewise.
* coffgrok.c (do_sections_p2): Change j to unsigned int.
(do_lines): Change l to unsigned int.
* nlmheader.y (yylex): Change i to unsigned int.
* nm.c (print_symbol): Change j to long.
* size.c (lprint_number): Comment out.
* srconv.c (wr_ob): Change i to bfd_size_type.
* sysdump.c (unit_info_list): Comment out.
(object_body_list, program_structure, debug_list): Likewise.
* sysinfo.y (yyerror): Return value.

26 years ago * Makefile.am (MOSTLYCLEANFILES): Remove tmpdir.
Ian Lance Taylor [Sat, 28 Mar 1998 22:17:43 +0000 (22:17 +0000)]
* Makefile.am (MOSTLYCLEANFILES): Remove tmpdir.
(mostlyclean-local): New target to remove tmpdir.
* Makefile.in: Rebuild.

26 years ago Fix some gcc -Wall warnings:
Ian Lance Taylor [Sat, 28 Mar 1998 21:54:33 +0000 (21:54 +0000)]
Fix some gcc -Wall warnings:
* ldcref.c (output_cref): Add casts to avoid warnings.
* ldfile.c (ldfile_add_arch): Likewise.
* ldlang.c (lang_leave_overlay_section): Likewise.
* lexsup.c (OPTION_COUNT): Likewise.
(parse_args): Likewise.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan):
Likewise.
* emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Likewise.
* ldlang.c (lang_check): Initialize variables to avoid warnings.
* ldwrite.c (build_link_order): Likewise.
* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Likewise.
* emultempl/armcoff.em (gld${EMULATION_NAME}_before_allocation):
Remove unused variables.

26 years ago * Makefile.am (MOSTLYCLEANFILES): Correct name (was
Ian Lance Taylor [Sat, 28 Mar 1998 21:54:11 +0000 (21:54 +0000)]
* Makefile.am (MOSTLYCLEANFILES): Correct name (was
MOSTCLEANFILES).
* Makefile.in: Rebuild.

26 years ago * coff-arm.c: Define all globally visible variables and functions
Ian Lance Taylor [Sat, 28 Mar 1998 21:34:25 +0000 (21:34 +0000)]
* coff-arm.c: Define all globally visible variables and functions
only when COFF_WITH_PE is not defined.
* configure.in (armpe_little_vec, armpe_big_vec): Add
coff-arm.lo.
* configure: Rebuild.

26 years ago * gdbtk.c (gdb_cmd): If argc > 2, assume that the busy and idle hooks
Keith Seitz [Sat, 28 Mar 1998 20:16:06 +0000 (20:16 +0000)]
    * gdbtk.c (gdb_cmd): If argc > 2, assume that the busy and idle hooks
        should not be called.

26 years ago* Updated test cases to confirm PKE behavior according to new SCEI specs.
Frank Ch. Eigler [Sat, 28 Mar 1998 00:36:59 +0000 (00:36 +0000)]
* Updated test cases to confirm PKE behavior according to new SCEI specs.

26 years ago* Modified sky PKE behavior according to new SCEI specs.
Frank Ch. Eigler [Sat, 28 Mar 1998 00:35:43 +0000 (00:35 +0000)]
* Modified sky PKE behavior according to new SCEI specs.

26 years ago * aclocal.m4, configure: Rebuilt with new cygettext.m4.
Tom Tromey [Fri, 27 Mar 1998 23:38:52 +0000 (23:38 +0000)]
* aclocal.m4, configure: Rebuilt with new cygettext.m4.

26 years ago * h8300.h: Various changes to fully bracket initializers.
Ian Lance Taylor [Fri, 27 Mar 1998 23:32:07 +0000 (23:32 +0000)]
* h8300.h: Various changes to fully bracket initializers.

26 years agoFix gcc -Wall warnings. See ChangeLog for details.
Ian Lance Taylor [Fri, 27 Mar 1998 23:29:46 +0000 (23:29 +0000)]
Fix gcc -Wall warnings.  See ChangeLog for details.

26 years ago* Inserted skeleton of R5900 COP2 simulation. Merged old vu[01].[ch] code
Frank Ch. Eigler [Fri, 27 Mar 1998 22:00:56 +0000 (22:00 +0000)]
* Inserted skeleton of R5900 COP2 simulation.  Merged old vu[01].[ch] code
  into single PKE-style vu.[ch].

[ChangeLog]

Fri Mar 27 16:19:29 1998  Frank Ch. Eigler  <fche@cygnus.com>

start-sanitize-sky
* Makefile.in (SIM_SKY_OBJS): Replaced sky-vu[01].o with sky-vu.o.

* interp.c (sim_{load,store}_register): Use new vu[01]_device
  static to access VU registers.
(decode_coproc): Added skeleton of sky COP2 (VU) instruction
  decoding.  Work in progress.

* mips.igen (LDCzz, SDCzz): Removed *5900 case for this
  overlapping/redundant bit pattern.
(LQC2, SQC2): Added *5900 COP2 instruction skeleta.  Work in
progress.

* sim-main.h (status_CU[012]): Added COP[n]-enabled flags for
  status register.

end-sanitize-sky

* interp.c (cop_lq, cop_sq): New functions for future 128-bit
  access to coprocessor registers.

* sim-main.h (COP_LQ, COP_SQ): New macro front-ends for above.

[ChangeLog.sky]

* sky-engine.c (engine_run): Adapted from vu[01] -> vu merge.

* sky-hardware.c (register_devices): Ditto

* sky-pke.c (pke_fifo_*): Made these functions private again, now
  that the GPUIF code does not use them.

* sky-pke.h (pke_fifo_*): Removed newly private declarations.

* sky-vu.c (*): Major rework: merge of old sky-vu0.c and
  sky-vu1.c.  Management of two VU devices parallels two PKEs.
Work in progress.

* sky-vu.h (*): Other half of merge.
(vu_device): New struct, parallel to pke_device.

26 years ago * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Put
Ian Lance Taylor [Fri, 27 Mar 1998 21:40:06 +0000 (21:40 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Put
ARM code inside ifdef TARGET_IS_armpe.

26 years agoFix gcc -Wall warnings. See ChangeLog for details.
Ian Lance Taylor [Fri, 27 Mar 1998 21:30:53 +0000 (21:30 +0000)]
Fix gcc -Wall warnings.  See ChangeLog for details.

26 years agosky-gs.c: initial drop of GS control registers (outstanding questions)
Patrick Macdonald [Fri, 27 Mar 1998 18:36:33 +0000 (18:36 +0000)]
sky-gs.c: initial drop of GS control registers (outstanding questions)
sky-gs.h: initial drop of GS control registers
Makefile.in: added sky-gs.o to sanitized list
sky-gpuif.c (gif_io_write_buffer): correct memset length error, renamed
trace file for gif

26 years ago * config/tc-m68k.c (m68k_ip): Check legal addressing modes for
Ian Lance Taylor [Fri, 27 Mar 1998 17:48:28 +0000 (17:48 +0000)]
* config/tc-m68k.c (m68k_ip): Check legal addressing modes for
  mcf5200 just as we do for m68000.
(m68k_init_after_args): Likewise.
(md_estimate_size_before_relax): Likewise.

26 years ago * sky-vu.c: new file to read/write VU registers
Ron Unrau [Fri, 27 Mar 1998 14:44:39 +0000 (14:44 +0000)]
* sky-vu.c: new file to read/write VU registers
        * Makefile.in .Sanitize: add sky-vu.c
* sky-vu.h: define registers as enum, export read/write routines
        * sky-vu[01].[ch]: use register read/write routines in sky-vu.c
        * interp.c: use register read/write routines in sky-vu.c

26 years agoDo top level sim-hw module for device tree.
Andrew Cagney [Fri, 27 Mar 1998 11:42:16 +0000 (11:42 +0000)]
Do top level sim-hw module for device tree.
Add to aclocal.m4, update all configure files.

26 years agoClean up m32rx sanitization
Andrew Cagney [Fri, 27 Mar 1998 11:33:16 +0000 (11:33 +0000)]
Clean up m32rx sanitization

26 years ago * Makefile.in (all-gettext, all-intl): New targets.
Tom Tromey [Fri, 27 Mar 1998 07:37:59 +0000 (07:37 +0000)]
* Makefile.in (all-gettext, all-intl): New targets.
(ALL_MODULES): Added all-gettext, all-intl.
(CROSS_CHECK_MODULES): Added check-gettext, check-intl.
(INSTALL_MODULES): Added install-gettext, install-intl.
(CLEAN_MODULES): Added clean-gettext, clean-intl.

* configure.in (host_tools): Added gettext.
(native_only): Likewise.
(noconfigdirs) [various cases]: Likewise.
(host_libs): Added intl.

26 years ago * mips-opc.c: Add "sync.l" and "sync.p".
Jeff Law [Fri, 27 Mar 1998 07:01:51 +0000 (07:01 +0000)]
    * mips-opc.c: Add "sync.l" and "sync.p".
pr15204

26 years agoDefine CPU_INDEX. Initialize.
Andrew Cagney [Fri, 27 Mar 1998 04:25:45 +0000 (04:25 +0000)]
Define CPU_INDEX.  Initialize.
For mips_options, iterate over MAX_NR_PROCESSORS when setting options.

26 years agoThu Mar 26 23:07:18 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Fri, 27 Mar 1998 04:10:05 +0000 (04:10 +0000)]
Thu Mar 26 23:07:18 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c (md_assemble): Swap template arguments to
CONSISTENT_REGISTER_MATCH macro in reverse direction test.
This macro is currently symmetric, so passing them the wrong
way didn't cause any problem, but may if the macro is changed
in the future.
After copying template to i.tm, use i.tm. rather than t-> to
access fields, and make t a const*
Move i.tm.operand_types[] swap to immediately after the copy.

26 years agoThu Mar 26 22:29:28 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 27 Mar 1998 03:36:27 +0000 (03:36 +0000)]
Thu Mar 26 22:29:28 1998  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * gdbtk.c: (gdb_trace_status) new function.
        (gdbtk_init) added command "gdb_is_tracing".
        (tracepoint_notify) added passcount information.

        * tracepoint.c (trace_status_command): Recognize a boolean return
        value from the stub to indicate whether trace experiment is
        running.  Export this value as a global state variable
        (trace_running_p) for use by the GUI. (from Michael Snyder)
        (trace_pass_command) added call to modify_tracepoint_hook.

        * tracepoint.h export trace_running_p