Andrew Cagney [Thu, 16 Oct 1997 03:50:48 +0000 (03:50 +0000)]
Move register definitions and macros out of interp.c and into sim-main.h
Andrew Cagney [Thu, 16 Oct 1997 03:41:57 +0000 (03:41 +0000)]
Checkpoint IGEN version of MIPS simulator.
Andrew Cagney [Thu, 16 Oct 1997 03:39:13 +0000 (03:39 +0000)]
Rename generated file engine.c to oengine.c.
Andrew Cagney [Thu, 16 Oct 1997 03:29:47 +0000 (03:29 +0000)]
* gencode.c (build_instruction): Use FPR_STATE not fpr_state.
Andrew Cagney [Thu, 16 Oct 1997 03:23:16 +0000 (03:23 +0000)]
* gencode.c (build_instruction): For "FPSQRT", output correct number
of arguments to Recip.
Andrew Cagney [Thu, 16 Oct 1997 03:19:41 +0000 (03:19 +0000)]
* gen-semantics.c (print_semantic_body): Use CIA not cia.ip. Escape
newlines at end of generated call to sim_engine_abort.
Ian Lance Taylor [Wed, 15 Oct 1997 20:34:26 +0000 (20:34 +0000)]
* peicode.h (pe_mkobject_hook): Set DLL flag.
(pe_bfd_copy_private_bfd_data): Copy DLL flag.
David Edelsohn [Wed, 15 Oct 1997 19:08:18 +0000 (19:08 +0000)]
* sparc/tm-sparc.h (STORE_STRUCT_RETURN): Change to handle --enable-64-bit-bfd.
David Edelsohn [Wed, 15 Oct 1997 19:07:30 +0000 (19:07 +0000)]
(STORE_STRUCT_RETURN): Change to handle --enable-64-bit-bfd.
Ian Lance Taylor [Wed, 15 Oct 1997 18:53:18 +0000 (18:53 +0000)]
* scripttempl/pe.sc: Put .stab and .stabstr sections at end.
Ian Lance Taylor [Wed, 15 Oct 1997 18:17:40 +0000 (18:17 +0000)]
* peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_DISCARDABLE
for .stab* sections. Replace strlen of constant strings with
number.
David Edelsohn [Wed, 15 Oct 1997 17:31:07 +0000 (17:31 +0000)]
* config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Mask off displacement
to 30 bits in call insn to handle --enable-64-bit-bfd.
Jeff Law [Wed, 15 Oct 1997 16:40:48 +0000 (16:40 +0000)]
* gas/ieee-fp/x930509a.s: Tweak slightly to work on the PA.
[ pseudo-ops and directives must not start in column zero on the PA. ]
Jeff Law [Wed, 15 Oct 1997 16:37:03 +0000 (16:37 +0000)]
* gas/hppa/unsorted/unsorted.exp: Update for recent disassembler
changes.
Jeff Law [Wed, 15 Oct 1997 04:11:06 +0000 (04:11 +0000)]
Bring over from r5900 branch.
Richard Henderson [Wed, 15 Oct 1997 03:56:30 +0000 (03:56 +0000)]
* read.c (get_line_sb): Accept any eol marker while scanning macros.
Richard Henderson [Wed, 15 Oct 1997 02:17:00 +0000 (02:17 +0000)]
* config/tc-alpha.h (DIFF_EXPR_OK): Define.
* config/tc-i386.h (DIFF_EXPR_OK): Define.
* config/tc-alpha.c (md_apply_fix): Notice fx_pcrel and substitute
the correct relocation when it exists.
* config/tc-i386.c (md_apply_fix3): Likewise.
* config/tc-ppc.h: Correct typo in comment.
* config/tc-v850.h: Likewise.
Andrew Cagney [Wed, 15 Oct 1997 00:05:28 +0000 (00:05 +0000)]
Sanitize additional files.
Andrew Cagney [Wed, 15 Oct 1997 00:00:41 +0000 (00:00 +0000)]
Enable d10v simulator testsuite - two tests: Hello World and exit47.
Andrew Cagney [Tue, 14 Oct 1997 23:45:52 +0000 (23:45 +0000)]
Handle core regions which start at a poorly aligned address.
Nick Clifton [Tue, 14 Oct 1997 23:12:18 +0000 (23:12 +0000)]
Add function to determine if a symbol is located at a given address.
Nick Clifton [Tue, 14 Oct 1997 23:09:59 +0000 (23:09 +0000)]
New dummy function for symbol_at_address_func field of disassemble_info
structure.
Add code to use this field in v850 disassembly.
Nick Clifton [Tue, 14 Oct 1997 23:05:34 +0000 (23:05 +0000)]
Added new field to disassemble_info structure to provide a function which
determines if a symbol can be found at a given address.
Richard Henderson [Tue, 14 Oct 1997 22:46:33 +0000 (22:46 +0000)]
* elf64-alpha.c (elf64_alpha_merge_ind_symbols): New function to
merge got and reloc entries from ind syms to their target.
(elf64_alpha_always_size_sections): Call it.
(elf64_alpha_check_relocs): Operate on the target of indirect symbols.
(elf64_alpha_can_merge_gots): Likewise.
(elf64_alpha_merge_gots): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Back out HJ's change,
as it is insufficient to handle the relocation changes as well.
Jeff Law [Tue, 14 Oct 1997 19:19:15 +0000 (19:19 +0000)]
* h8300.h: Bit ops with absolute addresses not in the 8 bit
area are not available in the base model (H8/300).
pr 13467.
Andrew Cagney [Tue, 14 Oct 1997 09:39:05 +0000 (09:39 +0000)]
* sim-alu.h (ALU64_HAD_OVERFLOW): Define.
(ALU64_SUB): Define.
* Make-common.in (all): Build SIM_EXTRA_ALL first.
(.gdbinit): Remove dependencies, generate once per build.
Andrew Cagney [Tue, 14 Oct 1997 09:34:08 +0000 (09:34 +0000)]
Checkpoint IGEN version of MIPS simulator.
Andrew Cagney [Tue, 14 Oct 1997 09:33:18 +0000 (09:33 +0000)]
remote-sim.h: Clarify sim_read, sim_write MEM argument.
Andrew Cagney [Tue, 14 Oct 1997 09:26:03 +0000 (09:26 +0000)]
Move global MIPS simulator variables into sim_cpu struct.
Andrew Cagney [Tue, 14 Oct 1997 09:24:57 +0000 (09:24 +0000)]
Correct type of address argument for sim_core_{read,write}
Andrew Cagney [Tue, 14 Oct 1997 07:27:31 +0000 (07:27 +0000)]
o Add support for configuring wordsize, fp hardware and target
endianness. Provide defaults for some tier-1 mips targets.
o Parameterize all functions with SIM_DESC.
Richard Henderson [Tue, 14 Oct 1997 06:12:50 +0000 (06:12 +0000)]
* elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Allow for RELATIVE
relocs for symbols in shlibs that have been forced local.
(elf64_alpha_relocate_section): Output RELATIVEs in .got for same.
Richard Henderson [Tue, 14 Oct 1997 04:24:59 +0000 (04:24 +0000)]
* bfd/elf64-alpha.c (elf64_alpha_relocate_section): Use the
got_enties of the default symbol for the default versioned
symbol. Patch from hjl@gnu.ai.mit.edu, modified not to use
alloca in the loop.
Andrew Cagney [Tue, 14 Oct 1997 02:54:08 +0000 (02:54 +0000)]
Output line-ref to original igen source file when generating trace
statements.
Define NIA macro (dependant on gen-delayed-branch).
Verify opening/closing quote in input assembler strings.
Nick Clifton [Tue, 14 Oct 1997 00:34:46 +0000 (00:34 +0000)]
RELOC_22_PCREL only uses bottom 24 bits of PC.
Andrew Cagney [Mon, 13 Oct 1997 23:17:22 +0000 (23:17 +0000)]
Allow assembler to make parallel instructions where there the seconds
(latter) outputs intersect with the first (earlier) inputs.
Richard Henderson [Mon, 13 Oct 1997 22:28:35 +0000 (22:28 +0000)]
* ecoff.c (PAGE_SIZE): Double to 8k as a hack to allow some C++
templated programs to build with -g.
Fred Fish [Mon, 13 Oct 1997 18:26:52 +0000 (18:26 +0000)]
* simops.c (OP_6A01): Change OP_POSTDEC to OP_POSTINC and move
exception generation code to OP_6E01.
(OP_6E01): Change OP_POSTINC to OP_POSTDEC and insert exception
generation code.
PR 13550
Fred Fish [Sat, 11 Oct 1997 16:50:05 +0000 (16:50 +0000)]
* simops.c (OP_6401): postdecrement on r15 is OK, remove exception.
(OP_6601): Ditto.
PR 13498
Fred Fish [Sat, 11 Oct 1997 16:48:47 +0000 (16:48 +0000)]
* simops.c (OP_6401): postdecrement on r15 is OK, remove exception.
(OP_6601): Ditto.
Nick Clifton [Sat, 11 Oct 1997 01:02:07 +0000 (01:02 +0000)]
Added .tcomon section initialisation.
Nick Clifton [Sat, 11 Oct 1997 00:55:57 +0000 (00:55 +0000)]
Jim fixed the fixups for conditional and unconditional branches.
Added code to support the bss and common sections in thr ZDA and SDA areas.
Nick Clifton [Fri, 10 Oct 1997 23:41:43 +0000 (23:41 +0000)]
Fixed bug extracting displacement from a JR instruction.
Nick Clifton [Fri, 10 Oct 1997 23:01:17 +0000 (23:01 +0000)]
Fixed bugs exposed by compiling NEC sample sources.
David Edelsohn [Fri, 10 Oct 1997 22:02:59 +0000 (22:02 +0000)]
* configure.in (sparc): Set DEFAULT_ARCH from correct target.
* configure: Regenerated.
Richard Henderson [Fri, 10 Oct 1997 21:14:29 +0000 (21:14 +0000)]
* objcopy.c, objcopy.1, binutils.texi: "localize" is a better name
than "privatize". Update all references.
Martin Hunt [Fri, 10 Oct 1997 18:22:59 +0000 (18:22 +0000)]
Fri Oct 10 11:22:45 1997 Martin M. Hunt <hunt@cygnus.com>
* config/tc-d10v.c: Fixes to make sure the AT_WORD
expression is not confused with -1.
Andrew Cagney [Fri, 10 Oct 1997 05:59:16 +0000 (05:59 +0000)]
Flag SP as modified for @-sp operand - OPERAND_ATMINUS.
Michael Meissner [Fri, 10 Oct 1997 04:50:36 +0000 (04:50 +0000)]
Do not allow auto inc/dec to parallelize with an instruction that uses the index register
David Edelsohn [Fri, 10 Oct 1997 01:19:45 +0000 (01:19 +0000)]
* gas/sparc/set64.[sd]: `set' doesn't take negative arguments.
David Edelsohn [Thu, 9 Oct 1997 23:46:24 +0000 (23:46 +0000)]
* elf64-sparc.c (sparc_elf_{hix22,lox10}_reloc): New functions.
(sparc64_elf_howto_table): Use them for HIX22,LOX10 relocs.
Frank Ch. Eigler [Thu, 9 Oct 1997 20:26:08 +0000 (20:26 +0000)]
Added MIPS16 PC masking for disassembly. See PR 12149.
Ian Lance Taylor [Thu, 9 Oct 1997 20:04:25 +0000 (20:04 +0000)]
* binutils.texi (strip): Remove duplicate --target. From Marty
Leisner <leisner@sdsp.mc.xerox.com>.
Ian Lance Taylor [Thu, 9 Oct 1997 19:59:15 +0000 (19:59 +0000)]
* nm.c (lineno_cache_bfd): New file static variable.
(lineno_cache_rel_bfd): New file static variable.
(display_archive): Clear lineno_cache_bfd and lineno_cache_rel_bfd
when closing a BFD.
(display_file): Likewise.
(print_symbol): Use lineno_cache_bfd and lineno_cache_rel_bfd
instead of cache_bfd and cache_rel_bfd. Make seccount static, and
only set it when setting relocs.
Ian Lance Taylor [Thu, 9 Oct 1997 19:30:16 +0000 (19:30 +0000)]
From Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au>:
* config/tc-m68k.c (archs): Add 68306, 68307, 68322, 68356, 68334,
68336, 68341, 68349.
* doc/c-m68k.texi (M68K-Opts): Add -m68ec000 -m68hc000 -m68hc001
-m68306, -m68307, -m68322, -m68356, -m68ec020, -m68ec030,
-m68ec040, -m68ec060, -m68330, -m68334, -m68336, -m68341,
-m68349.
Ian Lance Taylor [Thu, 9 Oct 1997 19:22:15 +0000 (19:22 +0000)]
* doc/Makefile.am (CPU_DOCS): Define.
(as.info): Depend upon $(CPU_DOCS).
* doc/Makefile.in: Rebuild.
Ian Lance Taylor [Thu, 9 Oct 1997 19:20:14 +0000 (19:20 +0000)]
* configure.in: Remove AM_PROG_INSTALL; it's called by
AM_INIT_AUTOMAKE.
* configure: Rebuild.
Joern Rennecke [Thu, 9 Oct 1997 18:37:16 +0000 (18:37 +0000)]
* config/tc-d10v.c (write_2_short): Fix bug that wouldn't allow
to pair a branch and link with anything but an exe instruction.
Fix for gas/13494.
Joern Rennecke [Thu, 9 Oct 1997 18:28:59 +0000 (18:28 +0000)]
* tc-d10v.h (TC_START_LABEL): Don't define.
(tc_frob_label): Define.
Fix for gas/13307.
Frank Ch. Eigler [Thu, 9 Oct 1997 18:04:54 +0000 (18:04 +0000)]
* gas/sparc/set64.d: Update for recent disassembler changes.
* gas/sparc/splet.d: Likewise.
Ian Lance Taylor [Thu, 9 Oct 1997 17:01:48 +0000 (17:01 +0000)]
* gas/arm/arm7t.d: Update for recent disassembler changes.
* gas/h8300/ffxx1.d: Likewise.
Andrew Cagney [Thu, 9 Oct 1997 08:38:22 +0000 (08:38 +0000)]
Snap. Gets through igen's checks.
Andrew Cagney [Thu, 9 Oct 1997 08:35:33 +0000 (08:35 +0000)]
Add -Wnodiscard option so that warning about discarded instructions
can be suppressed.
Allow ``<insn-spec> { <nmemonic> | <model> }'' in instruction file.
Richard Henderson [Thu, 9 Oct 1997 04:34:59 +0000 (04:34 +0000)]
* objcopy.c (keep_specific_list, privatize_specific_list,
weaken_specific_list): New variables.
(keep_symbols): Removed.
(add_specific_symbol): New function from the carcas of
add_strip_symbol. Takes a list as an argument.
(is_specified_symbol): Likewise from is_strip_symbol.
(filter_symbols): Honor the new privatize and weaken lists.
Optimize bfd_asymbol_name handling.
(copy_object, copy_options, copy_usage): Add privatize-symbol &
weaken-symbol options.
* objcopy.1, binutils.texi: Update docs.
Andrew Cagney [Thu, 9 Oct 1997 00:41:14 +0000 (00:41 +0000)]
Build IGEN with the MIPS simulator.
Richard Henderson [Wed, 8 Oct 1997 23:40:54 +0000 (23:40 +0000)]
* config/tc-alpha.c (load_expression): Disable the sym+const .got
optimization to reduce the alignment surprises for gcc.
David Edelsohn [Wed, 8 Oct 1997 23:24:06 +0000 (23:24 +0000)]
* gas/sparc/reloc64.[sd]: Add testcases for %hix,%lox.
David Edelsohn [Wed, 8 Oct 1997 23:13:52 +0000 (23:13 +0000)]
* config/obj-coff.h (TC_SPARC): Don't define TARGET_FORMAT.
* config/tc-sparc.c (sparc_target_format): Handle coff here.
(sparc_ip): Add %hix,%lox.
(md_apply_fix3): Call as_bad_where, not as_bad.
Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
(tc_gen_reloc): Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
Ian Lance Taylor [Wed, 8 Oct 1997 19:57:20 +0000 (19:57 +0000)]
* gas/sparc/synth.d: Update for recent disassembler changes.
* gas/sparc/synth64.d: Likewise.
Richard Henderson [Wed, 8 Oct 1997 19:39:25 +0000 (19:39 +0000)]
* configure.tgt, configure.host: Change alpha-*-* to alpha*-*-*;
config.guess now recognizes alphaev5 etc.
Richard Henderson [Wed, 8 Oct 1997 19:36:17 +0000 (19:36 +0000)]
Change alpha-*-* to alpha*-*-*; config.guess now
recognizes alphaev5 etc.
Ian Lance Taylor [Wed, 8 Oct 1997 19:13:38 +0000 (19:13 +0000)]
* gas/mips/beq.s: Add .text to .globl to mark the symbol to as a
function symbol.
* gas/mips/jal.s: Likewise.
Richard Henderson [Wed, 8 Oct 1997 18:41:19 +0000 (18:41 +0000)]
* elfcore.h (bfd_prstatus): Pedanticly, alignment_power should
be LOG_FILE_ALIGN.
Richard Henderson [Wed, 8 Oct 1997 18:39:23 +0000 (18:39 +0000)]
* config.bfd: Missed one alpha* change.
Frank Ch. Eigler [Wed, 8 Oct 1997 16:28:50 +0000 (16:28 +0000)]
Fixed small typo in tcl expr syntax.
Gavin Romig-Koch [Wed, 8 Oct 1997 04:17:08 +0000 (04:17 +0000)]
config/tc-mips.c (md_begin): Replace the TARGET_CPU value
of mipsr3900 with mipstx39.
config/tc-mips.c (mips_ip): Don't print the 'opcode requires
-mipsXX message' if the insn isn't an ISA insn.
Andrew Cagney [Wed, 8 Oct 1997 04:16:01 +0000 (04:16 +0000)]
MIPS/IGEN checkpoint - doesn't build.
Gavin Romig-Koch [Wed, 8 Oct 1997 04:04:29 +0000 (04:04 +0000)]
config.sub: Add mips-tx39-elf to marketing names.
Gavin Romig-Koch [Wed, 8 Oct 1997 03:46:38 +0000 (03:46 +0000)]
opcodes/mips-opc.c: Three op mult is not an ISA insn.
Gavin Romig-Koch [Wed, 8 Oct 1997 03:42:27 +0000 (03:42 +0000)]
opcodes/mips-opc.c: Fix formatting.
Gavin Romig-Koch [Wed, 8 Oct 1997 01:40:35 +0000 (01:40 +0000)]
tx19 sanitize fixes.
Frank Ch. Eigler [Wed, 8 Oct 1997 01:37:52 +0000 (01:37 +0000)]
Updated first round of test suite drivers to accept symbol-offset
listings from "objdump" disassembly with or without the new "0x"
prefix before hexadecimal numbers.
David Edelsohn [Tue, 7 Oct 1997 20:29:49 +0000 (20:29 +0000)]
reloc64.[sd]: New testcase.
David Edelsohn [Tue, 7 Oct 1997 19:53:17 +0000 (19:53 +0000)]
* config/tc-sparc.h (TARGET_FORMAT support): Moved to tc-sparc.c.
Redefine TARGET_FORMAT to call sparc_target_format.
* config/tc-sparc.c (in_unsigned_range): New function.
(sparc_arch_size): Make static.
(sparc_target_format): New function.
(sparc_ip): Delete variable immediate_max. Rewrite %hi/etc reloc
handling. Add support for %hh,%hm,%lm,%h44,%m44,%l44.
(output_insn): Set `fx_no_overflow'.
(md_apply_fix3): Handle BFD_RELOC_SPARC_{7,H44,M44,L44}.
(tc_gen_reloc): Likewise.
Jeff Law [Tue, 7 Oct 1997 19:48:22 +0000 (19:48 +0000)]
New file describing how stabs for live range splitting work. Should be
folded into the main stabs documentation.
Ian Lance Taylor [Tue, 7 Oct 1997 15:41:40 +0000 (15:41 +0000)]
* som.c (som_construct_extended_name_table): Remove static
function, and define as macro instead.
Andrew Cagney [Tue, 7 Oct 1997 08:45:11 +0000 (08:45 +0000)]
Checkpoint IGEN input file for MIPS simulator.
Stan Shebs [Mon, 6 Oct 1997 23:57:21 +0000 (23:57 +0000)]
Remove sanitized-out Magic Cap support, will never be released
Stan Shebs [Mon, 6 Oct 1997 23:39:29 +0000 (23:39 +0000)]
Remove sanitized-out Magic Cap support, will never be released
Stan Shebs [Mon, 6 Oct 1997 23:04:34 +0000 (23:04 +0000)]
Remove sanitized-out Magic Cap support, will never be released
Stan Shebs [Mon, 6 Oct 1997 22:55:34 +0000 (22:55 +0000)]
Remove sanitized-out Magic Cap support, will never be released
Nick Clifton [Mon, 6 Oct 1997 21:02:27 +0000 (21:02 +0000)]
Remove v850 specific section directive.
Stan Shebs [Mon, 6 Oct 1997 19:38:43 +0000 (19:38 +0000)]
Remove sanitized-out Magic Cap support, will never be released
Frank Ch. Eigler [Sun, 5 Oct 1997 21:05:12 +0000 (21:05 +0000)]
* objdump.c (disassemble_data): Added "0x" prefix to printed hex
offsets; fixed MIPS16 disassembly for --prefix-addresses mode;
see PR 12149.
Mark Alexander [Sun, 5 Oct 1997 01:53:22 +0000 (01:53 +0000)]
* remote-mips.c (mips-initialize): Work around flakiness in
some versions of PMON after loading a program.
Ian Lance Taylor [Sat, 4 Oct 1997 23:15:26 +0000 (23:15 +0000)]
* gas/ieee-fp/x930509a.exp: Accept m68k listing format.
Per Bothner [Fri, 3 Oct 1997 23:05:12 +0000 (23:05 +0000)]
* c-lang.h, cp-valprint.c (static_field_print): Make non-static.
* parse.c, parser-defs.h (length_of_subexp): Make non-static.
* jv-exp.y (FieldAccess): Handle dollar-VARIABLE as primary.
(ArrayAccess): Likewise. Also remove warnings.
(CastExpression): Implement (typename) UnaryExpression.
(push_qualified_expression_name): Fix small bug.
* jv-lang.c: Use TYPE_TAG_NAME, not TYPE_NAME for class names.
(_initialize_jave_language): Fix typo (jave -> java).
(java_language): Java does *not* have C-style arrays.
(java_class_from_object): Make more general (and complicated).
(java_link_class_type): Fix typo "super" -> "class". Handle arrays.
(java_emit_char, java_printchar): New function.
(evaluate_subexp_java case BINOP_SUBSCRIPT): Handle Java arrays.
* jv-valprint.c (java_value_print): Implement printing of Java arrays.
(java_print_value_fields): New function.
(java_val_print): Better printing of TYPE_CODE_CHAR, TYPE_CODE_STRUCT.
Ian Lance Taylor [Fri, 3 Oct 1997 21:46:04 +0000 (21:46 +0000)]
* config/tc-mips.c: Undef OBJ_COPY_SYMBOL_ATTRIBUTES before
including obj-elf.h in OBJ_MAYBE_ELF case.
(mips_target_format): Return NULL after abort to avoid warning.
Ian Lance Taylor [Fri, 3 Oct 1997 21:44:41 +0000 (21:44 +0000)]
* ecoff.c (generate_ecoff_stab): Remove unused static function.
Ian Lance Taylor [Fri, 3 Oct 1997 21:36:42 +0000 (21:36 +0000)]
* expr.c (operator): Accept ==. From Anders Blomdell
<anders.blomdell@control.lth.se>.