binutils-gdb.git
27 years ago * config/monitor.exp(gdb_start): Look for gdb_prompt target
Bob Manson [Mon, 19 May 1997 22:40:00 +0000 (22:40 +0000)]
* config/monitor.exp(gdb_start): Look for gdb_prompt target
feature.

* config/i960.exp: New file.

27 years ago * coff-tic80.c: Remove unnecessary #ifdefs.
Mark Alexander [Mon, 19 May 1997 21:47:45 +0000 (21:47 +0000)]
* coff-tic80.c: Remove unnecessary #ifdefs.
* config.bfd: Set targ_underscore to yes for tic80.

27 years ago * coff-tic80.c (NAMES_HAVE_UNDERSCORE): Define (fixes problem
Mark Alexander [Mon, 19 May 1997 21:26:34 +0000 (21:26 +0000)]
* coff-tic80.c (NAMES_HAVE_UNDERSCORE): Define (fixes problem
with unresolved external symbols in GDB).

27 years ago * interp.c (dispatch): Make this an inline function.
Jeff Law [Mon, 19 May 1997 19:55:31 +0000 (19:55 +0000)]
    * interp.c (dispatch): Make this an inline function.

        * simops.c (syscall): Use callback->write regardless of
        what file descriptor we're writing too.

27 years agoGraft sim/common event and other code onto the mips simulator.
Andrew Cagney [Mon, 19 May 1997 13:30:30 +0000 (13:30 +0000)]
Graft sim/common event and other code onto the mips simulator.

27 years agoUpdate.
Andrew Cagney [Mon, 19 May 1997 09:35:51 +0000 (09:35 +0000)]
Update.

27 years agoMake simulator event-queue manager a bit more signal safe.
Andrew Cagney [Mon, 19 May 1997 06:55:56 +0000 (06:55 +0000)]
Make simulator event-queue manager a bit more signal safe.

27 years agoo Implement generic halt/restart/abort module.
Andrew Cagney [Mon, 19 May 1997 03:42:33 +0000 (03:42 +0000)]
o Implement generic halt/restart/abort module.
Use in tic80 and d30v simulators.
o Add signal hook to sim-core module

27 years agoPacify gcc.
Andrew Cagney [Mon, 19 May 1997 01:24:31 +0000 (01:24 +0000)]
Pacify gcc.

27 years ago * interp.c (load_mem_big): Remove function. It's now a macro
Jeff Law [Sun, 18 May 1997 22:57:49 +0000 (22:57 +0000)]
    * interp.c (load_mem_big): Remove function.  It's now a macro
        defined elsewhere.
        (compare_simops): New function.
        (sim_open): Sort the Simops table before inserting entries
        into the hash table.
        * mn10300_sim.h: Remove unused #defines.
        (load_mem_big): Define.
Another 20% so performance improvement for the mn10300 simulator.

27 years agoTreat infinities like normal numbers for purposes of comparisons
Michael Meissner [Sat, 17 May 1997 02:28:11 +0000 (02:28 +0000)]
Treat infinities like normal numbers for purposes of comparisons

27 years ago * callback.c (os_close): Mark the descriptor as being
Jeff Law [Fri, 16 May 1997 22:39:08 +0000 (22:39 +0000)]
    * callback.c (os_close): Mark the descriptor as being
        available if the close succeeded.
        (os_open): Pass 0644 as the mode of the file being created.
Bring Bob's changes over from the mec branch.

27 years ago * interp.c (load_mem): If we get a load from an out of range
Jeff Law [Fri, 16 May 1997 22:37:02 +0000 (22:37 +0000)]
    * interp.c (load_mem): If we get a load from an out of range
        address, abort.
        (store_mem): Likewise for stores.
        (max_mem): New variable.

27 years ago * elf-m10300.c (elf32_mn10300_relax_section): Read in all
Jeff Law [Fri, 16 May 1997 16:34:52 +0000 (16:34 +0000)]
    * elf-m10300.c (elf32_mn10300_relax_section): Read in all
        the symbols associated with each BFD.
        (mn10300_elf_relax_delete_bytes): Don't adjust the same symbol
        more than once.
        * elf-m10200.c: Likewise.
        * elf32-m32r.c: Likewise.
        * elf32-sh.c: Likewise.

27 years ago * elflink.h (elf_link_add_object_symbols): Don't decrease the
Ian Lance Taylor [Fri, 16 May 1997 16:13:33 +0000 (16:13 +0000)]
* elflink.h (elf_link_add_object_symbols): Don't decrease the
  alignment of a common symbol.  If two symbols that look like
  common symbols are found in two shared libraries, and the size is
  different, use the larger size, and warn if --warn-common.  If a
common symbol overrides a definition in a shared library, set the
size to the larger size, and warn if --warn-common.

27 years agoo Make tic80 insn file more `cache ready'
Andrew Cagney [Fri, 16 May 1997 03:27:40 +0000 (03:27 +0000)]
o Make tic80 insn file more `cache ready'
o Have igen always zero r0 instead of constantly checking if
the designated register is r0.

27 years ago * elflink.h (elf_link_add_object_symbols): Consistently treat
Ian Lance Taylor [Thu, 15 May 1997 21:38:26 +0000 (21:38 +0000)]
* elflink.h (elf_link_add_object_symbols): Consistently treat
uninitialized symbols in shared objects as common symbols.

27 years agoAdded support to LD to select the architecture of an ARM COFF output file
Nick Clifton [Thu, 15 May 1997 21:32:35 +0000 (21:32 +0000)]
Added support to LD to select the architecture of an ARM COFF output file
based on the architecture of the first input file.

27 years ago * elflink.h (elf_link_add_object_symbols): Force ELF symbol size
Ian Lance Taylor [Thu, 15 May 1997 20:40:54 +0000 (20:40 +0000)]
* elflink.h (elf_link_add_object_symbols): Force ELF symbol size
to common symbol size.

27 years agoFixed bug in previous delta. If no cpu type was specified on the command
Nick Clifton [Thu, 15 May 1997 17:05:24 +0000 (17:05 +0000)]
Fixed bug in previous delta.  If no cpu type was specified on the command
line then the code used to default to setting an architecture of ARMv4T
rather than ARMv3M in the BFD library.  This has now been corrected.

27 years agoRemove some of the flake from the c80 floating point.
Andrew Cagney [Thu, 15 May 1997 16:39:38 +0000 (16:39 +0000)]
Remove some of the flake from the c80 floating point.

27 years ago * config/rs6000/tm-rs6000.h (SIG_FRAME_LR_OFFSET): Define.
Peter Schauer [Thu, 15 May 1997 15:01:54 +0000 (15:01 +0000)]
* config/rs6000/tm-rs6000.h (SIG_FRAME_LR_OFFSET):  Define.
* rs6000-tdep.c (frameless_function_invocation):  Mark frames
with a zero PC as frameless to improve backtraces from core dumps
caused by dereferencing a NULL function pointer.
(frameless_function_invocation, frame_saved_pc, rs6000_frame_chain):
Handle frameless functions interrupted by a signal.

* sparc-tdep.c (sparc_init_extra_frame_info, sparc_frame_saved_pc):
Handle frameless functions interrupted by a signal.

27 years ago * obstack.h (obstack_specify_allocation_with_arg, obstack_chunkfun,
Mark Alexander [Thu, 15 May 1997 08:30:04 +0000 (08:30 +0000)]
* obstack.h (obstack_specify_allocation_with_arg, obstack_chunkfun,
obstack_freefun): Eliminate compile warnings in gdb.

27 years agoMore floating point operations.
Andrew Cagney [Thu, 15 May 1997 02:22:37 +0000 (02:22 +0000)]
More floating point operations.

27 years agoFix double conversion problem.
Andrew Cagney [Thu, 15 May 1997 02:21:11 +0000 (02:21 +0000)]
Fix double conversion problem.

27 years agoPassify gcc's warnings.
Andrew Cagney [Thu, 15 May 1997 00:14:33 +0000 (00:14 +0000)]
Passify gcc's warnings.

27 years agoMake columns line up for fpu operation tracing
Michael Meissner [Wed, 14 May 1997 22:06:45 +0000 (22:06 +0000)]
Make columns line up for fpu operation tracing

27 years ago * mn10200-tdep.c (mn10200_analyze_prologue): Update prologue comments
Jeff Law [Wed, 14 May 1997 22:04:28 +0000 (22:04 +0000)]
    * mn10200-tdep.c (mn10200_analyze_prologue): Update prologue comments
        to reflect current reality.  Gross attempt at handling out of
        line prologues.

27 years agoAdded support for storing ARM Procedure Calling Standard variant, and ARM
Nick Clifton [Wed, 14 May 1997 17:00:43 +0000 (17:00 +0000)]
Added support for storing ARM Procedure Calling Standard variant, and ARM
architecture variant in the BFD and COFF structures.  This goes towards
fixing PRs 11709 and 11326 and will integrate with future updates to LD and
GCC.

27 years ago * mn10200-tdep.c (mn10200_skip_prologue): Don't look at the debug
Jeff Law [Wed, 14 May 1997 15:01:33 +0000 (15:01 +0000)]
    * mn10200-tdep.c (mn10200_skip_prologue): Don't look at the debug
        symbols to find the end of the prologue.
        * mn10300-tdep.c (mn10300_skip_prologue): Likewise.

27 years agoFix total number of tic80 registers
Andrew Cagney [Wed, 14 May 1997 05:10:00 +0000 (05:10 +0000)]
Fix total number of tic80 registers

27 years ago * config/tc-mn10200.c (md_convert_frag): Prefix temporary
Jeff Law [Wed, 14 May 1997 04:29:05 +0000 (04:29 +0000)]
    * config/tc-mn10200.c (md_convert_frag): Prefix temporary
        label name with ".".
        * config/tc-mn10300.c (md_convert_frag): Likewise.

27 years agoFix tic80 sanitization.
Mark Alexander [Tue, 13 May 1997 22:31:47 +0000 (22:31 +0000)]
Fix tic80 sanitization.

27 years agoMake sure r0 == 0; Return EINVAL for system calls that are defined but not provided...
Michael Meissner [Tue, 13 May 1997 22:04:32 +0000 (22:04 +0000)]
Make sure r0 == 0; Return EINVAL for system calls that are defined but not provided; Provide traps 74-79 as debugging traps

27 years agoFix thinko in previous change.
Fred Fish [Tue, 13 May 1997 19:00:57 +0000 (19:00 +0000)]
Fix thinko in previous change.

27 years ago * config/tc-mips.c (set_at): Check for bignum.
Ian Lance Taylor [Tue, 13 May 1997 18:46:47 +0000 (18:46 +0000)]
* config/tc-mips.c (set_at): Check for bignum.
(check_absolute_expr, macro, mips16_macro): Likewise.
PR 12296.

27 years ago * config/tc-tic80.c (md_apply_fix): Check PC relative relocations
Fred Fish [Tue, 13 May 1997 17:55:41 +0000 (17:55 +0000)]
* config/tc-tic80.c (md_apply_fix): Check PC relative relocations
for overflow/underflow, only insert lower 15 bits into instruction.

27 years agoRemove ANNULed cycle - was confusing gdb.
Andrew Cagney [Tue, 13 May 1997 13:57:49 +0000 (13:57 +0000)]
Remove ANNULed cycle - was confusing gdb.

27 years ago * scripttempl/elfmips.sc: Remove.
Ian Lance Taylor [Tue, 13 May 1997 03:30:20 +0000 (03:30 +0000)]
* scripttempl/elfmips.sc: Remove.
* scripttempl/elf.sc: Set ENTRY based on target.  Permit
TEXT_DYNAMIC to control .dynamic segment.  Permit
SHLIB_TEXT_START_ADDR to set start of shared object.  Support
INITIAL_READONLY_SECTIONS.  Put .stub in .text.  Only put
.gnu.linkonce.t* in .text when relocating.  Support
OTHER_TEXT_SECTIONS.  Support SHLIB_DATA_ADDR as well as
DATA_ADDR.  Support OTHER_GOT_SYMBOLS and OTHER_GOT_SECTIONS.
* emulparams/elf32b4300.sh (SCRIPT_NAME): Set to elf.
(DATA_ADDR): Don't set.
(INITIAL_READONLY_SECTIONS): Rename from OTHER_READONLY_SECTIONS.
(OTHER_TEXT_SECTIONS): Set.
(OTHER_GOT_SECTIONS): Rename from OTHER_READWRITE_SECTIONS.
(MACHINE): Set to empty string.
* emulparams/elf32l4300.sh: Likewise.
* emulparams/elf32ebmip.sh: Likewise.
* emulparams/elf32elmip.sh: Likewise.
* emulparams/elf32bmip.sh: Likewise.  Also:
(TEXT_DYNAMIC): Set.
* emulparams/elf32lmips.sh: Likewise.
* Makefile.in (eelf32bmips.c): Depend upon elf.sc rather than
elfmips.sc.
(eelf32ebmips.c, eelf32elmips.c, eelf32lmip.c): Likewise.

27 years agoFix ld/st tracing
Michael Meissner [Mon, 12 May 1997 21:16:26 +0000 (21:16 +0000)]
Fix ld/st tracing

27 years agoMon May 12 13:33:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
Ian Lance Taylor [Mon, 12 May 1997 20:23:57 +0000 (20:23 +0000)]
Mon May 12 13:33:08 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>

* config/tc-i386.c (pi): Check for RegMMX.

27 years ago * tic80-tdep.c, config/tic80/tm-tic80.h: First cut at getting
Mark Alexander [Mon, 12 May 1997 18:38:28 +0000 (18:38 +0000)]
* tic80-tdep.c, config/tic80/tm-tic80.h: First cut at getting
basic C80 features working.

27 years ago * configure.in: Don't clear OPCODES when --enable-commonbfdlib is
Ian Lance Taylor [Mon, 12 May 1997 17:14:57 +0000 (17:14 +0000)]
* configure.in: Don't clear OPCODES when --enable-commonbfdlib is
used on HP/UX.
* configure: Rebuild.

27 years agoMon May 12 11:11:06 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 12 May 1997 15:12:12 +0000 (15:12 +0000)]
Mon May 12 11:11:06 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* scripttempl/elf.sc: Don't align the data segment on the next 8
byte boundary, instead let the linker use whatever the individual
sections require.

27 years agoClear cntrl-c after handling it.
Andrew Cagney [Mon, 12 May 1997 08:33:56 +0000 (08:33 +0000)]
Clear cntrl-c after handling it.

27 years agoc80 simulator fixes.
Andrew Cagney [Mon, 12 May 1997 04:57:49 +0000 (04:57 +0000)]
c80 simulator fixes.

27 years agoMatch commands like `(gdb) sim a b c' against options --a-b-c.
Andrew Cagney [Mon, 12 May 1997 04:30:38 +0000 (04:30 +0000)]
Match commands like `(gdb) sim a b c' against options --a-b-c.

27 years agoFix endian problems with ld.d/st.d
Michael Meissner [Mon, 12 May 1997 02:04:02 +0000 (02:04 +0000)]
Fix endian problems with ld.d/st.d

27 years agoFix shift/lmo insns; Subu does arithmetic unsigned
Michael Meissner [Sun, 11 May 1997 14:32:32 +0000 (14:32 +0000)]
Fix shift/lmo insns; Subu does arithmetic unsigned

27 years agoAnd short immediate instructions use unsigned immediates, not signed.
Michael Meissner [Sat, 10 May 1997 16:40:21 +0000 (16:40 +0000)]
And short immediate instructions use unsigned immediates, not signed.

27 years ago * configure.tgt (i[3456]86-*-gnu*): Don't include Mach support.
Ian Lance Taylor [Fri, 9 May 1997 21:46:21 +0000 (21:46 +0000)]
* configure.tgt (i[3456]86-*-gnu*): Don't include Mach support.

27 years ago * config.bfd (i[3456]86-*-gnu*): Don't include Mach support.
Ian Lance Taylor [Fri, 9 May 1997 21:44:46 +0000 (21:44 +0000)]
* config.bfd (i[3456]86-*-gnu*): Don't include Mach support.

27 years ago * config.bfd: Change #if 0 around uses of host_aout_vec to #if
Ian Lance Taylor [Fri, 9 May 1997 21:40:42 +0000 (21:40 +0000)]
* config.bfd: Change #if 0 around uses of host_aout_vec to #if
HAVE_host_aout_vec.

27 years ago * Makefile.in (INSTALL_MODULES): Put install-opcodes before
Ian Lance Taylor [Fri, 9 May 1997 21:22:29 +0000 (21:22 +0000)]
* Makefile.in (INSTALL_MODULES): Put install-opcodes before
install-binutils.

27 years agoFix xor in simulator
Michael Meissner [Fri, 9 May 1997 20:16:01 +0000 (20:16 +0000)]
Fix xor in simulator

27 years agoMake cmp produce the correct results
Michael Meissner [Fri, 9 May 1997 19:48:52 +0000 (19:48 +0000)]
Make cmp produce the correct results

27 years agoUpdate CIA as well as NIA when a 64bit insn is encountered.
Andrew Cagney [Fri, 9 May 1997 00:21:13 +0000 (00:21 +0000)]
Update CIA as well as NIA when a 64bit insn is encountered.

27 years agoReally fix the bbo/bbz instructions.
Michael Meissner [Thu, 8 May 1997 23:04:22 +0000 (23:04 +0000)]
Really fix the bbo/bbz instructions.

27 years ago * Makefile.in: Add automake targets.
Ian Lance Taylor [Thu, 8 May 1997 21:30:31 +0000 (21:30 +0000)]
* Makefile.in: Add automake targets.
* configure.in (host_tools): Add automake.

27 years ago * Makefile.in (all-libide): Depend upon all-ilu.
Ian Lance Taylor [Thu, 8 May 1997 21:09:33 +0000 (21:09 +0000)]
* Makefile.in (all-libide): Depend upon all-ilu.

27 years agoreverse bit number for bbo/bbz instructions.
Michael Meissner [Thu, 8 May 1997 19:58:20 +0000 (19:58 +0000)]
reverse bit number for bbo/bbz instructions.

27 years agoFix non-anulled calls so that return address is correct
Michael Meissner [Thu, 8 May 1997 18:36:00 +0000 (18:36 +0000)]
Fix non-anulled calls so that return address is correct

27 years agoChange output format slightly
Michael Meissner [Thu, 8 May 1997 16:32:06 +0000 (16:32 +0000)]
Change output format slightly

27 years agoChange output format slightly
Michael Meissner [Thu, 8 May 1997 16:14:54 +0000 (16:14 +0000)]
Change output format slightly

27 years agoBump SIZE_DECIMAL to 13
Michael Meissner [Thu, 8 May 1997 15:58:23 +0000 (15:58 +0000)]
Bump SIZE_DECIMAL to 13

27 years ago * expr.c (expr): When subtracting values in the same frag,
Ian Lance Taylor [Thu, 8 May 1997 15:10:55 +0000 (15:10 +0000)]
* expr.c (expr): When subtracting values in the same frag,
subtract X_add_number rather than adding it.

27 years agoAdd function sim_args_command() which takes a `(gdb) sim <command>' and
Andrew Cagney [Thu, 8 May 1997 05:28:20 +0000 (05:28 +0000)]
Add function sim_args_command() which takes a `(gdb) sim <command>' and
parses it using rules found in the simulator command-line-options
databse.

27 years agoAdd h8300.exp.
Mark Alexander [Thu, 8 May 1997 05:25:53 +0000 (05:25 +0000)]
Add h8300.exp.

27 years agoPart II of getting GdbTk's stop button to always work.
Andrew Cagney [Thu, 8 May 1997 01:00:39 +0000 (01:00 +0000)]
Part II of getting GdbTk's stop button to always work.

27 years agoWed May 7 16:18:30 1997 Manfred Hollstein <manfred@s-direktnet.de>
Ian Lance Taylor [Wed, 7 May 1997 20:45:30 +0000 (20:45 +0000)]
Wed May  7 16:18:30 1997  Manfred Hollstein  <manfred@s-direktnet.de>

* gas/m88k/init.{s,d}: New checks for proper padding of
.init sections.
* gas/m88k/m88.exp: Run them.

* gas/m68k/t2.d: New file for check of presence of section
symbols on the m68k-motorola-sysv.
* gas/m68k/all.exp: Run t2 if [istarget m68*-motorola-sysv].

27 years ago * gas/mips/lifloat.s: Update for recent changes to floating point
Ian Lance Taylor [Wed, 7 May 1997 20:14:19 +0000 (20:14 +0000)]
* gas/mips/lifloat.s: Update for recent changes to floating point
handling.
* gas/mips/lif-empic.d, gas/mips/lif-svr4pic.d: Likewise.
* gas/mips/lif-xgot.d, gas/mips/lifloat.d: Likewise.

* gas/mips/mips.exp: Handle Irix 6 like Irix 5.

27 years ago * config/obj-coff.c (write_object_file): Just pass NULL to
Ian Lance Taylor [Wed, 7 May 1997 19:46:25 +0000 (19:46 +0000)]
* config/obj-coff.c (write_object_file): Just pass NULL to
  md_do_align, not the address of a char holding NOP_OPCODE.
Fixes a problem with the m88k SVR3 .init section as used by gcc.

27 years ago * config/tc-mips.c (macro): Handle constants for M_LI_D and
Ian Lance Taylor [Wed, 7 May 1997 19:41:17 +0000 (19:41 +0000)]
* config/tc-mips.c (macro): Handle constants for M_LI_D and
M_LI_DD.
(mips_ip): For 'F', 'L', 'f', and 'l', generate a constant rather
than an address if the floating point value looks sufficiently
simple.
PR 12237.

27 years agoo Clean-up tic80 fp tracing
Andrew Cagney [Wed, 7 May 1997 13:58:52 +0000 (13:58 +0000)]
o Clean-up tic80 fp tracing
o Fill in more tic80 insns

27 years ago * sim-profile.c (profile_uninstall): Likewise.
David Edelsohn [Tue, 6 May 1997 23:40:31 +0000 (23:40 +0000)]
* sim-profile.c (profile_uninstall): Likewise.

27 years ago * sim-trace.c (trace_uninstall): Don't close a file twice.
David Edelsohn [Tue, 6 May 1997 23:38:31 +0000 (23:38 +0000)]
* sim-trace.c (trace_uninstall): Don't close a file twice.

27 years agoOnly zap the igen directory once.
Andrew Cagney [Tue, 6 May 1997 23:24:03 +0000 (23:24 +0000)]
Only zap the igen directory once.

27 years agoRemove remote-pa.c.
Mark Alexander [Tue, 6 May 1997 21:42:31 +0000 (21:42 +0000)]
Remove remote-pa.c.

27 years agoMakefile.orig, README.orig deleted.
David Edelsohn [Tue, 6 May 1997 21:21:53 +0000 (21:21 +0000)]
Makefile.orig, README.orig deleted.

27 years agoKeep igen.
David Edelsohn [Tue, 6 May 1997 21:20:13 +0000 (21:20 +0000)]
Keep igen.

27 years agoKeep sim-config.c, sim-fpu.[ch].
David Edelsohn [Tue, 6 May 1997 21:19:41 +0000 (21:19 +0000)]
Keep sim-config.c, sim-fpu.[ch].

27 years agoTue May 6 13:53:05 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 6 May 1997 20:53:53 +0000 (20:53 +0000)]
Tue May  6 13:53:05 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>
* Add overlay tests to gdb.base/.Sanitize

