platform/upstream/binutils.git
26 years agoFix compile errors in set_mips_isa_type
John Metzler [Thu, 18 Jun 1998 22:47:43 +0000 (22:47 +0000)]
Fix compile errors in set_mips_isa_type

26 years ago*** empty log message ***
John Metzler [Thu, 18 Jun 1998 21:08:52 +0000 (21:08 +0000)]
*** empty log message ***

26 years agoRework ChangeLog entry to avoid mentioning vr5400 in a r5900 entry.
Jeff Law [Thu, 18 Jun 1998 19:14:20 +0000 (19:14 +0000)]
Rework ChangeLog entry to avoid mentioning vr5400 in a r5900 entry.

26 years agoRemove reference to vr5400 inside a r5900 ChangeLog entry.
Jeff Law [Thu, 18 Jun 1998 19:12:41 +0000 (19:12 +0000)]
Remove reference to vr5400 inside a r5900 ChangeLog entry.

26 years agoThu June 18 14:37:14 1998 Joyce Janczyn <janczyn@cygnus.com>
Joyce Janczyn [Thu, 18 Jun 1998 18:43:11 +0000 (18:43 +0000)]
Thu June 18 14:37:14 1998  Joyce Janczyn  <janczyn@cygnus.com>
* interp.c (sim_open): Fix typo in address of EXTMD register
(0x34000280, not 0x3400280).

26 years ago * mips-dis.c (print_insn_little_mips): Previously, instruction
John Metzler [Thu, 18 Jun 1998 17:30:26 +0000 (17:30 +0000)]
* mips-dis.c (print_insn_little_mips): Previously, instruction
  printing references the symbol table to determine whether the
  instruction resides in a block regular instructions or mips16
  instructions. However, when the disassembler gets used in other
  environments where the symbol table is not present, we no longer
  rely in the symbol table, rather, use the low bit of the
  instructions address to guess. There should be no change for usage
  of the disassembler in host based programse, gdb ,objdump.
(print_insn_big_mips): ditto.
(print_insn_mips): ditto

26 years agotipo
Ian Lance Taylor [Thu, 18 Jun 1998 16:20:45 +0000 (16:20 +0000)]
tipo

26 years ago* Adapt to changed R5900 SQC2 opcode.
Frank Ch. Eigler [Thu, 18 Jun 1998 15:11:28 +0000 (15:11 +0000)]
* Adapt to changed R5900 SQC2 opcode.
Thu Jun 18 17:48:01 1998  Frank Ch. Eigler  <fche@cygnus.com>
* mips.igen (SDC2): Removed R5900 alternative.
* r5900.igen (SQC2): Updated bit pattern to
match changed R5900 specs.

26 years agofix sanitization typo
release [Thu, 18 Jun 1998 07:31:22 +0000 (07:31 +0000)]
fix sanitization typo

26 years agofix sanitization; add t-ldl.s t-ldr.s t-lwl.s t-lwr.s t-sdr.s t-sub.s t-swl.s t-swr.s
release [Thu, 18 Jun 1998 06:52:03 +0000 (06:52 +0000)]
fix sanitization; add t-ldl.s t-ldr.s t-lwl.s t-lwr.s t-sdr.s t-sub.s t-swl.s t-swr.s

26 years agofix sanitization; add ax-gdb.c ax-gdb.h ax-general.c ax.h
release [Thu, 18 Jun 1998 06:27:54 +0000 (06:27 +0000)]
fix sanitization; add ax-gdb.c ax-gdb.h ax-general.c ax.h

26 years agoinstall tracing help files
release [Thu, 18 Jun 1998 02:14:08 +0000 (02:14 +0000)]
install tracing help files

