binutils-gdb.git
26 years ago1998-09-15 Geoff Keating <geoffk@ozemail.com.au>
Vladimir Makarov [Tue, 15 Sep 1998 21:36:41 +0000 (21:36 +0000)]
1998-09-15  Geoff Keating  <geoffk@ozemail.com.au>

* elf32-ppc.c (ppc_elf_relocate_section): Reverse output_offset
part of Vladimir's change of 1998-08-19.  Make a R_PPC_SDAREL16
reloc to the wrong section a warning, not an error.  .dynsbss
is not an output section, so there is no need to check for it.

26 years agoprevent multiple attempts at closing remote connection.
Nick Clifton [Tue, 15 Sep 1998 21:03:26 +0000 (21:03 +0000)]
prevent multiple attempts at closing remote connection.

26 years agoFix changeLOg entry. Add argument to elf_backend_get_symbol_type.
Catherine Moore [Tue, 15 Sep 1998 17:42:09 +0000 (17:42 +0000)]
Fix changeLOg entry.  Add argument to elf_backend_get_symbol_type.

26 years ago* config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
Catherine Moore [Tue, 15 Sep 1998 14:47:51 +0000 (14:47 +0000)]
* config/obj-elf.c (obj_elf_vtable_inherit):  Handle arm
assembler syntax.
(obj_elf_vtable_entry):  Likewise.
* config/tc-arm.h:  Define TC_FORCE_RELOCATION for OBJ_ELF.
* config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
(tc_gen_reloc): Likewise.
(arm_fix_adjustable): Likewise.
(elf32_arm_force_relocation): New.
(armelf_frob_symbol):  Remove coff-style symbol support.
Remove armelf sanitization.

26 years ago * bfd-in.h: Add argument to elf_backend_get_symbol_type.
Catherine Moore [Tue, 15 Sep 1998 13:52:55 +0000 (13:52 +0000)]
   * bfd-in.h: Add argument to elf_backend_get_symbol_type.
       * bfd-in2.h: Rebuild.
       * elf.c (swap_out_syms):  Pass type to elf_backend_get_symbol_type.
       * elf32-arm.c:  Add HOWTO entries for R_ARM_GNU_VTINHERIT and
       R_ARM_GNU_VTENTRY.
       (elf32_arm_gc_mark_hook): New.
       (elf32_arm_gc_sweep_hook): New.
       (elf32_arm_check_relocs): New.
       (elf32_arm_final_link_relocate):  Handle VTINHERIT and VTENTRY
       relocations.
       (elf32_arm_relocate_section): Handle VTINHERIT and VTENTRY
       relocations.

26 years agoUse value_at_lazy() to examine memory values. For x/i this is very
Andrew Cagney [Tue, 15 Sep 1998 07:50:31 +0000 (07:50 +0000)]
Use value_at_lazy() to examine memory values.  For x/i this is very
important as it stops the specified address being fetched twice -
once by value_at() and once somewhere in the disassembler.

26 years agoMon Sep 14 20:00:57 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 15 Sep 1998 03:06:26 +0000 (03:06 +0000)]
Mon Sep 14 20:00:57 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

* dejagnu/baseboards/m68k-emc.exp: New file.
* dejagnu/config/m68k-emc.exp: New file.
* gdb/testsuite/config/m68k-emc.exp: New file.

26 years agodefine SIM_HAVE_BIENDIAN
Nick Clifton [Mon, 14 Sep 1998 16:58:00 +0000 (16:58 +0000)]
define SIM_HAVE_BIENDIAN

26 years agoSun Sep 13 01:34:59 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Sun, 13 Sep 1998 08:37:08 +0000 (08:37 +0000)]
Sun Sep 13 01:34:59 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

  * blockframe.c (find_pc_sect_partial_function): use bfd section
  of msymbol for end of section comparison.

26 years agoFri Sep 11 14:02:49 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 11 Sep 1998 21:03:29 +0000 (21:03 +0000)]
Fri Sep 11 14:02:49 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * tracepoint.c: clean up several unused variables and such.

26 years agoFri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 11 Sep 1998 21:00:26 +0000 (21:00 +0000)]
Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.c++/classes.exp: Change all regular expressions to match
        arbitrary combinations of newline/carriage-return, so that they
        will work equally well on Unix and Windows.
        * gdb.c++/inherit.exp: ditto.
        * gdb.c++/virtfunc.exp: ditto.

