binutils-gdb.git
26 years agoFix PR 17105 - reset previous insn to empty after emitting NOPs.
Nick Clifton [Mon, 21 Sep 1998 17:44:48 +0000 (17:44 +0000)]
Fix PR 17105 - reset previous insn to empty after emitting NOPs.

26 years ago * elf32-i386.c (elf32_i386_vtinherit_howto): New.
Catherine Moore [Mon, 21 Sep 1998 17:29:28 +0000 (17:29 +0000)]
    * elf32-i386.c (elf32_i386_vtinherit_howto): New.
        (elf32_i386_vtentry_howto): New.
        (elf_i386_reloc_type_lookup):  Return elf32_i386_vtentry_howto
        or elf32_i386_vtinherit_howto  on lookup.

26 years ago * incorporate SKY-B changes (makes dual maintenance easier).
Ron Unrau [Mon, 21 Sep 1998 05:11:13 +0000 (05:11 +0000)]
    * incorporate SKY-B changes (makes dual maintenance easier).
        * txvu-tdep.c (check_overlap): new function to guarantee that
          overlays are either mapped or unmapped in their entirety.
        * txvu-tdep.c (compress_blockvector): compress blockvectors correctly

26 years agoDo not require an ANSI compiler
Michael Meissner [Sun, 20 Sep 1998 22:21:23 +0000 (22:21 +0000)]
Do not require an ANSI compiler

26 years agoSun Sep 20 01:00:01 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Sun, 20 Sep 1998 05:00:45 +0000 (05:00 +0000)]
Sun Sep 20 01:00:01 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* gas/vtable/inherit1.l: Require only the word GAS somewere in the
first line of the listing.

26 years agoSun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Sun, 20 Sep 1998 04:59:11 +0000 (04:59 +0000)]
Sun Sep 20 00:58:12 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* config/tc-m68k.h (TC_FORCE_RELOCATION): New macro.  Force vtable
relocs.
* config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.

26 years agoSun Sep 20 00:48:07 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Sun, 20 Sep 1998 04:57:41 +0000 (04:57 +0000)]
Sun Sep 20 00:48:07 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf32-m68k.c: Include "elf/m68k.h".  Remove definition of enum
reloc_type.  Rename R_68K__max to R_68K_max.
(howto_table): Use _bfd_elf_rel_vtable_reloc_fn for a VTENTRY
reloc.

26 years agoSun Sep 20 00:54:22 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Sun, 20 Sep 1998 04:55:51 +0000 (04:55 +0000)]
Sun Sep 20 00:54:22 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* m68k.h: Add vtable relocs and R_68K_max.

26 years agoSun Sep 20 00:09:25 1998 Chris Torek <torek@bsdi.com>
Ian Lance Taylor [Sun, 20 Sep 1998 04:17:27 +0000 (04:17 +0000)]
Sun Sep 20 00:09:25 1998  Chris Torek  <torek@bsdi.com>

* libbfd.c (bfd_getb32): Rewrite expression to get better code.
(bfd_getl32, bfd_getb_signed_32, bfd_getl_signed_32): Likewise.

26 years ago * libbfd.c (bfd_log2): Cast to bfd_vma before shifting, not
Ian Lance Taylor [Sun, 20 Sep 1998 03:53:05 +0000 (03:53 +0000)]
* libbfd.c (bfd_log2): Cast to bfd_vma before shifting, not
after.  From Chris Torek <torek@bsdi.com>.

26 years agoSat Sep 19 22:42:23 1998 Doug Rabson <dfr@nlsystems.com>
Ian Lance Taylor [Sun, 20 Sep 1998 02:45:04 +0000 (02:45 +0000)]
Sat Sep 19 22:42:23 1998  Doug Rabson  <dfr@nlsystems.com>

* elflink.h (elf_link_add_object_symbols): Ensure that the warning
message has a null byte terminator.

26 years ago * gdbtk-cmds.c (get_frame_name): Demangle function names, too.
Keith Seitz [Fri, 18 Sep 1998 23:45:45 +0000 (23:45 +0000)]
    * gdbtk-cmds.c (get_frame_name): Demangle function names, too.

26 years ago * dvp-opc.c (gif_opcodes): Support EOP on gifimage.
Doug Evans [Fri, 18 Sep 1998 23:30:40 +0000 (23:30 +0000)]
* dvp-opc.c (gif_opcodes): Support EOP on gifimage.
PR 17293.

26 years agoFic PR17107 - ignore contents of word subject to R_V850_32 relocation.
Nick Clifton [Fri, 18 Sep 1998 21:37:41 +0000 (21:37 +0000)]
Fic PR17107 - ignore contents of word subject to R_V850_32 relocation.

