platform/upstream/binutils.git
26 years ago * m32r-opc.c: Regenerate.
Doug Evans [Sat, 11 Apr 1998 01:18:23 +0000 (01:18 +0000)]
* m32r-opc.c: Regenerate.

26 years agoFri Apr 10 15:48:10 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Fri, 10 Apr 1998 22:49:13 +0000 (22:49 +0000)]
Fri Apr 10 15:48:10 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.

Harumph, my change got lost in the foundry->devo merge.

26 years agotweak comment regarding state transitions
Doug Evans [Fri, 10 Apr 1998 18:34:49 +0000 (18:34 +0000)]
tweak comment regarding state transitions

26 years ago * utils.c (fmthex): A formatting function for hexdumps
John Metzler [Fri, 10 Apr 1998 17:59:12 +0000 (17:59 +0000)]
* utils.c (fmthex): A formatting function for hexdumps

26 years ago * coffcode.h (coff_write_object_contents): Move a PE COMDAT symbol
Ian Lance Taylor [Fri, 10 Apr 1998 17:45:18 +0000 (17:45 +0000)]
* coffcode.h (coff_write_object_contents): Move a PE COMDAT symbol
before any other symbols in the same section.
Required by Visual C++ linker, and specified in PE documentation.

26 years agoFri Apr 10 10:35:35 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Fri, 10 Apr 1998 17:42:12 +0000 (17:42 +0000)]
Fri Apr 10 10:35:35 1998  John Metzler  <jmetzler@cygnus.com>

*  mips-tdep.c (unpack_mips16): Fixed instruction decoding, lots of
  bit pattern interpretations. mips_fetch_instruction does not work
  for 16 bit instructions. Some confusion remains about sign
  extension in backward branches.
(mips32_relative_offset): Sign extension
(mips32_next_pc): Major debugging, bit pattern interpretation
(print_unpack): debugging printf
(fetch_mips_16): new funtion, key on PC low bit, not symbol table
(mips16_next_16): Initial major debugging of this function. Lots
  of bit pattern mistakes.
(mips_next_pc): key on low bit of PC, not symbol table.
* symfile.c(generic_load) : Added a download verification which
  reads back the loade code. Download chunk size is now a defined
  macro. Fixed a bug in which downloading slips into loading one
  byte at a time. Lower level functions in monitor.c can load long
  sequences of bytes and make use of these fixups.  Referencing
  bfd-start_address directly was incorrectly getting zero for start.

26 years ago * config/tc-dvp.c (VU_LABEL_PREFIX): New macro.
Doug Evans [Fri, 10 Apr 1998 01:37:00 +0000 (01:37 +0000)]
* config/tc-dvp.c (VU_LABEL_PREFIX): New macro.
(compute_mpgloc): New function.
(eval_expr): New arg `cpu'.  All callers updated.
(non_vu_insn_seen_p): New static global.
(RELAX_{MPG,DIRECT,VU,ENCODE,GROWTH,DONE_}): New macros.
(struct dvp_fixup): New member `cpu'.
(assemble_one_insn): New args init_fixup_count, fixup_offset.
All callers updated.
(md_assemble): Set non_vu_insn_seen_p as appropriate.
(assemble_vif): Set `cpu' field of fixup.
Clean up calls to frag_var.  Recorded mpgloc is now in bytes.
(assemble_vu_insn): Delete, contents moved into ...
(assemble_vu): ... here.  Don't record fixups until after parsing
both upper and lower insns.  If branch insn inside mpg, properly
compute target address.
(dvp_frob_label): Create copies of vu labels inside mpg's.
(dvp_relax_frag): Clean up.
(md_convert_frag): Ditto.
(md_apply_fix3): Signal error if mpg embedded vu code has branch
to undefined label (not currently supported).
(eval_expr): New arg `cpu'.  All callers updated.
(insert_operand_final): Convert mpgloc from bytes to dwords.
(s_endmpg): Use compute_mpgloc to update $.mpgloc.
(s_state): If switching to vu state, initialize $.mpgloc.

26 years ago * mips-tdep.c (do_fp_register_row): Use alloca rather than arrays
Ian Lance Taylor [Thu, 9 Apr 1998 23:21:14 +0000 (23:21 +0000)]
* mips-tdep.c (do_fp_register_row): Use alloca rather than arrays
with dynamic size.

26 years agoThu Apr 9 14:20:59 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Thu, 9 Apr 1998 22:03:19 +0000 (22:03 +0000)]
Thu Apr  9 14:20:59 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk.c (gdbtk_init): Remove redundant variable "IDE".