26 years ago1998-09-10 Geoff Keating <geoffk@ozemail.com.au>
Richard Henderson [Fri, 11 Sep 1998 20:15:54 +0000 (20:15 +0000)]
1998-09-10  Geoff Keating  <geoffk@ozemail.com.au>

        * elf32-ppc.c (ppc_elf_relocate_section): If dynobj is NULL,
        assume there is no PLT or GOT.

26 years agoFri Sep 11 12:38:34 EDT 1998 Zdenek Radouch (radouch@cygnus.com)
Zdenek Radouch [Fri, 11 Sep 1998 16:40:04 +0000 (16:40 +0000)]
Fri Sep 11 12:38:34 EDT 1998  Zdenek Radouch   (radouch@cygnus.com)

        * arm-tdep.c (arm_push_arguments): fixed frame construction

26 years agoThu Sep 10 22:10:29 1998 Jim Ingham <jingham@cygnus.com>
Jim Ingham [Fri, 11 Sep 1998 05:13:57 +0000 (05:13 +0000)]
Thu Sep 10 22:10:29  1998 Jim Ingham <jingham@cygnus.com>

*gdbtk-cmds.c (gdb_disassemble): Make sure the symtab's linetable is not
null before trying to use it...

26 years agoThu Sep 10 20:51:23 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 11 Sep 1998 03:52:21 +0000 (03:52 +0000)]
Thu Sep 10 20:51:23 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * mn10300-tdep.c (mn10300_analyze_prologue): guard against NULL.

26 years ago * r5900.igen (plzcw): Make `i' signed.
Doug Evans [Thu, 10 Sep 1998 19:00:46 +0000 (19:00 +0000)]
* r5900.igen (plzcw): Make `i' signed.
PR 17191.

26 years agoSanitize out Nortel 750 sprs
Michael Meissner [Thu, 10 Sep 1998 18:28:13 +0000 (18:28 +0000)]
Sanitize out Nortel 750 sprs

26 years agoMore avoidance of writing documentation in the internals manual.
Stan Shebs [Thu, 10 Sep 1998 02:58:19 +0000 (02:58 +0000)]
More avoidance of writing documentation in the internals manual.
* dbxread.c (IGNORE_SYMBOL): Remove definition, is never used.
* os9kread.c: Remove comment mentioning IGNORE_SYMBOL.

26 years agoAdd PowerPC 750 move to/from SPRs
Michael Meissner [Wed, 9 Sep 1998 23:59:09 +0000 (23:59 +0000)]
Add PowerPC 750 move to/from SPRs

