Nick Clifton [Thu, 20 Nov 1997 23:08:21 +0000 (23:08 +0000)]
Patch from Richard Earnshaw
Andrew Cagney [Thu, 20 Nov 1997 22:56:11 +0000 (22:56 +0000)]
Pacify GCC - SIM_SIGNONE missing in enum, xmalloc/free VS ZALLOC/zfree.
Richard Henderson [Thu, 20 Nov 1997 22:01:30 +0000 (22:01 +0000)]
* sh-dis.c (print_insn_shx): Recognize all sh4 additions.
* sh-opc.h (fmov): Add @<REG_M>+,<DX_REG_N> variant for sh4.
(ftrv): Slay the cut-and-paste monster.
* tc-sh.c (parse_reg): Properly quote for fv4.
pr14044
Ian Lance Taylor [Thu, 20 Nov 1997 15:52:38 +0000 (15:52 +0000)]
move include entries from ../ChangeLog
Geoffrey Noer [Thu, 20 Nov 1997 13:05:07 +0000 (13:05 +0000)]
Thu Nov 20 04:11:27 1997 Geoffrey Noer <noer@cygnus.com>
* Makefile.in: pepper with EXEEXTs in appropriate places,
set SHELL = @SHELL@ for those lame hosts that don't have a /bin/sh
For some reason, EXEEXT isn't getting substututed in correctly
so for now, set EXEEXT to empty string
Geoffrey Noer [Thu, 20 Nov 1997 12:20:39 +0000 (12:20 +0000)]
Thu Nov 20 04:11:27 1997 Geoffrey Noer <noer@cygnus.com>
* aclocal.m4: add EXEEXT setting rule
* configure.in: call it
* configure: regenerate
* Makefile.in: pepper with EXEEXTs in appropriate places,
set SHELL = @SHELL@ for those lame hosts that don't have a /bin/sh
Andrew Cagney [Thu, 20 Nov 1997 09:50:36 +0000 (09:50 +0000)]
o Add SIM_SIGFPE to sim-signals
o Start SIM_SIG* at 64 so that the use of host signal numbers can be
detected and reported.
o Update MIPS simulator to use sim-signal.
Andrew Cagney [Thu, 20 Nov 1997 09:17:06 +0000 (09:17 +0000)]
Allow reads/writes to C0_CONFIG register.
Ian Lance Taylor [Thu, 20 Nov 1997 04:47:43 +0000 (04:47 +0000)]
* symbols.c (resolve_symbol_value): Add missing breaks in case on
symbol value operator.
Ian Lance Taylor [Thu, 20 Nov 1997 04:46:19 +0000 (04:46 +0000)]
rebuild
Doug Evans [Thu, 20 Nov 1997 00:50:40 +0000 (00:50 +0000)]
(enosys): Delete.
Doug Evans [Thu, 20 Nov 1997 00:47:02 +0000 (00:47 +0000)]
* callback.c (cb_host_to_target_stat): Fix return values.
Doug Evans [Wed, 19 Nov 1997 20:44:35 +0000 (20:44 +0000)]
* cgen-sim.h (enum_signal_type): Delete.
(engine_signal): Update prototype.
* cgen-utils.c: Don't include <signal.h>.
(sim_signal_to_host): Delete, lives in sim-signal.c now.
(engine_signal): Update.
Doug Evans [Wed, 19 Nov 1997 20:18:56 +0000 (20:18 +0000)]
* mem-ops.h: Rename SIM_SIG{ACCESS,ALIGN} to SIM_SIG{SEGV,BUS}.
* sim-if.c (sim_open): Call sim_config.
(sim_stop_reason): Update call to sim_signal_to_host.
Doug Evans [Wed, 19 Nov 1997 20:13:11 +0000 (20:13 +0000)]
* sim-utils.c (sim_state_alloc): Call SIM_STATE_ALLOC if defined.
(sim_state_free): Call SIM_STATE_FREE if defined.
* sim-module.c (sim_module_install): Don't leave any modules
installed if one fails to install.
Michael Meissner [Wed, 19 Nov 1997 18:40:49 +0000 (18:40 +0000)]
Do not include alloca-conf.h since alloca is not used.
Michael Meissner [Wed, 19 Nov 1997 18:30:47 +0000 (18:30 +0000)]
Fix carry/overflow problems
Doug Evans [Wed, 19 Nov 1997 08:10:40 +0000 (08:10 +0000)]
(sim_stop_reason): Add comment.
Doug Evans [Wed, 19 Nov 1997 08:03:53 +0000 (08:03 +0000)]
* sim-core.c (sim_core_signal): Use sim_stopped instead of
sim_signalled.
Doug Evans [Wed, 19 Nov 1997 08:00:37 +0000 (08:00 +0000)]
* sim-signal.c, sim-signal.h: New files.
* Make-common.in (sim-signal.o): Add rule for.
(SIM_NEW_COMMON_OBJS): Add sim-signal.o.
* sim-abort.c: Don't include <signal.h>.
* sim-basics.h: #include "sim-signal.h".
* sim-break.c: Don't include <signal.h>.
(sim_handle_breakpoint): Replace SIGTRAP with SIM_SIGTRAP.
* sim-core.c: Don't include <signal.h>.
(SIGBUS): Delete definition.
(sim_core_signal): Replace SIGSEGV,SIGBUS with SIM_SIGSEGV,SIM_SIGBUS.
* sim-engine.c: Don't include <signal.h>.
(sim_engine_abort): Replace SIGABRT with SIM_SIGABRT.
* sim-reason.c (sim_stop_reason): Call sim_signal_to_host.
* sim-resume.c: Don't include <signal.h>.
(SIGTRAP): Delete definition.
(has_stepped): Replace SIGTRAP with SIM_SIGTRAP.
* sim-stop.c: Don't include <signal.h>.
(control_c_simulation): Replace SIGINT with SIM_SIGINT.
* sim-watch.c: Don't include <signal.h>.
(handle_watchpoint): Replace SIGINT with SIM_SIGINT.
Ken Raeburn [Wed, 19 Nov 1997 07:25:47 +0000 (07:25 +0000)]
vr5400 has interlocks
Doug Evans [Wed, 19 Nov 1997 02:37:58 +0000 (02:37 +0000)]
* sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.
* sim-break.c (sim_handle_breakpoint): Likewise.
Doug Evans [Tue, 18 Nov 1997 23:59:29 +0000 (23:59 +0000)]
* sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.
Doug Evans [Tue, 18 Nov 1997 23:55:33 +0000 (23:55 +0000)]
* Make-common.in (SIM_NEW_COMMON_OBJS): New variable.
* sim-base.h (CIA_ADDR): Provide default definition.
Doug Evans [Tue, 18 Nov 1997 23:46:14 +0000 (23:46 +0000)]
* Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
Doug Evans [Tue, 18 Nov 1997 23:40:40 +0000 (23:40 +0000)]
* Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
Doug Evans [Tue, 18 Nov 1997 23:36:46 +0000 (23:36 +0000)]
* sim-main.h (CIA_ADDR): Define.
* Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
Joern Rennecke [Tue, 18 Nov 1997 23:34:55 +0000 (23:34 +0000)]
* d10v-dis.c (print_operand):
Split OPERAND_FLAG into OPERAND_FFLAG and OPERAND_CFLAG.
Addendum for PR 13985.
Joern Rennecke [Tue, 18 Nov 1997 19:41:44 +0000 (19:41 +0000)]
* include/opcode/d10v.h (OPERAND_FLAG): Split into:
(OPERAND_FFLAG, OPERAND_CFLAG) .
* opcodes/d10v-opc.c (OPERAND_FLAG): Split into:
(OPERAND_FFLAG, OPERAND_CFLAG) .
(FSRC): Split into:
(FFSRC, CFSRC).
* gas/config/tc-d10v.c (parallel_ok, find_opcode):
Split OPERAND_FLAG into OPERAND_FFLAG and OPERAND_CFLAG.
Fix for PR 13985.
Doug Evans [Tue, 18 Nov 1997 07:14:20 +0000 (07:14 +0000)]
* Make-common.in (srccom): New variable.
Doug Evans [Mon, 17 Nov 1997 23:36:16 +0000 (23:36 +0000)]
* Makefile.in (remote-sim.o): Depend on $(INCLUDE_DIR)/callback.h.
Doug Evans [Mon, 17 Nov 1997 23:17:31 +0000 (23:17 +0000)]
Tweak comment.
Doug Evans [Mon, 17 Nov 1997 23:09:08 +0000 (23:09 +0000)]
* Make-common.in (DEP, COMMON_DEP_CFLAGS): Define.
(LIB_OBJS): Add syscall.o.
(gentmap): Pass $(NL_TARGET) to $(CC).
(syscall.o): Add rule for.
(sim_main_headers): Add $(SIM_EXTRA_DEPS).
(sim-bits.o): Depend on $(sim-n-bits_h).
(sim-load.o): Depend on callback.h.
* Make-common.in (cgen-*.o): Update dependencies, mem-ops.h renamed to
cgen-mem.h, sem-ops.h renamed to cgen-ops.h.
* cgen-mem.h, cgen-ops.h: New files.
* aclocal.m4 (--enable-sim-scache): Pass -DWITH_SCACHE=0 for "=no".
* Makefile.in (nltvals.def): Depend on gennltvals.sh.
Rewrite build rule.
* callback.c: #include string.h or strings.h.
#include sys/types.h and sys/stat.h.
(cb_init_syscall_map,cb_init_errno_map,cb_init_open_map): Declare.
(enosys): New function.
(os_get_errno,os_open): Update.
(os_stat,os_fstat): New functions.
(os_init): Initialize syscall_map, errno_map, open_map.
(default_callback): Add entries for os_stat, os_fstat, syscall_map,
errno_map, open_map, signal_map, stat_map.
(cb_read_target_syscall_maps): New function.
(cb_target_to_host_syscall): New function.
(cb_host_to_target_errno): Renamed from host_to_target_errno.
(cb_target_to_host_open): Renamed from target_to_host_open.
(store): New function.
(cb_host_to_target_stat): New function.
* gentmap.c (sys_tdefs): New global.
(gen_targ_vals_h): Output target syscall numbers.
(gen_targ_map_c): Update. Output target syscall translation map.
* gentvals.sh: New first argument `target'. Preface table with
#ifdef NL_TARGET_$target if non-null target passed.
* gennltvals.sh: New file.
* nltvals.def: Regenerated.
Andrew Cagney [Mon, 17 Nov 1997 22:36:19 +0000 (22:36 +0000)]
Test SUBI omsn
Doug Evans [Mon, 17 Nov 1997 22:12:52 +0000 (22:12 +0000)]
* callback.h (CB_TARGET_DEFS_MAP): Renamed from target_defs_map.
(host_callback): Add stat, fstat, syscall_map, errno_map, open_map,
signal_map, stat_map.
(errn_map,open_map): Renamed to cb_init_foo_map.
(cb_host_to_target_errno,cb_target_to_host_open): Renamed from
host_to_target_errno,target_to_host_open.
(cb_read_target_syscall_maps): Add prototype.
(cb_target_to_host_syscall): Likewise.
(cb_host_to_target_stat): Likewise.
(cb_syscall): Likewise.
(CB_SYS_{exit,open,close,read,write,lseek,unlink,getpid,kill,fstat,
argvlen,argv,chdir,stat,chmod,utime,time}): Define.
(CB_SYSCALL): New type.
(CB_RC): New enum.
Jeff Law [Mon, 17 Nov 1997 22:06:48 +0000 (22:06 +0000)]
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Fix typo.
(mn10300_elf_relax_section): Likewise.
Michael Meissner [Mon, 17 Nov 1997 01:21:37 +0000 (01:21 +0000)]
Make d30v defaults match chip
Fred Fish [Mon, 17 Nov 1997 00:26:46 +0000 (00:26 +0000)]
* peicode.h (coff_swap_aouthdr_in): Cast second arg of
bfd_h_get_* calls to "bfd_byte *".
Fred Fish [Mon, 17 Nov 1997 00:23:35 +0000 (00:23 +0000)]
* config/obj-coff.c (fixup_segment): Cast second arg of
md_apply_fix3 call to type "valueT *".
Doug Evans [Fri, 14 Nov 1997 21:52:04 +0000 (21:52 +0000)]
(sim_core_signal): Add missing "\n" in message.
Forgot to check in yesterday.
Jeff Law [Fri, 14 Nov 1997 20:02:46 +0000 (20:02 +0000)]
* jv-exp.y (copy_exp, insert_exp): Avoid ANSI prototypes.
Andrew Cagney [Fri, 14 Nov 1997 08:27:38 +0000 (08:27 +0000)]
* mips.igen: Tag vr5000 instructions.
(ANDI): Was missing mipsIV model, fix assembler syntax.
(do_c_cond_fmt): New function.
(C.cond.fmt): Handle mips I-III which do not support CC field
separatly.
(bc1): Handle mips IV which do not have a delaed FCC separatly.
(SDR): Mask paddr when BigEndianMem, not the converse as specified
in IV3.2 spec.
(DMULT, DMULTU): Force use of hosts 64bit multiplication. Handle
vr5000 which saves LO in a GPR separatly.
* configure.in (enable-sim-igen): For vr5000, select vr5000
specific instructions.
* configure: Re-generate.
Andrew Cagney [Thu, 13 Nov 1997 22:21:36 +0000 (22:21 +0000)]
Add FreeBSD/aout target confiiguration. Make it a 386BSD clone.
Doug Evans [Thu, 13 Nov 1997 21:18:14 +0000 (21:18 +0000)]
* sim-base.h (sim_state_base): Move `magic' to end of struct.
* sim-base.h (sim_state_base): Add member trace_data.
(STATE_TRACE_DATA): New macro.
* sim-trace.h (TRACE_DEBUG_IDX,TRACE_debug): New macros.
({WITH_,}TRACE_DEBUG_P): New macros.
(STATE_TRACE_FLAGS,STRACE_P,STRACE_DEBUG_P): New macros.
(_sim_cpu): Delete forward reference.
(debug_printf): Update.
* sim-trace.c (OPTION_TRACE_DEBUG): Define.
(trace_options): Add --trace-debug.
(set_trace_options): Handle it.
(trace_option_handler): Likewise.
(trace_install): Init state trace_data struct.
(trace_uninstall): Close state trace file.
* sim-events.c (ETRACE): Only print source file and number if
--trace-debug.
* sim-n-core.h (sim_core_trace_M): Likewise.
* sim-core.c (sim_core_signal): Add missing "\n" in message.
Felix Lee [Thu, 13 Nov 1997 18:45:21 +0000 (18:45 +0000)]
* sim-n-core.h (sim_core_read_unaligned_N): illegal empty
initializer.
* sim-types.h (unsigned128,signed128): fix typo for MSVC.
Gavin Romig-Koch [Thu, 13 Nov 1997 16:13:03 +0000 (16:13 +0000)]
* mips.h (struct mips_opcode): Changed comments to reflect new
field usage.
* mips-opc.c: Move the INSN_MACRO ISA value to the membership
field for all INSN_MACRO's.
* mips16-opc.c: same
* config/tc-mips.c (macro_build): Use the membership field
for INSN_MACRO's.
(mips_ip): Same.
Michael Meissner [Thu, 13 Nov 1997 15:38:23 +0000 (15:38 +0000)]
fix spacing
Michael Meissner [Thu, 13 Nov 1997 15:11:56 +0000 (15:11 +0000)]
Add comment about code that is actually d10v specific instead of d30v
Michael Meissner [Thu, 13 Nov 1997 14:52:14 +0000 (14:52 +0000)]
Add info command to print out flags values
Joern Rennecke [Thu, 13 Nov 1997 02:19:13 +0000 (02:19 +0000)]
* config/tc-d10v.c (find_opcode): For OPCODE_FAKE, add check for
first argument if it's supposed to be a register.
PR 13952.
Doug Evans [Wed, 12 Nov 1997 20:29:53 +0000 (20:29 +0000)]
* Make-common.in (BUILT_SRC_FROM_COMMON): Remove files no longer
built this way.
(sim-config.o): Remove non-existent $(sim-nconfig_h) dependency.
(clean): Don't delete $(BUILT_SRC_FROM_COMMON) if building in
source tree.
Doug Evans [Wed, 12 Nov 1997 20:19:34 +0000 (20:19 +0000)]
* aclocal.m4 (SIM_AC_OPTION_SCACHE): Fix typo.
Updating of configure's left for later.
Ian Lance Taylor [Wed, 12 Nov 1997 19:20:11 +0000 (19:20 +0000)]
* ld-cdtest/cdtest-foo.h (class Foo): Declare len to be int to
avoid compiler warning.
* ld-srec/sr3.cc (class Foo): Likewise.
Gavin Romig-Koch [Wed, 12 Nov 1997 15:18:56 +0000 (15:18 +0000)]
mips-opc.c (sync,cache): These are 3900 insns.
Gavin Romig-Koch [Wed, 12 Nov 1997 15:09:33 +0000 (15:09 +0000)]
config/tc-mips.c (mips_4900): Added.
(hilo_interlocks): Added mips_4900.
(md_begin): Set default for mips_4900.
(macro_build,mips_ip): Test for INSN_4900 if mips_4900.
(md_longopts): Add "m4900" and "no-m4900".
(md_parse_option): Handle above options.
Joern Rennecke [Wed, 12 Nov 1997 00:02:37 +0000 (00:02 +0000)]
sh-opc.h (sh_table): Remove ftst/nan.
Fixes gcc/13330.
Joern Rennecke [Tue, 11 Nov 1997 19:35:49 +0000 (19:35 +0000)]
* app.c (do_scrub_chars): If d10v, re-insert a space before
a '#' when in state 10.
Fix for PR 13894.
Ian Lance Taylor [Tue, 11 Nov 1997 18:35:20 +0000 (18:35 +0000)]
* config/tc-h8300.c: Include "subsegs.h".
(tc_reloc_mangle): Handle references to symbols which are not
being output, so that references to `.' work.
PR 13915.
Jeff Law [Tue, 11 Nov 1997 17:37:04 +0000 (17:37 +0000)]
* simops.c (call:16 call:32): Stack adjustment is determined solely
by the imm8 field.
Andrew Cagney [Tue, 11 Nov 1997 12:31:24 +0000 (12:31 +0000)]
Make the signess of compares between GPR's explicit using a cast to
signed_word.
Andrew Cagney [Tue, 11 Nov 1997 07:50:13 +0000 (07:50 +0000)]
Fix IGEN version of MFC0, MTC0, SWC1, LWC1, SDC1, LDC1, LWXC1,
SWXC1MTC1, MFC1, DMTC1, DMFC1, CFC1, CTC1, MULT, MULTU, BEQZ, ...MTHI,
MFHI instructions.
Trace nullified instruction.
Andrew Cagney [Tue, 11 Nov 1997 07:48:05 +0000 (07:48 +0000)]
* sim-events.c (sim_events_process): Re-compute the time -
update_time_from_event - as each event is processed. Reverses
previous change.
Andrew Cagney [Mon, 10 Nov 1997 22:40:14 +0000 (22:40 +0000)]
* simops.c (OP_4201): "rachi". Sign extend bit 40 of ACC. Sign
extend bit 44 all constants.
(OP_4201): Replace GCC specific 0x..LL with SIGNED64 macro.
Ian Lance Taylor [Mon, 10 Nov 1997 22:07:27 +0000 (22:07 +0000)]
* lib/ld-lib.exp (default_ld_simple_link): Permit the linker to
have any name when looking for entry symbol warnings.
Ian Lance Taylor [Mon, 10 Nov 1997 20:14:15 +0000 (20:14 +0000)]
* valprint.c (print_longest): The b, h, w, and g format specifiers
print unsigned values.
Michael Meissner [Mon, 10 Nov 1997 19:39:04 +0000 (19:39 +0000)]
Configure all directories for d30v
Ian Lance Taylor [Mon, 10 Nov 1997 19:33:59 +0000 (19:33 +0000)]
Mon Nov 10 14:32:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't crash if
a version dependency could not be found.
Ian Lance Taylor [Mon, 10 Nov 1997 19:26:09 +0000 (19:26 +0000)]
* ld-srec/sr3.cc (__eh_pc): Define.
Ken Raeburn [Mon, 10 Nov 1997 19:24:15 +0000 (19:24 +0000)]
fix vr5400 sanitization
Ian Lance Taylor [Mon, 10 Nov 1997 19:15:45 +0000 (19:15 +0000)]
* config/tc-m68k.c (m68k_ip): Call add_fix when needed for '_'
case.
PR 13886.
Ian Lance Taylor [Mon, 10 Nov 1997 18:45:31 +0000 (18:45 +0000)]
* macro.c (sub_actual): If we don't find a parameter for an &,
just substitute &.
PR 13868.
Andrew Cagney [Mon, 10 Nov 1997 08:27:15 +0000 (08:27 +0000)]
Test rachi instruction.
Andrew Cagney [Mon, 10 Nov 1997 02:08:50 +0000 (02:08 +0000)]
* callback.c (os_poll_quit): Replace _WIN32 with _MSC_VER.
Michael Meissner [Sun, 9 Nov 1997 22:37:20 +0000 (22:37 +0000)]
Configure newlib, libiberity for d30v.
Jeff Law [Sun, 9 Nov 1997 18:00:55 +0000 (18:00 +0000)]
* Makefile.am (bin_PROGRAMS): Don't use line continuations here.
Avoid blank line after a line continuation. Fixes problems with many
non-gnu makes.
Michael Meissner [Sat, 8 Nov 1997 19:45:25 +0000 (19:45 +0000)]
Add libgloss to d30v build list
Ken Raeburn [Sat, 8 Nov 1997 02:44:22 +0000 (02:44 +0000)]
* config/tc-mips.c (mips_ip): Added cases for "e", "%", and "P" operand types.
(hilo_interlocks): VR5400 has interlocks.
(md_begin): Expect mips64vr5400, not mips64r5400.
* config/tc-mips.c (mips_ip): In default case, call as_bad instead of fprintf,
to get "assembler messages:" message output before instead of after.
Ken Raeburn [Sat, 8 Nov 1997 02:41:48 +0000 (02:41 +0000)]
* gas/mips/vr5400.s, gas/mips/vr5400.d: New test, for VR5400-specific
instructions.
* gas/mips/mips.exp: Run it.
* gas/ieee-fp/x930509a.exp: Don't run IEEE FP tests for Vax targets.
Doug Evans [Fri, 7 Nov 1997 18:37:06 +0000 (18:37 +0000)]
* frags.h: Handle multiple inclusion.
Rob Savoye [Fri, 7 Nov 1997 17:49:34 +0000 (17:49 +0000)]
* include/libiberty.h: Add extern "C" { so it can be used with C++
progrms.
* include/remote-sim.h: Add extern "C" { so it can be used with C++
programs.
Andrew Cagney [Thu, 6 Nov 1997 14:24:57 +0000 (14:24 +0000)]
Replace global IPC with function argument cia or current instruction
address.
Pass cia into calls to sim_engine_stop so that breakpoints et.al. work.
Andrew Cagney [Thu, 6 Nov 1997 14:14:33 +0000 (14:14 +0000)]
Fix computation of sim_events_time when sim_events_slip is loosing it.
Andrew Cagney [Thu, 6 Nov 1997 09:16:16 +0000 (09:16 +0000)]
IGEN likes to cache the current instruction address (CIA). Change the
MIPS simulator so that correctly writes the value of CIA back int PC
(the global previously used) when the simulation halts.
Fix implementation of DELAY_SLOT and NULLIFY_NEXT_INSTRUCTION macros.
Andrew Cagney [Thu, 6 Nov 1997 05:00:09 +0000 (05:00 +0000)]
Allow separate single character and long options.
Avoid overflow of options buffer.
Provide examples of sim-options use.
Doug Evans [Wed, 5 Nov 1997 21:05:08 +0000 (21:05 +0000)]
Based on a patch from Ian.Dall@dsto.defence.gov.au.
* as.h (struct frag, frag support): Moved from here.
* frags.h: To here.
(struct frag, member tc_frag_data): New member if TC_FRAG_TYPE
is defined.
(struct frag, member fr_cgen): Renamed from fr_targ.cgen.
* cgen.c (cgen_asm_finish_insn): Update.
* config/tc-m32r.c (md_estimate_size_before_relax): Update.
* config/tc-m32r.h (TC_FRAG_INIT): Renamed from md_init_frag.
(md_convert_frag): Ditto.
* config/tc-ns32k.h (TC_FRAG_TYPE): Define.
(frag_opcode_frag,frag_opcode_offset,frag_bsr): Update.
(TC_FRAG_INIT): Update.
Doug Evans [Wed, 5 Nov 1997 18:56:26 +0000 (18:56 +0000)]
(struct frag): Delete docs for fr_opcode_frag, fr_opcode_offset, fr_bsr.
Add docs for tc_frag_data.
Gavin Romig-Koch [Wed, 5 Nov 1997 18:03:28 +0000 (18:03 +0000)]
* config.sub: Move tx19 configury to reduce spurious differences
with gcc/config.sub.
* config.sub: Move tx49 configury to reduce spurious differences
with gcc/config.sub.
Ian Lance Taylor [Wed, 5 Nov 1997 17:29:21 +0000 (17:29 +0000)]
keep itcl even without keep-ide, since gdbtk needs it
Andrew Cagney [Wed, 5 Nov 1997 09:43:34 +0000 (09:43 +0000)]
Add option --enable-sim-igen to mips configuration. Allows user to
attempt a build of an older MIPS simulator using igen.
Andrew Cagney [Wed, 5 Nov 1997 08:17:26 +0000 (08:17 +0000)]
Rewrite the MIPS simulator's memory model so that it uses the generic
common/sim-core.
Add support for 3, 5, 6, 7 byte transfers to sim core.
Andrew Cagney [Wed, 5 Nov 1997 01:08:12 +0000 (01:08 +0000)]
Delete -l and -n options, didn't do anything.
Rename option trace to dinero-trace & dinero-file - -t clashed with
common options.
Enable common trace options.
Doug Evans [Wed, 5 Nov 1997 01:04:45 +0000 (01:04 +0000)]
Document TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT.
Geoffrey Noer [Wed, 5 Nov 1997 00:56:39 +0000 (00:56 +0000)]
Tue Nov 4 16:52:50 1997 Geoffrey Noer <noer@cygnus.com>
* config/i386/cygwin32.mh: because cygwin.dll calls malloc/realloc
to allocate memory for environ space, gdb cannot use memory
checks -- set -DNO_MMCHECK
Doug Evans [Wed, 5 Nov 1997 00:45:23 +0000 (00:45 +0000)]
* write.c (print_fixup): Use TC_FIX_DATA_PRINT (if defined) to
print out MD fields of fix.
* frags.c (frag_var, frag_variant): Use TC_FRAG_INIT macro (if
defined) to initialize MD fields in frag.
* as.h (struct frag, ns32k support): Rename ns32k to fr_ns32k.
Delete pcrel_adjust. Add fr_opcode_fragP, fr_opcode_offset.
* config/tc-ns32k.h: Add comments. Remove obsolete
BFD_FAST_SECTION_FILL definition, change prototypes for
fix_new_ns32k and fix_new_ns32k_exp to add new arguments
opcode_frag and opcode_offset and remove pcrel_adjust.
(TC_FIX_TYPE): add opcode_fragP and opcode_offset fields.
(TC_FIX_DATA_PRINT): new macro to print out TC_FIX_TYPE.
(TC_FRAG_INIT): new macro to initialize machine dependent field in
frags.
(frag_opcode_frag, frag_opcode_offset, frag_bsr): macros to access
MD fields in frag structure.
(fix_im_disp, fix_bit_fixP, fix_opcode_frag, fix_opcode_offset,
fix_bsr): macros to access MD fields in fix structure.
* config/tc-ns32k.c: Avoid overlength lines. Align comments. Don't
use struct opcode_location as these fields are now in the frag
structure.
(convert_iif): Call frag_more as it is needed instead
of trying to allocate for the whole insn. Avoid call of frag_more
with negative argument.
(md_pcrel_adjust, md_fix_pcrel_adjust, md_apply_fix,
md_estimate_size_before_relax, md_pcrel_from,
tc_aout_fix_to_chars): use accessor macros to get md fields in fix
and frag structures.
(fix_new_ns32k, fix_new_ns32k_exp): add new arguments opcode_frag and
opcode_offset and remove pcrel_adjust.
(convert_iif, cons_fix_new_ns32k): call fix_new_ns32k,
fix_new_ns32k_exp with changed arguments.
Doug Evans [Wed, 5 Nov 1997 00:15:22 +0000 (00:15 +0000)]
Update ns32k docs.
Andrew Cagney [Wed, 5 Nov 1997 00:08:14 +0000 (00:08 +0000)]
Rewrite sim_monitor (implements read, write, open, et.al. system
calls) and sim_open so that they uses the virtual memory data transfer
functions sim_read & sim_write. This eliminates all code (other than
in load_memory & store_memory) that makes assumptions about the
implementation of the underlying memory model.
Andrew Cagney [Tue, 4 Nov 1997 23:59:41 +0000 (23:59 +0000)]
* sim-endian.h (U16_8): Implement
* sim-endian.c (sim_endian_split_16, sim_endian_join_16): New functions
* sim-endian.h (VL8_16, VH8_16): Implement.
* sim-memopt.c (memory_option_handler): Typecast 64bit value to long in printf.
(memory_option_handler): Only zalloc modulo bytes when non-zero.
(memory_option_handler): Skip comma in alias address list
Jim Blandy [Tue, 4 Nov 1997 21:55:24 +0000 (21:55 +0000)]
*** empty log message ***
Jim Blandy [Tue, 4 Nov 1997 21:54:13 +0000 (21:54 +0000)]
* jv-exp.y (ArrayAccess): Implement Name [ Expression ]; check the
code to see why this is not trivial.
(copy_exp, insert_exp): New functions.
Brendan Kehoe [Tue, 4 Nov 1997 17:36:37 +0000 (17:36 +0000)]
* gen-idecode.c (print_jump_until_stop_body): Use `#if 0' instead of
`#ifdef 0' around this.