26 years ago* Backed out week-old attempt at enabling quadword memory access on
Frank Ch. Eigler [Thu, 9 Apr 1998 20:56:00 +0000 (20:56 +0000)]
* Backed out week-old attempt at enabling quadword memory access on
  MIPS sim; added PKE sim code fixes.  No COP2 testing progress today.

[ChangeLog]

Thu Apr  9 16:38:23 1998  Frank Ch. Eigler  <fche@cygnus.com>

* r5900.igen (LQC,SQC): Adapted code to DOUBLEWORD accesses
instead of QUADWORD.

* sim-main.h: Removed attempt at allowing 128-bit access.

[ChangeLog.sky]

Thu Apr  9 16:42:54 1998  Frank Ch. Eigler  <fche@cygnus.com>

* sky-pke.c (read_pke_pc): Corrected PKE PC calculation
to word granularity.

26 years ago* Added one PKE test after finding unexpected #### for a block of
Frank Ch. Eigler [Thu, 9 Apr 1998 20:31:18 +0000 (20:31 +0000)]
* Added one PKE test after finding unexpected #### for a block of
  code in gcov output.

26 years agoThu Apr 9 11:59:38 1998 Ian Dall (<Ian.Dall@dsto.defence.gov.au>
Jason Molenda [Thu, 9 Apr 1998 19:01:30 +0000 (19:01 +0000)]
Thu Apr  9 11:59:38 1998  Ian Dall (<Ian.Dall@dsto.defence.gov.au>

        * configure.in (host==netbsd): Include config/mh-bsd44.
        * config/mh-bsd44: New file.

26 years ago * expr.h (expr_build_dot): Declare.
Doug Evans [Thu, 9 Apr 1998 17:43:37 +0000 (17:43 +0000)]
* expr.h (expr_build_dot): Declare.
* expr.c (expr_build_dot): New function.

26 years ago * symbols.c (max_indent_level): New global.
Doug Evans [Thu, 9 Apr 1998 17:32:27 +0000 (17:32 +0000)]
* symbols.c (max_indent_level): New global.
(print_symbol_value_1): Use it.

26 years agoc_gen.pl : Added handling for data from GIF path1/2/3 FIFO.
Jillian Ye [Thu, 9 Apr 1998 17:06:19 +0000 (17:06 +0000)]
c_gen.pl : Added handling for data from GIF path1/2/3 FIFO.

26 years ago* Fixed testcase. 1,$ s/ITOP 412/ITOP 421/
Ian Carmichael [Thu, 9 Apr 1998 03:57:20 +0000 (03:57 +0000)]
* Fixed testcase.  1,$ s/ITOP 412/ITOP 421/

26 years ago* Fixed up blank lines in file.
Ian Carmichael [Thu, 9 Apr 1998 03:24:13 +0000 (03:24 +0000)]
* Fixed up blank lines in file.

26 years ago* Temporarily change LOADDRMASK in sky build.
Ian Carmichael [Thu, 9 Apr 1998 03:17:43 +0000 (03:17 +0000)]
* Temporarily change LOADDRMASK in sky build.

26 years ago * erc32.c (sim_stop): Handle SIGINT gracefully.
Mark Alexander [Thu, 9 Apr 1998 02:40:31 +0000 (02:40 +0000)]
* erc32.c (sim_stop): Handle SIGINT gracefully.
* interf.c (sim_open): Don't catch SIGINT; GDB will do that for us.

26 years agoWed Apr 8 19:21:42 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Thu, 9 Apr 1998 02:22:27 +0000 (02:22 +0000)]
Wed Apr  8 19:21:42 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * top.c (print_gdb_version): Print 1998 now.

26 years agoWed Apr 8 19:14:11 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Thu, 9 Apr 1998 02:15:55 +0000 (02:15 +0000)]
Wed Apr  8 19:14:11 1998  John Metzler  <jmetzler@cygnus.com>

* .Sanitize (Things-to-lose): gdbcfgxref
* gdbcfgxref: Corelates target triples, mk, mt files, target dependent headers
and sources.

26 years ago * exec.c (dispatch_instruction): Change how carry out is calculated
Mark Alexander [Thu, 9 Apr 1998 01:42:44 +0000 (01:42 +0000)]
* exec.c (dispatch_instruction): Change how carry out is calculated
in DIVSCC.  Add emulation of SMULCC, UMUL, and UMULCC.