26 years ago * second phase of the --sky-debug, --sky-debug-file stuff
Patrick Macdonald [Thu, 18 Jun 1998 00:28:06 +0000 (00:28 +0000)]
* second phase of the --sky-debug, --sky-debug-file stuff
* only outstanding issue is vu0/vu1 to file (phase 3_

* please see ChangeLog.sky for complete details

26 years ago * gas/mn10300/am33.s: New test.
Jeff Law [Thu, 18 Jun 1998 00:17:18 +0000 (00:17 +0000)]
    * gas/mn10300/am33.s: New test.
        * gas/mn10300/basic.exp: Run it.

26 years ago * config/tc-mn10300.c (r_registers): New register table.
Jeff Law [Thu, 18 Jun 1998 00:12:44 +0000 (00:12 +0000)]
    * config/tc-mn10300.c (r_registers): New register table.
        (r_register_name): New function.
        (md_assemble): Handle new am33 operand types.

26 years ago * simops.c (syscall): Handle change in opcode # for syscall.
Jeff Law [Thu, 18 Jun 1998 00:03:00 +0000 (00:03 +0000)]
    * simops.c (syscall): Handle change in opcode # for syscall.
        * mn10300.igen (syscall): Likewise.

26 years ago * mn10300.h (MN10300_OPERAND_USP): Define.
Jeff Law [Wed, 17 Jun 1998 23:57:33 +0000 (23:57 +0000)]
    * mn10300.h (MN10300_OPERAND_USP): Define.
        (MN10300_OPERAND_SSP, MN10300_OPERAND_MSP): Likewise.
        (MN10300_OPERAND_PC, MN10300_OPERAND_EPSW): Likewise.
        (MN10300_OPERAND_RREG): Likewise.
Snapshot current work.

26 years agostart-sanitize-am33
Jeff Law [Wed, 17 Jun 1998 23:54:25 +0000 (23:54 +0000)]
start-sanitize-am33
        * m10300-opc.c (USP, SSP, MSP, PC, IMM4, EPSW, RN0, RM1): New
        operands for the am33.
        (mn10300_opcodes): Add new instructions from the am33.
end-sanitize-am33
        * m10300-opc.c (mn10300_opcodes): Change opcode for "syscall".

Snapshot current work.

26 years ago * parse.c (target_map_name_to_register): Check target specific
Ron Unrau [Wed, 17 Jun 1998 21:53:20 +0000 (21:53 +0000)]
    * parse.c (target_map_name_to_register): Check target specific
          aliases *first* so that it can over-ride architectural names
* txvu-tdep.c: start to handle backtraces

26 years ago * remote-sds.c (sds_start_remote): Fix printf call.
Said Ziouani [Wed, 17 Jun 1998 21:21:55 +0000 (21:21 +0000)]
* remote-sds.c (sds_start_remote): Fix printf call.

26 years ago * config/tc-mips.c (md_show_usage): Fix -mipsN usage.
Ian Lance Taylor [Wed, 17 Jun 1998 17:07:54 +0000 (17:07 +0000)]
* config/tc-mips.c (md_show_usage): Fix -mipsN usage.

26 years ago * sky-pke.h: PKE_REG_SET_MASK / PKE_MEM_WRITE macros updated
Patrick Macdonald [Wed, 17 Jun 1998 14:54:11 +0000 (14:54 +0000)]
* sky-pke.h: PKE_REG_SET_MASK / PKE_MEM_WRITE macros updated
  to check/open the debug trace file

26 years ago* MIPS test suite changes that allow cross-assemblers to test MIPS dialects
Frank Ch. Eigler [Wed, 17 Jun 1998 11:31:32 +0000 (11:31 +0000)]
* MIPS test suite changes that allow cross-assemblers to test MIPS dialects
  other than their native tongues.
Wed Jun 17 14:02:10 1998  Frank Ch. Eigler  <fche@cygnus.com>
* gas/mips/delay.d: Add -mcpu=NNNN to gas flags to let test case
  run on differently targeted assembler.
* gas/mips/{ld-ilocks-addr32,ld-svr4pic.d}: Ditto.
* gas/mips/{ld-xgot.d,lif-svr4pic.d,lif-xgot.d}: Same.
* gas/mips/{mips16.d,mips4.d,nodelay.d}: Again.
* gas/mips/{trunc.d,uld.d,ulh-xgot.d,usd.d}: And then some.
* gas/mips/ld-ilocks.d: Removed disassembler flags to let target
  defaults go unmodified.  Replaced $f4/$f5 with $fp[45], as the
original `ld.d' had.  Find `ld.s'.
* gas/mips/mul-ilocks.d: Nearly ditto.

26 years agoRe-do sim-inline's handling of external functions and variables so
Andrew Cagney [Wed, 17 Jun 1998 07:42:53 +0000 (07:42 +0000)]
Re-do sim-inline's handling of external functions and variables so
that there really is only one instance of them.

26 years ago * mn10200-tdep.c (mn10200_analyze_prologue): Fix null pointer
Mark Alexander [Tue, 16 Jun 1998 23:36:01 +0000 (23:36 +0000)]
* mn10200-tdep.c (mn10200_analyze_prologue): Fix null pointer
crash when in "start".

26 years ago*** empty log message ***
Jillian Ye [Tue, 16 Jun 1998 22:39:28 +0000 (22:39 +0000)]
*** empty log message ***

26 years ago * support for the --sky-debug, sky-debug-file options
Patrick Macdonald [Tue, 16 Jun 1998 21:02:33 +0000 (21:02 +0000)]
* support for the --sky-debug, sky-debug-file options
* support for the --log, --log-file options
* GIF disassembly
* please view ChangeLog.Sky for details

26 years ago * dbxread.c: reset function_start_offset after a finishing N_FUN
Ron Unrau [Tue, 16 Jun 1998 20:38:10 +0000 (20:38 +0000)]
    * dbxread.c: reset function_start_offset after a finishing N_FUN
          is seen.
        * remote-sim.c: allow TARGET_REDEFINE_DEFAULT_OPS to override
          target vectors as needed.
* txvu-tdep.c: add support for VIF breakpoints.

26 years ago * sky-pke.c(read_pke_pc): return source address of current pc
Ron Unrau [Tue, 16 Jun 1998 20:30:20 +0000 (20:30 +0000)]
    * sky-pke.c(read_pke_pc): return source address of current pc
        * sky-pke.c(read_pke_pcx): return index of current pc
        * sky-pke.h: export read_pke_pcx
        * interp.c(sim_fetch_registers): read pke pc/pcx
        * sky-libvpe.c: track name change from GDB
        * sim-main.h: add vif memory based pc
          - extend gdb comm area for fifo breakpoints
          - define SIM_ENGINE_RESTART_HOOK
        * sky-gdb.c: add support for VIF breakpoints

26 years ago*** empty log message ***
Jillian Ye [Tue, 16 Jun 1998 19:47:31 +0000 (19:47 +0000)]
*** empty log message ***

26 years agoMon Jun 15 13:18:21 1998 Jim Ingham <jingham@cygnus.com>
Jim Ingham [Tue, 16 Jun 1998 19:36:47 +0000 (19:36 +0000)]
Mon Jun 15 13:18:21 1998  Jim Ingham <jingham@cygnus.com>

       * gdbtk.c (gdbtk_init): Add elements to the auto_path AS LIST
       ELEMENTS.  This allows gdbtk to work when installed in a directory
       which has a space in the path.  D. Moseley pointed out the bug.

26 years ago* ECC (tx39) and sky changes.
Frank Ch. Eigler [Tue, 16 Jun 1998 18:13:47 +0000 (18:13 +0000)]
* ECC (tx39) and sky changes.
[ChangeLog]
start-sanitize-tx3904
Tue Jun 16 14:39:00 1998  Frank Ch. Eigler  <fche@cygnus.com>
* dv-tx3904tmr.c: Deschedule timer event after dispatching.
Reduce unnecessarily high timer event frequency.
* dv-tx3904cpu.c: Ditto for interrupt event.
end-sanitize-tx3904
start-sanitize-sky
Tue Jun 16 14:12:09 1998  Frank Ch. Eigler  <fche@cygnus.com>
* interp.c (decode_coproc): Removed COP2 branches.
* r5900.igen: Moved COP2 branch instructions here.
* mips.igen: Restricted COPz == COP2 bit pattern to
exclude COP2 branches.
end-sanitize-sky

26 years agoFix unresolved external error for sky_cpcond0 on non-SKY builds.
James Lemke [Tue, 16 Jun 1998 18:13:46 +0000 (18:13 +0000)]
Fix unresolved external error for sky_cpcond0 on non-SKY builds.

26 years agoTue Jun 16 13:10:51 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 16 Jun 1998 17:11:47 +0000 (17:11 +0000)]
Tue Jun 16 13:10:51 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386-dis.c (index16): Add '%' to register names.  Use ','
instead of '+'.

