Ron Unrau
ce4713dc3b
Make it compile again for -DTARGET_SKY
1998-02-23 23:40:40 +00:00
Ian Lance Taylor
fc96bc860d
* emultempl/pe.em (sort_sections): Permit the wildcard to include
...
a trailing '*' when sorting grouped sections.
* scripttempl/pe.sc: Include grouped sections using NAME\$*. Only
include them when relocating.
1998-02-23 22:48:20 +00:00
James Lemke
96f5b6b2a5
Instead of changing the names of .bss etc, add .vubss etc via
...
the macro ELF_TC_SPECIAL_SECTIONS. As per Ian's suggestion.
1998-02-23 22:27:12 +00:00
Doug Evans
02310b01ca
* sim-main.h: #include symcat.h.
...
* m32r-sim.h (BRANCH_NEW_PC): Delete current_cpu arg.
(NEW_PC_{BASE,SKIP,2,4,BRANCH_P}): New macros.
* cpu.[ch],decode.[ch],extract.c,model.c: Regenerate.
* sem.c,sem-switch.c: Regenerate.
* m32r-sim.h (SEM_NEXT_PC): Modify to handle parallel exec.
* mloopx.in: Rewrite.
* cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate.
1998-02-23 21:36:15 +00:00
Doug Evans
93f34464a3
* cgen-sim.h (SEM_NEXT_PC): New arg `len'.
1998-02-23 21:28:14 +00:00
Doug Evans
0bf55db8fd
* m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate.
1998-02-23 21:20:37 +00:00
Ian Lance Taylor
b1f09b637e
* peicode.h (coff_swap_filehdr_in): Don't set BFD flag HAS_SYMS in
...
COFF filehdr flags.
(pe_print_private_bfd_data): Print PE flags. From Mikey
<jeffdb@netzone.com>.
1998-02-23 21:18:30 +00:00
Doug Evans
833d299073
* cgen-asm.c: Include symcat.h.
...
* cgen-dis.c,cgen-opc.c,cgen-asm.in,cgen-dis.in: Ditto.
1998-02-23 21:17:29 +00:00
Nick Clifton
677c3439a7
Implment backup PC shadowing of CR6.
1998-02-23 20:31:19 +00:00
Ian Lance Taylor
0eaf0ce754
* Makefile.in (INSTALL_MODULES): Move install-tcl before
...
install-itcl.
(install-itcl): Remove dependency on install-tcl.
1998-02-23 19:46:52 +00:00
Doug Evans
a15a45e51f
* cgen.c: #include symcat.h.
...
* config/tc-m32r.c: Likewise.
1998-02-23 19:30:18 +00:00
Doug Evans
a2f256c4e0
* cgen.h (CGEN_CAT3): Delete. Use CONCAT3 now.
...
(cgen_insn): Record syntax and format entries here, rather than
separately.
1998-02-23 18:39:25 +00:00
Doug Evans
36dbc8bb7c
* sim-xcat.h: Delete.
...
* cgen-mem.h: Delete inclusion of sim-xcat.h.
* cgen-sim.h: Ditto.
* sim-alu.h: Replace sim-xcat.h with symcat.h.
* sim-n-bits.h: Ditto.
* sim-n-core.h: Ditto.
* sim-n-endian.h: Ditto.
1998-02-23 18:21:14 +00:00
Michael Meissner
3aeca4624a
Handle short reads and EOF
1998-02-23 18:21:13 +00:00
Mark Alexander
f33a8aa567
* configure.in: Remove libgloss from noconfigdirs for MN10300.
1998-02-23 18:03:48 +00:00
Doug Evans
3ea07de422
* dvp-opc.c (extra_dma_flags): Fix typos.
1998-02-23 17:53:31 +00:00
Mark Alexander
e04b0d76da
* Makefile.in: Get header files from libgloss/mn10300/sys.
1998-02-23 17:51:23 +00:00
Jeff Law
0504414dc9
* gas/mips/vr5400.s: Use absolute expression for performance
...
register number.
* gas/mips/vr5400.d: Corresponding changes.
* gas/mips/r5900.s: Use absolute expression for performance
register number.
* gas/mips/r5900.d: Corresponding changes.
1998-02-23 17:35:44 +00:00
Jeff Law
fb1a826b06
* mips-dis.c (print_insn_arg): Do not prefix 'P' arguments with '$'.
1998-02-23 17:32:21 +00:00
Jeff Law
59ef7c27fb
* gas/mips/vr5400.s: Use absolute expression for performance
...
register number.
* gas/mips/r5900.s: Use absolute expression for performance
register number.
1998-02-23 17:29:31 +00:00
Jeff Law
65d2c7d3de
* config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be
...
absolute expressions instead of '$' prefixed register names.
1998-02-23 17:26:25 +00:00
Mark Alexander
be61d73cf3
* config/mn10300-eval.exp: New file to support MN10300 eval board.
1998-02-23 17:01:02 +00:00
Andrew Cagney
a48e8c8d21
sim-main.h: Re-arange r5900 registers so that they have their own
...
little struct.
interp.c: Update. Also add floating point Max/Min functions.
mips.igen: Remove r5900 tag from any floating point instructions.
r5900.igen: Rewrite. Implement *all* floating point insns (except ld/st).
r5400.igen: Tag mdmx functions as being mdmx specific.
1998-02-23 16:55:38 +00:00
Andrew Cagney
0325f2dc89
Add tracing of booleans and addresses.
1998-02-23 16:43:34 +00:00
Andrew Cagney
5af9fc5f50
Specify correct values for REGISTER_RAW_SIZE.
...
If a SIM/GDB register size botch, warn the user once.
1998-02-23 16:40:34 +00:00
Andrew Cagney
2c3c3f790d
Generate ENGINE_ISSUE hooks as part of SMP simulator.
1998-02-23 14:43:13 +00:00
Andrew Cagney
bdfe5c0439
* sim-fpu.h (enum sim_fpu_class): Add sim_fpu_class_denorm.
...
(sim_fpu_fpto, sim_fpu_tofp): Define.
1998-02-23 09:18:30 +00:00
Andrew Cagney
3c1e924307
* ld-insn.c (parse_function_record): When -Wnodiscard, suppress
...
discarded function warning.
* igen.c (main): Clarify -Wnodiscard.
* ld-insn.c (parse_function_record): For functions, allow use of
instruction style function model records
1998-02-23 08:55:41 +00:00
Ian Lance Taylor
bdd5e0232a
remove sparclinux.h
1998-02-23 04:53:58 +00:00
Richard Henderson
2f53b8ff40
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create
...
a plt entry when we can determine that we authoritatively define
the symbol.
1998-02-23 04:41:18 +00:00
Richard Henderson
07fafd5d88
* configure.in (COREFILE selection): Remove sparc-*-linux*. They
...
don't actually use trad-core, but a SunOS-style core file handled
by gdb directly.
* hosts/sparclinux.h: Remove.
1998-02-23 04:37:04 +00:00
Andrew Cagney
71d51207d1
Keep include/regs.
1998-02-23 00:06:33 +00:00
Jeff Law
7eab31b76f
* simops.c: Include sim-types.h.
1998-02-22 22:59:43 +00:00
Richard Henderson
56c99b3ea7
* read.c (s_set): Record file and line info for symbols when -as.
...
(pseudo_set): Don't overwrite that dummy fragment.
PR 14986
1998-02-22 06:36:20 +00:00
Doug Evans
83920d292b
(vu_count): New static local.
...
(assemble_vif): Temporary hack to properly align mpg/direct data.
(assemble_vu): Insert mpg every 256 insns.
1998-02-21 07:44:25 +00:00
Doug Evans
ee753b4b6b
tc-dvp.c (cur_mach): New static local.
...
(record_mach): New function.
(md_begin): Initialize `cur_mach'.
(assemble_*): Record current mach type.
1998-02-21 06:28:46 +00:00
Doug Evans
57d0c8302d
(cur_mach): New static local.
...
(record_mach): New function.
(md_begin): Initialize `cur_mach'.
(assemble_*): Record current mach type.
1998-02-21 06:28:18 +00:00
Doug Evans
a2707619a5
(extract_vif_datalen,{insert,extract}_vif_imrbits): New functions.
...
(vif_insn_len): Handle `unpack'.
({insert,extract}_dma_flags): Complete.
1998-02-21 06:26:41 +00:00
Doug Evans
498fcb9cdb
(asm_state_stack): Maintain stack of parsing states.
...
({push,pop,set}_asm_state): New functions.
(CUR_ASM_STATE): Renamed from cur_asm_state, all uses updated.
1998-02-21 03:26:47 +00:00
Doug Evans
8151801a09
(asm_state): New state ASM_GIF.
...
(gif_{insn_type,data_name,insn_frag}): New static locals.
(md_assemble): Watch for .endgif if in ASM_GIF state.
(assemble_gif): Complete.
(s_endgif): Complete.
1998-02-21 02:12:15 +00:00
Doug Evans
c2b2e0f0f3
* dvp-dis.c (print_gif): Complete.
...
* dvp-opc.c (gif_operands,gif_opcodes): Complete.
(state_gif_{nregs,regs,nloop}): New static locals.
(*_gif_*): Complete.
(dvp_opcode_init_{parse,print}): Init gif state locals.
1998-02-21 02:09:02 +00:00
Doug Evans
6e57fa5070
* dvp.h (GIF_MAX_NLOOP,GIF_PRE): New macros.
...
(gif_type): New type.
(gif_nloop,gif_nregs,gif_operand_nloop): Declare.
1998-02-21 02:03:08 +00:00
Tom Tromey
fdd0bb19c5
* configure: Don't let builds be done in source tree.
1998-02-21 00:05:01 +00:00
Frank Ch. Eigler
653c259005
* PKE sim unit testing continuing. The DIRECT and MPG instructions
...
were hammered in today's runs. Work is beginning in endian-proofing
the code.
* sky-pke.c (pke1_issue): Issue on correct PKE device.
(pke_io_write_buffer, pke_code_mpg, pke_code_unpack): Perform more
endian conversions.
(pke_code_mpg, pke_code_direct): Add operand alignment assertions.
(pke_code_mpg): Correct VU stall checks. Correct VU opcode
transfer ordering.
(pke_code_direct): Correct typos in DIRECT operand accessing.
(pke_code_unpack): Correct conditional sign-extension handling.
* sky-gpuif.c (gif_io_read_buffer, gif_io_write_buffer): Correct
assertion polarity.
(gif_read_tag): Disable faulty DMA-tag testing code.
1998-02-20 23:59:10 +00:00
Michael Meissner
ca0e29d12b
fix typo
1998-02-20 21:54:06 +00:00
Nick Clifton
c801e51bb6
Fixed UNLOCK test.
1998-02-20 21:01:05 +00:00
Nick Clifton
ab361c3582
Fixed MVFC test.
1998-02-20 20:56:35 +00:00
Nick Clifton
78cbe8f6e4
Fix REMU test.
1998-02-20 20:52:30 +00:00
Doug Evans
d3c6610c00
* confirg/tc-dvp.c (md_assemble): Handle ASM_DIRECT state.
...
(dvp_parse_done): Comment out contents.
(s_enddirect,s_endmpg,s_endunpack): Call demand_empty_rest_of_line.
(s_state): Handle .vu in included file.
1998-02-20 20:48:39 +00:00
Ian Lance Taylor
c634d13e18
* config/tc-ppc.c (md_pseudo_table): Add "section".
...
(ppc_named_section): New static function.
1998-02-20 20:04:09 +00:00