external/binutils.git
26 years agoadd acinclude.m4 to things-to-lose
Ian Lance Taylor [Sat, 30 May 1998 19:36:31 +0000 (19:36 +0000)]
add acinclude.m4 to things-to-lose

26 years ago * config/tc-a29k.h (WORKING_DOT_WORD): Define.
Ian Lance Taylor [Fri, 29 May 1998 22:25:56 +0000 (22:25 +0000)]
* config/tc-a29k.h (WORKING_DOT_WORD): Define.
* config/tc-alpha.h (WORKING_DOT_WORD): Define.
* config/tc-arm.h (WORKING_DOT_WORD): Define.
* config/tc-h8300.h (WORKING_DOT_WORD): Define.
* config/tc-h8500.h (WORKING_DOT_WORD): Define.
* config/tc-hppa.h (WORKING_DOT_WORD): Define.
* config/tc-i860.h (WORKING_DOT_WORD): Define.
* config/tc-i960.h (WORKING_DOT_WORD): Define.
* config/tc-tic30.h (WORKING_DOT_WORD): Define.
* config/tc-w65.h (WORKING_DOT_WORD): Define.
* config/tc-z8k.h (WORKING_DOT_WORD): Define.
* config/tc-a29k.c: Don't define md_short_jump_size,
  md_long_jump_size, md_create_short_jump or md_create_long_jump.
* config/tc-alpha.c: Likewise.
* config/tc-alpha.h: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-h8300.c: Likewise.
* config/tc-h8500.c: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-i860.c: Likewise.
* config/tc-i960.c: Likewise.
* config/tc-ppc.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-z8k.c: Likewise.

26 years agotipo
Ian Lance Taylor [Fri, 29 May 1998 21:37:44 +0000 (21:37 +0000)]
tipo

26 years ago * symbols.c (symbol_find_base): Fix case insensitive symbol name
Ian Lance Taylor [Fri, 29 May 1998 21:22:00 +0000 (21:22 +0000)]
* symbols.c (symbol_find_base): Fix case insensitive symbol name
code.  From Chris Moller <moller@bops.com>.

26 years agoFri May 29 16:03:26 1998 Pat Rankin <rankin@eql.caltech.edu>
Ian Lance Taylor [Fri, 29 May 1998 20:08:25 +0000 (20:08 +0000)]
Fri May 29 16:03:26 1998  Pat Rankin  <rankin@eql.caltech.edu>

* config/tc-vax.c (_): Delete this macro used for placeholder
values in vax_operand_width_size; it conflicts with the _() macro
used for internationalization.

26 years ago Based on patch from Klaus Kaempf <kkaempf@progis.de>:
Ian Lance Taylor [Fri, 29 May 1998 19:59:55 +0000 (19:59 +0000)]
Based on patch from Klaus Kaempf <kkaempf@progis.de>:
* struc-symbol.h (struct broken_word): Add seg and subseg fields.
* read.c (emit_expr): Initialize seg and subseg fields of a new
broken word.
* write.c (write_object_file): Switch to the appropriate segment
and subsegment when processing a broken word.

26 years ago * gas/mips/mips.exp: Adjust ilocks initialization to match current
Ian Lance Taylor [Fri, 29 May 1998 19:27:54 +0000 (19:27 +0000)]
* gas/mips/mips.exp: Adjust ilocks initialization to match current
assembler defaults more closely.

26 years ago * ld-srec/srec.exp: Add xfails for powerpc*-*-eabi.
Ian Lance Taylor [Fri, 29 May 1998 19:04:42 +0000 (19:04 +0000)]
* ld-srec/srec.exp: Add xfails for powerpc*-*-eabi.
  (run_srec_test): On mn10200, define __truncsipsi2_do_d2.
* ld-srec/sr1.c (__main): Change return type to void.
* ld-srec/sr3.cc (__main): Likewise.
(__builtin_delete, __builtin_new): Likewise.
(__get_dynamic_handler_chain): Return 0.
(__get_eh_context): Likewise.

