binutils-gdb.git
28 years agoTue Oct 29 12:13:52 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 29 Oct 1996 20:31:08 +0000 (20:31 +0000)]
Tue Oct 29 12:13:52 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* interp.c (sim_size): Now allocates unified memory for imap segments
0,1,2, and 127. Initializes imap0 and imap1 to 0x1000.  Initializes dmap to 0.
(sim_write): Just call xfer_mem().
(sim_read): Just call xfer_mem().
(xfer_mem): New function. Does appropriate memory mapping and copies bytes.
(dmem_addr): New function. Reads dmap register and translates data
  addresses to local addresses.
(pc_addr): New function. Reads imap register and computes local address
corresponding to contents of the PC.
(sim_resume): Change to use pc_addr().
(sim_create_inferior): Change reinitialization code. Also reinitializes
imap[01] and dmap.
(sim_fetch_register): Add fake registers 32,33,34 for imap0, imap1, and dmap.
(sim_store_register): Add fake registers 32,33,34 for imap0, imap1, and dmap.

* simops.c (MEMPTR): Redefine to use dmem_addr().
(OP_5F00): Replace references to STate.imem with dmem_addr().

* d10v-sim.h (State): Remove mem_min and mem_max. Add umem[128].
(RB,SW,RW,SLW,RLW): Redefine to use dmem_addr().
(IMAP0,IMAP1,DMAP,SET_IMAP,SET_IMAP1,SET_DMAP): Define.

28 years ago * config/tc-v850.c (md_convert_frag): Make sure we insert the
Jeff Law [Tue, 29 Oct 1996 20:07:13 +0000 (20:07 +0000)]
    * config/tc-v850.c (md_convert_frag): Make sure we insert the
        fixup at the right address within the frag.

28 years ago * config/tc-v850.c (md_convert_frag): Don't set fragP->fr_fix
Jeff Law [Tue, 29 Oct 1996 19:48:18 +0000 (19:48 +0000)]
    * config/tc-v850.c (md_convert_frag): Don't set fragP->fr_fix
        to an absolute value, instead increment it as needed.

28 years ago * config/tc-v850.h (TC_GENERIC_RELAX_TABLE): Define.
Jeff Law [Tue, 29 Oct 1996 19:32:56 +0000 (19:32 +0000)]
    * config/tc-v850.h (TC_GENERIC_RELAX_TABLE): Define.
        * config/tc-v850.c: Fix some indention problems.
        (md_relax_table): Define for D9->D99 branch displacement
        relaxing.
        (md_convert_frag): Do something useful instead of aborting.
        (md_estimate_size_before_relax): Likewise.
        (md_assemble): Note if the matching instruction has a relaxable
        operand.  If it does, allocate frag with frag_var and don't
        do any fixups.
So we can do 9bit displacement to 22bit displacement relaxing.

28 years ago * v850-opc.c (D9_RELAX): Renamed from D9, all references
Jeff Law [Tue, 29 Oct 1996 19:25:35 +0000 (19:25 +0000)]
    * v850-opc.c (D9_RELAX): Renamed from D9, all references
        changed.
        (v850_operands): Make sure D22 immediately follows D9_RELAX.

28 years ago * v850.h (V850_OPERAND_RELAX): New operand flag.
Jeff Law [Tue, 29 Oct 1996 19:19:19 +0000 (19:19 +0000)]
    * v850.h (V850_OPERAND_RELAX): New operand flag.

28 years ago * ieee.c (ieee_write_section_part): Use LMA rather than VMA.
Ian Lance Taylor [Tue, 29 Oct 1996 18:26:11 +0000 (18:26 +0000)]
* ieee.c (ieee_write_section_part): Use LMA rather than VMA.
(do_with_relocs): Likewise.
(do_as_repeat): Likewise.
(copy_expression): Likewise.
PR 10946.

28 years ago * configure.in: Exclude mmalloc from i386-windows.
Stu Grossman [Tue, 29 Oct 1996 01:40:58 +0000 (01:40 +0000)]
* configure.in:  Exclude mmalloc from i386-windows.

28 years ago * mswin/genmakes mswin/recordit: New scripts to generate make
Stu Grossman [Tue, 29 Oct 1996 01:36:25 +0000 (01:36 +0000)]
* mswin/genmakes mswin/recordit:  New scripts to generate make
files for MSVC.

28 years ago * mh-dgux386: New file. x86 dgux specific flags
Stu Grossman [Tue, 29 Oct 1996 01:33:49 +0000 (01:33 +0000)]
* mh-dgux386: New file.  x86 dgux specific flags

28 years agohandle v850.sc
Ian Lance Taylor [Mon, 28 Oct 1996 23:48:06 +0000 (23:48 +0000)]
handle v850.sc

