Richard Henderson [Thu, 23 Oct 1997 00:17:25 +0000 (00:17 +0000)]
* sparc-opc.c (v9notv9a): New insn type.
(IMPDEP): Move to the end to not conflict with edge8 et al.
Patch from David Miller <davem@vger.rutgers.edu>.
Jeff Law [Wed, 22 Oct 1997 23:28:30 +0000 (23:28 +0000)]
* mdebugread.c (psymtab_to_symtab_1): Handle new live range stabs
entries.
* dbxread.c: More comment cleanups.
* stabsread.c: Fix various violations of the GNU coding and
formatting standards. Update/add comments to make code clearer.
(resolve_reference): Delete unused function.
(ref_search_val): Remove function. It didn't belong in stabsread.c
(resolve_live_range): No longer returns a value. Do not add it
to the live range list until the entire range stab has been parsed.
(get_substring): Remove duplicate declaration.
(resolve_symbol_reference): Now static. Remove unnecessary code
to deal with cleanups.
(ref_add): Use xrealloc instea of realloc.
(process_reference): Reorganize slightly to make clearer.
* stabsread.h (resolve_symbol_reference): Remove declaration.
(resolve_reference): Likewise.
* symtab.c (find_active_alias): New function.
(lookup_block_symbol): Use find_active_alias.
* symtab.h (struct range_list): Fix dangling struct live_range
reference.
(ref_search_val): Remove decl.
* symtab.h (struct range_list): Renamed from struct live_range.
(struct symbol): Remove struct live_range_info substruct.
Bring the alias list and range list fields up to the toplevel
as "aliases" and "ranges".
(SYMBOL_ALIASES, SYMBOL_RANGES): Corresponding changes.
(SYMBOL_RANGE_START, SYMBOL_RANGE_END, SYMBOL_RANGE_NEXT): Delete.
* stabsread.c: Corresponding changes.
Bring first round of cleanups over from r5900 branch.
Ken Raeburn [Wed, 22 Oct 1997 21:34:33 +0000 (21:34 +0000)]
sanitize law's 15 jul r5900 change
Ian Lance Taylor [Wed, 22 Oct 1997 20:13:54 +0000 (20:13 +0000)]
* config/tc-sh.c (sh_small): New variable.
(OPTION_SMALL): Define.
(md_longopts): Add "small".
(md_parse_option): Handle OPTION_SMALL.
(md_show_usage): Mention -small.
* config/tc-sh.h (sh_small): Declare.
(SUB_SEGMENT_ALIGN): Handle sh_small.
* config/obj-coff.h (TARGET_FORMAT): Check sh_small in TC_SH
case.
PR 13580.
Ian Lance Taylor [Wed, 22 Oct 1997 20:12:02 +0000 (20:12 +0000)]
* coff-sh.c (coff_small_object_p): New static function.
(coff_small_new_section_hook): New static function.
(bfd_coff_small_swap_table): New static const structure.
(coff_small_close_and_cleanup): Define.
(coff_small_bfd_free_cached_info): Define.
(coff_small_get_section_contents): Define.
(coff_small_get_section_contents_in_window): Define.
(shcoff_small_vec): New static structure.
(shlcoff_small_vec): New static structure.
* targets.c (bfd_target_vector): Add shcoff_small_vec and
shlcoff_small_vec.
* config.bfd (sh-*-elf*): Add shcoff_small_vec and
shlcoff_small_vec to targ_selvecs.
(sh-*-*): Likewise.
* configure.in: Add shcoff_small_vec and shlcoff_small_vec cases.
* configure: Rebuild.
PR 13580.
Jeff Law [Wed, 22 Oct 1997 19:15:44 +0000 (19:15 +0000)]
More comment fixes to make the code clearer.
Jeff Law [Wed, 22 Oct 1997 19:04:30 +0000 (19:04 +0000)]
* dbxread.c: Fix various violations of the GNU coding and
formatting standards. Update/add comments to make code
clearer.
(process_later): Use xrealloc instead of realloc.
Jeff Law [Wed, 22 Oct 1997 18:28:25 +0000 (18:28 +0000)]
Minor comment fix.
Jeff Law [Wed, 22 Oct 1997 18:12:30 +0000 (18:12 +0000)]
* symtab.c: Include inferior.h.
Brought over from r5900 branch.
Ian Lance Taylor [Wed, 22 Oct 1997 16:52:46 +0000 (16:52 +0000)]
* config/tc-mips.c (macro): Correct handling of constant in M_LI_D
case in little endian mode.
Ian Lance Taylor [Wed, 22 Oct 1997 15:29:48 +0000 (15:29 +0000)]
* scripttempl/pe.sc: Put .eh_frame in .rdata.
Andrew Cagney [Wed, 22 Oct 1997 05:26:27 +0000 (05:26 +0000)]
Add LMA_P and DO_WRITE arguments to sim/common/sim-load.c:sim_load_file().
Update all simulators.
Clarify behavour of sim_load in remote-sim.h
Doug Evans [Wed, 22 Oct 1997 02:12:41 +0000 (02:12 +0000)]
* nrun.c (main): Exit if bfd_openr fails.
Call bfd_check_format after bfd_openr.
Doug Evans [Wed, 22 Oct 1997 01:38:49 +0000 (01:38 +0000)]
* nrun.c (main): Remove useless test of name != NULL.
Per Bothner [Tue, 21 Oct 1997 21:15:52 +0000 (21:15 +0000)]
* ch-exp.c: Rename FIELD_NAME to DOT_FIELD_NAME (to avoid conflict).
Doug Evans [Tue, 21 Oct 1997 17:23:12 +0000 (17:23 +0000)]
* config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave
overflow signalling to linker.
Jeff Law [Tue, 21 Oct 1997 16:07:53 +0000 (16:07 +0000)]
* simops.c: Correctly handle register restores for "ret" and "retf"
instructions.
pr13306 related stuff.
Andrew Cagney [Tue, 21 Oct 1997 07:57:33 +0000 (07:57 +0000)]
Use SIM*_OVERFLOW_RESULT defined in sim-alu.h
Andrew Cagney [Tue, 21 Oct 1997 07:41:46 +0000 (07:41 +0000)]
Pacify GCC -Wall
Andrew Cagney [Tue, 21 Oct 1997 07:40:00 +0000 (07:40 +0000)]
Output pc profile statistics once gathered.
Andrew Cagney [Tue, 21 Oct 1997 03:41:21 +0000 (03:41 +0000)]
Delete profile support from MIPS simulator, use sim/common/sim-profile
module instead.
Generate a "gmon.out" (gprof) when profiling the target PC.
Add target PC profiling option --profile-pc-granularity (bucket size)
Doug Evans [Mon, 20 Oct 1997 20:02:28 +0000 (20:02 +0000)]
* configure.in (sparc64): Set arch to v9-64.
* configure: Regenerated.
Ian Lance Taylor [Mon, 20 Oct 1997 19:43:05 +0000 (19:43 +0000)]
Various fixes for openvms/alpha.
Ian Lance Taylor [Mon, 20 Oct 1997 19:33:16 +0000 (19:33 +0000)]
Mon Oct 20 15:31:43 1997 Klaus K"ampf <kkaempf@progis.de>
* configure.com (HAVE_SBRK): Undefine.
Ian Lance Taylor [Mon, 20 Oct 1997 19:30:47 +0000 (19:30 +0000)]
Mon Oct 20 15:28:49 1997 Klaus K"ampf <kkaempf@progis.de>
* makefile.vms: Fix to work with DEC C.
Ian Lance Taylor [Mon, 20 Oct 1997 19:23:09 +0000 (19:23 +0000)]
various evax patches
Ian Lance Taylor [Mon, 20 Oct 1997 19:08:15 +0000 (19:08 +0000)]
Mon Oct 20 15:01:27 1997 Klaus K"ampf <kkaempf@progis.de>
* evax-egsd.c: make section flags dec c compatible
Ian Lance Taylor [Mon, 20 Oct 1997 18:56:21 +0000 (18:56 +0000)]
Mon Oct 20 14:54:06 1997 Klaus K"ampf <kkaempf@progis.de>
* config/obj-evax.c: support .weak pseudo-op
Ian Lance Taylor [Mon, 20 Oct 1997 18:37:48 +0000 (18:37 +0000)]
* ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
__throw, since the current g++ expects them to be defined.
Doug Evans [Mon, 20 Oct 1997 17:23:10 +0000 (17:23 +0000)]
* tc-sparc.c (default_arch_size): New static local.
(struct sparc_arch): Rename arch_size to default_arch_size.
New member user_option_p.
(sparc_arch_table): Always include v9, v9a. New entry v9-64.
(init_default_arch): Check whether default arch is valid.
Set default_arch_size in addition to sparc_arch_size.
(OPTION_32,OPTION_64): Define.
(md_longopts): New entries for -32, -64.
(md_parse_option): Handle them.
(md_show_usage): Print them. Ensure init_default_arch called.
Jeff Law [Mon, 20 Oct 1997 15:37:44 +0000 (15:37 +0000)]
* som.c (normalize): Delete function.
(som_bfd_ar_write_symbol_stuff): New parameter elength. All callers
changed. Use passed in elength to determine size of the extended
name table instead of computing it again.
Ian Lance Taylor [Mon, 20 Oct 1997 14:56:55 +0000 (14:56 +0000)]
fix ChangeLog entry
Ian Lance Taylor [Mon, 20 Oct 1997 14:55:58 +0000 (14:55 +0000)]
* peicode.h (coff_swap_scnhdr_out): Don't clobber other flag
settings when setting IMAGE_SCN_MEM_READ. From Jim Wilson
<wilson@cygnus.com>.
Andrew Cagney [Mon, 20 Oct 1997 07:27:55 +0000 (07:27 +0000)]
Have single bit macros return an unsigned result. Avoids risk (and
need) of sign extending results.
Andrew Cagney [Mon, 20 Oct 1997 06:28:53 +0000 (06:28 +0000)]
Make mips registers of type unsigned_word.
Ensure all references to MIPS registers use same type.
Jeff Law [Mon, 20 Oct 1997 03:01:55 +0000 (03:01 +0000)]
* som.c (som_bfd_ar_write_symbol_stuff): Account for trailing
'/' in the extended name table.
Andrew Cagney [Mon, 20 Oct 1997 02:03:06 +0000 (02:03 +0000)]
Add 8 bit arithmetic to sim-alu.
Fix flags (Carry, oVerflow) for negate and subtract.
Add ALU*_RESULT macros for accessing final result of ALU op.
Ian Lance Taylor [Sun, 19 Oct 1997 18:14:01 +0000 (18:14 +0000)]
* write.c (subsegs_finish): New function, broken out of
write_object_file.
(write_object_file): Some code moves into subsegs_finish.
* write.c (subsegs_finish): Declare.
* as.c (main): Call subsegs_finish.
Fixes last frag when generating a listing for a file with an error.
Ian Lance Taylor [Sun, 19 Oct 1997 17:51:31 +0000 (17:51 +0000)]
* read.c (s_include): Check for error return from
demand_copy_string.
PR 13566.
Stan Shebs [Fri, 17 Oct 1997 20:24:02 +0000 (20:24 +0000)]
* infcmd.c: Improve grammar of "set args" help.
Gavin Romig-Koch [Fri, 17 Oct 1997 17:26:45 +0000 (17:26 +0000)]
opcodes/mips-opc.c (bnezl,beqzl): Mark these as also tx39.
Richard Henderson [Fri, 17 Oct 1997 07:05:05 +0000 (07:05 +0000)]
* ldlang.c (lang_register_vers_node): Only check globals<=>locals,
since we need to be able to export different versions of the same
symbol.
Richard Henderson [Fri, 17 Oct 1997 07:04:28 +0000 (07:04 +0000)]
* elflink.h (elf_link_assign_sym_version): For explicitly versioned
symbols, check globals list before matching on locals.
Andrew Cagney [Fri, 17 Oct 1997 03:57:53 +0000 (03:57 +0000)]
Preliminary tests for sim-alu module.
Michael Meissner [Thu, 16 Oct 1997 19:06:25 +0000 (19:06 +0000)]
Make decl of sds_load static
Gavin Romig-Koch [Thu, 16 Oct 1997 16:03:22 +0000 (16:03 +0000)]
opcodes/mips-opc.c: Note that 'jalx' is (probably incorrectly) marked I1.
Michael Meissner [Thu, 16 Oct 1997 12:22:05 +0000 (12:22 +0000)]
fix typo
Michael Meissner [Thu, 16 Oct 1997 12:19:16 +0000 (12:19 +0000)]
Fix mangled patch
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.
This page took 0.038449 seconds and 4 git commands to generate.