26 years agoFri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 18 Sep 1998 21:10:23 +0000 (21:10 +0000)]
Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.trace/*.exp: remove "remote_download" command.

26 years agoAlways treat section symbols as special, even if they are attached to a
Nick Clifton [Fri, 18 Sep 1998 16:23:48 +0000 (16:23 +0000)]
Always treat section symbols as special, even if they are attached to a
common section.

26 years ago * sol-thread.c (sol_thread_notice_signals): Use PIDGET when
Peter Schauer [Fri, 18 Sep 1998 14:57:16 +0000 (14:57 +0000)]
* sol-thread.c (sol_thread_notice_signals):  Use PIDGET when
passing pid down to procfs_notice_signals.

26 years agoAdd comment about problem computing nearets line numbers for undefined
Nick Clifton [Fri, 18 Sep 1998 00:22:23 +0000 (00:22 +0000)]
Add comment about problem computing nearets line numbers for undefined
symbols at link time.

26 years ago * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
Richard Henderson [Thu, 17 Sep 1998 23:17:10 +0000 (23:17 +0000)]
    * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
        transform a defweak into a plt entry.
        (elf64_alpha_calc_dynrel_sizes): Allow room for secondary
        plt entry references to receive a RELATIVE reloc.
        (elf64_alpha_finish_dynamic_symbol): Fill them in.
        (elf64_alpha_relocate_section): Assert we don't overrun
        the allocated relocation space.

26 years agoupdate
Geoffrey Noer [Thu, 17 Sep 1998 00:06:01 +0000 (00:06 +0000)]
update

26 years ago * stabsread.c (resolve_symbol_reference): Return 1 on success, 0 on
Stu Grossman [Wed, 16 Sep 1998 21:59:01 +0000 (21:59 +0000)]
* stabsread.c (resolve_symbol_reference):  Return 1 on success, 0 on
failure.
* (define_symbol):  Check return value from resolve_symbol_reference,
and drop symbol if it fails.

26 years agoget rid of print statement in elf32_arm_gc_mark_hook.
Catherine Moore [Wed, 16 Sep 1998 16:31:18 +0000 (16:31 +0000)]
get rid of print statement in elf32_arm_gc_mark_hook.

26 years ago * gdb.trace/configure.in(AC_INIT): typo
Felix Lee [Wed, 16 Sep 1998 08:25:59 +0000 (08:25 +0000)]
    * gdb.trace/configure.in(AC_INIT): typo
        * gdb.trace/configure: regenerated

26 years ago * stabsread.c: Make all complaints static.
Stu Grossman [Tue, 15 Sep 1998 22:38:40 +0000 (22:38 +0000)]
* stabsread.c:  Make all complaints static.
* Fix formatting of live range splitting code.
* (resolve_symbol_reference define_symbol resolve_live_range):  Change
errors to complaints so that bad live range symbols won't abort the
entire symbol table.  Handle errors by aborting just the current
symbol.
* (ref_init):  Goes away.  Folded into ref_add().
* (REF_MAP_SIZE):  Put parens around parameter so that args like
`1 + 2' get handled correctly (yes, this was a real bug).
* (ref_add):  Remove check for allocation failures.  Not necessary
when using xrealloc().  Fix pointer arithmetic problem when clearing
memory.  This and the previous patch prevent random SEGV's when there
are lots of live range symbols.

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

        * lib/<emc-support.exp trace-support.exp}: New files.
        * configure.in: add new test directory gdb.trace.
        * gdb.trace/{configure configure.in Makefile.in}: New files.
        * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
        * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
        * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
        * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
        * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
        * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
        * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.

26 years ago * m32r-sim.h (GET_H_SM): New macro.
Doug Evans [Tue, 15 Sep 1998 22:16:08 +0000 (22:16 +0000)]
* m32r-sim.h (GET_H_SM): New macro.
(UART params): Update to msa2000.
* devices.c (device_io_read_buffer): Update to msa2000.
* m32r.c (m32rb_h_cr_get,m32rb_h_cr_set): Handle bbpc,bbpsw.
(m32rb_h_psw_get,m32rb_h_psw_set): New functions.
* arch.c,arch.h,cpu.c,cpu.h,sem-switch.c,sem.c: Regenerate.
* m32rx.c (m32rx_h_cr_get,m32rx_h_cr_set): Handle bbpc,bbpsw.
(m32rx_h_psw_get,m32rx_h_psw_set): New functions.
* cpux.c,cpux.h,readx.c,semx.c: Regenerate.
PR 15938.

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.