26 years ago * config/tc-m68k.c (mri_assemble): New static function.
Ian Lance Taylor [Fri, 29 May 1998 17:48:03 +0000 (17:48 +0000)]
* config/tc-m68k.c (mri_assemble): New static function.
(build_mri_control_operand): Call mri_assemble rather than
md_assemble.
(s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
(s_mri_endf, s_mri_endw): Likewise.

26 years agoPartial fix for PR 15929 - Change physical address of segment when its
Nick Clifton [Fri, 29 May 1998 17:00:08 +0000 (17:00 +0000)]
Partial fix for PR 15929 - Change physical address of segment when its
sections' LMAs have changed.

26 years ago * gas/sh/fp.s: Remove ftst/nan. The assembler no longer supports
Ian Lance Taylor [Fri, 29 May 1998 16:12:31 +0000 (16:12 +0000)]
* gas/sh/fp.s: Remove ftst/nan.  The assembler no longer supports
the instruction.
* gas/sh/basic.exp: Adjust accordingly.

26 years agoMatch mips*tx39 not mipst*tx39.
Andrew Cagney [Fri, 29 May 1998 01:42:20 +0000 (01:42 +0000)]
Match mips*tx39 not mipst*tx39.

26 years ago * main.c (main): Check for NULL from getenv on CYGWIN32.
Keith Seitz [Fri, 29 May 1998 01:20:46 +0000 (01:20 +0000)]
    * main.c (main): Check for NULL from getenv on CYGWIN32.

        * gdbtk.c (_initialize_gdbtk): Get rid of the console. Patch from
        Chris Faylor (cgf@cygnus.com).

        * configure.in: Link cygwin32 with subsystem console.

        * configure: Regenerated

26 years agomore attempts to handle `*' as mpg address
Doug Evans [Fri, 29 May 1998 01:08:08 +0000 (01:08 +0000)]
more attempts to handle `*' as mpg address

26 years agotweak last entry
Doug Evans [Fri, 29 May 1998 01:06:37 +0000 (01:06 +0000)]
tweak last entry

26 years agoresolve mpgloc_sym in `*' case
Doug Evans [Fri, 29 May 1998 00:39:03 +0000 (00:39 +0000)]
resolve mpgloc_sym in `*' case

26 years ago * config/tc-dvp.h (ELF_TC_SPECIAL_SECTIONS): Add .vuoverlay_table.
Doug Evans [Thu, 28 May 1998 23:29:19 +0000 (23:29 +0000)]
* config/tc-dvp.h (ELF_TC_SPECIAL_SECTIONS): Add .vuoverlay_table.
(dvp_frob_file): Declare.
(tc_frob_file): Define.
(VUOVERLAY_SECTION_PREFIX,VUOVERLAY_TABLE_SECTION_NAME): New macros.
* config/tc-dvp.c (VUOVERLAY_START_PREFIX): New macro.
(vuoverlay_section_name,create_vuoverlay_section): New functions.
(vuoverlay_section,vuoverlay_table_section): New static globals.
(ovlysym_table): New static global.
(md_begin): Create .vuoverlay_table section.
(assemble_vif): Call create_vuoverlay_section for each mpg.
(dvp_frob_label): Record vu labels in ovlysym_table for later
movement from absolute section to their overlay section.
(dvp_frob_file): New function.
(md_apply_fix3): For 8/16/32/64 bit relocs, only process if fx_done.

26 years ago * config/tc-dvp.c (assemble_one_insn): Parse suffix operands
Doug Evans [Thu, 28 May 1998 23:23:14 +0000 (23:23 +0000)]
* config/tc-dvp.c (assemble_one_insn): Parse suffix operands
even when missing in input string.
Forgot to check ChangeLog entry in.

26 years ago * mips-tdep.c (mips_push_dummy_frame): Fix calculation of
Peter Schauer [Thu, 28 May 1998 07:30:33 +0000 (07:30 +0000)]
* mips-tdep.c (mips_push_dummy_frame):  Fix calculation of
PROC_REG_OFFSET and PROC_FREG_OFFSET.

26 years agoadd vr4111 as a sanitization tag to get rid of vr4111 and vr4102 mentions.
Jason Molenda [Wed, 27 May 1998 19:34:49 +0000 (19:34 +0000)]
add vr4111 as a sanitization tag to get rid of vr4111 and vr4102 mentions.

26 years agoAdded BFD_RELOC_SPARC_32LE and bfd_mach_sparc_sparclite_le.
Stan Cox [Wed, 27 May 1998 15:41:27 +0000 (15:41 +0000)]
Added BFD_RELOC_SPARC_32LE and bfd_mach_sparc_sparclite_le.

26 years ago * config/tc-sparc.c (md_show_usage): Add \n\ to new string.
Ian Lance Taylor [Wed, 27 May 1998 15:17:07 +0000 (15:17 +0000)]
* config/tc-sparc.c (md_show_usage): Add \n\ to new string.

26 years agoStop GDB getting confused over r29 and FP. print $r29 and info
Andrew Cagney [Wed, 27 May 1998 14:13:32 +0000 (14:13 +0000)]
Stop GDB getting confused over r29 and FP.  print $r29 and info
registers r29 gave different values.

26 years agosparclite 86x big endian instruction / little endian data support.
Stan Cox [Wed, 27 May 1998 01:06:20 +0000 (01:06 +0000)]
sparclite 86x big endian instruction / little endian data support.

26 years agosparclite 86x big endian instruction / little endian data support.
Stan Cox [Wed, 27 May 1998 00:51:33 +0000 (00:51 +0000)]
sparclite 86x big endian instruction / little endian data support.

26 years agoFix PR15984 - Add flags to various opcodes
Nick Clifton [Tue, 26 May 1998 23:53:12 +0000 (23:53 +0000)]
Fix PR15984 - Add flags to various opcodes

26 years agoFix Pr15998 - Make SHORT_B3(b) formats examin but not modify their first register...
Nick Clifton [Tue, 26 May 1998 23:15:23 +0000 (23:15 +0000)]
Fix Pr15998 - Make SHORT_B3(b) formats examin but not modify their first register argument.

26 years ago * Makefile.in (distclean): Remove config.log.
Ian Lance Taylor [Tue, 26 May 1998 22:29:54 +0000 (22:29 +0000)]
* Makefile.in (distclean): Remove config.log.

26 years agoAdd sanitize tags around VR4320 mentions.
Jason Molenda [Tue, 26 May 1998 20:10:59 +0000 (20:10 +0000)]
Add sanitize tags around VR4320 mentions.

26 years agoadd nec4102rom.c to things-to-keep (asklarof sez that the 4102 is a
Jason Molenda [Tue, 26 May 1998 18:11:55 +0000 (18:11 +0000)]
add nec4102rom.c to things-to-keep (asklarof sez that the 4102 is a
variant of the VR4100 and does not need to be sanitized.)

26 years ago * remote.c (remote_open_1): If an error occurs starting the remote, pop the
Keith Seitz [Mon, 25 May 1998 20:34:48 +0000 (20:34 +0000)]
    * remote.c (remote_open_1): If an error occurs starting the remote, pop the
        target AND return.

26 years agoPull in preliminary versions of hw instances and handles from ../ppc
Andrew Cagney [Mon, 25 May 1998 11:33:28 +0000 (11:33 +0000)]
Pull in preliminary versions of hw instances and handles from ../ppc

26 years agoMake hw-main.h the main header file for H/W devices. Like sim-main.h
Andrew Cagney [Mon, 25 May 1998 11:06:29 +0000 (11:06 +0000)]
Make hw-main.h the main header file for H/W devices.  Like sim-main.h
Update dv-*.c
Replace *_callback with more correct. *_method. Update dv-*.c

26 years agoAdd files hw-alloc.[hc] (mising from last CI)
Andrew Cagney [Mon, 25 May 1998 08:50:22 +0000 (08:50 +0000)]
Add files hw-alloc.[hc] (mising from last CI)
Move set_* macro's from hw-base to hw-device.

26 years agoInitialize/destory hw-properties within the hw-device.
Andrew Cagney [Mon, 25 May 1998 08:29:05 +0000 (08:29 +0000)]
Initialize/destory hw-properties within the hw-device.

26 years agoSplit out hw-alloc code. Add constructor and destructor for hw-alloc.
Andrew Cagney [Mon, 25 May 1998 08:18:03 +0000 (08:18 +0000)]
Split out hw-alloc code.  Add constructor and destructor for hw-alloc.

26 years agoSplit out hw-event code. Clean up interface. Update all users.
Andrew Cagney [Mon, 25 May 1998 07:37:30 +0000 (07:37 +0000)]
Split out hw-event code.  Clean up interface.  Update all users.

26 years agoClean up create/delete of hw-ports
Andrew Cagney [Mon, 25 May 1998 07:08:48 +0000 (07:08 +0000)]
Clean up create/delete of hw-ports

26 years ago* hw-device.c (hw_ioctl), hw-device.h (hw_ioctl_callback): Drop
Andrew Cagney [Mon, 25 May 1998 06:44:39 +0000 (06:44 +0000)]
* hw-device.c (hw_ioctl), hw-device.h (hw_ioctl_callback): Drop
PROCESSOR and CIA arguments.

26 years agoDe-sanitize simulator hw.
Andrew Cagney [Mon, 25 May 1998 06:20:43 +0000 (06:20 +0000)]
De-sanitize simulator hw.

26 years agoFix mips SWL on 64bit ISA when 32 bit word appears in second half of
Andrew Cagney [Mon, 25 May 1998 05:48:34 +0000 (05:48 +0000)]
Fix mips SWL on 64bit ISA when 32 bit word appears in second half of
64 bit bus.
Test.

26 years ago * ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 so
Keith Seitz [Sun, 24 May 1998 21:05:12 +0000 (21:05 +0000)]
    * ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 so
that
        we can use this member to track real timeouts.
        (hardwire_readchar): Modify for cygwin32 so that we only ever use a real
        system timeout of one second. Track the "real" timeout as a series of th
ese
        one second timeouts.
        Call ui_loop_hook to keep the gui alive.

        * top.c: Define new hook for cygwin32, "ui_loop_hook".

        * gdbtk.c (gdbtk_init): Add ui_loop_hook for CygWin32 to work around
        update problems.

26 years ago * Initial support for "sim list vif[01]"
Ron Unrau [Sun, 24 May 1998 13:06:09 +0000 (13:06 +0000)]
* Initial support for "sim list vif[01]"

26 years ago * dwarf2read.c (read_subroutine_type): Set TYPE_FLAG_PROTOTYPED
Peter Schauer [Sat, 23 May 1998 09:31:41 +0000 (09:31 +0000)]
* dwarf2read.c (read_subroutine_type):  Set TYPE_FLAG_PROTOTYPED
on C++ functions.
* valops.c (value_arg_coerce):  Add new argument to indicate whether
the function has a prototype, handle integer and float promotions
accordingly.
        (call_function_by_hand):  Always call value_arg_coerce, pass down
prototype information.

26 years ago * cgen-asm.in (insert_normal): Handle empty fields and 64 bit hosts.
Doug Evans [Fri, 22 May 1998 23:03:45 +0000 (23:03 +0000)]
* cgen-asm.in (insert_normal): Handle empty fields and 64 bit hosts.
* cgen-dis.in (extract_normal): Likewise.
* m32r-asm.c,m32r-dis.c: Regenerate.

26 years ago * cgen-asm.in (insert_normal): Handle empty fields and 64 bit hosts.
Doug Evans [Fri, 22 May 1998 23:02:40 +0000 (23:02 +0000)]
* cgen-asm.in (insert_normal): Handle empty fields and 64 bit hosts.
* cgen-dis.in (extract_normal): Likewise.

26 years ago * gas/m32r/allinsn.d: Handle 64 bit bfd_vma.
Doug Evans [Fri, 22 May 1998 22:58:08 +0000 (22:58 +0000)]
* gas/m32r/allinsn.d: Handle 64 bit bfd_vma.
* gas/m32r/uppercase.d: Likewise.
* gas/m32r/m32rx.d: Likewise.

26 years ago * dvp-opc.c (parse_dotdest): Missing dest -> xyzw.
Doug Evans [Fri, 22 May 1998 18:45:19 +0000 (18:45 +0000)]
* dvp-opc.c (parse_dotdest): Missing dest -> xyzw.

26 years agoReformat for consistency.
Jason Molenda [Fri, 22 May 1998 18:07:40 +0000 (18:07 +0000)]
Reformat for consistency.

26 years ago * remote.c (_initialize_remote): Typo extended__remote
John Metzler [Fri, 22 May 1998 17:59:05 +0000 (17:59 +0000)]
* remote.c (_initialize_remote): Typo extended__remote

26 years agoOnly enable H/W on some mips targets.
Andrew Cagney [Fri, 22 May 1998 05:23:04 +0000 (05:23 +0000)]
Only enable H/W on some mips targets.
Move common hw-obj to Make-common
Pacify GCC

26 years agoSanity clause
Andrew Cagney [Fri, 22 May 1998 02:08:26 +0000 (02:08 +0000)]
Sanity clause

26 years agoBack out of hw-main _callback -> _descriptor changes
Andrew Cagney [Fri, 22 May 1998 01:12:06 +0000 (01:12 +0000)]
Back out of hw-main _callback -> _descriptor changes

26 years agoFix operator precedence in if() statement.
Nick Clifton [Thu, 21 May 1998 23:59:59 +0000 (23:59 +0000)]
Fix operator precedence in if() statement.

26 years ago * gas/dvp/upper-2.[sd]: Test absent dest -> xyzw.
Doug Evans [Thu, 21 May 1998 22:16:04 +0000 (22:16 +0000)]
* gas/dvp/upper-2.[sd]: Test absent dest -> xyzw.

26 years agoFixes to allow testsuite to pass (modulo problems with cofftag).
Nick Clifton [Thu, 21 May 1998 22:04:56 +0000 (22:04 +0000)]
Fixes to allow testsuite to pass (modulo problems with cofftag).

26 years agoThu May 21 13:14:25 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Thu, 21 May 1998 20:20:39 +0000 (20:20 +0000)]
Thu May 21 13:14:25 1998  John Metzler  <jmetzler@cygnus.com>
* gnu-nat.c (init_gnu_ops): Initialization of target ops by assignment.
(_initialize_gnu_nat):      Call new init
* mac-nat.c (init_child_ops):          Ditto
(_initialize_mac_nat):                 Ditto
* monitor.c (init_base_monitor_ops):   Ditto
(_initialize_remote_monitors) :        Ditto
* ppc-bdm.c (init_bdm_ppc_ops):        Ditto
(_initialize_bdm_ppc):                 Ditto
* remote-adapt.c ( init_adapt_ops):    Ditto
(_initialize_remote_adapt):            Ditto
* remote-array.c (init_array_ops) :    Ditto
(_initialize_array):                   Ditto
* remote-bug (init_bug_ops) :          Ditto
(_initialize_remote_bug):              Ditto
* remote-e7000.c (init_e7000_ops):     Ditto
(_initialize_remote_e7000) :           Ditto
* remote-eb.c (init_eb_ops) :          Ditto
(_initialize_remote_eb) :              Ditto
*remote-es.c (init_es1800_ops) :       Ditto
(init_es1800_child_ops) :              Ditto
(_initialize_es1800) ;                 Ditto
*remote-hms.c (init_hms_ops):          Ditto
(_initialize_remote_hms) :             Ditto
* remote-mm.c (init_mm_ops):           Ditto
(_initialize_remote_mm) :              Ditto
* remote-nindy.c (init_nindy_ops):     Ditto
(_initialize_nindy):                   Ditto
* remote_nrom.c (init_nrom_ops) :      Ditto
(_initialize_remote_nrom) :            Ditto
*remote-os9k (init_rombug_ops) :       Ditto
(_initialize_remote_os9k) :            Ditto
*remote-rdi.c (init_rdi_ops) :         Ditto
(_initialize_remote_rdi) :             Ditto
* remote-rdp.c (init_remote_rdp_ops) : Ditto
(_initialize_remote_rdp) :             Ditto
* remote-sds.c (init_sds_ops) :        Ditto
(_initialize_remote_sds) :             Ditto
* remote-sim.c (init_gdbsim_ops) :     Ditto
(_initialize_remote_sim) :             Ditto
* remote-st.c (init_st2000_ops):       Ditto
(_initialize_remote_st2000):           Ditto
*remote-udi.c (init_udi_ops) :         Ditto
(_initialize_remote_udi) :             Ditto
* remote-vx.c (init_vx_ops) :          Ditto
(init_vx_run_ops) :                    Ditto
(_initialize_vx) :                     Ditto
* remote.c (init_remote_ops):          Ditto
(init_extended_remote_ops):            Ditto
(_initialize_remote):                  Ditto
* sparcl-tdep.c (init_sparclite_ops):  Ditto
(_initialize_sparcl_tdep):             Ditto
* v850ice.c (init_850ice_ops):         Ditto
(_initialize_v850ice):                 Ditto
*win32-nat.c: (init_child_ops):        Ditto
(_initialize_inftarg):                 Ditto

26 years agogencode.c: Mark BEGEZALL as LIKELY.
Gavin Romig-Koch [Thu, 21 May 1998 18:26:38 +0000 (18:26 +0000)]
gencode.c: Mark BEGEZALL as LIKELY.

26 years agoremove errant ChangeLog header.
Jason Molenda [Thu, 21 May 1998 18:07:33 +0000 (18:07 +0000)]
remove errant ChangeLog header.

26 years agoThu May 21 13:56:24 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 21 May 1998 18:03:25 +0000 (18:03 +0000)]
Thu May 21 13:56:24 1998  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * gdbtk.c: reinserted the changes that were accidentally deleted:
        (_initialize_gdbtk): Use correct device names in
        cygwin-specific call (cosmetic change).
        (gdbtk_ignorable_warning): removed va_list parameter,
        which was unused.
        (_initialize_gdbtk): add cygwin32 specific code to
        allow `gdb -nw' to work when specified specified from a windows
        console-mode command line.

        * ChangeLog: moved Chris Faylor's comment to ChangeLog-gdbtk

26 years ago * interp.c: modified name of GIF device
Patrick Macdonald [Thu, 21 May 1998 15:41:35 +0000 (15:41 +0000)]
* interp.c: modified name of GIF device
* sky-gpuif.[ch]:  IMT burst support and queue manipulation ( see
                   ChangeLog.sky for complete details )
* sky-gs.c: modified name of GIF device

26 years agoFix sign extension on 32 bit add/sub instructions.
Andrew Cagney [Thu, 21 May 1998 09:32:07 +0000 (09:32 +0000)]
Fix sign extension on 32 bit add/sub instructions.

26 years ago* interp.c (sim_fetch_register): Convert internal r5900 regs to
Andrew Cagney [Thu, 21 May 1998 08:18:21 +0000 (08:18 +0000)]
* interp.c (sim_fetch_register): Convert internal r5900 regs to
target byte order

26 years ago* sim-hw.c: Include ctype.h.
Andrew Cagney [Thu, 21 May 1998 08:17:31 +0000 (08:17 +0000)]
* sim-hw.c: Include ctype.h.
(do_hw_poll_read): Do not assume EAGAIN.

26 years agoSmall typeos.
Jason Molenda [Wed, 20 May 1998 23:29:03 +0000 (23:29 +0000)]
Small typeos.

26 years agoc_gen.pl: Added subroutine "print_comment"
Jillian Ye [Wed, 20 May 1998 22:14:16 +0000 (22:14 +0000)]
c_gen.pl: Added subroutine "print_comment"
          and on/off option for "src line #"

26 years ago * mips/tm-tx39.h (MIPS_DEFAULT_FPU_TYPE) : Defined as MIPS_FPU_NONE.
Gavin Romig-Koch [Wed, 20 May 1998 19:31:04 +0000 (19:31 +0000)]
* mips/tm-tx39.h (MIPS_DEFAULT_FPU_TYPE) : Defined as MIPS_FPU_NONE.
* mips/tm-tx39l.h : Same.

26 years agoWed May 20 10:12:11 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Wed, 20 May 1998 17:13:20 +0000 (17:13 +0000)]
Wed May 20 10:12:11 1998  John Metzler  <jmetzler@cygnus.com>

* m32r-tdep.c: (decode_prologue): Handle frames compiled with -Os.
        Split out as separate function called by skip prologue and scan
        prologue. new formula handles optimization in which the prologue
        is interleaved with the body of the function. Also recognizes new
        variations of prologue encoding.  Use of frame pointer is
        essential to debugging, -fno-omit-frame-pointer
        (m32r_skip_prologue): Call decode prologue, ignore line info
        (m32r_scan_prologue): Call decode prologue, ignore line info

26 years ago * m32r-sim.h (PROFILE_COUNT_PARINSNS): New macro.
Doug Evans [Wed, 20 May 1998 11:59:32 +0000 (11:59 +0000)]
* m32r-sim.h (PROFILE_COUNT_PARINSNS): New macro.
* mloopx.in (extract): Set abuf.addr for proper fill nop counting.
(execute): Count parallel insns.
* sim-if.c (print_m32r_misc_cpu): Print count.
* sim-main.h (M32R_MISC_PROFILE): New member parallel_count.

26 years ago * cgen-trace.c (first_insn_p): New static local.
Doug Evans [Wed, 20 May 1998 11:43:00 +0000 (11:43 +0000)]
* cgen-trace.c (first_insn_p): New static local.
(trace_insn_init): Set it.
(trace_insn_fini): Use TRACE_PREFIX.
(trace_insn): Rewrite to use trace_prefix.
* sim-trace.c (trace_prefix): Don't print filename arg if NULL.
Adjust width accordingly.

* sim-profile.h (PROFILE_DATA): New member profile_any_p.
(PROFILE_ANY_P,PROFILE_INSN_P,PROFILE_MEMORY): New macros.
(PROFILE_SCACHE_P,PROFILE_PC_P,PROFILE_CORE_P): New macros.
(PROFILE_COUNT_INSN,PROFILE_COUNT_READ,PROFILE_COUNT_WRITE): Simplify.
(PROFILE_COUNT_CORE): Simplify.
* sim-profile.c (profile_option_handler): Compute profile_any_p.

26 years ago Zero bottom two bits of pc in jmp,jl insns.
Doug Evans [Wed, 20 May 1998 07:54:31 +0000 (07:54 +0000)]
Zero bottom two bits of pc in jmp,jl insns.
* sem.c,sem-switch.c: Regenerate.
* semx.c: Regenerate.

26 years ago * cgen-ops.h (ADDCFSI): Fix typo.
Doug Evans [Wed, 20 May 1998 07:01:05 +0000 (07:01 +0000)]
* cgen-ops.h (ADDCFSI): Fix typo.

26 years ago * mips-opc.c (multu1): Add two operand variant for the r5900.
Jeff Law [Wed, 20 May 1998 06:21:01 +0000 (06:21 +0000)]
    * mips-opc.c (multu1): Add two operand variant for the r5900.

26 years agoTue May 19 17:23:54 1998 John Metzler <jmetzler@cygnus.com>
John Metzler [Wed, 20 May 1998 00:30:42 +0000 (00:30 +0000)]
Tue May 19 17:23:54 1998  John Metzler  <jmetzler@cygnus.com>
* w89k-rom.c (_initialize_w89k ): Call new init function
             (init_w89k_cmds): Convert to dynamic initialization of
              monitor_ops data structure for forward compatability with
              additions to the data structure.
* dbug-rom.c (_initialize_dbug_rom): ditto
             (init_dbug_cmds):       ditto
* m32r-rom.c (_initialize_m32r_rom):  ditto
             (init_m32r_cmds):        ditto

26 years agoFix for PR15642 - apply label alignment adjustment to all labels at the given address.
Nick Clifton [Wed, 20 May 1998 00:03:01 +0000 (00:03 +0000)]
Fix for PR15642 - apply label alignment adjustment to all labels at the given address.

26 years ago * sim-if.c (do_trap): Treat traps 2-15 as hardware does.
Doug Evans [Tue, 19 May 1998 23:52:23 +0000 (23:52 +0000)]
* sim-if.c (do_trap): Treat traps 2-15 as hardware does.

26 years ago * reloc.c (bfd_check_overflow): Add casts before shifts which may
Ian Lance Taylor [Tue, 19 May 1998 22:45:38 +0000 (22:45 +0000)]
* reloc.c (bfd_check_overflow): Add casts before shifts which may
  not fit in 32 bits.
(_bfd_relocate_contents): Likewise.

26 years ago * gas/mips/mips16.d: Correct to reflect bug fix to disassembler.
Ian Lance Taylor [Tue, 19 May 1998 22:17:38 +0000 (22:17 +0000)]
* gas/mips/mips16.d: Correct to reflect bug fix to disassembler.

26 years ago * mips-dis.c (print_mips16_insn_arg): Handle type ']' correctly
Ian Lance Taylor [Tue, 19 May 1998 21:36:42 +0000 (21:36 +0000)]
* mips-dis.c (print_mips16_insn_arg): Handle type ']' correctly
with a shift count of 0.

26 years ago*** empty log message ***
Catherine Moore [Tue, 19 May 1998 13:20:47 +0000 (13:20 +0000)]
*** empty log message ***

26 years agoUse number_to_chars_bigendian and number_to_chars_littleendian to
Catherine Moore [Tue, 19 May 1998 13:03:09 +0000 (13:03 +0000)]
Use number_to_chars_bigendian and number_to_chars_littleendian to
write data in sparc_handle_align.

26 years agoFix PR 15948
Nick Clifton [Tue, 19 May 1998 00:12:10 +0000 (00:12 +0000)]
Fix PR 15948

26 years ago * write.c (fixup_segment): Change "segment" to "section" in
Doug Evans [Mon, 18 May 1998 23:06:10 +0000 (23:06 +0000)]
* write.c (fixup_segment): Change "segment" to "section" in
error message.

26 years agoFix nightly testing bug.
Nick Clifton [Mon, 18 May 1998 21:47:54 +0000 (21:47 +0000)]
Fix nightly testing bug.

26 years agoChange subtraction of two symbols message; At end of file flush any debug_sym links
Michael Meissner [Mon, 18 May 1998 20:56:45 +0000 (20:56 +0000)]
Change subtraction of two symbols message; At end of file flush any debug_sym links

26 years ago * dbxread.c (process_one_symbol): If block addresses are relative to
Keith Seitz [Mon, 18 May 1998 20:48:58 +0000 (20:48 +0000)]
    * dbxread.c (process_one_symbol): If block addresses are relative to
        function start addresses, reset function_start_address whenever a new
        source file is seen.

26 years ago From Jason Merrill <jason@cygnus.com>:
Ian Lance Taylor [Mon, 18 May 1998 20:21:22 +0000 (20:21 +0000)]
From Jason Merrill <jason@cygnus.com>:
* ldlang.c (wild_sort): Correct order of sort.
* scripttempl/elf.sc: Put *crtbegin.o before other .ctors and
.dtors.
* scripttempl/elfd10v.sc: Likewise.
start-sanitize-d30v
* scripttempl/elfd30v.sc: Likewise.
end-sanitize-d30v
* scripttempl/elfppc.sc: Likewise.

26 years ago * config/tc-mips.c (validate_mips_insn): Handle ';' opcode completer.
Jeff Law [Mon, 18 May 1998 17:51:56 +0000 (17:51 +0000)]
    * config/tc-mips.c (validate_mips_insn): Handle ';' opcode completer.
        (mips_ip): Likewise.

26 years ago* Added tests for R5900 mult1 instructions.
Frank Ch. Eigler [Mon, 18 May 1998 17:48:38 +0000 (17:48 +0000)]
* Added tests for R5900 mult1 instructions.

26 years ago * vu0.s: Test vopmula/vopmsub with and without opcode
Jeff Law [Mon, 18 May 1998 17:48:37 +0000 (17:48 +0000)]
    * vu0.s: Test vopmula/vopmsub with and without opcode
        completer.
        * vu0.d: Corresponding changes.

26 years ago* Followup for SCEI PR 15853: 2-operand R5900 "mult1" instruction.
Frank Ch. Eigler [Mon, 18 May 1998 17:46:35 +0000 (17:46 +0000)]
* Followup for SCEI PR 15853: 2-operand R5900 "mult1" instruction.
Mon May 18 14:27:06 1998  Frank Ch. Eigler  <fche@cygnus.com>
* mips-opc.c (mult1): Add two-operand variety of mult1 for R5900.

26 years ago * mips-dis.c (print_insn_arg): Handle ';' opcode completer.
Jeff Law [Mon, 18 May 1998 17:46:34 +0000 (17:46 +0000)]
    * mips-dis.c (print_insn_arg): Handle ';' opcode completer.
        (_print_insn_mips): Likewise.
        * vu0.h (vopmula, vopmsub): Correctly handle opcode/operand
        completers.

26 years ago * sim/sky/sky.ld: Delete file.
Doug Evans [Mon, 18 May 1998 17:38:48 +0000 (17:38 +0000)]
* sim/sky/sky.ld: Delete file.

26 years agoChanged command line switch from --m32rx-enable-special to --hidden
Nick Clifton [Mon, 18 May 1998 17:34:24 +0000 (17:34 +0000)]
Changed command line switch from --m32rx-enable-special to --hidden
Removed documentation about the switch.

26 years ago* Monster patch - may destablize MIPS sims for a little while.
Frank Ch. Eigler [Mon, 18 May 1998 15:55:05 +0000 (15:55 +0000)]
* Monster patch - may destablize MIPS sims for a little while.
* Followup patch for SCEI PR 15853
* First check-in of TX3904 interrupt controller devices for ECC. [sanitized]
* First implementation of MIPS hardware interrupt emulation.
Mon May 18 18:22:42 1998  Frank Ch. Eigler  <fche@cygnus.com>
* configure.in (SIM_AC_OPTION_HARDWARE): Added common hardware
  modules.  Recognize TX39 target with "mips*tx39" pattern.
* configure: Rebuilt.
* sim-main.h (*): Added many macros defining bits in
  TX39 control registers.
(SignalInterrupt): Send actual PC instead of NULL.
(SignalNMIReset): New exception type.
* interp.c (board): New variable for future use to identify
a particular board being simulated.
(mips_option_handler,mips_options): Added "--board" option.
(interrupt_event): Send actual PC.
(sim_open): Make memory layout conditional on board setting.
(signal_exception): Initial implementation of hardware interrupt
  handling.  Accept another break instruction variant for simulator
  exit.
(decode_coproc): Implement RFE instruction for TX39.
(mips.igen): Decode RFE instruction as such.
start-sanitize-tx3904
* configure.in (tx3904cpu,tx3904irc): Added devices for tx3904.
* interp.c: Define "jmr3904" and "jmr3904debug" board types and
bbegin to implement memory map.
* dv-tx3904cpu.c: New file.
* dv-tx3904irc.c: New file.
end-sanitize-tx3904

26 years ago* Followup for SCEI PR 15853.
Frank Ch. Eigler [Mon, 18 May 1998 13:33:26 +0000 (13:33 +0000)]
* Followup for SCEI PR 15853.
Mon May 18 12:37:38 1998  Frank Ch. Eigler  <fche@cygnus.com>
* config/tc-mips.c (macro): For R5900, use "B" operand format for
  "break" instructions generated in macro (div etc.) instructions.

26 years agoImprove error message
Michael Meissner [Mon, 18 May 1998 13:33:25 +0000 (13:33 +0000)]
Improve error message

26 years ago* Various MIPS test case tweaks.
Frank Ch. Eigler [Mon, 18 May 1998 10:15:38 +0000 (10:15 +0000)]
* Various MIPS test case tweaks.
Mon May 18 13:11:45 1998  Frank Ch. Eigler  <fche@cygnus.com>
* gas/mips/{div,ld,mul}.d: Add assembler -mcpu= flag to match
  disassembler.
start-sanitize-r5900
* gas/mips/break5900.[sd]: Test that break instructions generated
  in div/etc. macro instructions are of 20-bit variety for R5900.
end-sanitize-r5900

26 years ago* Fix sanitization
Frank Ch. Eigler [Mon, 18 May 1998 09:31:10 +0000 (09:31 +0000)]
* Fix sanitization

26 years ago * elf64-alpha.c (elf64_alpha_relax_section): Set again on changes.
Richard Henderson [Mon, 18 May 1998 07:14:11 +0000 (07:14 +0000)]
    * elf64-alpha.c (elf64_alpha_relax_section): Set again on changes.
        (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots,
        elf64_alpha_size_got_sections): Rewrite, handling multiple got
        subsections during relaxation more correctly.