26 years ago * gas/testsuite/all/gas.exp: No longer expect failures for
Jeff Law [Thu, 9 Apr 1998 00:46:37 +0000 (00:46 +0000)]
    * gas/testsuite/all/gas.exp: No longer expect failures for
        difference of undefined symbols on mn10x00 targets.

26 years agoAck, forgot to update copyright to 1998.
Jason Molenda [Wed, 8 Apr 1998 23:58:35 +0000 (23:58 +0000)]
Ack, forgot to update copyright to 1998.

26 years agoWed Apr 8 16:57:22 1998 Philippe De Muyter <phdm@macqel.be>
Jason Molenda [Wed, 8 Apr 1998 23:58:10 +0000 (23:58 +0000)]
Wed Apr  8 16:57:22 1998  Philippe De Muyter  <phdm@macqel.be>

        * source.c: Remove obsolete decl of strstr().

26 years agoWed Apr 8 16:47:33 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Wed, 8 Apr 1998 23:49:14 +0000 (23:49 +0000)]
Wed Apr  8 16:47:33 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * solib.c (solib_create_inferior_hook): Remove Ulrich Drepper's
        patch of March 23 1998.
        * breakpoint.c (breakpoint_re_set_one): Remove Ulrich Drepper's
        patch of March 23 1998.

26 years ago * symbols.c (print_binary): New function.
Doug Evans [Wed, 8 Apr 1998 23:18:54 +0000 (23:18 +0000)]
* symbols.c (print_binary): New function.
(print_expr_1): Call it.

26 years ago * gas/dvp/br-2.[sd]: New testcase.
Doug Evans [Wed, 8 Apr 1998 22:53:37 +0000 (22:53 +0000)]
* gas/dvp/br-2.[sd]: New testcase.
* gas/dvp/dvp.exp: Run them.

26 years ago* R5900 sky COP2 testing continuing. Today only small
Frank Ch. Eigler [Wed, 8 Apr 1998 22:22:58 +0000 (22:22 +0000)]
* R5900 sky COP2 testing continuing.  Today only small
  VCALLMS-related were found/fixed.

[ChangeLog.sky]

* sky-vu.c ({read,write}_vu_special_reg): Add CMSAR[01] as special
  registers for a VU.  Behavior not as mandated.
({read,write}_vu_{misc,special}_reg): Create sim_io_error upon
access to unknown register.  Behavior not as mandated.

* sky-vu.h (anonymous register numbering enum): Add CMSAR[01].

* sky-libvpe.c (indebug): Cache $ENV{'SKY_DEBUG'}.

[ChangeLog]

* Makefile.in (SIM_SKY_OBJS): Added sky-vudis.o.

* interp.c (decode_coproc): Refer to VU CIA as a "special"
register, not as a "misc" register.  Aha.  Add activity
assertions after VCALLMS* instructions.

26 years ago* COP2 test case update.
Frank Ch. Eigler [Wed, 8 Apr 1998 22:10:38 +0000 (22:10 +0000)]
* COP2 test case update.

26 years agoc_gen.pl: Added subroutine perform_test_read_only
Jillian Ye [Wed, 8 Apr 1998 20:57:28 +0000 (20:57 +0000)]
c_gen.pl: Added subroutine perform_test_read_only

26 years ago* Add sky-vudis.h, sky-vudis.c.
Ian Carmichael [Wed, 8 Apr 1998 20:14:44 +0000 (20:14 +0000)]
* Add sky-vudis.h, sky-vudis.c.

26 years agosce_main.c Fixing address used (line 100): DMA_D1_MADR -> DMA_D1_TADR
Jillian Ye [Wed, 8 Apr 1998 19:46:08 +0000 (19:46 +0000)]
sce_main.c Fixing address used (line 100): DMA_D1_MADR -> DMA_D1_TADR

26 years agoUpdate testcase to use the correct include files.
Jillian Ye [Wed, 8 Apr 1998 19:01:01 +0000 (19:01 +0000)]
Update testcase to use the correct include files.
: ----------------------------------------------------------------------

26 years agoDo not add PowerPC NT support by default to PowerPC ELF systems
Michael Meissner [Wed, 8 Apr 1998 18:57:42 +0000 (18:57 +0000)]
Do not add PowerPC NT support by default to PowerPC ELF systems

26 years ago*** empty log message ***
Jillian Ye [Wed, 8 Apr 1998 18:07:54 +0000 (18:07 +0000)]
*** empty log message ***