28 years ago * configure.tgt (sparclet*-*-aout*): Delete, use sparc*-*-aout*.
David Edelsohn [Mon, 28 Oct 1996 23:38:53 +0000 (23:38 +0000)]
* configure.tgt (sparclet*-*-aout*): Delete, use sparc*-*-aout*.

28 years agoadd write.c to v850_files
Ian Lance Taylor [Mon, 28 Oct 1996 23:13:44 +0000 (23:13 +0000)]
add write.c to v850_files

28 years ago * stabs.c (struct stab_handle): Add function_end field.
Ian Lance Taylor [Mon, 28 Oct 1996 22:17:52 +0000 (22:17 +0000)]
* stabs.c (struct stab_handle): Add function_end field.
(start_stab): Initialize function_end.
(finish_stab): Pass info->function_end to debug_end_function.
(parse_stab): If info->function_end is set, use it as the address
which ends a function.

28 years ago * ieee.c (ieee_array_type): Remember the correct size.
Ian Lance Taylor [Mon, 28 Oct 1996 22:12:02 +0000 (22:12 +0000)]
* ieee.c (ieee_array_type): Remember the correct size.

28 years ago * ieee.c (ieee_finish_compilation_unit): Permit coalescing ranges
Ian Lance Taylor [Mon, 28 Oct 1996 22:01:06 +0000 (22:01 +0000)]
* ieee.c (ieee_finish_compilation_unit): Permit coalescing ranges
that are up to 0x1000 bytes apart, not just 64.
(ieee_add_bb11_blocks): Don't bother to emit a BB11 that is less
than 0x100 bytes.
(ieee_lineno): Only emit line numbers that are less than
info->highaddr.

28 years agorevert last change
Ian Lance Taylor [Mon, 28 Oct 1996 21:52:07 +0000 (21:52 +0000)]
revert last change

28 years agoMon Oct 28 10:43:45 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Mon, 28 Oct 1996 18:45:00 +0000 (18:45 +0000)]
Mon Oct 28 10:43:45 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* read.c (read_a_source_file): New hook md_cleanup().

28 years agoadd new files
Ian Lance Taylor [Mon, 28 Oct 1996 16:38:46 +0000 (16:38 +0000)]
add new files

28 years ago * config/mips/{tm-vr5000.h,tm-vr5000el.h,vr5000.mt,vr5000el.mt}:
Mark Alexander [Mon, 28 Oct 1996 04:24:30 +0000 (04:24 +0000)]
* config/mips/{tm-vr5000.h,tm-vr5000el.h,vr5000.mt,vr5000el.mt}:
New files.
* configure.tgt: Modify cases for vr5000 to use new files.

28 years ago * procfs.c (proc_set_exec_trap): Under Alpha OSF/1-4.0, tracing
Peter Schauer [Sat, 26 Oct 1996 14:22:35 +0000 (14:22 +0000)]
* procfs.c (proc_set_exec_trap):  Under Alpha OSF/1-4.0, tracing
the entry to the exit system call to detect termination of the
inferior stopped working. Trace termination of the inferior via
PRFS_STOPTERM instead.
(procfs_init_inferior):  Do not trace entry to exit system call
if PIOCSSPCACT is defined.
(procfs_wait):  Handle PR_DEAD event, which signals the termination
of the inferior if PRFS_STOPTERM is set.

* mdebugread.c (parse_partial_symbols):  Ignore stNil section
start address symbols.

* sparc-tdep.c (get_saved_register):  Get saved PC from the
frame info if not in innermost frame.

28 years ago * ieee.c (struct ieee_defined_enum): Add defined field.
Ian Lance Taylor [Fri, 25 Oct 1996 20:57:15 +0000 (20:57 +0000)]
* ieee.c (struct ieee_defined_enum): Add defined field.
(ieee_enum_type): If the enum tag has been seen before but not
defined, reuse the same type index, and define it.
(ieee_tag_type): If this enum has not been defined, add an
undefined entry to the list of enums.
PR 10946.

28 years ago * objdump.c (disassemble_bytes): Let the disassembler override the
Ian Lance Taylor [Fri, 25 Oct 1996 16:14:40 +0000 (16:14 +0000)]
* objdump.c (disassemble_bytes): Let the disassembler override the
number of bytes printed on a line.

28 years ago * write.c (fix_new_exp): Use make_expr_symbol to build an
Ian Lance Taylor [Fri, 25 Oct 1996 04:01:54 +0000 (04:01 +0000)]
* write.c (fix_new_exp): Use make_expr_symbol to build an
expression symbol for a complex fixup.