26 years agoTue Jun 16 13:06:21 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 16 Jun 1998 17:10:17 +0000 (17:10 +0000)]
Tue Jun 16 13:06:21 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all
characters in it as LEX_IS_SYMBOL_COMPONENT.
* config/tc-i386.h (tc_symbol_chars): Define.
(extra_symbol_chars): Declare.
* config/tc-i386.c (extra_symbol_chars): Define.
(comment_chars): Don't use '/' as comment start if TE_LINUX.
(line_comment_chars): Set to '/' if TE_LINUX.
* doc/c-i386.texi (i386-prefixes): Update.
* doc/internals.texi (CPU backend): Document tc_symbol_chars.

26 years ago* sky testsuite fixes
Frank Ch. Eigler [Tue, 16 Jun 1998 16:53:49 +0000 (16:53 +0000)]
* sky testsuite fixes
Tue Jun 16 09:03:37 1998  Frank Ch. Eigler  <fche@cygnus.com>
* t-cop2.s: Reorder instruction blocks to prevent "Out of bounds"
messages during test execution.  Added dummy branch labels for BC2*
  instructions.
* t-cop2.brn: Use --sky-debug option instead of env var.
* t-cop2.vuexpect: Updated for with new disassembly format.
* sky_sce_fast.exp: Don't compare GIF outputs for
  --float-type=fast.