27 years ago * configure: Default CXX to c++, not gcc.
Ian Lance Taylor [Tue, 6 May 1997 19:51:02 +0000 (19:51 +0000)]
* configure: Default CXX to c++, not gcc.
* Makefile.in (CXX): Set to c++, not gcc.
(CXX_FOR_TARGET): When cross, transform c++, not gcc.
This is to that $(CXX) and $(CXX_FOR_TARGET) can be used to link C++
programs as well as just compile C++ code.

27 years ago * mn10300_sim.h: Fix ordering of bits in the PSW.
Jeff Law [Tue, 6 May 1997 19:42:17 +0000 (19:42 +0000)]
    * mn10300_sim.h: Fix ordering of bits in the PSW.

27 years agoRemove extra : from nop, sink{1,2} tracing
Michael Meissner [Tue, 6 May 1997 19:33:51 +0000 (19:33 +0000)]
Remove extra : from nop, sink{1,2} tracing

27 years agoAdd semantic tracing to the tic80
Michael Meissner [Tue, 6 May 1997 19:27:57 +0000 (19:27 +0000)]
Add semantic tracing to the tic80

27 years ago * interp.c: Improve hashing routine to avoid long list
Jeff Law [Tue, 6 May 1997 19:27:22 +0000 (19:27 +0000)]
    * interp.c: Improve hashing routine to avoid long list
        traversals for common instructions.  Add HASH_STAT support.
        Rewrite opcode dispatch code using a big switch instead of
        cascaded if/else statements.  Avoid useless calls to load_mem.