28 years ago * config/tc-v850.c (v850_reloc_prefix): Several disgusting
Jeff Law [Fri, 25 Oct 1996 01:14:34 +0000 (01:14 +0000)]
    * config/tc-v850.c (v850_reloc_prefix): Several disgusting
        hacks to improve parsing of complex hi, lo, zda, etc
        expressions.
        (md_assemble): Don't demand and eat a trailing ')' after finding
        a v850 relocation prefix.  Sign extend the constant in a
        BFD_RELOC_LO16 expression.  Do eat a trailing ')' after a complete
        operand.
        (parse_cons_expression_v850): Don't eat a trailing ')' after
        finding a v850 relocation prefix.
Trying to get nec's sample code to assemble.  Why oh why didn't JT try
to assemble any of their code...

28 years ago * v850-opc.c (v850_opcodes): Add "jCC" instructions (aliases for
Jeff Law [Thu, 24 Oct 1996 23:55:11 +0000 (23:55 +0000)]
    * v850-opc.c (v850_opcodes): Add "jCC" instructions (aliases for
        "bCC"instructions).
Because quantum's code uses jnz, jcc, etc etc etc.

28 years ago * config/tc-v850.h (TC_PARSE_CONS_EXPRESSION): Define.
Jeff Law [Thu, 24 Oct 1996 22:55:22 +0000 (22:55 +0000)]
    * config/tc-v850.h (TC_PARSE_CONS_EXPRESSION): Define.
        (TC_CONS_FIX_NEW): Likewise.
        * config/tc-v850.c (parse_cons_expression_v850): New function.
        (cons_fix_new_v850): Likewise.
So we can handle ".hword lo(_foo)".

28 years ago * mips-dis.c (_print_insn_mips): Use a tab between the instruction
Ian Lance Taylor [Thu, 24 Oct 1996 21:21:37 +0000 (21:21 +0000)]
* mips-dis.c (_print_insn_mips): Use a tab between the instruction
and the arguments.

28 years ago * objdump.c (prefix_addresses): New static variable.
Ian Lance Taylor [Thu, 24 Oct 1996 21:21:17 +0000 (21:21 +0000)]
* objdump.c (prefix_addresses): New static variable.
(long_options): Add "prefix-addresses".
(compare_symbols): Sort BSF_FUNCTION symbols before other
symbols.
(find_symbol_for_address): New static function, broken out of
objdump_print_address.
(objdump_print_addr_with_sym): New static function, broken out of
objdump_print_address.
(objdump_print_address): Call new functions.
(disassemble_bytes): New static function, broken out of
disassemble_data.  Change disassembly format, unless
prefix_addresses is set.
(disassemble_data): Call disassemble_bytes.  Unless
prefix_addresses is set, disassemble in chunks headed by a
symbol.
* binutils.texi, objdump.1: Document --prefix-addresses.

28 years ago * simops.c (OP_500): Mask off low bit in displacement
Jeff Law [Thu, 24 Oct 1996 21:19:22 +0000 (21:19 +0000)]
    * simops.c (OP_500): Mask off low bit in displacement
        for sld.w.
        (OP_501): Similarly.
More bugs exposed by tda testing.

28 years ago * simops.c (OP_500): Fix displacement handling for sld.w.
Jeff Law [Thu, 24 Oct 1996 20:49:06 +0000 (20:49 +0000)]
    * simops.c (OP_500): Fix displacement handling for sld.w.
        (OP_501): Similarly for sst.w.
More fixes exposed by tda testing.

28 years ago * rddbg.c (read_section_stabs_debugging_info): Preserve the
Ian Lance Taylor [Thu, 24 Oct 1996 20:43:23 +0000 (20:43 +0000)]
* rddbg.c (read_section_stabs_debugging_info): Preserve the
backslash when concatenating multiple stabs strings.

28 years ago * config/tc-v850.h (tc_fix_adjustable): Don't adjust TDA relocs.
Jeff Law [Thu, 24 Oct 1996 20:32:36 +0000 (20:32 +0000)]
    * config/tc-v850.h (tc_fix_adjustable): Don't adjust TDA relocs.
Fixing more tda stuff.

28 years ago * configure.in, configure.tgt, configure.host, gdbserver/configure.in:
Mark Alexander [Thu, 24 Oct 1996 18:52:16 +0000 (18:52 +0000)]
* configure.in, configure.tgt, configure.host, gdbserver/configure.in:
Correct for pc-linux-gnu problem in config.guess.

28 years ago * dbxread.c (process_one_symbol): Interpret end-of-function
Mark Alexander [Thu, 24 Oct 1996 18:51:46 +0000 (18:51 +0000)]
* dbxread.c (process_one_symbol): Interpret end-of-function
markers correctly; this fixes problem on Vr5000 where all
functions in a module had the same address.
* configure.in, configure.tgt, configure.host, gdbserver/configure.in:
Correct for pc-linux-gnu problem in config.guess.
* configure: Regenerate.

28 years ago * simops.c (trace_input): Remove all references to SEXT7.
Jeff Law [Thu, 24 Oct 1996 18:28:43 +0000 (18:28 +0000)]
    * simops.c (trace_input): Remove all references to SEXT7.
        (OP_300, OP_400, OP_500, OP_380, OP_480, OP_501): Displacement
        is zero extended for sst/sld instructions.
        * v850_sim.h (SEX7): Delete.  It's no longer needed (and it
        was incorrect anyway).