26 years ago Take out sce_testcase from "make check" until they can run more stably.
Jillian Ye [Wed, 8 Apr 1998 18:03:03 +0000 (18:03 +0000)]
 Take out sce_testcase from "make check" until they can run more stably.
 Added "check_sce" target for driving the Sce_testcases.

26 years agoUpdate testcase to compile with the lastest DVP AS
Jillian Ye [Wed, 8 Apr 1998 17:27:47 +0000 (17:27 +0000)]
Update testcase to compile with the lastest DVP AS

26 years agoWed Apr 8 13:18:56 1998 Philippe De Muyter <phdm@macqel.be>
Ian Lance Taylor [Wed, 8 Apr 1998 17:19:42 +0000 (17:19 +0000)]
Wed Apr  8 13:18:56 1998  Philippe De Muyter  <phdm@macqel.be>

* Makefile.in (EXTRA_GCC_FLAGS): XFOO lines shortened.

26 years agoUpdate testcase to compile with latest DVP-AS
Jillian Ye [Wed, 8 Apr 1998 17:15:24 +0000 (17:15 +0000)]
Update testcase to compile with latest DVP-AS
: ----------------------------------------------------------------------

26 years agoKeep sim-main.c and tx.igen
Andrew Cagney [Tue, 7 Apr 1998 23:15:53 +0000 (23:15 +0000)]
Keep sim-main.c and tx.igen

26 years agoKeep sky-gs.[ch] if sky.
Doug Evans [Tue, 7 Apr 1998 22:54:10 +0000 (22:54 +0000)]
Keep sky-gs.[ch] if sky.

26 years ago* Oops, keep new file.
Frank Ch. Eigler [Tue, 7 Apr 1998 22:50:02 +0000 (22:50 +0000)]
* Oops, keep new file.

26 years ago* R5900 COP2 sim testing in progress. The majority of instructions actually
Frank Ch. Eigler [Tue, 7 Apr 1998 22:47:53 +0000 (22:47 +0000)]
* R5900 COP2 sim testing in progress.  The majority of instructions actually
  work!

[ChangeLog.sky]

* sky-vu.h (vu_device): Represent "macro instruction just stuffed
  into fetch buffer" condition with new "m" bit.  Rename old "m" to
  "l".

* sky-libvpe.c (indebug): Save snapshot of environment value;
  workaround for suspected memory corruption.
(fetch_inst): Respect new "m" macro-instruction flag for reporting
  successful fetch to caller.
(exec_inst): Disassemble instruction here instead of fetch time.
   Renamed old "m" -> "l" flag in VU state to track interlock
  release.
(vpecallms_cycle): Call exec_inst only if fetch_inst did some
  work.

* sky-vu.c (vu_attach, vu[01]_device): Revamped initialization to
  ensure complete clear of tail part of struct at attach time.
(vu0_busy): Fix thinko.
(vu0_macro_issue): Adapt to new "l" flag.
(vu0_micro_interlock_released): Ditto.
  (write_vu_special_reg): Ditto.
(read_vu_special_reg): Compute VBS0/VBS1 bits more explicitly.
   The other VU status bits are not yet computed.

[ChangeLog]

* interp.c (decode_coproc): Do not apply superfluous E (end) flag
  to upper code of generated VU instruction.

26 years ago* COP2 testing in progress.
Frank Ch. Eigler [Tue, 7 Apr 1998 22:45:56 +0000 (22:45 +0000)]
* COP2 testing in progress.

Tue Apr  7 18:31:47 1998  Frank Ch. Eigler  <fche@cygnus.com>

* t-cop2.s: New test for COP2 function.

* Makefile.in: Added rule to assemble self-contained R5900 asm tests.

26 years agoUpdate.
Doug Evans [Tue, 7 Apr 1998 22:44:49 +0000 (22:44 +0000)]
Update.

26 years agoend of an era
Stan Shebs [Tue, 7 Apr 1998 22:17:30 +0000 (22:17 +0000)]
end of an era

26 years ago * mdebugread.c (parse_partial_symbols): If this is an .mdebug
Dawn Perchik [Tue, 7 Apr 1998 21:12:23 +0000 (21:12 +0000)]
    * mdebugread.c (parse_partial_symbols): If this is an .mdebug
        section in an ELF file, override a symbol's ECOFF section with its
        ELF section.  Also, fix stabs continuation where a stabs string
        continues for more than one continuation.