* sce_test{17,33,49}.dvpasm: Use ".DmaPackVif 1" option to
exercise assembler / PKE.
* rw-vureg.c: Cast memcpy operand to allay warning.

26 years agocangelog entries moved here from sim/sky/ChangeLog
Doug Evans [Tue, 16 Jun 1998 16:53:48 +0000 (16:53 +0000)]
cangelog entries moved here from sim/sky/ChangeLog

26 years ago* Implement remaining bits in VPU_STAT, CMSAR0, CMSAR1, FBRST. Fix COP2 interface
Ian Carmichael [Tue, 16 Jun 1998 16:02:04 +0000 (16:02 +0000)]
* Implement remaining bits in VPU_STAT, CMSAR0, CMSAR1, FBRST.  Fix COP2 interface
* to VI registers (CFC2/CTC2).
*
* Modified Files:
*  ChangeLog.sky interp.c sim-main.c sky-pke.h sky-vu.c sky-vu.h

26 years agoTue June 16 09:36:21 1998 Joyce Janczyn <janczyn@cygnus.com>
Joyce Janczyn [Tue, 16 Jun 1998 13:43:34 +0000 (13:43 +0000)]
Tue June 16 09:36:21 1998  Joyce Janczyn  <janczyn@cygnus.com>
* dv-mn103int.c (mn103int_finish): Regular interrupts (not NMI or
reset) are not enabled on reset.

26 years ago* PR 15693 fix.
Frank Ch. Eigler [Tue, 16 Jun 1998 08:30:47 +0000 (08:30 +0000)]
* PR 15693 fix.
Wed Jun 10 18:04:35 1998  Frank Ch. Eigler  <fche@cygnus.com>
* gdbtypes.c (get_discrete_bounds): Assign unsigned type flag for
all-positive enum.
(create_set_type): Ditto for all-positive set values.
* values.c (unpack_field_as_long): Check for typedef in struct
field unpacking.

26 years agoImplement CPCOND0 and insns BC0F/BC0FL/BC0T/BC0TL.
James Lemke [Mon, 15 Jun 1998 17:36:23 +0000 (17:36 +0000)]
Implement CPCOND0 and insns BC0F/BC0FL/BC0T/BC0TL.

26 years agoUpdates to dv-mn103iop.c, dv-mn103ser.c and inter.c
Joyce Janczyn [Sun, 14 Jun 1998 21:19:53 +0000 (21:19 +0000)]
Updates to dv-mn103iop.c, dv-mn103ser.c and inter.c

26 years ago * sky-engine.c: Set ordering of device issues to match enumerated type
Ron Unrau [Sun, 14 Jun 1998 17:01:02 +0000 (17:01 +0000)]
    * sky-engine.c: Set ordering of device issues to match enumerated type
        txvu_cpu_context (sim-main.h tm-txvu.h). This also allowed the issue
        structure to be simplified to an array of functions.

26 years ago*** empty log message ***
Ron Unrau [Sun, 14 Jun 1998 14:49:12 +0000 (14:49 +0000)]
*** empty log message ***

26 years ago * partial-stab.h: 'F' and 'f' type N_FUN psymbols should pass
Ron Unrau [Sun, 14 Jun 1998 14:48:27 +0000 (14:48 +0000)]
    * partial-stab.h: 'F' and 'f' type N_FUN psymbols should pass
          CUR_SYMBOL_VALUE as CORE_ADDR instead of long
        * buildsym.[ch]: export pending_blocks list
* tm-txvu.h: define TARGET_READ_SP and TARGET_WRITE_SP
* txvu-tdep.c: rewrite symtabs to support N_FUN symbols in overlays.
  (Actually, the last version did this for N_SLINE symbols).
  (txvu_read_sp,txvu_write_sp): new

26 years ago * remote.c : Fix remote help string to match that of help.exp.
Dawn Perchik [Sat, 13 Jun 1998 20:06:13 +0000 (20:06 +0000)]
* remote.c : Fix remote help string to match that of help.exp.