So we properly simulate sst/sld instructions.

28 years ago * Makefile.in: Get rid of srcroot. Set all INSTALL macros via
Stu Grossman [Thu, 24 Oct 1996 17:39:30 +0000 (17:39 +0000)]
* Makefile.in:  Get rid of srcroot.  Set all INSTALL macros via
autoconf.
* gencode.c (write_opcodes):  Pad operands field to account for
MSVC braindamage.
* simops.c:  Include errno.h.  Exclude SYS_chown, since MSVC
doesn't support it.  (Why is this here in the first place?!?)
* v850_sim.h:  Get rid of 64 bit defs.  Also, get rid of #elif's.
Change number of operands in struct simops from 9 to 6.  Define
SIGTRAP and SIGQUIT for MSVC.

28 years ago * dbxread.c: Don't swap symbols in place, since internal and
Stu Grossman [Thu, 24 Oct 1996 17:31:45 +0000 (17:31 +0000)]
* dbxread.c:  Don't swap symbols in place, since internal and
external forms may have different sizes.  Don't assume that an
internal_nlist has the same layout as an external_nlist.  Create
symbol for n_strx element so to hide specifics of nlist from
partial-stab.h.
* partial-stab.h:  Don't reference dbxread symbols directly.  Use
CUR_SYMBOL_STRX instead.
* config/i386/xm-windows.h:  Define SIGQUIT and SIGTRAP.

* config/v850/tm-v850.h:  Define PS_REGNUM and TARGET_V850 for
MSVC builds.
* mswin/gdbwin.c (reg_order):  Define register order for V850.
* mswin/gui.cpp (CGuiApp::InitInstance):  Define target name for
V850.
* mswin/regdoc.h:  Define MAXREGS for V850.

28 years ago * Undo my previous change.
Stu Grossman [Thu, 24 Oct 1996 16:23:43 +0000 (16:23 +0000)]
* Undo my previous change.

28 years ago * Makefile.in (EXTRA_GCC_FLAGS): Pass down GCC_FOR_TARGET
Ian Lance Taylor [Thu, 24 Oct 1996 16:13:43 +0000 (16:13 +0000)]
* Makefile.in (EXTRA_GCC_FLAGS): Pass down GCC_FOR_TARGET
unconditionally.
(MAKEOVERRIDES): Define (revert this part of October 18 change).

28 years ago * aclocal.m4, configure: Set USE_BINARY_FOPEN for *-*-windows.
Stu Grossman [Thu, 24 Oct 1996 16:10:11 +0000 (16:10 +0000)]
* aclocal.m4, configure:  Set USE_BINARY_FOPEN for *-*-windows.

28 years ago * Makefile.in (FLAGS_TO_PASS): Add $(HOST_FLAGS) to allow the
Stu Grossman [Thu, 24 Oct 1996 16:07:51 +0000 (16:07 +0000)]
* Makefile.in (FLAGS_TO_PASS):  Add $(HOST_FLAGS) to allow the
host to add it's own flags.
* config/mh-windows (HOST_FLAGS):  Set srcroot, which is needed
for MSVC build procedure.

28 years ago * config/tc-ppc.c (md_apply_fix3): Give a better warning message
Ian Lance Taylor [Wed, 23 Oct 1996 22:28:21 +0000 (22:28 +0000)]
* config/tc-ppc.c (md_apply_fix3): Give a better warning message
for an unknown relocation type.
PR 10944.

28 years ago * config/tc-v850.c (md_pseudo_table): Add .word; allocates
Jeff Law [Wed, 23 Oct 1996 22:23:38 +0000 (22:23 +0000)]
    * config/tc-v850.c (md_pseudo_table): Add .word; allocates
        4 bytes of space.
Something off the todo list.

28 years ago * scriptempl/v850.sc (zdata): Make sure this stays
Jeff Law [Wed, 23 Oct 1996 22:18:55 +0000 (22:18 +0000)]
    * scriptempl/v850.sc (zdata): Make sure this stays
        in lo-memory.
zda testing.

