Andrew Cagney
5a9bddea84
Enable d10v simulator testsuite - two tests: Hello World and exit47.
1997-10-15 00:00:41 +00:00
Andrew Cagney
fd89abc204
Handle core regions which start at a poorly aligned address.
1997-10-14 23:45:52 +00:00
Nick Clifton
0543ba6ec8
Add function to determine if a symbol is located at a given address.
1997-10-14 23:12:18 +00:00
Nick Clifton
3516c09c60
New dummy function for symbol_at_address_func field of disassemble_info
...
structure.
Add code to use this field in v850 disassembly.
1997-10-14 23:09:59 +00:00
Nick Clifton
ecf4429f18
Added new field to disassemble_info structure to provide a function which
...
determines if a symbol can be found at a given address.
1997-10-14 23:05:34 +00:00
Richard Henderson
d980a81fbd
* 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.
1997-10-14 22:46:33 +00:00
Jeff Law
78fa3a1408
* h8300.h: Bit ops with absolute addresses not in the 8 bit
...
area are not available in the base model (H8/300).
pr 13467.
1997-10-14 19:19:15 +00:00
Andrew Cagney
7456a10d9b
* 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.
1997-10-14 09:39:05 +00:00
Andrew Cagney
055ee2977f
Checkpoint IGEN version of MIPS simulator.
1997-10-14 09:34:08 +00:00
Andrew Cagney
5ccb90201f
remote-sim.h: Clarify sim_read, sim_write MEM argument.
1997-10-14 09:33:18 +00:00
Andrew Cagney
0c2c5f6141
Move global MIPS simulator variables into sim_cpu struct.
1997-10-14 09:26:03 +00:00
Andrew Cagney
1b217de0f3
Correct type of address argument for sim_core_{read,write}
1997-10-14 09:24:57 +00:00
Andrew Cagney
18c64df613
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.
1997-10-14 07:27:31 +00:00
Richard Henderson
6a587c4aae
* 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.
1997-10-14 06:12:50 +00:00
Richard Henderson
3a13dd8f03
* 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.
1997-10-14 04:24:59 +00:00
Andrew Cagney
d5cecca93c
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.
1997-10-14 02:54:08 +00:00
Nick Clifton
c7eece073a
RELOC_22_PCREL only uses bottom 24 bits of PC.
1997-10-14 00:34:46 +00:00
Andrew Cagney
a0a5f4e2bd
Allow assembler to make parallel instructions where there the seconds
...
(latter) outputs intersect with the first (earlier) inputs.
1997-10-13 23:17:22 +00:00
Richard Henderson
856f843eef
* ecoff.c (PAGE_SIZE): Double to 8k as a hack to allow some C++
...
templated programs to build with -g.
1997-10-13 22:28:35 +00:00
Fred Fish
1155e06e3f
* 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
1997-10-13 18:26:52 +00:00
Fred Fish
b83093ff79
* simops.c (OP_6401): postdecrement on r15 is OK, remove exception.
...
(OP_6601): Ditto.
PR 13498
1997-10-11 16:50:05 +00:00
Fred Fish
93f0cb6975
* simops.c (OP_6401): postdecrement on r15 is OK, remove exception.
...
(OP_6601): Ditto.
1997-10-11 16:48:47 +00:00
Nick Clifton
de0e22c1bf
Added .tcomon section initialisation.
1997-10-11 01:02:07 +00:00
Nick Clifton
c280609300
Jim fixed the fixups for conditional and unconditional branches.
...
Added code to support the bss and common sections in thr ZDA and SDA areas.
1997-10-11 00:55:57 +00:00
Nick Clifton
5ff4668dea
Fixed bug extracting displacement from a JR instruction.
1997-10-10 23:41:43 +00:00
Nick Clifton
676d3f022c
Fixed bugs exposed by compiling NEC sample sources.
1997-10-10 23:01:17 +00:00
David Edelsohn
e01e18a8b3
* configure.in (sparc): Set DEFAULT_ARCH from correct target.
...
* configure: Regenerated.
1997-10-10 22:02:59 +00:00
Richard Henderson
246b7c9bc0
* objcopy.c, objcopy.1, binutils.texi: "localize" is a better name
...
than "privatize". Update all references.
1997-10-10 21:14:29 +00:00
Martin Hunt
b83565def8
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.
1997-10-10 18:22:59 +00:00
Andrew Cagney
528859ea3f
Flag SP as modified for @-sp operand - OPERAND_ATMINUS.
1997-10-10 05:59:16 +00:00
Michael Meissner
719ddab4cc
Do not allow auto inc/dec to parallelize with an instruction that uses the index register
1997-10-10 04:50:36 +00:00
David Edelsohn
2feb07dc3f
* gas/sparc/set64.[sd]: `set' doesn't take negative arguments.
1997-10-10 01:19:45 +00:00
David Edelsohn
70e818d423
* elf64-sparc.c (sparc_elf_{hix22,lox10}_reloc): New functions.
...
(sparc64_elf_howto_table): Use them for HIX22,LOX10 relocs.
1997-10-09 23:46:24 +00:00
Frank Ch. Eigler
eec1d04840
Added MIPS16 PC masking for disassembly. See PR 12149.
1997-10-09 20:26:08 +00:00
Ian Lance Taylor
18ef0a3df5
* binutils.texi (strip): Remove duplicate --target. From Marty
...
Leisner <leisner@sdsp.mc.xerox.com>.
1997-10-09 20:04:25 +00:00
Ian Lance Taylor
3cbae240f1
* 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.
1997-10-09 19:59:15 +00:00
Ian Lance Taylor
15ab76e50d
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.
1997-10-09 19:30:16 +00:00
Ian Lance Taylor
57f269b1c0
* doc/Makefile.am (CPU_DOCS): Define.
...
(as.info): Depend upon $(CPU_DOCS).
* doc/Makefile.in: Rebuild.
1997-10-09 19:22:15 +00:00
Ian Lance Taylor
ed1ed9f9dc
* configure.in: Remove AM_PROG_INSTALL; it's called by
...
AM_INIT_AUTOMAKE.
* configure: Rebuild.
1997-10-09 19:20:14 +00:00
Joern Rennecke
c7b2ac2856
* 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.
1997-10-09 18:37:16 +00:00
Joern Rennecke
d78d367107
* tc-d10v.h (TC_START_LABEL): Don't define.
...
(tc_frob_label): Define.
Fix for gas/13307.
1997-10-09 18:28:59 +00:00
Frank Ch. Eigler
bda3fc0083
* gas/sparc/set64.d: Update for recent disassembler changes.
...
* gas/sparc/splet.d: Likewise.
1997-10-09 18:04:54 +00:00
Ian Lance Taylor
c7020f0843
* gas/arm/arm7t.d: Update for recent disassembler changes.
...
* gas/h8300/ffxx1.d: Likewise.
1997-10-09 17:01:48 +00:00
Andrew Cagney
49a6eed58a
Snap. Gets through igen's checks.
1997-10-09 08:38:22 +00:00
Andrew Cagney
8782bfcfc4
Add -Wnodiscard option so that warning about discarded instructions
...
can be suppressed.
Allow ``<insn-spec> { <nmemonic> | <model> }'' in instruction file.
1997-10-09 08:35:33 +00:00
Richard Henderson
8d2e72a1c8
* 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.
1997-10-09 04:34:59 +00:00
Andrew Cagney
2875c6c685
Build IGEN with the MIPS simulator.
1997-10-09 00:41:14 +00:00
Richard Henderson
8a8a91a5b7
* config/tc-alpha.c (load_expression): Disable the sym+const .got
...
optimization to reduce the alignment surprises for gcc.
1997-10-08 23:40:54 +00:00
David Edelsohn
8ac26d165e
* gas/sparc/reloc64.[sd]: Add testcases for %hix,%lox.
1997-10-08 23:24:06 +00:00
David Edelsohn
54b9ebdd55
* 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}.
1997-10-08 23:13:52 +00:00