Ken Raeburn [Mon, 15 Sep 1997 16:43:43 +0000 (16:43 +0000)]
merge from d30v-970225-branch
Ken Raeburn [Mon, 15 Sep 1997 16:38:29 +0000 (16:38 +0000)]
merge from d30v-970225-branch
Ken Raeburn [Mon, 15 Sep 1997 16:27:23 +0000 (16:27 +0000)]
merge from d30v-970225-branch
Andrew Cagney [Mon, 15 Sep 1997 14:42:51 +0000 (14:42 +0000)]
Fix sanitization for v850 V v850e V v850eq
Andrew Cagney [Mon, 15 Sep 1997 08:25:04 +0000 (08:25 +0000)]
Update to reflect change to sim/common/aclocal.m4 (allow sim/common
directory to specify its own unqiue config.h file).
Andrew Cagney [Mon, 15 Sep 1997 08:21:04 +0000 (08:21 +0000)]
Fix sanitization.
Andrew Cagney [Mon, 15 Sep 1997 08:18:20 +0000 (08:18 +0000)]
For v850eq start up with US bit set.
Let sim_analyze_program determine the architecture.
Fix various sanitizations.
Andrew Cagney [Mon, 15 Sep 1997 08:14:11 +0000 (08:14 +0000)]
Fix v850 sanitization.
Andrew Cagney [Mon, 15 Sep 1997 08:11:50 +0000 (08:11 +0000)]
Determine ARCHITECTURE from program if possible.
Rename common's generated config.h to cconfig.h.
Andrew Cagney [Mon, 15 Sep 1997 08:02:23 +0000 (08:02 +0000)]
* callback.c (os_write): divert stdout and stderr to their
respective hooks.
Geoffrey Noer [Mon, 15 Sep 1997 03:55:59 +0000 (03:55 +0000)]
Sun Sep 14 20:53:42 1997 Geoffrey Noer <noer@cygnus.com>
* config/mh-cygwin32: ok to build split texinfo files
Peter Schauer [Sat, 13 Sep 1997 15:34:44 +0000 (15:34 +0000)]
* mdebugread.c (parse_symbol, handle_psymbol_enumerators): Handle
yet another variant of enumerator debugging info, used by DU 4.0
native cc.
Peter Schauer [Sat, 13 Sep 1997 15:02:36 +0000 (15:02 +0000)]
* ChangeLog: Fix misspelled `end-sanitize-r5900' for Jun 26
ChangeLog entry.
Peter Schauer [Sat, 13 Sep 1997 14:46:36 +0000 (14:46 +0000)]
* ChangeLog: Fix duplicate `start-sanitize-r5900' around
Jul 28 ChangeLog entry.
Bob Manson [Sat, 13 Sep 1997 00:08:05 +0000 (00:08 +0000)]
* lib/gdb.exp(gdb_step_for_stub): New function.
(gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
exists, reload the executable and do a "continue" instead of
doing a jump.
(runto_main): Use gdb_step_for_stub.
* gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
tests to have unique names.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/help.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/opaque.exp: Ditto.
* gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
similar tests.
* gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
* gdb.c++/cplusfuncs.cc: Ditto.
* gdb.c++/virtfunc.cc: Ditto.
* config/monitor.exp: Keep track of the last file we saw, rather
than trying to get the info from gdb.
* gdb.fortran/types.exp: Move comment to previous line.
Fixes for TCL8 miscellaneous problems, plus other changes.
Bob Manson [Sat, 13 Sep 1997 00:07:21 +0000 (00:07 +0000)]
* lib/gdb.exp(gdb_step_for_stub): New function.
(gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
exists, reload the executable and do a "continue" instead of
doing a jump.
(runto_main): Use gdb_step_for_stub.
* gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
tests to have unique names.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/help.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/opaque.exp: Ditto.
* gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
similar tests.
* gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
* gdb.c++/cplusfuncs.cc: Ditto.
* gdb.c++/virtfunc.cc: Ditto.
* config/monitor.exp: Keep track of the last file we saw, rather
than trying to get the info from gdb.
* gdb.fortran/types.exp: Move comment to previous line.
Fixes for TCL8 miscellaneous problems.
Geoffrey Noer [Fri, 12 Sep 1997 23:21:33 +0000 (23:21 +0000)]
Fri Sep 12 16:19:20 1997 Geoffrey Noer <noer@cygnus.com>
* configure.in: remove bison from noconfigdirs for Cygwin32 host
Nick Clifton [Fri, 12 Sep 1997 18:41:26 +0000 (18:41 +0000)]
Improved display of register lists.
Andrew Cagney [Fri, 12 Sep 1997 05:56:38 +0000 (05:56 +0000)]
Check reserved bits before executing instructions.
Make v850[eq] the the default simulator.
Report illegal instructions.
Include v850e instructions in v850eq.
Andrew Cagney [Fri, 12 Sep 1997 03:13:27 +0000 (03:13 +0000)]
v850eq wasn't building igen directory.
Andrew Cagney [Fri, 12 Sep 1997 02:44:03 +0000 (02:44 +0000)]
Add profiling support to v850*.
Andrew Cagney [Fri, 12 Sep 1997 02:29:04 +0000 (02:29 +0000)]
Short form of sample-size option had wrong value.
Andrew Cagney [Fri, 12 Sep 1997 02:27:22 +0000 (02:27 +0000)]
v850* wants igen
Andrew Cagney [Fri, 12 Sep 1997 02:26:31 +0000 (02:26 +0000)]
Generate instruction profile call with each instruction.
David Edelsohn [Fri, 12 Sep 1997 00:41:47 +0000 (00:41 +0000)]
* sparc-opc.c (sparc_opcodes): Fix assembler args to
fzeros, fones, fsrc1, fsrc1s, fsrc2s, fnot1, fnot1s, fnot2s,
fors, fnors, fands, fnands, fxors, fxnors, fornot1s, fornot2s,
fandnot1s, fandnot2s.
Martin Hunt [Thu, 11 Sep 1997 05:32:23 +0000 (05:32 +0000)]
Wed Sep 10 22:30:24 1997 Martin M. Hunt <hunt@cygnus.com>
* interp.c (sim_resume): Increment PC at end of rep
loop.
* simops.c (OP_4201): Fix rachi instruction.
Andrew Cagney [Wed, 10 Sep 1997 23:50:32 +0000 (23:50 +0000)]
mips/sim_info was just returning?????
Andrew Cagney [Wed, 10 Sep 1997 22:47:12 +0000 (22:47 +0000)]
o Wordwrap usage messages from sim-options
o Clarify how to use alias options
o use in sim-watch (better usage message)
o Don't pass something on the stack into the
watch-point interrupt hander.
Nick Clifton [Wed, 10 Sep 1997 22:15:31 +0000 (22:15 +0000)]
Removed spurious error return.
Andrew Cagney [Wed, 10 Sep 1997 22:07:06 +0000 (22:07 +0000)]
(gen_itable_h): Output an enum defining the max size of the itable
string members.
Bob Manson [Wed, 10 Sep 1997 22:02:40 +0000 (22:02 +0000)]
* *.exp: The end-all be-all of quoting fixes. Ha.
At least I hope so.
Nick Clifton [Wed, 10 Sep 1997 21:00:03 +0000 (21:00 +0000)]
Fixed sanitization
Nick Clifton [Wed, 10 Sep 1997 17:05:00 +0000 (17:05 +0000)]
Added v850 emulation.
Ian Lance Taylor [Wed, 10 Sep 1997 15:25:25 +0000 (15:25 +0000)]
remove mentions of ARC
Andrew Cagney [Wed, 10 Sep 1997 05:55:15 +0000 (05:55 +0000)]
New function: bfd_arch_list cf bfd_target_list.
Make bfd_default_scan (arch) more flexable in its match of name to arch,
remove some of the dead code.
Andrew Cagney [Wed, 10 Sep 1997 05:40:04 +0000 (05:40 +0000)]
Have trace_input, trace_output use sim-trace for IO.
Felix Lee [Wed, 10 Sep 1997 05:20:37 +0000 (05:20 +0000)]
* inst.h (sim_state): rename to h8300_sim_state, to avoid conflict
with sim/common.
* configure.in: check for sys/param.h
* compile.c: #ifdef HAVE_SYS_PARAM_H.
#define SIGTRAP for wingdb.
(sim_resume): poll keyboard at least once per call.
(sim_resume): use host_callback instead of printf for syscall
output.
Andrew Cagney [Wed, 10 Sep 1997 05:16:34 +0000 (05:16 +0000)]
Add option architecture-info to list supported architectures.
Gavin Romig-Koch [Wed, 10 Sep 1997 04:53:18 +0000 (04:53 +0000)]
Support tx19 sanitation.
Felix Lee [Wed, 10 Sep 1997 04:46:37 +0000 (04:46 +0000)]
* sim-core.h (sim_cpu_core): [WITH_XOR_ENDIAN + 1], to avoid
illegal zero-sized array.
* sim-core.c (sim_core_xor_read_buffer): same.
Felix Lee [Wed, 10 Sep 1997 03:52:48 +0000 (03:52 +0000)]
* interp.c (sim_resume): poll_quit() at least once per call;
otherwise gdb can loop sim_resume() uninterruptably.
Felix Lee [Wed, 10 Sep 1997 03:48:37 +0000 (03:48 +0000)]
* config/i386/windows.mh (XDEPFILES): reduce to libwingdb.a.
otherwise link command line is too long.
David Edelsohn [Wed, 10 Sep 1997 00:30:45 +0000 (00:30 +0000)]
arc port no longer sanitized
David Edelsohn [Wed, 10 Sep 1997 00:30:05 +0000 (00:30 +0000)]
arc port no longer sanitized.
David Edelsohn [Wed, 10 Sep 1997 00:25:16 +0000 (00:25 +0000)]
Remove arc sanitization.
David Edelsohn [Wed, 10 Sep 1997 00:24:09 +0000 (00:24 +0000)]
ARC port no longer sanitized.
David Edelsohn [Wed, 10 Sep 1997 00:16:08 +0000 (00:16 +0000)]
* Makefile.am (CPU_TYPES): Add arc.
(TARGET_CPU_CFILES): Add tc-arc.c.
(TARGET_CPU_HFILES): Add tc-arc.h.
(dependencies): Rebuild.
* Makefile.in: Rebuild.
David Edelsohn [Wed, 10 Sep 1997 00:00:04 +0000 (00:00 +0000)]
Remove arc sanitization.
Nick Clifton [Tue, 9 Sep 1997 23:54:40 +0000 (23:54 +0000)]
Correcte dscription of hi() reloc prefix. Added description of hi0() reloc prefix.
Jeff Law [Tue, 9 Sep 1997 23:53:37 +0000 (23:53 +0000)]
* symtab.c, dbxread.c, stabsread.c: Fix up ANSI-C isms. Fix
some formatting problems.
Nick Clifton [Tue, 9 Sep 1997 23:52:39 +0000 (23:52 +0000)]
Do not complain if an R_V850_LO16 reloc has bit 15 set.
David Edelsohn [Tue, 9 Sep 1997 23:49:45 +0000 (23:49 +0000)]
Remove arc sanitization.
David Edelsohn [Tue, 9 Sep 1997 23:47:12 +0000 (23:47 +0000)]
Misc. changes I had lying around.
Jeff Law [Tue, 9 Sep 1997 23:40:44 +0000 (23:40 +0000)]
* symtab.c (lookup_block_symbol): Add missing PARAMS for
function scoped prototype.
Nick Clifton [Tue, 9 Sep 1997 23:13:26 +0000 (23:13 +0000)]
Added documentation if hilo() reloc prefix.
Nick Clifton [Tue, 9 Sep 1997 23:12:59 +0000 (23:12 +0000)]
Add new holio() reloc prefix.
David Edelsohn [Tue, 9 Sep 1997 18:20:57 +0000 (18:20 +0000)]
* nltvals.def: Regenerate.
Nick Clifton [Tue, 9 Sep 1997 17:41:55 +0000 (17:41 +0000)]
Added documentation for new command line options and pseudo ops.
Nick Clifton [Tue, 9 Sep 1997 17:20:41 +0000 (17:20 +0000)]
Fixed buglet displaying machine architecture.
Nick Clifton [Tue, 9 Sep 1997 17:18:42 +0000 (17:18 +0000)]
Add new pseudo ops: .v850, .v850e and .v850eq to specify the target processor.
David Edelsohn [Tue, 9 Sep 1997 17:08:01 +0000 (17:08 +0000)]
* sparc-opc.c (sparc_opcodes): Fix op3 field for fcmpq/fcmpeq.
Fred Fish [Tue, 9 Sep 1997 14:54:43 +0000 (14:54 +0000)]
* ldlang.c (lang_memory_region_lookup): Remove extraneous
initialization of p.
Andrew Cagney [Tue, 9 Sep 1997 10:38:39 +0000 (10:38 +0000)]
Better word error messages.
Andrew Cagney [Tue, 9 Sep 1997 07:02:02 +0000 (07:02 +0000)]
Remove GCC specific `0x...LL', replace with SIGNED64 (0x...).
Ian Lance Taylor [Tue, 9 Sep 1997 03:13:29 +0000 (03:13 +0000)]
Support -alh and -ald for DWARF 1:
* listing.c (struct list_info_struct): Add debugging field.
(listing_newline): Initialize the debugging field. If ELF, if the
section starts with .debug or .line, set the debugging field in
the listing structure.
(debugging_pseudo): Add list parameter. Change all callers. If
the debugging field is set, consider it to be a debugging pseudo.
If ELF, skip blank lines between debugging lines.
* read.c (emit_expr): If ELF, look for line numbers.
(stringer): If ELF, look for file names.
PR 13210.
Andrew Cagney [Tue, 9 Sep 1997 02:22:07 +0000 (02:22 +0000)]
Add basic tests for d10v-elf simulator.
Ian Lance Taylor [Tue, 9 Sep 1997 00:47:23 +0000 (00:47 +0000)]
* config.guess: Merge with FSF.
Stu Grossman [Mon, 8 Sep 1997 23:50:02 +0000 (23:50 +0000)]
* ser-e7kpc.c: Don't include w32sut.h. We no longer use the UT
mechanism. Remove prototypes for dos_async_* functions. They don't
exist anymore.
Nick Clifton [Mon, 8 Sep 1997 23:17:55 +0000 (23:17 +0000)]
Only test for immediaqte overflow if there is no insertion function.
Nick Clifton [Mon, 8 Sep 1997 22:03:09 +0000 (22:03 +0000)]
Add command line option to specify processor type.
David Edelsohn [Mon, 8 Sep 1997 21:22:11 +0000 (21:22 +0000)]
* gas/m32r/high-1.[ds]: New testcase.
* gas/m32r/m32r.exp: Run it.
David Edelsohn [Mon, 8 Sep 1997 21:07:42 +0000 (21:07 +0000)]
* cgen-asm.c (cgen_parse_address): New argument resultp.
All callers updated.
* m32r-asm.c (parse_h_hi16): Right shift numbers by 16.
David Edelsohn [Mon, 8 Sep 1997 21:06:31 +0000 (21:06 +0000)]
* cgen.h: Move assembler interface section
up so cgen_parse_operand_result is defined for cgen_parse_address.
(cgen_parse_address): Update prototype.
Nick Clifton [Mon, 8 Sep 1997 19:32:05 +0000 (19:32 +0000)]
Added -mwarn_unsigned_overflow so that defuault is to treat unsigned
values as signed values if they start to overflow.
Andrew Cagney [Mon, 8 Sep 1997 17:42:48 +0000 (17:42 +0000)]
Add multi-sim support to v850/v850e/v850eq simulators.
Andrew Cagney [Mon, 8 Sep 1997 17:40:24 +0000 (17:40 +0000)]
Add multi-sim support to simulator.
Andrew Cagney [Mon, 8 Sep 1997 17:23:16 +0000 (17:23 +0000)]
Use updated MSMASK, MSMASKED macros.
Fix sat problem in d30v.
Andrew Cagney [Mon, 8 Sep 1997 17:22:01 +0000 (17:22 +0000)]
Check MS* macros from sim/common.
Andrew Cagney [Mon, 8 Sep 1997 17:21:13 +0000 (17:21 +0000)]
Add/use LSEXTRACTED, MSEXTRACTED macros.
Add CPU_CIA macro to extract the PC.
Andrew Cagney [Mon, 8 Sep 1997 17:19:21 +0000 (17:19 +0000)]
Sanity check for tic80 simulator.
Ian Lance Taylor [Mon, 8 Sep 1997 15:34:59 +0000 (15:34 +0000)]
* as.h: Don't declare alloca if it is a macro.
* macro.c: Likewise.
Dawn Perchik [Mon, 8 Sep 1997 00:38:19 +0000 (00:38 +0000)]
* dbxread.c, buildsym.c, symtab.c, stabsread.c: Add support for
reading stabs extensions for live range information.
* stabsread.h, partial-stab.h: Add prototypes for new functions.
* symtab.h: Add structure for storing live range information.
Richard Henderson [Sun, 7 Sep 1997 21:34:32 +0000 (21:34 +0000)]
Sun Sep 7 12:25:22 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* bfd/elf64-alpha.c (reloc_howto_type): Fix the howto table.
Gavin Romig-Koch [Sun, 7 Sep 1997 20:33:22 +0000 (20:33 +0000)]
tx19 and related necessary changes.
* config.sub: Add tx19/r1900.
* sim/mips/configure.in, sim/mips/gencode: Add tx19/r1900.
* gcc/config.sub, gcc/configure: Add tx19/r1900.
* gcc/config/mips/r1900.h, config/mips/t-r1900: New.
* gas/config/tc-mips.c: Add tx19/r1900.
* gcc/config/mips/mips.c: Don't build 16 bit to 32 bit stubs for
TARGET_SOFT_FLOAT.
* config.sub: Add "marketing-names" patch.
* gcc/config.sub: Add "marketing-names" patch.
* gcc/configure: Change "as" link from "../gas/as.new" to "../gas/as-new";
Same for "ld" link.
Richard Henderson [Sun, 7 Sep 1997 07:35:50 +0000 (07:35 +0000)]
* config/tc-alpha.c (md_parse_option): Move m[] out to top level and
rename to cpu_types[].
(s_alpha_arch): New function.
(md_pseudo_table): Add "arch".
* config/tc-alpha.c (md_begin): Merge the two loops through the
opcode table.
(s_alpha_proc): Add initial SKIP_WHITESPACE.
(s_alpha_set): Likewise. Use get_symbol_end instead local while loop.
Fred Fish [Sun, 7 Sep 1997 02:40:40 +0000 (02:40 +0000)]
* read.h (s_lcomm_bytes): Add prototype (for real this time).
David Edelsohn [Fri, 5 Sep 1997 23:12:47 +0000 (23:12 +0000)]
* configure.in (*-*-rtems*): Do not build libgloss for rtems.
Jeff Law [Fri, 5 Sep 1997 18:13:41 +0000 (18:13 +0000)]
Remove CYGNUS LOCAL marker for pure v850.
Andrew Cagney [Fri, 5 Sep 1997 08:16:23 +0000 (08:16 +0000)]
Redo watchpoint code so that it target can specify interrupt names.
Replace v850 interrupt code with this common watchpoint code.
Other minor fixes to core.
Andrew Cagney [Fri, 5 Sep 1997 07:57:27 +0000 (07:57 +0000)]
Add sim_do_commandf - printf version of sim_do_command.
David Edelsohn [Fri, 5 Sep 1997 00:42:05 +0000 (00:42 +0000)]
* configure: Regenerated to track ../common/aclocal.m4 changes.
Andrew Cagney [Fri, 5 Sep 1997 00:30:38 +0000 (00:30 +0000)]
Define SIGNED64 and UNSIGNED64 macros - handle MSC/GCC LL issue.
Jeff Law [Thu, 4 Sep 1997 19:36:15 +0000 (19:36 +0000)]
Add missing end itemize.
Ian Lance Taylor [Thu, 4 Sep 1997 18:02:56 +0000 (18:02 +0000)]
* Makefile.am: Rebuild dependencies.
(ALL_MACHINES_CFILES): Add cpu-v850.c.
(ALL_MACHINES_CFILES): Add elf32-v850.c.
* Makefile.in: Rebuild.
Ian Lance Taylor [Thu, 4 Sep 1997 17:51:12 +0000 (17:51 +0000)]
* reloc.c: Remove extraneous commas from relocation entries.
Remove BFD_RELOC_V850_16_PCREL.
* bfd-in2.h: Rebuild.
Ian Lance Taylor [Thu, 4 Sep 1997 17:34:50 +0000 (17:34 +0000)]
fix sanitizations and copyright
Ian Lance Taylor [Thu, 4 Sep 1997 16:44:52 +0000 (16:44 +0000)]
* xcofflink.c (xcoff_link_add_symbols): Put XTY_CM/XMC_TD symbols
in sections named .tocbss rather than .bss.
For AIX 4.2 support (PR 12597).
Ian Lance Taylor [Thu, 4 Sep 1997 16:43:22 +0000 (16:43 +0000)]
* emultempl/aix.em (gld${EMULATION_NAME}_parse_args): In
expression produced for -bpT and -bpD options, align to a 32 byte
boundary rather than an 8 byte boundary.
* scripttempl/aix.sc: Put .tocbss at start of .bss section.
For AIX 4.2 support (PR 12957).
Ian Lance Taylor [Thu, 4 Sep 1997 16:41:18 +0000 (16:41 +0000)]
* ldmisc.h, ldmisc.c, ldcref.c: Rename finfo to lfinfo, to avoid
function name conflict with AIX 4.2 unistd.h header file.
Ian Lance Taylor [Thu, 4 Sep 1997 16:11:06 +0000 (16:11 +0000)]
* config/obj-elf.c (elf_frob_symbol): Only set BSF_OBJECT for
symbols on Irix.