26 years agoSat Jun 13 11:33:55 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Sat, 13 Jun 1998 15:38:32 +0000 (15:38 +0000)]
Sat Jun 13 11:33:55 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386-dis.c: Don't print opcode suffix when we can figure out the
size (and gas can!) by register operands, or from the default
size.
(putop): Handle 'A', 'B', 'L', 'P', 'Q', 'R' macros.  Rename 'C'
macro to 'E'.
(dis386, dis386_twobyte, grps): Use new suffix macros.
(dis386): Correct imul Ib to imul sIb.  Change jnl to jge to be
consistent.  Add suffix for call, jmp, lcall, ljmp, iret.  Reverse
order of cmps operands to agree with Intel docs.  Correct operand
of aad and aam (Ib -> sIb).  Change ud2b from 0fb8 to 0fb9 to
agree with Intel docs.
(print_insn_x86): Print orphan fwait before other prefixes.
Return correct byte count for orphan fwait with prefixes.  Don't
print `bound' operands in reverse order.
(ckprefix): Stop accumulating prefixes if we get fwait.
(OP_DIR): Print `$' before Ap operands of ljmp, lcall.

26 years agoSat Jun 13 11:31:35 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Sat, 13 Jun 1998 15:33:23 +0000 (15:33 +0000)]
Sat Jun 13 11:31:35 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386.h (i386_optab): Add general form of aad and aam.  Add ud2a
and ud2b.
(i386_regtab): Allow cr0..7, db0..7, dr0..7, tr0..7, not just
those that happen to be implemented on pentiums.

26 years agoadd d30v sanitization to readelf
Ian Lance Taylor [Sat, 13 Jun 1998 15:15:13 +0000 (15:15 +0000)]
add d30v sanitization to readelf

26 years ago * m32r-sim.h (M32R_MISC_PROFILE): New members insn_cycles, cti_stall,
Doug Evans [Sat, 13 Jun 1998 14:56:28 +0000 (14:56 +0000)]
* m32r-sim.h (M32R_MISC_PROFILE): New members insn_cycles, cti_stall,
load_stall,biggest_cycles.
* m32r.c (m32r_model_mark_get_h_gr): Update.
(m32r_model_init_insn_cycles,m32r_model_update_insn_cycles): New fns.
(m32r_model_record_cti,m32r_model_record_cycles): New functions.
* mloop.in: Call cycle init/update fns.
* model.c: Regenerate.
* m32rx.c (m32rx_model_mark_get_h_gr): Update.
* mloopx.in: Call cycle init/update fns.
* modelx.c: Regenerate.

26 years ago * cgen-trace.c (trace_insn_fini): Redo cycle handling.
Doug Evans [Sat, 13 Jun 1998 14:47:51 +0000 (14:47 +0000)]
* cgen-trace.c (trace_insn_fini): Redo cycle handling.
* sim-profile.h (PROFILE_DATA): Rename cycle handling members.
* sim-profile.c (profile_print_model): Update.

26 years agoemulparams/m32relf.sh: Back out INPUT_FILES change. libgcc1-test fails.
Doug Evans [Sat, 13 Jun 1998 05:38:21 +0000 (05:38 +0000)]
emulparams/m32relf.sh: Back out INPUT_FILES change. libgcc1-test fails.

26 years ago * gennltvals.def (m32r): Use common syscall.h now.
Doug Evans [Sat, 13 Jun 1998 01:39:44 +0000 (01:39 +0000)]
* gennltvals.def (m32r): Use common syscall.h now.
(mn10300): Add entry.
* nltvals.def: Regenerate.

26 years ago * scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec.
Doug Evans [Sat, 13 Jun 1998 00:53:24 +0000 (00:53 +0000)]
* scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec.
* emulparams/m32relf.sh (INPUT_FILES): Define.
(OTHER_RELOCATING_SECTIONS): Change top of stack to 8MB.

26 years agorebuild
Ian Lance Taylor [Fri, 12 Jun 1998 23:41:52 +0000 (23:41 +0000)]
rebuild

26 years ago * Makefile.am (HFILES): Remove config.h.
Ian Lance Taylor [Fri, 12 Jun 1998 23:36:05 +0000 (23:36 +0000)]
* Makefile.am (HFILES): Remove config.h.
(EMULATION_OFILES, POTFILES): Move patch of May 14 from
Makefile.in to Makefile.am.
(earmcoff.c): Depend upon armcoff.em, not generic.em.
* po/Make-in (all-yes): Correct misspelling in $(PACKAGE).
($(srcdir)/$(PACKAGE).pot): Pass -C to $(XGETTEXT).
* Makefile.in, po/POTFILES.in, po/ld.pot: Rebuild.

26 years agorebuild
Ian Lance Taylor [Fri, 12 Jun 1998 23:13:41 +0000 (23:13 +0000)]
rebuild