26 years agoUpdate Makefile.in to use dvp-el-as for SKY testcases.
Jillian Ye [Tue, 7 Apr 1998 21:10:30 +0000 (21:10 +0000)]
Update Makefile.in to use dvp-el-as for SKY testcases.
: ----------------------------------------------------------------------

26 years ago * dwarf2.c (comp_unit): Move it earlier in the source. Add
Gavin Romig-Koch [Tue, 7 Apr 1998 20:29:26 +0000 (20:29 +0000)]
* dwarf2.c (comp_unit): Move it earlier in the source. Add
addr_size.
(read_address): Replace 'bdf*' argument with 'comp_unit*' argument.
        Use addr_size for address size, rather than sizeof(bfd_vma).
(read_attribute): Replace bdf* argument with 'comp_unit*' argument.
Fix call to read_address.
(decode_line_info): Replace bdf* argument with 'comp_unit*' argument.
Scrap other unneeded arguments.  Fix call to read_address.
(scan_unit_for_functions): Fix call to read_attribute.
(parse_comp_unit): We now handle more values for addr_size.
Set addr_size in unit.  Fix call to read_attribute and
decode_line_info.

26 years ago* Added missing ITOP instructions to test40,41,42,43.
Ian Carmichael [Tue, 7 Apr 1998 20:20:34 +0000 (20:20 +0000)]
* Added missing ITOP instructions to test40,41,42,43.

26 years ago * gdbtk.c (gdb_cmd): NEVER call the busy, update, and idle hooks.
Keith Seitz [Tue, 7 Apr 1998 20:05:02 +0000 (20:05 +0000)]
    * gdbtk.c (gdb_cmd): NEVER call the busy, update, and idle hooks.

26 years ago * dwarf2.c (parse_comp_unit): Drop use of unit->name when it is null.
Gavin Romig-Koch [Tue, 7 Apr 1998 19:56:50 +0000 (19:56 +0000)]
* dwarf2.c (parse_comp_unit): Drop use of unit->name when it is null.

26 years ago * Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c,
Ian Lance Taylor [Tue, 7 Apr 1998 19:41:52 +0000 (19:41 +0000)]
* Makefile.am (DISTSTUFF): Add defparse.h, defparse.c, rclex.c,
rcparse.h, and rcparse.c
* Makefile.in: Rebuild.

26 years ago * config/tc-dvp.c (md_convert_frag): Fix thinko.
Doug Evans [Tue, 7 Apr 1998 19:26:40 +0000 (19:26 +0000)]
* config/tc-dvp.c (md_convert_frag): Fix thinko.

26 years agoTue Apr 7 13:35:29 1998 H.J. Lu <hjl@gnu.org>
Ian Lance Taylor [Tue, 7 Apr 1998 17:37:33 +0000 (17:37 +0000)]
Tue Apr  7 13:35:29 1998  H.J. Lu  <hjl@gnu.org>

* configure.in (TESTBFDLIB): New.  Defined and substituted.
* Makefile.am (TESTBFDLIB): Changed to @TESTBFDLIB@.
* configure, Makefile.in: Rebuild.

26 years ago From hjl@lucon.org <H.J. Lu>:
Ian Lance Taylor [Tue, 7 Apr 1998 16:44:30 +0000 (16:44 +0000)]
From hjl@lucon.org <H.J. Lu>:
* Makefile.am (diststuff): New target.
* Makefile.in: Rebuild.

26 years ago * archures.c (bfd_default_scan): Add m68k cases back to default
Ian Lance Taylor [Tue, 7 Apr 1998 16:36:34 +0000 (16:36 +0000)]
* archures.c (bfd_default_scan): Add m68k cases back to default
switch, reverting patch of March 25, since IEEE support depends
upon them.

26 years agosce_main.c : Added "return 0;" to the end of main.
Jillian Ye [Tue, 7 Apr 1998 16:34:29 +0000 (16:34 +0000)]
sce_main.c : Added "return 0;" to the end of main.

: ----------------------------------------------------------------------

26 years agosce* : files added for the SCE (feb28) testsuite (modified).
Jillian Ye [Tue, 7 Apr 1998 16:23:41 +0000 (16:23 +0000)]
sce* : files added for the SCE (feb28) testsuite (modified).
       sce*_testN.* corresponds to the original testN/test.*
       *.vuasm    : MICRO code
       *.dvpasm   : DMAtag and VIF code description
       *.out_gif.dat : GIF output values for the corresponding testcase.
sce_main.c : driver file for the SCE testcases
sce_macro.s : SCE provided macro file needed by the SCE (feb28) testcases
refresh.s   : Needed by sce_main.c
Makefile.in : Updated to run make and run the SCE testsuite.