28 years ago * elf32-v850.c: Add comments about assumptions about
Jeff Law [Wed, 23 Oct 1996 21:10:55 +0000 (21:10 +0000)]
    * elf32-v850.c: Add comments about assumptions about
        char, short & long sizes.
        (elf32_v850_bfd_final_link_relocate): Fix sign extension
        problems for several relocs.
Still fixing sda/tda/zda stuff.

28 years ago * xcofflink.c (bfd_xcoff_import_symbol): Don't allocate ldsym.
Ian Lance Taylor [Wed, 23 Oct 1996 04:22:34 +0000 (04:22 +0000)]
* xcofflink.c (bfd_xcoff_import_symbol): Don't allocate ldsym.
Store import file index in ldindx.
(xcoff_build_ldsyms): Assume that ldsym was not previously
allocated.  For an imported symbol, copy ldindx into l_ifile.

28 years ago * elf32-v850.c (elf_v850_howto_table): Fix ordering of
Jeff Law [Wed, 23 Oct 1996 04:10:41 +0000 (04:10 +0000)]
    * elf32-v850.c (elf_v850_howto_table): Fix ordering of
        R_V850_ZDAOFFSET and R_V850_TDAOFFSET.  Fix various
        fields in R_V850_TDAOFFSET.
        (elf32_v850_bfd_final_link_relocate): Tweak pc-relative
        relocs to work more like other relocs.  Handle R_V850_TDAOFF
        relocations.
v850 tda, sda & zda stuff.

28 years ago * config/tc-v850.c (md_assemble): Handle TDAOFF relocs
Jeff Law [Wed, 23 Oct 1996 04:06:04 +0000 (04:06 +0000)]
    * config/tc-v850.c (md_assemble): Handle TDAOFF relocs
        differently for movea & sst/sld insns.
Working on tda for the v850.

28 years ago * ppc-opc.c (PPCPWR2): Define.
Ian Lance Taylor [Wed, 23 Oct 1996 03:34:07 +0000 (03:34 +0000)]
* ppc-opc.c (PPCPWR2): Define.
(powerpc_opcodes): Use PPCPWR2 for fsqrt, rather than duplicating
it.

28 years ago * scripttempl/v850.sc (__ep): Put it at the start
Jeff Law [Wed, 23 Oct 1996 03:19:16 +0000 (03:19 +0000)]
    * scripttempl/v850.sc (__ep): Put it at the start
        of the tda section.
v850.

28 years ago * elf32-v850.c: Include bfdlink.h.
Jeff Law [Wed, 23 Oct 1996 01:24:24 +0000 (01:24 +0000)]
    * elf32-v850.c: Include bfdlink.h.
        (bfd_elf32_v850_reloc): Return an error if we get a reloc
        we can't handle.
        (elf32_v850_bfd_final_link_relocate): New function.
        (v850_elf_relocation_section): Likewise.
        (elf_backend_relocate_section): Define.
New-style linker for the v850 (necessary to handle zda, sda & tda).
sda & tda relocs seem to be working.  No tda reloc support yet.

28 years ago * v850-tdep.c (scan_prologue): Changes to deal with scheduled
Stu Grossman [Tue, 22 Oct 1996 23:34:11 +0000 (23:34 +0000)]
* v850-tdep.c (scan_prologue):  Changes to deal with scheduled
prologues correctly.  First, prologue end is now defined by
presence of a branch, jump or call insn.  Second, can no longer
fix frame offsets because we may not know the offset until after a
register has been saved.
* (v850_init_extra_frame_info):  Fixup frame offsets here because
we have all the info at this time.
* (v850_frame_chain):  Use new calling convention for scan_prologue.

28 years ago * binary.c (binary_set_section_contents): Ignore sections which
Ian Lance Taylor [Tue, 22 Oct 1996 21:23:50 +0000 (21:23 +0000)]
* binary.c (binary_set_section_contents): Ignore sections which
don't have SEC_LOAD and SEC_ALLOC set.
PR 10914.

28 years agoDo not allow IU,IU or MU,MU, or both instructions to be parallelized with -O
Michael Meissner [Tue, 22 Oct 1996 21:14:47 +0000 (21:14 +0000)]
Do not allow IU,IU or MU,MU, or both instructions to be parallelized with -O

28 years agostart-sanitize-d10v
Martin Hunt [Tue, 22 Oct 1996 21:13:38 +0000 (21:13 +0000)]
start-sanitize-d10v
Tue Oct 22 10:25:29 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v-tdep.c, config/d10v/tm-d10v.h: Changes to allow stack
  backtraces and inferior function calls.

end-sanitize-d10v

28 years agoProvide better statistics, particularly for doing VLIW work; Fix ldb to correctly...
Michael Meissner [Tue, 22 Oct 1996 19:49:37 +0000 (19:49 +0000)]
Provide better statistics, particularly for doing VLIW work; Fix ldb to correctly sign extend