26 years ago * m32r-sim.h (m32r_trap): Update prototype.
Doug Evans [Wed, 9 Sep 1998 22:34:09 +0000 (22:34 +0000)]
* m32r-sim.h (m32r_trap): Update prototype.
* traps.c (m32r_trap): New arg `pc'.
* sem.c,sem-switch.c: Regenerated.
* cpux.h,readx.c,semx.c: Regenerated.

26 years ago * sim/sky/pr17191.s: New file.
Doug Evans [Wed, 9 Sep 1998 21:50:10 +0000 (21:50 +0000)]
* sim/sky/pr17191.s: New file.
* sim/sky/pr17191.brn: New file.
* sim/sky/t-macros.inc: New file.

26 years agofix linker testsuite failure
Nick Clifton [Wed, 9 Sep 1998 21:25:37 +0000 (21:25 +0000)]
fix linker testsuite failure

26 years ago* config/tc-i386.c (i386_operand): Fix typo in last patch.
Richard Henderson [Wed, 9 Sep 1998 18:27:52 +0000 (18:27 +0000)]
* config/tc-i386.c (i386_operand): Fix typo in last patch.

26 years agoMerges from SKY branch:
Ron Unrau [Wed, 9 Sep 1998 17:41:59 +0000 (17:41 +0000)]
Merges from SKY branch:

        * blockframe.c(find_pc_sect_partial_function): look for min syms in
          the same section when trying to guess the end of a function.
        * symfile.c(list_overlays_command): use print_address_numeric
        * remote-sim.c: export simulator_command
        * tm-r5900.h: add COP0 registers
        * txvu-tdep.c: printvector and printvector-order commands
        * tm-txvu.h: add COP0 registers
        * mips-tdep.c: use NUM_CORE_REGS

26 years agoBranch merge for GDB:
Ron Unrau [Wed, 9 Sep 1998 17:30:31 +0000 (17:30 +0000)]
Branch merge for GDB:

        * sim-main.h: track COP0 registers
        * interp.c (sim_{fetch,store}_register): read/write COP0 registers
        * sky-gdb.[ch]: add sim pipeorder command

26 years ago1998-09-08 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Wed, 9 Sep 1998 04:16:53 +0000 (04:16 +0000)]
1998-09-08  Jason Molenda  (jsm@bugshack.cygnus.com)

        * breakpoint.c (bpstat_stop_status):  Declare a bp match if the
        current fp matches the bp->fp OR if the current fp is less than
        the bp->fp if we're looking at a bp_step_resume breakpoint.

PR 15992.

With a bp_step_resume type breakpoint, the frame pointer check exists in
case we recurse and execute the same text section--we want to not stop
there because it would confuse the user.  So gdb checks to see that the
frame pointer matches the one recorded in the breakpoint.

If the current frame pointer is less than the frame pointer recorded in
the breakpoint, then something odd is happened and we should declare that
we're at the breakpoint so that we clear it out.

This happens in Purify instrumented executables on PA systems, at least.
They insert some calls out to Purify code in the function epilogue and
it confuses GDB (which assumes that the frame pointer does not move
around through the entire execution of a function).

26 years agoCleanup opportunity discovered while updating internals manual.
Stan Shebs [Wed, 9 Sep 1998 02:48:11 +0000 (02:48 +0000)]
Cleanup opportunity discovered while updating internals manual.
* symtab.h (struct symtab): Remove EXTRA_SYMTAB_INFO hook,
not currently used.
* symfile.c (allocate_symtab): Deprecate use of
INIT_EXTRA_SYMTAB_INFO here.

26 years agoTue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
Catherine Moore [Tue, 8 Sep 1998 23:20:30 +0000 (23:20 +0000)]
Tue Sep  8 18:10:01 1998  Catherine Moore  <clm@cygnus.com>

        * config/tc-arm.c (arm_adjust_symtab):  Move #ifdef
        OBJ_COFF so that routine is defined for a.out format.

26 years ago * config/tc-i386.c (i386_operand): Detect non-segment registers
Richard Henderson [Tue, 8 Sep 1998 22:57:36 +0000 (22:57 +0000)]
    * config/tc-i386.c (i386_operand): Detect non-segment registers
        used as segment prefixes.

26 years ago* Patch for PR 17142, brought over from sky branch.
Frank Ch. Eigler [Tue, 8 Sep 1998 11:09:45 +0000 (11:09 +0000)]
* Patch for PR 17142, brought over from sky branch.
Fri Sep  4 10:37:57 1998  Frank Ch. Eigler  <fche@cygnus.com>
* r5900.igen (mtsab): Correct typo in input register.
* sim-main.h (TMP_*): New macros for accessing local 128-bit
temporary for multimedia instructions.
* r5900.igen (*): Convert most instructions to use new TMP
macros to store output result during computation.

26 years ago * rs6000-core.c (_LONG_LONG): Define for AIX 4.x only.
Peter Schauer [Mon, 7 Sep 1998 20:26:43 +0000 (20:26 +0000)]
* rs6000-core.c (_LONG_LONG):  Define for AIX 4.x only.

26 years agodo not try to dump empty sections
Nick Clifton [Sun, 6 Sep 1998 23:17:06 +0000 (23:17 +0000)]
do not try to dump empty sections

26 years ago * libbfd-in.h (_bfd_nolink_bfd_gc_sections): Correct definition to
Ian Lance Taylor [Sun, 6 Sep 1998 00:41:41 +0000 (00:41 +0000)]
* libbfd-in.h (_bfd_nolink_bfd_gc_sections): Correct definition to
match definition of _bfd_gc_sections field.
* libbfd.h: Rebuild.

26 years ago * ehopt.c (check_eh_frame): Check the size of the FDE, and don't
Ian Lance Taylor [Sun, 6 Sep 1998 00:39:46 +0000 (00:39 +0000)]
* ehopt.c (check_eh_frame): Check the size of the FDE, and don't
optimize across FDE boundaries.

26 years agoSat Sep 5 19:17:10 1998 Mumit Khan <khan@xraylith.wisc.edu>
Ian Lance Taylor [Sat, 5 Sep 1998 23:18:05 +0000 (23:18 +0000)]
Sat Sep  5 19:17:10 1998  Mumit Khan  <khan@xraylith.wisc.edu>

* dlltool.c (scan_all_symbols): Don't re-export symbols exported
by other DLLs.

26 years ago * config/obj-coff.c (obj_coff_section): Preserve any link once
Ian Lance Taylor [Sat, 5 Sep 1998 23:01:35 +0000 (23:01 +0000)]
* config/obj-coff.c (obj_coff_section): Preserve any link once
flags when setting the section flags.

26 years agoFixed generation of thumb function symbols.
Nick Clifton [Sat, 5 Sep 1998 02:58:46 +0000 (02:58 +0000)]
Fixed generation of thumb function symbols.

26 years agoFix detection of thumb-elf function symbols
Nick Clifton [Sat, 5 Sep 1998 02:47:40 +0000 (02:47 +0000)]
Fix detection of thumb-elf function symbols

26 years ago * README: Update remote debugging and testsuite info.
Stan Shebs [Fri, 4 Sep 1998 22:54:30 +0000 (22:54 +0000)]
* README: Update remote debugging and testsuite info.

26 years agoFri Sep 4 13:57:43 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
Richard Henderson [Fri, 4 Sep 1998 20:59:53 +0000 (20:59 +0000)]
Fri Sep  4 13:57:43 1998  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>

        * config/tc-sparc.c (in_signed_range): Sign extend 32-bit words
        to the host width.

26 years agoFri Sep 4 13:54:23 1998 David Miller <davem@dm.cobaltmicro.com>
Richard Henderson [Fri, 4 Sep 1998 20:57:07 +0000 (20:57 +0000)]
Fri Sep  4 13:54:23 1998  David Miller  <davem@dm.cobaltmicro.com>

        * elf32-sparc.c (elf32_sparc_relocate_section): Properly adjust
        the addend of a dynamic relocation referencing a section.
        * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
        (sparc64_elf_finish_dynamic_symbol): Fix the PLT relocation offset.

26 years agofix date
Catherine Moore [Fri, 4 Sep 1998 15:06:32 +0000 (15:06 +0000)]
fix date

26 years agoremove garbage
Catherine Moore [Fri, 4 Sep 1998 14:22:03 +0000 (14:22 +0000)]
remove garbage

26 years ago * emulparams/d10velf.sh (TEMPLATE_NAME): Use elf32.
Richard Henderson [Fri, 4 Sep 1998 00:31:41 +0000 (00:31 +0000)]
    * emulparams/d10velf.sh (TEMPLATE_NAME): Use elf32.

26 years ago * elflink.h (bfd_elfNN_size_dynamic_sections): Verify that the
Richard Henderson [Fri, 4 Sep 1998 00:30:35 +0000 (00:30 +0000)]
    * elflink.h (bfd_elfNN_size_dynamic_sections): Verify that the
        bed has a size_dynamic_sections routine before trying to use it.

26 years ago * config/mn10300/tm-mn10300.h (FP_REGNUM): Redefine to be a
Mark Alexander [Thu, 3 Sep 1998 22:59:13 +0000 (22:59 +0000)]
* config/mn10300/tm-mn10300.h (FP_REGNUM): Redefine to be a
pseudo-register, not the same as a3.
(D2_REGNUM, D3_REGNUM, A2_REGNUM, A3_REGNUM): Define.
* mn10300-tdep.c (fix_frame_pointer): New function.
(set_movm_offsets): Use register number macros instead of
hard-coded constants.
(mn10300_analyze_prologue): Fix to handle redefinition of FP_REGNUM.
(mn10300_frame_chain):  Fix to handle redefinition of FP_REGNUM;
use register number macros instead of hard-coded constants;
add missing parameter to call of mn10300_analyze_prologue.
(mn10300_frame_saved_pc): Use register number macros instead of
hard-coded constants.

26 years agoKilled the clone
Stan Shebs [Thu, 3 Sep 1998 21:54:38 +0000 (21:54 +0000)]
Killed the clone

26 years agoFix typo.
Ulrich Drepper [Wed, 2 Sep 1998 21:56:26 +0000 (21:56 +0000)]
Fix typo.

26 years ago* elf/readelf.c (process_dynamic_segment): Print DT_* value only if
Ulrich Drepper [Wed, 2 Sep 1998 21:55:37 +0000 (21:55 +0000)]
* elf/readelf.c (process_dynamic_segment): Print DT_* value only if
do_dynamic.
(do_histogram): New variable.
(options): New long option histogram.  Set do_histogram if this
option is used.
(usage): Document --histogram.
(parse_args): Handle 0 return value from getopt_long.  Enable
do_histogram for -a.
(process_symbol_table): Read hash table also if only do_histogram.
Add code to print hash table histogram.

26 years agoThu Aug 20 11:30:17 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Wed, 2 Sep 1998 19:28:55 +0000 (19:28 +0000)]
Thu Aug 20 11:30:17 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * elf.c: comment and formatting cleanups.
        * elfcore.h: ditto.

26 years ago * gdbtk-cmds.c (gdb_cmd): Do not run the timer when downloading --
Keith Seitz [Wed, 2 Sep 1998 19:01:13 +0000 (19:01 +0000)]
    * gdbtk-cmds.c (gdb_cmd): Do not run the timer when downloading --
        the ui_progress_hook that has been installed will actually
        update the gui for us.

26 years ago * frags.c (frag_grow): Include the size of the frag struct in the
Richard Henderson [Wed, 2 Sep 1998 18:35:47 +0000 (18:35 +0000)]
    * frags.c (frag_grow): Include the size of the frag struct in the
        obstack chunk size.

26 years ago * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
Richard Henderson [Wed, 2 Sep 1998 18:30:59 +0000 (18:30 +0000)]
    * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
        to handle edge8 and edge16.

26 years agoModifications/fixes to support the ARM/ELF port.
Zdenek Radouch [Tue, 1 Sep 1998 16:24:23 +0000 (16:24 +0000)]
Modifications/fixes to support the ARM/ELF port.

26 years agoKeep them all.
Richard Henderson [Tue, 1 Sep 1998 15:39:39 +0000 (15:39 +0000)]
Keep them all.

26 years agoKeep vtable tests.
Richard Henderson [Tue, 1 Sep 1998 15:38:06 +0000 (15:38 +0000)]
Keep vtable tests.

26 years agoremove elfarm.sc
Catherine Moore [Tue, 1 Sep 1998 13:59:18 +0000 (13:59 +0000)]
remove elfarm.sc

26 years ago* Build fixes for tx39 sim hosted on strange Linux boxen.
Frank Ch. Eigler [Tue, 1 Sep 1998 13:19:57 +0000 (13:19 +0000)]
* Build fixes for tx39 sim hosted on strange Linux boxen.
[common/ChangeLog]
Tue Sep  1 15:36:52 1998  Frank Ch. Eigler  <fche@cygnus.com>
* sim-config.h: Remove reference to linux kernel header.
[mips/ChangeLog]
Tue Sep  1 15:39:18 1998  Frank Ch. Eigler  <fche@cygnus.com>
* dv-tx3904sio.c: Include sim-assert.h.

26 years ago * top.c (context_hook): Define.
Tom Tromey [Mon, 31 Aug 1998 22:43:21 +0000 (22:43 +0000)]
* top.c (context_hook): Define.

* gdbtk-hooks.c (context_hook): Don't define.

26 years ago * elf32-mips.c (elf_mips_gnu_vtentry_howto): Use
Richard Henderson [Mon, 31 Aug 1998 21:50:12 +0000 (21:50 +0000)]
    * elf32-mips.c (elf_mips_gnu_vtentry_howto): Use
        _bfd_elf_rel_vtable_reloc_fn.

26 years ago * gdbtk-cmds.c (gdb_listfuncs): When stripping out "global destructors"
Keith Seitz [Mon, 31 Aug 1998 21:34:09 +0000 (21:34 +0000)]
    * gdbtk-cmds.c (gdb_listfuncs): When stripping out "global destructors"
        and "global constructors", do not append any elements to the result.
  (gdb_get_vars_command): Install patch from Jun 9 1998 which appears
        to have been lost.

        Clean up some tabbing mess.

26 years ago * gas/vtable/{entry0.d,entry1.d,inherit0.d}: Fix pattern matching
Richard Henderson [Mon, 31 Aug 1998 20:26:33 +0000 (20:26 +0000)]
    * gas/vtable/{entry0.d,entry1.d,inherit0.d}: Fix pattern matching
        of whitespace for 64-bit hosts.

26 years ago * gas/vtable/vtable.exp: New.
Richard Henderson [Mon, 31 Aug 1998 19:49:48 +0000 (19:49 +0000)]
    * gas/vtable/vtable.exp: New.
        * gas/vtable/{entry0.s,entry0.d}: New.
        * gas/vtable/{entry1.s,entry1.d}: New.
        * gas/vtable/{inherit0.s,inherit0.d}: New.
        * gas/vtable/{inherit1.s,inherit1.l}: New.

26 years agoChange references to armelf.sc to elf.sc.
Catherine Moore [Mon, 31 Aug 1998 18:09:41 +0000 (18:09 +0000)]
Change references to armelf.sc to elf.sc.

26 years agoremove armelf sanitization.
Catherine Moore [Mon, 31 Aug 1998 17:16:05 +0000 (17:16 +0000)]
remove armelf sanitization.

26 years ago * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
Richard Henderson [Mon, 31 Aug 1998 16:52:18 +0000 (16:52 +0000)]
    * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
        before we clobber the symbol involved.

26 years ago * emulparams/armelf.sh: Change SCRIPT_NAME to
Catherine Moore [Mon, 31 Aug 1998 16:26:28 +0000 (16:26 +0000)]
    * emulparams/armelf.sh:  Change SCRIPT_NAME to
        elf.  Change TEXT_START_ADDR to 0x8000.  Define
        OTHER_TEXT_SECTIONS, OTHER_BSS_SYMBOLS and
        OTHER_BSS_END_SYMBOLS.
        * scripttempl/elf.sc:  Modify to use
        OTHER_BSS_END_SYMBOLS.
        * scripttempl/elfarm.sc:  Remove file.

26 years agoremove armelf sanitization.
Catherine Moore [Mon, 31 Aug 1998 16:21:59 +0000 (16:21 +0000)]
remove armelf sanitization.

26 years agoremove armelf sanitization.
Catherine Moore [Mon, 31 Aug 1998 16:10:56 +0000 (16:10 +0000)]
remove armelf sanitization.

26 years ago * config/tc-arm.c: Remove OBJ_ELF definitions for
Catherine Moore [Mon, 31 Aug 1998 16:06:30 +0000 (16:06 +0000)]
    * config/tc-arm.c:  Remove OBJ_ELF definitions for
        S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.  Only
        use arm_adjust_symtab for OBJ_COFF.
        (armelf_adjust_symtab):  New Routine.
        * config/tc-arm.h:  Define obj_adjust_symtab to
        armelf_adjust_symtab for OBJ_ELF.

26 years ago * Makefile.am: Add elf32-arm.c.
Catherine Moore [Mon, 31 Aug 1998 15:50:04 +0000 (15:50 +0000)]
    * Makefile.am:  Add elf32-arm.c.
        * Makefile.in:  Rebuild.
        * elf-bfd.h:  Add elf_backend_get_symbol_type.
        * elf.c (swap_out_syms):  If defined, call
        elf_backend_get_symbol_type.
        * elf32-arm.c: Define elf_backend_get_symbol_type.
        (elf32_arm_get_symbol-type):  New routine.
        (record_thumb_to_arm_glue):  Change to use STT_ARM_TFUNC.
        (bfd_elf32_arm_process_before_allocation):  Change to
        check for STT_ARM_TFUNC.
        (elf32_arm_final_link_relocate):  Likewise.
        * elfxx-target.h:  Add elf_backend_get_symbol_type.

26 years agoSun Aug 30 00:49:18 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Sun, 30 Aug 1998 07:53:29 +0000 (07:53 +0000)]
Sun Aug 30 00:49:18 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk-cmds.c (Gdbtk_Init): Link C variable gdb_context
with tcl variable gdb_context_id.

* gdbtk-hooks.c (gdbtk_context_change): Implement new hook called
context_hook.  Called when threads change.

* gdbtk.c: Initialize gdb_context.

* gdbtk.h: Declare gdb_context.

* infrun (wait_for_inferior): Call context_hook.

* thread.c (thread_command): Call context_hook.

* defs.h: Declare context_hook.

26 years ago * i386.h: Add vtable relocs.
Richard Henderson [Sun, 30 Aug 1998 05:26:19 +0000 (05:26 +0000)]
    * i386.h: Add vtable relocs.

26 years ago * alpha-dis.c (print_insn_alpha): Use the machine type to
Richard Henderson [Sun, 30 Aug 1998 05:25:27 +0000 (05:25 +0000)]
    * alpha-dis.c (print_insn_alpha): Use the machine type to
        decide which PALcode set to include.

26 years ago * configure.in: Make all i386-elf targets use bfd_gas.
Richard Henderson [Sun, 30 Aug 1998 05:23:16 +0000 (05:23 +0000)]
    * configure.in: Make all i386-elf targets use bfd_gas.
        * config/tc-i386.c (tc_i386_force_relocation): New.
        (tc_i386_fix_adjustable): Don't fix vtable relocs.
        (md_apply_fix3): Likewise.
        (tc_gen_reloc): Handle them.
        * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
        tc_i386_force_relocation.

26 years ago * archures.c (bfd_mach_alpha_ev[456]): New.
Richard Henderson [Sat, 29 Aug 1998 02:46:21 +0000 (02:46 +0000)]
    * archures.c (bfd_mach_alpha_ev[456]): New.
        * cpu-alpha.c: Rework to match these types.

26 years ago * elf-bfd.h (_bfd_elf_rel_vtable_reloc_fn): Declare.
Richard Henderson [Sat, 29 Aug 1998 02:43:47 +0000 (02:43 +0000)]
    * elf-bfd.h (_bfd_elf_rel_vtable_reloc_fn): Declare.
        * elf.c (_bfd_elf_rel_vtable_reloc_fn): New.

        * elf32-i386.c (elf_howto_table): Add vtable relocs.
        (elf_i386_reloc_type_lookup): Recognize them.
        (elf_i386_check_relocs): Pass them off to generic code.
        (elf_i386_relocate_section): Ignore them.
        (elf_i386_gc_mark_hook, elf_i386_gc_sweep_hook): New.
        (elf_backend_can_gc_sections): True.

26 years agoremove armelf sanitization
Catherine Moore [Fri, 28 Aug 1998 20:28:26 +0000 (20:28 +0000)]
remove armelf sanitization

26 years agoremove armelf sanitization.
Catherine Moore [Fri, 28 Aug 1998 20:26:14 +0000 (20:26 +0000)]
remove armelf sanitization.

26 years ago * mdata-sh: Imported. Needed for automake support.
Per Bothner [Fri, 28 Aug 1998 19:29:20 +0000 (19:29 +0000)]
* mdata-sh:  Imported.  Needed for automake support.

26 years agoFri Aug 28 12:14:49 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Fri, 28 Aug 1998 19:18:38 +0000 (19:18 +0000)]
Fri Aug 28 12:14:49 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk-cmds.c (gdb_loadfile): Open the file after doing
the symtab lookup and calling symtab_to_filename(). This
makes GDBtk work with the GDB "dir" command.

26 years agoadd elfarm.sc to things to keep
Catherine Moore [Thu, 27 Aug 1998 20:40:30 +0000 (20:40 +0000)]
add elfarm.sc to things to keep

26 years agoadd armelf.em to things to keep.
Catherine Moore [Thu, 27 Aug 1998 20:39:21 +0000 (20:39 +0000)]
add armelf.em to things to keep.

26 years agoadd elf32-arm.c to things to keep
Catherine Moore [Thu, 27 Aug 1998 20:35:58 +0000 (20:35 +0000)]
add elf32-arm.c to things to keep

26 years agoremove armelf sanitization.
Catherine Moore [Wed, 26 Aug 1998 17:55:50 +0000 (17:55 +0000)]
remove armelf sanitization.

26 years agoChange sanitization of vrXXXX to cygnus, so redact might work on it.
Ken Raeburn [Wed, 26 Aug 1998 17:29:06 +0000 (17:29 +0000)]
Change sanitization of vrXXXX to cygnus, so redact might work on it.
This means using keep-vr4320 without keep-cygnus probably won't work.

26 years agoremove armelf sanitization
Catherine Moore [Wed, 26 Aug 1998 17:25:19 +0000 (17:25 +0000)]
remove armelf sanitization

26 years agoremove armelf sanitization.
Catherine Moore [Wed, 26 Aug 1998 17:17:56 +0000 (17:17 +0000)]
remove armelf sanitization.

26 years agoRegress yesterday's change to jmp instn implementation in mn10300.igen.
Joyce Janczyn [Wed, 26 Aug 1998 13:37:56 +0000 (13:37 +0000)]
Regress yesterday's change to jmp instn implementation in mn10300.igen.

26 years agoRegress yesterday's change to jmp instruction -- it has deceiving syntax.
Joyce Janczyn [Wed, 26 Aug 1998 13:31:38 +0000 (13:31 +0000)]
Regress yesterday's change to jmp instruction -- it has deceiving syntax.
Also tidy up some code to match documentation and fix div, divu by 0.

26 years ago(process_syminfo): Print names of files symbols are bound to, not the index.
Ulrich Drepper [Wed, 26 Aug 1998 00:17:28 +0000 (00:17 +0000)]
(process_syminfo): Print names of files symbols are bound to, not the index.

26 years agoUpdate.
Ulrich Drepper [Tue, 25 Aug 1998 23:48:58 +0000 (23:48 +0000)]
Update.

26 years ago(process_dynamic_segment): Read syminfo section if available.
Ulrich Drepper [Tue, 25 Aug 1998 23:47:11 +0000 (23:47 +0000)]
(process_dynamic_segment): Read syminfo section if available.
(process_syminfo): New function.  Print syminfo information.
(process_file): Call process_syminfo and free syminfo data at the end.

26 years ago* mn10300.igen (OP_F0F4): Need to load contents of register AN0
Joyce Janczyn [Tue, 25 Aug 1998 20:49:35 +0000 (20:49 +0000)]
* mn10300.igen (OP_F0F4): Need to load contents of register AN0
for jmp.

26 years agoTue Aug 25 13:21:58 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 25 Aug 1998 20:24:03 +0000 (20:24 +0000)]
Tue Aug 25 13:21:58 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * ax-gdb.c (gen_var_ref): Allow for typedef types.
        (gen_cast, gen_bitfield_ref, gen_expr): ditto.

26 years ago* eCos tx3904sio sim - devo part 2/2
Frank Ch. Eigler [Tue, 25 Aug 1998 14:16:58 +0000 (14:16 +0000)]
* eCos tx3904sio sim - devo part 2/2
Tue Aug 25 12:49:46 1998  Frank Ch. Eigler  <fche@cygnus.com>
* dv-tx3904sio.c: New file: tx3904 serial I/O module.
* configure.in: Add dv-tx3904sio, dv-sockser for tx39 target.
Reorganize target-specific sim-hardware checks.
* configure: rebuilt.
* interp.c (sim_open): For tx39 target boards, set
OPERATING_ENVIRONMENT, add tx3904sio devices.
* tconfig.in: For tx39 target, set SIM_HANDLES_LMA for loading
ROM executables.  Install dv-sockser into sim-modules list.
* dv-tx3904irc.c: Compiler warning clean-up.
* dv-tx3904tmr.c: Compiler warning clean-up.  Remove particularly
frequent hw-trace messages.

26 years ago* eCos tx3904sio sim - devo part 1/2
Frank Ch. Eigler [Tue, 25 Aug 1998 13:58:35 +0000 (13:58 +0000)]
* eCos tx3904sio sim - devo part 1/2
Tue Aug 25 12:45:27 1998  Frank Ch. Eigler  <fche@cygnus.com>
* dv-sockser.c (sockser_addr): Make variable non-static.

26 years agoMon Aug 24 18:29:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 25 Aug 1998 01:31:06 +0000 (01:31 +0000)]
Mon Aug 24 18:29:03 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * tracepoint.c (collect_symbol): Handle register doubles that
        are stored in two registers.

26 years ago * sh-stub.c (undoSStep): Improve comment.
Mark Alexander [Mon, 24 Aug 1998 21:51:33 +0000 (21:51 +0000)]
* sh-stub.c (undoSStep): Improve comment.
* sparc-tdep.c (sparc_extract_struct_value_address): Simplify to use
same method on both 32-bit and 64-bit machines.
* sparcl-tdep.c (sparclite_check_watch_resources): Simulator doesn't
support hardware breakpoints.
* config/sparc/tm-sparc.h (CALL_DUMMY): Improve comments.

26 years agoImprove formatting of --help output
Nick Clifton [Mon, 24 Aug 1998 20:41:35 +0000 (20:41 +0000)]
Improve formatting of --help output