: ----------------------------------------------------------------------

26 years ago * gas/dvp/vif-4.[sd]: New testcase.
Doug Evans [Tue, 7 Apr 1998 03:25:32 +0000 (03:25 +0000)]
* gas/dvp/vif-4.[sd]: New testcase.

26 years ago * config/tc-dvp.c (assemble_vif): 0 is a valid length value (= max+1).
Doug Evans [Tue, 7 Apr 1998 03:22:22 +0000 (03:22 +0000)]
* config/tc-dvp.c (assemble_vif): 0 is a valid length value (= max+1).
(install_vif_length): 0 is a valid length value (= max+1).

26 years ago * dvp-opc.c (vif_macros): Tweak unpackloc operand.
Doug Evans [Tue, 7 Apr 1998 03:20:26 +0000 (03:20 +0000)]
* dvp-opc.c (vif_macros): Tweak unpackloc operand.
(dvp_expand_macro): Implement.
(insert_vif_datalen): Record value with max+1 -> 0 conversion.
(vif_unpack_len): Perform 0 -> max+1 conversion on `wl' value.

26 years ago * dvp.h (dvp_expand_macro): Declare.
Doug Evans [Tue, 7 Apr 1998 00:36:15 +0000 (00:36 +0000)]
* dvp.h (dvp_expand_macro): Declare.
(vif_macros,vif_macro_count): Declare.

26 years ago * dvp-opc.c (vif_macros): Tweak unpackloc operand.
Doug Evans [Tue, 7 Apr 1998 00:19:58 +0000 (00:19 +0000)]
* dvp-opc.c (vif_macros): Tweak unpackloc operand.
(dvp_expand_macro): Implement.

26 years ago * config/tc-dvp.c (assemble_vif): Watch for macro insns.
Doug Evans [Tue, 7 Apr 1998 00:12:27 +0000 (00:12 +0000)]
* config/tc-dvp.c (assemble_vif): Watch for macro insns.

26 years ago * gas/dvp/vif-3.[sd]: New testcase.
Doug Evans [Tue, 7 Apr 1998 00:10:22 +0000 (00:10 +0000)]
* gas/dvp/vif-3.[sd]: New testcase.
* gas/dvp/dvp.exp: Run it.

26 years ago* R5900 COP2 is now ready for testing. Let loose the dogs!
Frank Ch. Eigler [Tue, 7 Apr 1998 00:01:31 +0000 (00:01 +0000)]
* R5900 COP2 is now ready for testing.  Let loose the dogs!

Mon Apr  6 19:55:56 1998  Frank Ch. Eigler  <fche@cygnus.com>

* interp.c (cop_[ls]q): Replaced stub with proper COP2 code.

* sim-main.h (LOADADDRMASK): Redefine to allow 128-bit accesses
  for TARGET_SKY.

* r5900.igen (SQC2): Thinko.

26 years agoc_gen.pl: Added sub-routine perform_test64 to read and verify 64bit register.
Jillian Ye [Mon, 6 Apr 1998 20:49:47 +0000 (20:49 +0000)]
c_gen.pl: Added sub-routine perform_test64 to read and verify 64bit register.

26 years ago * Makefile.am (PROGS): Move $(ADDR2LINE_PROG) to end, so that
Ian Lance Taylor [Mon, 6 Apr 1998 20:25:20 +0000 (20:25 +0000)]
* Makefile.am (PROGS): Move $(ADDR2LINE_PROG) to end, so that
Makefile.in doesn't have an empty continuation line.
(bin_PROGRAMS): Likewise.
* Makefile.in: Rebuild.

26 years ago * Makefile.am (ld.info): Invoke makeinfo with -I options directly
Ian Lance Taylor [Mon, 6 Apr 1998 19:35:06 +0000 (19:35 +0000)]
* Makefile.am (ld.info): Invoke makeinfo with -I options directly
rather than relying on default rule.  Don't depend upon
bfdsumm.texi.
(ld.dvi): Likewise.
(bfdsumm.texi): Remove target.
(CLEANFILES): Take bfdsumm.texi out of value.
* Makefile.in: Rebuild.

26 years agocomment fix
Ian Lance Taylor [Mon, 6 Apr 1998 18:22:46 +0000 (18:22 +0000)]
comment fix

26 years agox
Ian Lance Taylor [Mon, 6 Apr 1998 18:08:43 +0000 (18:08 +0000)]
x

26 years ago * Makefile.am (diststuff): New target.
Ian Lance Taylor [Mon, 6 Apr 1998 18:08:13 +0000 (18:08 +0000)]
* Makefile.am (diststuff): New target.
* Makefile.in: Rebuild.

26 years ago * Makefile.am (STAGESTUFF): Remove variable.
Ian Lance Taylor [Mon, 6 Apr 1998 18:07:58 +0000 (18:07 +0000)]
* Makefile.am (STAGESTUFF): Remove variable.
(CLEANFILES): Don't remove $(STAGESTUFF).
(DISTCLEANFILES, MAINTAINERCLEANFILES): New variables.
* Makefile.in: Rebuild.

26 years agoMon Apr 6 12:06:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 6 Apr 1998 16:07:22 +0000 (16:07 +0000)]
Mon Apr  6 12:06:39 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* config/tc-m68k.c (m68k_ip, case "#B"): Install the offset of the
operand in the opcode.

26 years agoDeclare array using MAX_REGISTER_RAW_SIZE, not REGISTER_RAW_SIZE(X)
Andrew Cagney [Sun, 5 Apr 1998 23:57:44 +0000 (23:57 +0000)]
Declare array using MAX_REGISTER_RAW_SIZE, not REGISTER_RAW_SIZE(X)

26 years ago * som.c (som_bfd_ar_write_symbol_stuff): Fix computation of
Jeff Law [Sun, 5 Apr 1998 22:22:48 +0000 (22:22 +0000)]
    * som.c (som_bfd_ar_write_symbol_stuff): Fix computation of
        som_offset when we have an extended name table.

26 years agoSun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org>
Ian Lance Taylor [Sun, 5 Apr 1998 20:09:39 +0000 (20:09 +0000)]
Sun Apr  5 16:04:39 1998  H.J. Lu  <hjl@gnu.org>

* Makefile.am (stamp-lib): Check that .libs/libopcodes.a exists
before trying to copy it.
* Makefile.in: Rebuild.

26 years agoSun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org>
Ian Lance Taylor [Sun, 5 Apr 1998 20:06:25 +0000 (20:06 +0000)]
Sun Apr  5 16:04:39 1998  H.J. Lu  <hjl@gnu.org>

* Makefile.am (stamp-lib): Check that .libs/libbfd.a exists before
trying to copy it.
* Makefile.in: Rebuild.

26 years ago * scripttempl/pe.sc: Use shell variables to avoid depending upon
Ian Lance Taylor [Sun, 5 Apr 1998 17:08:58 +0000 (17:08 +0000)]
* scripttempl/pe.sc: Use shell variables to avoid depending upon
how $ is handled when expanding a shell substitution.

26 years ago* R5900 COP2 function nearly complete. PKE sim now aware of new GPUIF
Frank Ch. Eigler [Sun, 5 Apr 1998 16:40:03 +0000 (16:40 +0000)]
* R5900 COP2 function nearly complete.  PKE sim now aware of new GPUIF
  masking facility for PATH3 transfers.

[ChangeLog.sky]

Sun Apr  5 12:11:45 1998  Frank Ch. Eigler  <fche@cygnus.com>

* sky-libvpe.c (exec-inst): Added "M" bit detection for upper
  instruction.

* sky-pke.c (pke_check_stall): Added more assertions.
(pke_code_mskpath3): Use new GPUIF M3P control register.

* sky-pke.h (VU[01]_CIA): New macros that give VU CIA
  pseudo-register addresses.

* sky-vu.h (vu_device, VectorUnitState): Merged structs.
(VectorUnitState.mflag): New field.
(VU_REG_{CMSAR0,CMSAR1,FBRST}) Added missing control registers.

* sky-vu.c (vu0_busy): New function.
(vu0_q_busy): New function.
(vu0_macro_issue): New function.
(vu0_micro_interlock_released): New function.
(vu0_busy_in_{micro,macro}_mode): Deleted stubs.
(vu0_macro_hazard_check): Deleted stubs.
(vu_attach): Adapted code to merged device & state struct.
(read_vu_special_reg): Compute VBS0/VBS1 bits in STAT register.

[ChangeLog]
start-sanitize-sky
Sun Apr  5 12:05:44 1998  Frank Ch. Eigler  <fche@cygnus.com>

* interp.c (*): Adapt code to merged VU device & state structs.
(decode_coproc): Execute COP2 each macroinstruction without
  pipelining, by stepping VU to completion state.  Adapted to
read_vu_*_reg style of register access.

* mips.igen ([SL]QC2): Removed these COP2 instructions.

* r5900.igen ([SL]QC2): Transplanted these COP2 instructions here.

* sim-main.h (cop_[ls]q): Enclosed in TARGET_SKY guards.

end-sanitize-sky

26 years ago* Test case patch for more functional GPUIF implementation
Frank Ch. Eigler [Sun, 5 Apr 1998 16:37:04 +0000 (16:37 +0000)]
* Test case patch for more functional GPUIF implementation

Sun Apr  5 12:34:56 1998  Frank Ch. Eigler  <fche@cygnus.com>

* t-pke3.trc: Modified to confirm parts of GPUIF PATH3-masking
  functionality.

26 years agoaclocal.m4: Don't enable inlining when cross-compiling.
Andrew Cagney [Sun, 5 Apr 1998 07:16:54 +0000 (07:16 +0000)]
aclocal.m4: Don't enable inlining when cross-compiling.
mips/*: Tune mips simulator - allow all memory transfer code to be inlined.

26 years ago * infrun.c: Fix prototype of signals_info to match static funtion.
Dawn Perchik [Sat, 4 Apr 1998 18:06:55 +0000 (18:06 +0000)]
    * infrun.c: Fix prototype of signals_info to match static funtion.

26 years agoCleanup INLINE support for simulators using common framework.
Andrew Cagney [Sat, 4 Apr 1998 12:33:11 +0000 (12:33 +0000)]
Cleanup INLINE support for simulators using common framework.
Make IGEN responsible for co-ordinating inlining of generated files.
By default, aclocal.m4 disabled all inlining.

26 years agotweak comment in last entry
Doug Evans [Fri, 3 Apr 1998 20:37:32 +0000 (20:37 +0000)]
tweak comment in last entry

26 years ago * gas/dvp/relax-1.[sd]: New testcase.
Doug Evans [Fri, 3 Apr 1998 20:22:20 +0000 (20:22 +0000)]
* gas/dvp/relax-1.[sd]: New testcase.
* gas/dvp/dvp.exp: Run it.

26 years ago * config/tc-dvp.c (assemble_vif): Put relaxable insns in their
Doug Evans [Fri, 3 Apr 1998 20:15:57 +0000 (20:15 +0000)]
* config/tc-dvp.c (assemble_vif): Put relaxable insns in their
own fragment.

26 years agoc_gen.pl: Added sub-routine process_data_reg64 to handle 64bit register
Jillian Ye [Fri, 3 Apr 1998 19:59:11 +0000 (19:59 +0000)]
c_gen.pl: Added sub-routine process_data_reg64 to handle 64bit register
          writes.

26 years ago * Makefile.am (DISTCLEANFILES): Add site.exp and site.bak.
Ian Lance Taylor [Fri, 3 Apr 1998 19:49:49 +0000 (19:49 +0000)]
* Makefile.am (DISTCLEANFILES): Add site.exp and site.bak.
(MOSTLYCLEANFILES): Add binutils.log, binutils.sum, and abcdefgh*.
(mostlyclean-local): New target.
* Makefile.in: Rebuild.

26 years ago * Makefile.am (MOSTLYCLEANFILES): Add ld.log and ld.sum.
Ian Lance Taylor [Fri, 3 Apr 1998 19:48:22 +0000 (19:48 +0000)]
* Makefile.am (MOSTLYCLEANFILES): Add ld.log and ld.sum.
(DISTCLEANFILES): Add site.exp and site.bak.
* Makefile.in: Rebuild.

26 years agox
Ian Lance Taylor [Fri, 3 Apr 1998 18:32:10 +0000 (18:32 +0000)]
x

26 years ago * configure.in: Put the tdirs in a file and use AC_SUBST_FILE,
Ian Lance Taylor [Fri, 3 Apr 1998 18:30:15 +0000 (18:30 +0000)]
* configure.in: Put the tdirs in a file and use AC_SUBST_FILE,
rather than in a shell variable and using AC_SUBST.
* Makefile.am (DISTCLEANFILES): Remove ldscripts.  Add tdirs.
  (distclean-local): New target.
* configure, Makefile.in: Rebuild.

26 years agotweak
Ian Lance Taylor [Fri, 3 Apr 1998 18:04:12 +0000 (18:04 +0000)]
tweak

26 years agotweak
Ian Lance Taylor [Fri, 3 Apr 1998 17:55:04 +0000 (17:55 +0000)]
tweak

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.