28 years ago * configure: Handle GCC_FOR_TARGET like CC_FOR_TARGET.
Ian Lance Taylor [Tue, 22 Oct 1996 19:21:13 +0000 (19:21 +0000)]
* configure: Handle GCC_FOR_TARGET like CC_FOR_TARGET.

28 years ago * scriptempl/v850.sc: Move all "normal" sections into
Jeff Law [Tue, 22 Oct 1996 17:45:57 +0000 (17:45 +0000)]
    * scriptempl/v850.sc: Move all "normal" sections into
        the external memory region (0x100000 - 0x200000).
So plumhall works again (hopefully).

28 years agoSanitize out v850 stuff.
Stu Grossman [Tue, 22 Oct 1996 17:43:02 +0000 (17:43 +0000)]
Sanitize out v850 stuff.

28 years ago * mpw-make.sed: Update init.c editing to work with Oct 8 change.
Stan Shebs [Tue, 22 Oct 1996 17:37:18 +0000 (17:37 +0000)]
* mpw-make.sed: Update init.c editing to work with Oct 8 change.
(@HLDFLAGS@): Always edit out.

28 years agoTue Oct 22 10:25:29 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 22 Oct 1996 17:27:51 +0000 (17:27 +0000)]
Tue Oct 22 10:25:29 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* tm-d10v.h: Changes to allow stack
  backtraces and inferior function calls.

28 years agoTue Oct 22 10:25:29 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 22 Oct 1996 17:27:37 +0000 (17:27 +0000)]
Tue Oct 22 10:25:29 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v-tdep.c, config/d10v/tm-d10v.h: Changes to allow stack
  backtraces and inferior function calls.

28 years ago * obj.h (struct format_ops): Add frob_file_after_relocs field.
Ian Lance Taylor [Tue, 22 Oct 1996 15:31:03 +0000 (15:31 +0000)]
* obj.h (struct format_ops): Add frob_file_after_relocs field.
* config/obj-multi.h (obj_frob_file_after_relocs): Define.
* config/obj-ecoff.c (ecoff_format_ops): Initialize new
frob_file_after_relocs field.
* config/obj-elf.c (elf_format_ops): Likewise.
* config/tc-mips.c: Undefine obj_frob_file_after_relocs before
including obj-elf.h.

28 years ago * mdebugread.c (parse_partial_symbols): Fix 64-bit
Mark Alexander [Tue, 22 Oct 1996 01:26:20 +0000 (01:26 +0000)]
* mdebugread.c (parse_partial_symbols): Fix 64-bit
sign-extension problems in calculating psymtab addresses.
* buildsym.c (end_symtab): Use macro to pop context.

28 years ago * config/tc-mips.c (cons_fix_new_mips): Only treat 8 byte reloc
Ian Lance Taylor [Tue, 22 Oct 1996 00:01:33 +0000 (00:01 +0000)]
* config/tc-mips.c (cons_fix_new_mips): Only treat 8 byte reloc
specially if not ELF.
(md_apply_fix): Handle BFD_RELOC_64.
(tc_gen_reloc): Handle BFD_RELOC_64.

28 years ago * elf32-mips.c (elf_mips_howto_table): Describe R_MIPS_64.
Ian Lance Taylor [Mon, 21 Oct 1996 23:56:13 +0000 (23:56 +0000)]
* elf32-mips.c (elf_mips_howto_table): Describe R_MIPS_64.
(mips32_64bit_reloc): New static function.
(mips_reloc_map): Add entry for BFD_RELOC_64.
(mips_elf_relocate_section): Handle R_MIPS_64.

28 years agoMon Oct 21 16:16:26 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Mon, 21 Oct 1996 23:17:43 +0000 (23:17 +0000)]
Mon Oct 21 16:16:26 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* interp.c (sim_resume): Change the way single-stepping and exceptions
  are handled so single-stepping works again.

28 years ago * v850-tdep.c: Cleanup lots of things. Add many comments.
Stu Grossman [Mon, 21 Oct 1996 21:45:55 +0000 (21:45 +0000)]
* v850-tdep.c:  Cleanup lots of things.  Add many comments.
* testsuite/gdb.base/nodebug.exp:  Whack out -g options by hand so
that cflags can contains -gstabs, and work correctly for other tests.

28 years agoPR 8511, keep new test cases
Michael Snyder [Mon, 21 Oct 1996 21:35:29 +0000 (21:35 +0000)]
PR 8511, keep new test cases

28 years ago * gdb.base/setshow.exp: New file, tests show and set.
Michael Snyder [Mon, 21 Oct 1996 21:28:48 +0000 (21:28 +0000)]
* gdb.base/setshow.exp: New file, tests show and set.
* gdb.base/setshow.c:   New file, tests show and set.
* gdb.base/help.exp: Add test for help set|show annotate.
* gdb.base/default.exp: Add test for set|show annotate.
PR 8511