26 years ago * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
Tom Tromey [Fri, 12 Jun 1998 22:39:34 +0000 (22:39 +0000)]
    * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
        ($(PACKAGE).pot): Unconditionally depend on POTFILES.

26 years ago * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
Tom Tromey [Fri, 12 Jun 1998 22:32:29 +0000 (22:32 +0000)]
    * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
        ($(PACKAGE).pot): Unconditionally depend on POTFILES.

26 years ago * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
Tom Tromey [Fri, 12 Jun 1998 22:25:09 +0000 (22:25 +0000)]
    * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
        ($(PACKAGE).pot): Unconditionally depend on POTFILES.

26 years agoFri Jun 12 14:22:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Fri, 12 Jun 1998 21:23:44 +0000 (21:23 +0000)]
Fri Jun 12 14:22:55 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * configure.in (LIBS): Add -lw to the list of libraries if needed.

-lw needed on Solaris to get wctype().  wctype() needed by new gnu-regex.c.

26 years agoFri Jun 12 14:03:34 1998 Syd Polk <spolk@cygnus.com>
Syd Polk [Fri, 12 Jun 1998 21:04:33 +0000 (21:04 +0000)]
Fri Jun 12 14:03:34 1998  Syd Polk  <spolk@cygnus.com>

* Makefile.in: all-snavigator needs all-libgui.

26 years agoMake sure .gcc_except_table fits in the section header table
Michael Meissner [Fri, 12 Jun 1998 21:00:00 +0000 (21:00 +0000)]
Make sure .gcc_except_table fits in the section header table

26 years agoAdd PowerPC support to readelf; Print machine specific flags; Print endianess; Make...
Michael Meissner [Fri, 12 Jun 1998 20:50:03 +0000 (20:50 +0000)]
Add PowerPC support to readelf; Print machine specific flags; Print endianess; Make widening more portable

26 years agoFri June 12 16:24:00 1998 Joyce Janczyn <janczyn@cygnus.com>
Joyce Janczyn [Fri, 12 Jun 1998 20:46:23 +0000 (20:46 +0000)]
Fri June 12 16:24:00 1998  Joyce Janczyn  <janczyn@cygnus.com>
* dv-mn103iop.c: New file for handling am32 io ports.
* configure.in: Add mn103iop to hw_device list.
* configure: Re-generate.
* interp.c (sim_open): Create io port device.

26 years ago * elf.c (swap_out_syms): New arg relocatable_p.
Doug Evans [Fri, 12 Jun 1998 20:37:40 +0000 (20:37 +0000)]
* elf.c (swap_out_syms): New arg relocatable_p.
Don't add section VMA to symbols for relocatable output.
(_bfd_elf_compute_section_file_positions): Update call to
swap_out_syms.

26 years agoAdd dv-mn103iop.
Joyce Janczyn [Fri, 12 Jun 1998 20:15:43 +0000 (20:15 +0000)]
Add dv-mn103iop.

26 years ago * sim-engine.c (sim_engine_get_run_state): New function.
Doug Evans [Fri, 12 Jun 1998 20:08:50 +0000 (20:08 +0000)]
* sim-engine.c (sim_engine_get_run_state): New function.
* sim-engine.h (sim_engine_get_run_state): Declare it.

26 years agoNew file for handling mn1030002 io ports.
Joyce Janczyn [Fri, 12 Jun 1998 20:07:33 +0000 (20:07 +0000)]
New file for handling mn1030002 io ports.

26 years agoAdd dv-mn103iop.c to list of files to sanitize out.
Joyce Janczyn [Fri, 12 Jun 1998 20:05:08 +0000 (20:05 +0000)]
Add dv-mn103iop.c to list of files to sanitize out.

26 years agoPR15067
Vladimir Makarov [Fri, 12 Jun 1998 19:54:28 +0000 (19:54 +0000)]
PR15067

26 years ago * config/tc-dvp.c (create_vuoverlay_section): Don't set a non-zero
Doug Evans [Fri, 12 Jun 1998 19:49:54 +0000 (19:49 +0000)]
* config/tc-dvp.c (create_vuoverlay_section): Don't set a non-zero
section vma.

26 years agoPR15067
Vladimir Makarov [Fri, 12 Jun 1998 19:42:17 +0000 (19:42 +0000)]
PR15067

26 years ago * interp.c: added call to sky_command_options_end() to close
Patrick Macdonald [Fri, 12 Jun 1998 18:58:26 +0000 (18:58 +0000)]
* interp.c: added call to sky_command_options_end() to close
any open file handles before exiting
* sky-gpuif.[c|h]: add disassembly on the fly code, log and log
file option support
* sky-gdb.[c|h] (sky_command_options_close()): new function, added
some body to the log and log file option sections