27 years ago From Sean McNeil <sean@mcneil.com>:
Ian Lance Taylor [Tue, 6 May 1997 17:22:35 +0000 (17:22 +0000)]
From Sean McNeil <sean@mcneil.com>:
* emultempl/pe.em (sort_by_file_name): Sort by archive name
first.
(sort_sections): Sort all sections, not just sections in the same
archive.

27 years agoKeep sim-utils.h.
David Edelsohn [Tue, 6 May 1997 17:09:05 +0000 (17:09 +0000)]
Keep sim-utils.h.

27 years ago * Makefile.in: Add ILU targets.
Ian Lance Taylor [Tue, 6 May 1997 17:07:38 +0000 (17:07 +0000)]
* Makefile.in: Add ILU targets.
* configure.in (host_tools): Add ILU.
Also add IDE sanitization to configure.in.

27 years ago * config/tc-i386.c (md_section_align): If a.out and BFD, force
Ian Lance Taylor [Tue, 6 May 1997 16:19:04 +0000 (16:19 +0000)]
* config/tc-i386.c (md_section_align): If a.out and BFD, force
section size to be aligned.

27 years agoDo not abort if coff has no debug information for bfd_find_nearest_line
Michael Meissner [Tue, 6 May 1997 13:51:01 +0000 (13:51 +0000)]
Do not abort if coff has no debug information for bfd_find_nearest_line