28 years agoMake d10v .text start at 0x10000
Michael Meissner [Mon, 21 Oct 1996 21:26:59 +0000 (21:26 +0000)]
Make d10v .text start at 0x10000

28 years ago * top.c: Add new commands "set annotate" and "show annotate".
Michael Snyder [Mon, 21 Oct 1996 21:11:31 +0000 (21:11 +0000)]
* top.c: Add new commands "set annotate" and "show annotate".
PR 8511

28 years ago * linker.c (_bfd_generic_final_link): Avoid losing static
Jeff Law [Mon, 21 Oct 1996 18:15:24 +0000 (18:15 +0000)]
    * linker.c (_bfd_generic_final_link): Avoid losing static
        symbols in the .bss section.
Something Stu noticed.

28 years ago * config/tc-i386.c (md_apply_fix3): Don't increment value for a PC
Ian Lance Taylor [Mon, 21 Oct 1996 15:51:15 +0000 (15:51 +0000)]
* config/tc-i386.c (md_apply_fix3): Don't increment value for a PC
  relative reloc when BFD_ASSEMBLER and OBJ_AOUT (more ugly gas
  reloc hacking).

28 years ago * config/obj-aout.h (S_IS_DEFINE): non BFD_ASSEMBLER version:
Ian Lance Taylor [Mon, 21 Oct 1996 15:39:17 +0000 (15:39 +0000)]
* config/obj-aout.h (S_IS_DEFINE): non BFD_ASSEMBLER version:
Don't check S_GET_OTHER.

28 years ago * linker.c (default_indirect_link_order): Print an error message
Ian Lance Taylor [Mon, 21 Oct 1996 14:56:17 +0000 (14:56 +0000)]
* linker.c (default_indirect_link_order): Print an error message
when attempting to do a relocateable link with different object
file formats, rather than calling abort.

28 years ago * corelow.c (core_close): Clear inferior_pid only if there is
Peter Schauer [Sun, 20 Oct 1996 11:41:30 +0000 (11:41 +0000)]
* corelow.c (core_close):  Clear inferior_pid only if there is
an open core_bfd.

* cp-valprint.c (cp_print_value_fields):  Pass correct address
to val_print, not 0.

From Andreas Schwab (schwab@issan.informatik.uni-dortmund.de):
* eval.c (evaluate_subexp_standard) [case BINOP_REPEAT]: Chase
typedefs before checking for integral type of right operand.

28 years ago * emulparams/m32relf.sh (TEXT_START_ADDR): Change from 0 to 0x100.
David Edelsohn [Sat, 19 Oct 1996 05:13:46 +0000 (05:13 +0000)]
* emulparams/m32relf.sh (TEXT_START_ADDR): Change from 0 to 0x100.

28 years ago * mdebugread.c (parse_symbol): Fix crash when malloc has
Mark Alexander [Sat, 19 Oct 1996 00:31:53 +0000 (00:31 +0000)]
* mdebugread.c (parse_symbol): Fix crash when malloc has
no type info and void type has no associated pointer type.

28 years ago * Makefile.in (ALL_EMULATIONS): Remove eelf64alpha.o.
Ian Lance Taylor [Fri, 18 Oct 1996 19:46:57 +0000 (19:46 +0000)]
* Makefile.in (ALL_EMULATIONS): Remove eelf64alpha.o.
(ALL_64_EMULATIONS): New variable.
* configure.in: Accept --enable-64-bit-bfd option.  If it is set
with --enable-targets=all, include ALL_64_EMULATIONS in
EMULATION_OFILES.
* configure: Rebuild.

28 years ago * config/tc-mips.c (mips_ip): Accept an odd floating point
Ian Lance Taylor [Fri, 18 Oct 1996 19:33:03 +0000 (19:33 +0000)]
* config/tc-mips.c (mips_ip): Accept an odd floating point
register with l.s or s.s.

28 years ago * scripttempl/v850.sc (__gp, __ep): Define.
Jeff Law [Fri, 18 Oct 1996 18:59:45 +0000 (18:59 +0000)]
    * scripttempl/v850.sc (__gp, __ep): Define.

28 years ago * config/obj-aout.c (obj_pseudo_table): Use obj_aout_type for
Ian Lance Taylor [Fri, 18 Oct 1996 18:07:55 +0000 (18:07 +0000)]
* config/obj-aout.c (obj_pseudo_table): Use obj_aout_type for
.type pseudo-op.
(obj_aout_type): New static function.