26 years agoFri Jun 12 11:04:06 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Fri, 12 Jun 1998 15:13:28 +0000 (15:13 +0000)]
Fri Jun 12 11:04:06 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

Fix problems when bfd_vma is wider than long.
* i386-dis.c: Make op_address and start_pc unsigned.
(set_op): Make parameter unsigned.
(print_insn_x86): Cast to bfd_vma when passing a value to
print_address_func.
* ns32k-dis.c (CORE_ADDR): Don't define.
  (print_insn_ns32k): Change type of addr to bfd_vma.  Use
bfd_scan_vma to read back address.
(print_insn_arg): Change type of addr to bfd_vma.  Use sprintf_vma
to format it.
* m68k-dis.c (COERCE32): Cast to bfd_signed_vma to avoid overflow.
(NEXTULONG): New definition.
(print_insn_m68k): Avoid overflow when computing third argument of
print_insn_arg.
(print_insn_arg): Use NEXTULONG to fetch 32 bit address values.
Use disp instead of val to store offset values.
(print_indexed): Use base_disp instead of word to store base
displacement, to avoid overflow.
* m10300-dis.c (disassemble): Cast value to long when computing
pc-relative address, to get correct sign extension.

26 years ago * Makefile.in (stamp-{arch,cpu,decode}): Pass CGEN_FLAGS_TO_PASS
Doug Evans [Fri, 12 Jun 1998 06:40:41 +0000 (06:40 +0000)]
* Makefile.in (stamp-{arch,cpu,decode}): Pass CGEN_FLAGS_TO_PASS
to recursive makes.
(stamp-{xcpu,xdecode}): Ditto.

26 years ago * configure.in: Add cygmon and libstub support for mn10300.
Mark Alexander [Fri, 12 Jun 1998 02:47:09 +0000 (02:47 +0000)]
* configure.in: Add cygmon and libstub support for mn10300.

26 years ago * lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
Doug Evans [Fri, 12 Jun 1998 01:08:57 +0000 (01:08 +0000)]
* lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
which is now a list of options controlling the behaviour of sim_run.
* sim/sky/sky-defs.tcl (run_trc_test): Update to new way of
environment variables to sim_run.

26 years ago * lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
Doug Evans [Fri, 12 Jun 1998 01:08:26 +0000 (01:08 +0000)]
* lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
which is now a list of options controlling the behaviour of sim_run.

26 years agoFix sunOS build of readelf.
Nick Clifton [Fri, 12 Jun 1998 00:56:39 +0000 (00:56 +0000)]
Fix sunOS build of readelf.
Fixed -Wall warnigs when built under Linux.

26 years agoAdjust tests and results after applying patch for PR12542
Nick Clifton [Thu, 11 Jun 1998 23:52:11 +0000 (23:52 +0000)]
Adjust tests and results after applying patch for PR12542

26 years agoFix for PR12542 - if check_range is passed a constant for a shifted operand,
Nick Clifton [Thu, 11 Jun 1998 23:51:16 +0000 (23:51 +0000)]
Fix for PR12542 - if check_range is passed a constant for a shifted operand,
shift the constant first.

26 years agoFix for PR11938 - display suitable error messages for bogus .byte, .short and .quad...
Nick Clifton [Thu, 11 Jun 1998 22:58:05 +0000 (22:58 +0000)]
Fix for PR11938 - display suitable error messages for bogus .byte, .short and .quad directives.

26 years ago * sim/sky/sky-defs.tcl (run_brn_test): Fix handling of dvpasm_flags.
Doug Evans [Thu, 11 Jun 1998 22:52:40 +0000 (22:52 +0000)]
* sim/sky/sky-defs.tcl (run_brn_test): Fix handling of dvpasm_flags.

26 years ago * sim/sky/sky-defs.tcl (run_brn_test): Fix `options' arg to
Doug Evans [Thu, 11 Jun 1998 22:50:51 +0000 (22:50 +0000)]
* sim/sky/sky-defs.tcl (run_brn_test): Fix `options' arg to
sim_compile.

26 years ago(sim_compile): Tweak output text.
Doug Evans [Thu, 11 Jun 1998 22:49:25 +0000 (22:49 +0000)]
(sim_compile): Tweak output text.

26 years ago * stabs.c (struct stab_handle): Add self_crossref field.
Ian Lance Taylor [Thu, 11 Jun 1998 22:45:08 +0000 (22:45 +0000)]
* stabs.c (struct stab_handle): Add self_crossref field.
(parse_stab_string): If a tag is a cross reference to itself,
don't define it in the tags list.
(parse_stab_type): Set info->self_crossref.