27 years agoFix typo; pass trace_line request as arg; pass common stuff in static struct
Michael Meissner [Tue, 6 May 1997 11:55:21 +0000 (11:55 +0000)]
Fix typo; pass trace_line request as arg; pass common stuff in static struct

27 years agoEnable --trace-linenum support
Michael Meissner [Tue, 6 May 1997 10:21:57 +0000 (10:21 +0000)]
Enable --trace-linenum support

27 years ago * cond.c: Include "macro.h".
Ian Lance Taylor [Tue, 6 May 1997 00:54:37 +0000 (00:54 +0000)]
* cond.c: Include "macro.h".
(struct conditional_frame): Add macro_nest field.
(initialize_cframe): Initialize macro_nest.
(cond_finish_check): Add nest parameter.  Change all callers.
(cond_exit_macro): New function.
* as.h (cond_finish_check): Update declaration.
(cond_exit_macro): Declare.
* input-scrub.c (macro_nest): Make globally visible.
(input_scrub_next_buffer): Call cond_finish_check.
* macro.h (macro_nest): Declare.
* read.c (s_mexit): Call cond_exit_macro.

27 years ago * mn10300_sim.h (struct _state): Add space for mdrq register.
Jeff Law [Tue, 6 May 1997 00:35:42 +0000 (00:35 +0000)]
    * mn10300_sim.h (struct _state): Add space for mdrq register.
        (REG_MDRQ): Define.
        * simops.c: Don't abort for trap.  Add support for the extended
        instructions, "getx", "putx", "mulq", "mulqu", "sat16", "sat24",
        and "bsch".