28 years ago * Makefile.in (CC_FOR_TARGET): Check for xgcc, not Makefile.
Ian Lance Taylor [Fri, 18 Oct 1996 17:40:56 +0000 (17:40 +0000)]
* Makefile.in (CC_FOR_TARGET): Check for xgcc, not Makefile.
(CXX_FOR_TARGET): Likewise.
(GCC_FOR_TARGET): Define.
(BASE_FLAGS_TO_PASS): Remove GCC_FOR_TARGET.
(EXTRA_GCC_FLAGS): Define GCC_FOR_TARGET based on whether
CC_FOR_TARGET was specified on the command line.
(MAKEOVERRIDES): Don't define.

28 years agoAdd support for fsel
Michael Meissner [Fri, 18 Oct 1996 16:22:35 +0000 (16:22 +0000)]
Add support for fsel

28 years agoKeep new configure helpers, update conditional sanitizes
Stan Shebs [Fri, 18 Oct 1996 01:34:49 +0000 (01:34 +0000)]
Keep new configure helpers, update conditional sanitizes

28 years ago * configure.host: New file, host configuration mapping.
Stan Shebs [Fri, 18 Oct 1996 01:27:59 +0000 (01:27 +0000)]
* configure.host: New file, host configuration mapping.
* configure.tgt: New file, target configuration mapping.
* configure.in: Remove host and target mapping.
* configure: Rebuild.

28 years ago * ld.texinfo: Try to consistently use a single or a double dash
Ian Lance Taylor [Thu, 17 Oct 1996 22:15:32 +0000 (22:15 +0000)]
* ld.texinfo: Try to consistently use a single or a double dash
for each option.

28 years ago * Makefile.in ($(OBJS)): Depend upon libiberty.h.
Ian Lance Taylor [Thu, 17 Oct 1996 22:00:04 +0000 (22:00 +0000)]
* Makefile.in ($(OBJS)): Depend upon libiberty.h.

28 years ago * scripttempl/v850.sc (.zdata): Add this before .text.
Jeff Law [Thu, 17 Oct 1996 20:48:42 +0000 (20:48 +0000)]
    * scripttempl/v850.sc (.zdata): Add this before .text.
        (.sdata): Also include .rosdata as part of the .sdata.
        (.tdata): Include this just before .sdata.

28 years ago * configure.in (--enable-sim-powerpc): Delete.
David Edelsohn [Thu, 17 Oct 1996 20:11:31 +0000 (20:11 +0000)]
* configure.in (--enable-sim-powerpc): Delete.
(--enable-sim): Add.
* configure: Regenerated.

28 years agoAdd more m32r support.
David Edelsohn [Thu, 17 Oct 1996 18:57:19 +0000 (18:57 +0000)]
Add more m32r support.

28 years ago * dis-asm.h (print_insn_m32r): Declare.
David Edelsohn [Thu, 17 Oct 1996 18:18:12 +0000 (18:18 +0000)]
* dis-asm.h (print_insn_m32r): Declare.

28 years ago * reloc.c (m32r relocs): Rename them.
David Edelsohn [Thu, 17 Oct 1996 17:46:53 +0000 (17:46 +0000)]
* reloc.c (m32r relocs): Rename them.
* bfd-in2.h, libbfd.h: Regenerated.
* elf32-m32r.c: Update.
(m32r_elf_10_pcrel_reloc): New function.
(elf_m32r_howto_table, R_M32R_10_PCREL entry): Use it.
(elf_m32r_howto_table, R_M32R_24 entry): Fix {src,dst}_masks.

28 years ago * configure.in (m32r): Fix spelling of libg++ libs.
David Edelsohn [Thu, 17 Oct 1996 17:29:28 +0000 (17:29 +0000)]
* configure.in (m32r): Fix spelling of libg++ libs.

28 years ago * emulparams/m32relf.sh (EMBEDDED): Define.
David Edelsohn [Thu, 17 Oct 1996 17:19:52 +0000 (17:19 +0000)]
* emulparams/m32relf.sh (EMBEDDED): Define.

28 years ago * emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf".
Jeff Law [Thu, 17 Oct 1996 16:58:31 +0000 (16:58 +0000)]
    * emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf".
        * scripttempl/v850.sc: Wrap script with a "cat << EOF".
Problems with last night's changes.

28 years agoMake simulated loads/stores faster on x86, AIX, and big endian hosts
Michael Meissner [Thu, 17 Oct 1996 16:47:51 +0000 (16:47 +0000)]
Make simulated loads/stores faster on x86, AIX, and big endian hosts

28 years ago * scripttempl/v850.sc: New linker script for the V850.
Jeff Law [Thu, 17 Oct 1996 05:10:52 +0000 (05:10 +0000)]
    * scripttempl/v850.sc: New linker script for the V850.
        * Makefile.in: Use it.