* debug.c (struct debug_type_real_list): Define.
(debug_get_real_type): Add list parameter.  Change all callers.
Check for circularity to avoid crashing when it occurs.

26 years agoOoops - forgopt to check this in with the previous delta!
Nick Clifton [Thu, 11 Jun 1998 22:32:44 +0000 (22:32 +0000)]
Ooops - forgopt to check this in with the previous delta!

26 years ago * sim/sky/vu.h (VU0_MEM1_WINDOW_START): New macro.
Doug Evans [Thu, 11 Jun 1998 22:28:03 +0000 (22:28 +0000)]
* sim/sky/vu.h (VU0_MEM1_WINDOW_START): New macro.
(VU0_MEM1_SIZE): New macro.

26 years ago * sim/sky/vu01reg-main.c: New file.
Doug Evans [Thu, 11 Jun 1998 22:27:01 +0000 (22:27 +0000)]
* sim/sky/vu01reg-main.c: New file.
* sim/sky/vu01reg.dvpasm: New file.
* sim/sky/vu01reg.brn: New file.

26 years agoThu Jun 11 15:05:10 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Thu, 11 Jun 1998 22:08:46 +0000 (22:08 +0000)]
Thu Jun 11 15:05:10 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * btowc.c: Removed.
        * configure.in: Don't see if we need to replace btowc().
        * Makefile.in: Don't include LIBOBJS.
        * configure: Regenerated.
        * gnu-regex.c (regex_compile): Only support i18n [:foo:] if
        we have btowc().

26 years agoAdd 'readelf' to binutils.
Nick Clifton [Thu, 11 Jun 1998 21:51:56 +0000 (21:51 +0000)]
Add 'readelf' to binutils.

26 years agoAdd more checks for NULL pointers.
Nick Clifton [Thu, 11 Jun 1998 16:14:19 +0000 (16:14 +0000)]
Add more checks for NULL pointers.

26 years agoFix for PR 16143 - set SEC_COMMON bit on .scommon, .zcommon and .tcommon sections.
Nick Clifton [Thu, 11 Jun 1998 15:58:53 +0000 (15:58 +0000)]
Fix for PR 16143 - set SEC_COMMON bit on .scommon, .zcommon and .tcommon sections.

26 years ago* Moving some sky-specific ChangeLog entries into ChangeLog.sky
Frank Ch. Eigler [Thu, 11 Jun 1998 13:50:28 +0000 (13:50 +0000)]
* Moving some sky-specific ChangeLog entries into ChangeLog.sky

26 years ago * sim-core.h (SIM_CORE_SIGNAL_FN): New typedef.
Doug Evans [Thu, 11 Jun 1998 07:55:29 +0000 (07:55 +0000)]
* sim-core.h (SIM_CORE_SIGNAL_FN): New typedef.
* sim-core.c (sim_core_signal): Make extern, always define.

26 years agoRegenerate, gets a_m32r_trap -> m32r_trap renaming.
Doug Evans [Thu, 11 Jun 1998 01:19:28 +0000 (01:19 +0000)]
Regenerate, gets a_m32r_trap -> m32r_trap renaming.

26 years ago * m32r-sim.h (m32r_trap): Declare.
Doug Evans [Thu, 11 Jun 1998 01:18:13 +0000 (01:18 +0000)]
* m32r-sim.h (m32r_trap): Declare.

26 years ago * Makefile.in (SIM_OBJS): Add traps.o
Doug Evans [Thu, 11 Jun 1998 01:06:05 +0000 (01:06 +0000)]
* Makefile.in (SIM_OBJS): Add traps.o

26 years ago * traps.c: New file. Trap support moved here from sim-if.c.
Doug Evans [Thu, 11 Jun 1998 01:05:21 +0000 (01:05 +0000)]
* traps.c: New file.  Trap support moved here from sim-if.c.
* Makefile.in (SIM_OBJS): Add traps.o
* sim-if.c: Don't include targ-vals.h.
(sim_engine_illegal_insn): Moved to traps.c
* sim-main.h (SIM_CORE_SIGNAL): Define.
(m32r_core_signal): Declare.

* devices.c (device_io_read_buffer): Handle cache purging via MCCR
register.

* m32r-sim.h (M32R_MISC_PROFILE): Move here from sim-main.h.
(PROFILE_COUNT_SHORTINSNS,PROFILE_COUNT_LONGINSNS): New macros.
(TRAP_SYSCALL,TRAP_BREAKPOINT): New macros.