27 years agoMon May 5 18:19:55 1997 Philip Blundell <pjb27@cam.ac.uk>
Ian Lance Taylor [Mon, 5 May 1997 22:56:03 +0000 (22:56 +0000)]
Mon May  5 18:19:55 1997  Philip Blundell  <pjb27@cam.ac.uk>

* configure.tgt, configure.host: cope with '*-*-linux-gnuaout'
targets.

27 years ago * config.bfd: cope with '*-*-linux-gnuaout' targets.
Ian Lance Taylor [Mon, 5 May 1997 22:20:46 +0000 (22:20 +0000)]
* config.bfd: cope with '*-*-linux-gnuaout' targets.

27 years ago * i386-dis.c: (dis386_twobyte): Add MMX instructions.
Ian Lance Taylor [Mon, 5 May 1997 21:19:09 +0000 (21:19 +0000)]
* i386-dis.c: (dis386_twobyte): Add MMX instructions.
(twobyte_has_modrm): Likewise.
(grps): Likewise.
(OP_MMX, OP_EM, OP_MS): New static functions.

27 years ago * config/tc-i386.h (RegMMX): Define.
Ian Lance Taylor [Mon, 5 May 1997 21:18:17 +0000 (21:18 +0000)]
* config/tc-i386.h (RegMMX): Define.
* config/tc-i386.c (pi): Check for all register types.
(type_names): Add RegMMX.
(md_assemble): Handle RegMMX.