Richard Henderson
0892d40bc3
* bout.c (BALX): Include return register g14 as part of the insn.
...
(BALX_MASK): New.
(calljx_callback): Use it.
PR 15310
1998-03-25 18:42:26 +00:00
Ian Lance Taylor
36abac7fd3
Wed Mar 25 13:10:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
...
* gasp.c (IS*): Cast argument to unsigned char, not unsigned int.
* macro.c (macro_expand_body): Increase buffer size.
* messages.c (as_warn): Likewise.
(as_warn_where, as_bad, as_bad_where): Likewise.
1998-03-25 18:12:52 +00:00
Ian Lance Taylor
ee09ab7f89
Based on patch from H.J. Lu <hjl@gnu.org>:
...
* Makefile.am (DISTSTUFF): New variable.
(diststuff): New target.
(DISTCLEANFILES): New variable.
* Makefile.in: Rebuild.
1998-03-25 18:06:21 +00:00
Ian Lance Taylor
fb8a5cecae
Based on patch from H.J. Lu <hjl@gnu.org>:
...
* Makefile.am (DISTSTUFF): New variable.
(diststuff): New target.
* Makefile.in: Rebuild.
1998-03-25 18:00:09 +00:00
Ian Lance Taylor
51b9a79bdd
Based on patch from H.J. Lu <hjl@gnu.org>:
...
* Makefile.am (LDDISTSTUFF): New variable.
(diststuff): New target.
* Makefile.in: Rebuild.
1998-03-25 17:48:56 +00:00
Joyce Janczyn
52ef605e6d
* simops.c (OP_F0FD): Initialise variable 'sp' for rti instruction.
1998-03-25 17:10:01 +00:00
Frank Ch. Eigler
bd5eafcd7c
* As suggested by crash, made --with-sim-gpu2 option active only on -sky- target.
1998-03-25 16:48:04 +00:00
Ian Lance Taylor
9216fffaef
* scripttempl/pe.sc: Only include .idata\$[0-7] in .idata when
...
relocating.
1998-03-25 16:35:13 +00:00
Ian Lance Taylor
1719df74c1
From Yan Meroth <YAN.MEROTH@st.com>:
...
* ihex.c (ihex_scan): Add extbase variable so that getting an
extended linear address record does not ignore any previous
extended address.
(ihex_write_object_contents): When writing out an extended linear
address record, zero out any previous extended address.
1998-03-25 16:21:24 +00:00
Andrew Cagney
c357e16ac8
* dv-mn103int.c (decode_group): A group register every 4 bytes not 8.
...
(write_icr): Rewrite equation updating request field.
(read_iagr): Fix check that interrupt is still pending.
1998-03-25 14:52:44 +00:00
Andrew Cagney
8077fed51e
* interp.c (sim_open): Tidy up device creation.
...
* dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero value.
(mn103int_io_read_buffer): Convert absolute address to register block offsets.
(read_icr, write_icr): Convert block offset into group offset.
1998-03-25 05:37:42 +00:00
Andrew Cagney
6100784a60
* interp.c (sim_open): Create second 1mb memory region at 0x40000000.
...
(sim_open): Create a device tree.
(sim-hw.h): Include.
(do_interrupt): Delete, needs to use dv-mn103cpu.c
* dv-mn103int.c, dv-mn103cpu.c: New files.
1998-03-25 04:15:38 +00:00
Andrew Cagney
8388c9a564
* mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM): Define.
...
(SP): Define.
1998-03-25 04:07:31 +00:00
Andrew Cagney
05d7918e53
* dv-pal.c (hw_pal_countdown, hw_pal_countdown_value,
...
hw_pal_timer, hw_pal_timer_value): Define.
(hw_pal_io_read_buffer, hw_pal_io_write_buffer): Add timer support
(do_counter_event, do_counter_read, do_counter_value,
do_counter_write): new functions.
* hw-tree.c (hw_printf): Send tree dump to stderr, same as other
trace output.
* hw-base.c (hw_create): Stop searching for a device when one is
found.
1998-03-25 03:44:37 +00:00
Andrew Cagney
d89fa2d80a
Re-do --enable-sim-hardware so that each simulator can specify the devices
...
it wants built.
Generate hw-config.h.
1998-03-25 01:41:33 +00:00
Jeff Law
818c1ddd6e
* gas/mips/vu0.s: Add tests for "bc2f", "bc2fl", "bc2t", "bc2tl",
...
"cfc.i", "cfc.ni", "ctc.i", and "ctc.ni".
* gas/mips/vu0.d: Corresponding changes.
1998-03-25 01:17:32 +00:00
Jeff Law
f4cbd84efe
* vu0.h (cfc2, ctc2): Add variants with ".i" and ".ni"
...
opcode extensions.
1998-03-25 01:09:09 +00:00
Jason Molenda
7df9e11655
Start deleting libg++ and librx--they are no longer shipped to customers.
1998-03-25 01:02:09 +00:00
Jason Molenda
fd24933604
Tue Mar 24 16:58:29 1998 Jason Molenda (crash@bugshack.cygnus.com)
...
* Makefile.in (TARGET_CONFIGDIRS, ALL_TARGET_MODULES,
CONFIGURE_TARGET_MODULES, CHECK_TARGET_MODULES,
INSTALL_TARGET_MODULES, CLEAN_TARGET_MODULES, all-target-winsup):
Remove references to librx and libg++.
Bye bye.
1998-03-25 01:00:18 +00:00
Nick Clifton
c671714870
Fix PR15434 by emitting a nop if a section ends with a 16 bit instruction.
1998-03-25 00:54:54 +00:00
Ian Lance Taylor
75777e9b0e
* config/obj-coff.c (obj_coff_bss): Compile unconditionally. Call
...
s_lcomm rather than obj_coff_lcomm.
(obj_pseudo_table): Compile .bss pseudo-op unconditionally.
1998-03-25 00:48:51 +00:00
Ian Lance Taylor
48c9f0ebd5
* rclex.l: Accept { and } as synonyms for BEGIN and END.
1998-03-25 00:33:29 +00:00
Andrew Cagney
e855e57637
Pacify GCC.
1998-03-25 00:08:52 +00:00
Ian Lance Taylor
e4dee78c68
Add --demangle and --no-demangle options:
...
* gprof.h (demangle): Declare.
* gprof.c (demangle): New global variable.
(OPTION_DEMANGLE, OPTION_NO_DEMANGLE): Define.
(long_options): Add "demangle" and "no-demangle".
(usage): Mention --demangle and --no-demangle.
(main): Handle OPTION_DEMANGLE and OPTION_NO_DEMANGLE.
* utils.c (print_name_only): Only demangle symbol name if demangle
is true.
* gprof.texi (Output Options): Document new options.
1998-03-25 00:06:23 +00:00
Ian Lance Taylor
44a8b274cf
Tue Mar 24 18:32:47 1998 H.J. Lu <hjl@gnu.org>
...
* i386.h: Set LinearAddress for lidt and lgdt.
1998-03-24 23:34:58 +00:00
Ian Lance Taylor
dddc8a823d
Tue Mar 24 18:30:58 1998 H.J. Lu <hjl@gnu.org>
...
* config/tc-i386.h (LinearAddress): Define.
* config/tc-i386.c (md_assemble): If LinearAddress is set for the
instruction, don't use a default segment.
1998-03-24 23:34:45 +00:00
Eric Mumpower
3173839b6a
* Makefile.in (BASE_FLAGS_TO_PASS): Pass $(lispdir) down to
...
recursive makes
1998-03-24 23:30:35 +00:00
Andrew Cagney
612a649eee
* interp.c (Max, Min): Comment out functions. Not yet used.
...
* vr4320.igen (DCLZ): Pacify GCC, 64 bit arg, int format.
1998-03-24 23:16:57 +00:00
Ian Carmichael
9fa5e700c0
* Several fixes and performance enhancements from my 2 weeks working in Japan.
1998-03-24 22:23:33 +00:00
Andrew Cagney
d797f46f3c
* gen-engine.c (print_run_body): Re-extract the CIA after
...
processing any events. Events may not restart the simulator.
1998-03-24 21:30:00 +00:00
Joyce Janczyn
8dcf23d28b
Add new files: mn10300.igen, mn10300.dc, sim-main.h, op_utils.c
1998-03-24 21:23:29 +00:00
Ian Lance Taylor
b7f28e8f22
Tue Mar 24 16:09:43 1998 Manfred Hollstein <manfred@s-direktnet.de>
...
* ieee.c (do_one): Check section before dereferencing it.
(ieee_canonicalize_reloc): Likewise with src->relent.sym_ptr_ptr.
(ieee_generic_stat_arch_elt): Likewise with abfd->my_archive.
1998-03-24 21:10:44 +00:00
Joyce Janczyn
55045e7b32
Port mn10300 simulator to build with the common simulator framework
...
under the configure option --enable-sim-common.
1998-03-24 20:30:03 +00:00
Joyce Janczyn
6274d39b87
Add code to support building mn10300 simulator with the common simulator
...
framework.
1998-03-24 20:26:06 +00:00
Joyce Janczyn
5abdc30591
Add support for building simulator based on common simulator framework.
...
Separate out files which get compiled depending on --enable-sim-common
configuration.
1998-03-24 20:19:55 +00:00
Joyce Janczyn
4f262a370d
Add ability to configure mn10300 built with common simulator code base.
...
Use --enable-sim-common to build this way; default configure has not
changed.
1998-03-24 20:16:25 +00:00
Joyce Janczyn
13e0e254dc
New {load/store}_{byte/half/word} macros for simulator built with
...
common framework.
1998-03-24 20:11:44 +00:00
Joyce Janczyn
0543ebbb26
Header file required by igen generated files.
1998-03-24 20:08:00 +00:00
Joyce Janczyn
7986ea1323
IGEN input files for mn10300 simulator.
1998-03-24 20:07:22 +00:00
Stu Grossman
753ad2d3c5
* Makefile.in: Get SHELL from configure.
...
* configure: Regenerate with autoconf 2.12.1 to fix shell issues for
NT native builds.
1998-03-24 17:50:09 +00:00
Stu Grossman
63330b2e2e
* Make-common.in: Get SHELL from configure.
...
* (stamp-tvals sim-inline.c): Use $(SHELL) when invoking
move-if-change. Fixes NT native build problem.
* Makefile.in (nltvals.def): Use $(SHELL) when invoking
move-if-change. Fixes NT native build problem.
* configure: Regenerate with autoconf 2.12.1 to fix shell issues for
NT native builds.
1998-03-24 17:48:58 +00:00
Stu Grossman
de6fe3db5b
* Makefile.in: Derive SHELL from configure.
...
* config/d10v/d10v.mt config/d30v/d30v.mt config/m32r/m32r.mt
config/mn10200/mn10200.mt config/mn10300/mn10300.mt : Remove -lm
from SIM. This prevents dependency checking of -lm (under NT
native builds). (It is automatically added by configure if it
exists.)
* doc/configure mswin/configure nlm/configure
testsuite/gdb.base/configure testsuite/gdb.c++/configure
testsuite/gdb.chill/configure testsuite/gdb.disasm/configure
testsuite/gdb.stabs/configure testsuite/gdb.threads/configure:
Regenerate with autoconf 2.12.1 to fix shell issues for NT native
builds.
1998-03-24 16:44:10 +00:00
Ian Lance Taylor
abc9357067
* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
...
for newlib directory.
(CXX_FOR_TARGET): Likewise.
1998-03-24 16:39:03 +00:00
Joyce Janczyn
9bd4b4618d
Build IGEN with the mn10300 simulator.
1998-03-24 16:18:58 +00:00
Jason Molenda
fecf06cf63
Mon Mar 23 18:10:57 1998 Ulrich Drepper (drepper@cygnus.com)
...
* solib.c (solib_create_inferior_hook): Rewrite previous
change to check the type of file via BFD.
1998-03-24 02:12:22 +00:00
Ian Lance Taylor
a096e9b7aa
Mon Mar 23 18:54:15 1998 Joel Sherrill <joel@OARcorp.com>
...
* configure.tgt: (sh*-*-rtems*): Switched from ELF to COFF.
1998-03-23 23:56:06 +00:00
Ian Lance Taylor
1cc7b6b26c
Mon Mar 23 18:53:40 1998 Joel Sherrill <joel@OARcorp.com>
...
* configure.in: (sh*-*-rtems*): Switched from ELF to COFF.
* configure: Rebuild.
1998-03-23 23:54:49 +00:00
Ian Lance Taylor
615141db17
Mon Mar 23 18:51:47 1998 Joel Sherrill <joel@OARcorp.com>
...
* config.bfd: (sh*-*-rtems*): Switched from ELF to COFF.
1998-03-23 23:52:58 +00:00
Angela Marie Thomas
60fe7af914
fix random sanitization errors
1998-03-23 23:30:33 +00:00
Nick Clifton
454515c0b5
Add interworking support (untested) to pe backends.
1998-03-23 22:24:37 +00:00