external/binutils.git
23 years agoAdd support for configuring an xscale atrget
Nick Clifton [Sun, 26 Nov 2000 20:04:41 +0000 (20:04 +0000)]
Add support for configuring an xscale atrget

23 years ago2000-11-25 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Sat, 25 Nov 2000 10:58:09 +0000 (10:58 +0000)]
2000-11-25  David O'Brien  <obrien@FreeBSD.org>
* ld.1: Remove old date so it does not give the impression the
manpage is way out of date.

Approved by:  Nick Clifton <nickc@redhat.com>
              <200011250036.QAA09984@elmo.cygnus.com>

23 years agoFix for sim/common hw_delete()/hw_tree_delete()
Stephane Carrez [Sat, 25 Nov 2000 09:18:52 +0000 (09:18 +0000)]
Fix for sim/common hw_delete()/hw_tree_delete()

23 years agoFix memory leak in sim_parse_args
Stephane Carrez [Sat, 25 Nov 2000 09:16:22 +0000 (09:16 +0000)]
Fix memory leak in sim_parse_args

23 years agoAdd ARM v5t, v5te and XScale support
Nick Clifton [Sat, 25 Nov 2000 00:21:40 +0000 (00:21 +0000)]
Add ARM v5t, v5te and XScale support

23 years agoRemove redundant init of config.make_executable to true.
Nick Clifton [Fri, 24 Nov 2000 21:31:21 +0000 (21:31 +0000)]
Remove redundant init of config.make_executable to true.

23 years agoSupport 68HC12 arch in Gdb
Stephane Carrez [Fri, 24 Nov 2000 21:24:04 +0000 (21:24 +0000)]
Support 68HC12 arch in Gdb

23 years agoUse gdbarch_tdep for 68hc11 specific data (stack_correction global)
Stephane Carrez [Fri, 24 Nov 2000 20:59:42 +0000 (20:59 +0000)]
Use gdbarch_tdep for 68hc11 specific data (stack_correction global)

23 years agoFix device memory allocation in 68hc11 simulator
Stephane Carrez [Fri, 24 Nov 2000 20:53:35 +0000 (20:53 +0000)]
Fix device memory allocation in 68hc11 simulator

23 years agoAdd --enable-gdb-build-warnings=... to configure{,.in}.
Andrew Cagney [Fri, 24 Nov 2000 11:02:59 +0000 (11:02 +0000)]
Add --enable-gdb-build-warnings=... to configure{,.in}.

23 years agoFix entry typo and missing information.
Fernando Nasser [Fri, 24 Nov 2000 00:34:43 +0000 (00:34 +0000)]
Fix entry typo and missing information.

23 years ago* ltcf-gcj.sh: Added file, required by 2000-11-18 merge.
Alexandre Oliva [Thu, 23 Nov 2000 07:49:23 +0000 (07:49 +0000)]
* ltcf-gcj.sh: Added file, required by 2000-11-18 merge.

23 years ago2000-11-23 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 23 Nov 2000 07:33:24 +0000 (07:33 +0000)]
2000-11-23  Kazu Hirata  <kazu@hxi.com>

* aix386-core.c: Fix formatting.

23 years agoChangeLog
Alexandre Oliva [Thu, 23 Nov 2000 04:04:00 +0000 (04:04 +0000)]
ChangeLog

23 years ago * cplus-dem.c (main): Handle gnat_demangling.
Hans-Peter Nilsson [Thu, 23 Nov 2000 00:08:38 +0000 (00:08 +0000)]
* cplus-dem.c (main): Handle gnat_demangling.

23 years agoAdd new machien types and section flags
Nick Clifton [Wed, 22 Nov 2000 23:49:39 +0000 (23:49 +0000)]
Add new machien types and section flags

23 years agoAdd new ELF ABI defines
Nick Clifton [Wed, 22 Nov 2000 23:19:15 +0000 (23:19 +0000)]
Add new ELF ABI defines

23 years agoEliminate compiler warnings from IA-64 port.
Jim Wilson [Wed, 22 Nov 2000 23:08:47 +0000 (23:08 +0000)]
Eliminate compiler warnings from IA-64 port.
* config/tc-ia64.c (pseudo_func): Add missing initializers.
(struct rsrc): Make line unsigned.
(gr_values): Add missing initializer.
(SLOT_NUM_NOT_SET): Add unsigned cast.
(ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
Add ATTRIBUTE_UNUSED to unused parameters.
(convert_expr_to_ab_reg): Add parens.
(convert_expr_to_xy_reg): Add parens.  Comment out >= REG_GR test.
(dot_prologue): Initialize grsave when declared.
(md_pseudo_table): Add missing initializers.
(operand_match): Add casts to bfd_vma.
(emit_one_bundle): Delete unused local prev.  Make required_template
unsigned.
(specify_resource): Cast i to unsigned.
(note_register_values): Use fprintf_vma.
(print_dependency): Likewise.

23 years agoEliminate compiler warnings from IA-64 port.
Jim Wilson [Wed, 22 Nov 2000 21:25:36 +0000 (21:25 +0000)]
Eliminate compiler warnings from IA-64 port.
* coff-ia64.c (howto_table): Use EMPTY_HOWTO.
(in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
* cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
(ins_imms_scaled): Initialize sign_bit at function entry.
(elf64_ia64_operands): Add missing initializers.
* elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
parameters.
(elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
and free_extsyms at function entry.
(elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
(elfNN_ia64_create_dynamic_sections): Delete unused local h.
(get_got): Delete unused local srel.
(elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
(elfNN_ia64_relocate_section): Delete unused local dynindx.

23 years ago * mips-opc.c: Fix file header comment.
Chris Demetriou [Wed, 22 Nov 2000 18:01:56 +0000 (18:01 +0000)]
    * mips-opc.c: Fix file header comment.

23 years agoFix linux kernel unwind section alignment failure.
Jim Wilson [Wed, 22 Nov 2000 02:10:34 +0000 (02:10 +0000)]
Fix linux kernel unwind section alignment failure.
* config/tc-ia64.c (generate_unwind_image): Call record_alignment
for unwind info section.
(dot_endp): Likewise for unwind section.

23 years agoFix assembler error on linux kernel mm/memory.c file.
Jim Wilson [Wed, 22 Nov 2000 01:12:05 +0000 (01:12 +0000)]
Fix assembler error on linux kernel mm/memory.c file.
* config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
fix_new_exp.

23 years ago2000-11-21 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 22 Nov 2000 01:08:53 +0000 (01:08 +0000)]
2000-11-21  Kazu Hirata  <kazu@hxi.com>

* coff-a29k.c: Fix formatting.
* coff-h8500.c: Likewise.
* coff-i960.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-stgo32.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-w65.c: Likewise.
* cpu-h8500.c: Likewise.
* cpu-hppa.c: Likewise.
* cpu-ns32k.c: Likewise.

23 years ago2000-11-21 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 22 Nov 2000 00:56:55 +0000 (00:56 +0000)]
2000-11-21  Kazu Hirata  <kazu@hxi.com>

* ecoff.c: Fix formatting.
* ecofflink.c: Likewise.

23 years ago * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
Jakub Jelinek [Tue, 21 Nov 2000 21:37:44 +0000 (21:37 +0000)]
* config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.

23 years agoFix compile time warning, and remove possibility of infinite loop.
Nick Clifton [Tue, 21 Nov 2000 19:47:10 +0000 (19:47 +0000)]
Fix compile time warning, and remove possibility of infinite loop.

23 years ago * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
Jakub Jelinek [Tue, 21 Nov 2000 12:40:14 +0000 (12:40 +0000)]
* config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
(output_insn): Call dwarf2_emit_insn.

23 years ago * cplus-dem.c (cplus_demangle): Fix formatting.
Hans-Peter Nilsson [Tue, 21 Nov 2000 10:54:08 +0000 (10:54 +0000)]
* cplus-dem.c (cplus_demangle): Fix formatting.
(grow_vect): Ditto.
(ada_demangle): Ditto.
(internal_cplus_demangle): Ditto.
(mop_up): Ditto.

* cplus-dem.c (main): Handle java_demangling.

* cplus-dem.c (grow_vect): Prototype.
(ada_demangle): Cast the arg of ctype macros to unsigned char.

23 years ago * target.h (TARGET_SIGNAL_REALTIME_64): Added for IRIX 6.
Peter Schauer [Tue, 21 Nov 2000 10:26:07 +0000 (10:26 +0000)]
* target.h (TARGET_SIGNAL_REALTIME_64):  Added for IRIX 6.
* target.c (target_signal_from_host, do_target_signal_to_host):
Handle TARGET_SIGNAL_REALTIME_64.

23 years ago * solib.c (solib_open): Handle the case where
Kevin Buettner [Tue, 21 Nov 2000 09:23:32 +0000 (09:23 +0000)]
* solib.c (solib_open): Handle the case where
solib_absolute_prefix is NULL.

23 years ago2000-11-20 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 21 Nov 2000 02:24:32 +0000 (02:24 +0000)]
2000-11-20  Kazu Hirata  <kazu@hxi.com>

* bfd-in.h: Fix formatting.
* bfd-in2.h: Likewise.
* bfd.c: Likewise.
* bout.c: Likewise.

23 years ago2000-11-20 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 21 Nov 2000 01:09:54 +0000 (01:09 +0000)]
2000-11-20  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * solist.h: Declare new function solib_open.
        * solib.c (solib_open): New function.  Abstracts some of the
        code from solib_map_sections, for finding the binary solib file.
        (solib_map_sections): Call solib_open.
        * solib-svr4.c (enable_break): Call solib_open.

23 years ago* gdbserver/low-nbsd.c (fetch_inferior_registers,
J.T. Conklin [Tue, 21 Nov 2000 00:25:58 +0000 (00:25 +0000)]
* gdbserver/low-nbsd.c (fetch_inferior_registers,
store_inferior_registers): Support older NetBSD/powerpc systems
from before fp reg support was added.  Adapt to register number
changes caused when powerpc target was multi-arched.

23 years ago2000-11-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 20 Nov 2000 23:47:41 +0000 (23:47 +0000)]
2000-11-20  H.J. Lu  <hjl@gnu.org>

* readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
ELFOSABI_AIX.

23 years ago2000-11-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 20 Nov 2000 23:46:36 +0000 (23:46 +0000)]
2000-11-20  H.J. Lu  <hjl@gnu.org>

* ia64-tdep.c (gdbarch_tdep): Change reference from
ELFOSABI_MONTEREY to ELFOSABI_AIX.

23 years ago2000-11-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 20 Nov 2000 23:45:42 +0000 (23:45 +0000)]
2000-11-20  H.J. Lu  <hjl@gnu.org>

* common.h (ELFOSABI_MONTEREY): Renamed to ...
(ELFOSABI_AIX): This.

23 years ago2000-11-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 20 Nov 2000 21:16:26 +0000 (21:16 +0000)]
2000-11-20  H.J. Lu  <hjl@gnu.org>

* gas/i386/intel.d: Add 3 "nop"s for the a.out assembler.
* gas/i386/intel.s: Likewise.

23 years ago * c-valprint.c (print_function_pointer_address): New function
Peter Schauer [Mon, 20 Nov 2000 20:33:53 +0000 (20:33 +0000)]
* c-valprint.c (print_function_pointer_address):  New function
to automatically dereference a function pointer for printing
if necessary.
(c_val_print):  Use print_function_pointer_address when printing
function pointer addresses.

23 years ago* gdbserver/low-nbsd.c: Fix typos.
J.T. Conklin [Mon, 20 Nov 2000 19:30:29 +0000 (19:30 +0000)]
* gdbserver/low-nbsd.c: Fix typos.

23 years ago2000-11-20 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 20 Nov 2000 19:05:12 +0000 (19:05 +0000)]
2000-11-20  Kazu Hirata  <kazu@hxi.com>

* aix386-core.c: Fix formatting.
* aout-adobe.c: Likewise.
* aout-arm.c: Likewise.
* aout-encap.c: Likewise.
* aout-ns32k.c: Likewise.
* aout-target.h: Likewise.
* aout-tic30.c: Likewise.
* aoutf1.h: Likewise.
* aoutx.h: Likewise.
* archive.c: Likewise.

23 years ago * pa64solib.c (add_to_solib): Pass TARGET to pa64_solib_load_symbols.
Jeff Law [Mon, 20 Nov 2000 17:44:07 +0000 (17:44 +0000)]
    * pa64solib.c (add_to_solib): Pass TARGET to pa64_solib_load_symbols.

23 years ago * ltcf-cxx.sh: Added file, required by 2000-11-18 merge.
Ian Lance Taylor [Mon, 20 Nov 2000 17:27:59 +0000 (17:27 +0000)]
* ltcf-cxx.sh: Added file, required by 2000-11-18 merge.

23 years agoAdd linespec maintainers.
Andrew Cagney [Mon, 20 Nov 2000 14:42:16 +0000 (14:42 +0000)]
Add linespec maintainers.

23 years agoDevolve Solaris/x86
Andrew Cagney [Mon, 20 Nov 2000 12:45:01 +0000 (12:45 +0000)]
Devolve Solaris/x86

23 years ago * MAINTAINERS: Peter Schauer and Kevin Buettner maintain AIX. Jim
Andrew Cagney [Mon, 20 Nov 2000 12:31:43 +0000 (12:31 +0000)]
   * MAINTAINERS: Peter Schauer and Kevin Buettner maintain AIX.  Jim
       Blandy, KEvin Buettner and Peter Schauer share shared libs.

23 years agoMark error_no_arg() as no-return.
Andrew Cagney [Mon, 20 Nov 2000 03:37:09 +0000 (03:37 +0000)]
Mark error_no_arg() as no-return.

23 years agoReplace asprintf() / vasprintf() with xasprintf() xvasprintf().
Andrew Cagney [Mon, 20 Nov 2000 02:06:19 +0000 (02:06 +0000)]
Replace asprintf() / vasprintf() with xasprintf() xvasprintf().

23 years agoAdd ``extern'' and STREQ to cleanups.
Andrew Cagney [Mon, 20 Nov 2000 01:57:26 +0000 (01:57 +0000)]
Add ``extern'' and STREQ to cleanups.

23 years ago2000-11-20 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 19 Nov 2000 22:27:14 +0000 (22:27 +0000)]
2000-11-20  Ben Elliston  <bje@redhat.com>

* cgen-ops.h (SUBBI): New macro.
(SUBWORDSIQI, SUBWORDSIHI, SUBWORDSIUQI): New functions.
(SUBWORDDIHI, SUBWORDDIUQI, SUBWORDDIDF): Likewise.

23 years ago * readelf.c (display_debug_lines): Adjust last change to
Richard Henderson [Sun, 19 Nov 2000 20:57:42 +0000 (20:57 +0000)]
    * readelf.c (display_debug_lines): Adjust last change to
        use sizeof (external->li_length).

23 years ago* symtab.c (no_symtab_msg): Remove definition.
Jim Blandy [Sun, 19 Nov 2000 17:27:38 +0000 (17:27 +0000)]
* symtab.c (no_symtab_msg): Remove definition.
(sources_info): Replace use of no_symtab_msg with the string
itself.
* linespec.c (no_symtab_msg): Remove declaration.
(decode_line_1): Replace uses of no_symtab_msg with the string
itself.

23 years ago * gdb.texinfo (Continuing and Stepping): Fixed markup and typos,
Eli Zaretskii [Sun, 19 Nov 2000 06:31:39 +0000 (06:31 +0000)]
* gdb.texinfo (Continuing and Stepping):  Fixed markup and typos,
as suggested by Dmitry Sivachenko <dima@Chg.RU>.

23 years ago* Makefile.in: Merge with GCC and libgcj.
Alexandre Oliva [Sat, 18 Nov 2000 22:01:34 +0000 (22:01 +0000)]
* Makefile.in: Merge with GCC and libgcj.
(ALL_GCC_C, ALL_GCC_CXX): New macros.  Use them as dependencies of
configure-target-<library> when their configure scripts need the C
or C++ library to have already been built to work properly.
(do_proto_toplev): Set them to an empty string.

23 years ago* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
Alexandre Oliva [Sat, 18 Nov 2000 20:58:43 +0000 (20:58 +0000)]
* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
(REALLY_SET_LIB_PATH): Use them.

23 years ago * Makefile.in: remove `@true' commands for rules that have
Greg McGary [Sat, 18 Nov 2000 09:08:59 +0000 (09:08 +0000)]
* Makefile.in: remove `@true' commands for rules that have
$(CGEN_MAINT) as a prerequisite.

23 years agoHandle optimizer code motions into the prologue.
Kevin Buettner [Sat, 18 Nov 2000 05:50:11 +0000 (05:50 +0000)]
Handle optimizer code motions into the prologue.

23 years agoProtoization.
Kevin Buettner [Sat, 18 Nov 2000 02:05:46 +0000 (02:05 +0000)]
Protoization.

23 years agoFix DT_INIT ABI violation, it is an offset not a function pointer.
Jim Wilson [Sat, 18 Nov 2000 00:41:35 +0000 (00:41 +0000)]
Fix DT_INIT ABI violation, it is an offset not a function pointer.
* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
pltoff entries for DT_INIT and DT_FINI.
(elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
(elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
entries.

23 years ago * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
Richard Henderson [Sat, 18 Nov 2000 00:13:28 +0000 (00:13 +0000)]
    * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
        callers.  Don't switch segments.  Expect CIE == -1 in .debug_frame.
        (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.

23 years agoAdd support for .line and .file pseudo ops.
Nick Clifton [Fri, 17 Nov 2000 18:46:43 +0000 (18:46 +0000)]
Add support for .line and .file pseudo ops.

23 years ago * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
Richard Henderson [Fri, 17 Nov 2000 18:15:53 +0000 (18:15 +0000)]
    * config/tc-i386.c (md_pseudo_table): Add .file and .loc.

23 years ago * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
Richard Henderson [Fri, 17 Nov 2000 18:07:33 +0000 (18:07 +0000)]
    * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
        * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
        tri-state definition of alpha_flag_mdebug.
        * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
        (s_alpha_file): Store first .file directive.
        (s_alpha_stab): New.
        (md_pseudo_table): Add stabs and stabn.

23 years ago * lib/gdb.exp (gdb_test): Override timeout with board info.
Nicholas Duffek [Fri, 17 Nov 2000 17:16:24 +0000 (17:16 +0000)]
* lib/gdb.exp (gdb_test): Override timeout with board info.

23 years ago * gdb.base/display.exp: Don't kill running stub. Add "again" to
Nicholas Duffek [Fri, 17 Nov 2000 17:13:33 +0000 (17:13 +0000)]
* gdb.base/display.exp: Don't kill running stub.  Add "again" to
the second kill and detach messages.

23 years ago * configure.in: Add AC_EXEEXT.
Nicholas Duffek [Fri, 17 Nov 2000 16:37:48 +0000 (16:37 +0000)]
* configure.in: Add AC_EXEEXT.
* configure: Regenerate.
* Makefile.in (just-check): Export EXEEXT.
* lib/gdb.exp ($EXEEXT): Import from environment.
* gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
expect "maint dump-me" on Cygwin.
* gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
$EXEEXT.

23 years ago * gdb.base/break.exp: Test backtrace and finish from called
Nicholas Duffek [Fri, 17 Nov 2000 16:24:48 +0000 (16:24 +0000)]
* gdb.base/break.exp: Test backtrace and finish from called
function on all platforms, not just HP-UX.

23 years ago * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
Richard Henderson [Fri, 17 Nov 2000 09:28:04 +0000 (09:28 +0000)]
    * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.

23 years ago* as.c (main): Call dwarf2_finish.
Richard Henderson [Fri, 17 Nov 2000 08:53:38 +0000 (08:53 +0000)]
* as.c (main): Call dwarf2_finish.

23 years ago * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
Richard Henderson [Fri, 17 Nov 2000 08:47:52 +0000 (08:47 +0000)]
* as.c (debug_type): Init to DEBUG_UNSPECIFIED.
* as.h (debug_type): Clarify documentation of the meaning
of this variable.
* dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
(print_stats): Fix parenthesis problem.
(now_subseg_size): New.
(dwarf2_finish): Use it.  If DEBUG_DWARF2, emit bits for .debug_info.
(dwarf2_directive_file): Don't set debug_type.
(dwarf2_where): Honor DEBUG_DWARF2 first.
(dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
do nothing if not emitting dwarf2 debug info, or no work.
* dwarf2dbg.h (dwarf2_emit_insn): Update.
* ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
(ecoff_new_file): Likewise.
* read.c (generate_lineno_debug): Kill ecoff hackery.  Update
commentary wrt dwarf2.

* config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
ATTRIBUTE_UNUSED as needed.
(emit_insn): Call dwarf2_emit_insn.
(s_alpha_file): New.
(s_alpha_loc): New.
(s_alpha_coff_wrapper): Don't handle them.
(md_pseudo_table): Update for .file and .loc.
* config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.

* config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
don't protect with debug_type.
* config/tc-hppa.c (md_assemble): Likewise.
* config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
* config/tc-mn10300.c (md_assemble): Likewise.
* config/tc-sh.c (md_assemble): Likewise.
* config/tc-v850.c (md_assemble): Likewise.

* config/tc-arm.c (arm_end_of_source): Remove.
* config/tc-hppa.c (pa_end_of_source): Remove.
* config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
* config/tc-mn10300.c (mn10300_finalize): Remove.
* config/tc-sh.c (sh_finalize): Remove.
* config/tc-v850.c (sh_finalize): Remove.

* config/tc-arm.h (md_end): Remove.
* config/tc-hppa.h (md_end): Remove.
(DWARF2_LINE_MIN_INSN_LENGTH): New.
* config/tc-m68hc11.h (md_end): Remove.
* config/tc-mn10300.h (md_end): Remove.
* config/tc-sh.h (md_end): Remove.
* config/tc-v850.h (md_end): Remove.

* config/tc-ia64.c (emit_one_bundle): Don't protect
dwarf2 bits with debug_type.
(md_assemble): Likewise.
(ia64_end_of_source): Don't call dwarf2_finish.

23 years ago * readelf.c (display_debug_lines): Fix section length check
Richard Henderson [Fri, 17 Nov 2000 08:28:59 +0000 (08:28 +0000)]
    * readelf.c (display_debug_lines): Fix section length check
        and end_of_sequence computation.

23 years ago* gdb.texinfo: Document new 'set step-mode' command.
Christopher Faylor [Fri, 17 Nov 2000 03:59:40 +0000 (03:59 +0000)]
* gdb.texinfo: Document new 'set step-mode' command.

23 years ago* thread.c (thread_apply_all_command): Save the command before executing it
Christopher Faylor [Fri, 17 Nov 2000 03:49:41 +0000 (03:49 +0000)]
* thread.c (thread_apply_all_command): Save the command before executing it
because it may be modified.  Restore the saved command so that the same command
is executed on next thread.
(thread_apply_command): Same correction.

23 years ago2000-11-16 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 17 Nov 2000 01:30:53 +0000 (01:30 +0000)]
2000-11-16  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * regcache.c (read_register_bytes): Failing to set register_valid
        is not necessarily an error, if the register is a pseudo-register.
        Some pseudo-registers are never marked as valid, so that they will
        be read anew every time.  Determining if a pseudo-register is valid
        (or should be marked invalid) may be difficult, whereas just
        recomputing it may be cheap.

23 years agoFix minor typos in recent errata workaround patch.
Jim Wilson [Thu, 16 Nov 2000 23:52:01 +0000 (23:52 +0000)]
Fix minor typos in recent errata workaround patch.
* config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
>= 128 instead of > 128.  Abort if predicate regno is >= 64 instead of
> 16.

23 years ago Update relocations per August psABI docs.
Richard Henderson [Thu, 16 Nov 2000 22:48:14 +0000 (22:48 +0000)]
    Update relocations per August psABI docs.
        * ia64.h (R_IA64_SEGBASE): Remove.
        (R_IA64_LTV*): Renumber to 0x74 to 0x77.
        (R_IA64_EPLTMSB, R_IA64_EPLTLSB): Remove.
        (R_IA64_TPREL14, R_IA64_TPREL64I): New.
        (R_IA64_DTPMOD*): New.
        (R_IA64_DTPREL*): New.

23 years ago * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
Richard Henderson [Thu, 16 Nov 2000 22:44:07 +0000 (22:44 +0000)]
    * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
        (allocate_dynrel_entries): Likewise.
        (elfNN_ia64_relocate_section): Likewise.  Set REL addends correctly.
        (set_pltoff_entry): Likewise.
        (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
        (elfNN_ia64_reloc_type_lookup): Likewise.
        (elfNN_ia64_install_value): Likewise.
        (elfNN_ia64_relocate_section): Likewise.
        * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
        (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.

23 years agoUse "[ ]+" instead of "[ ]*".
H.J. Lu [Thu, 16 Nov 2000 22:27:45 +0000 (22:27 +0000)]
Use "[  ]+" instead of "[  ]*".

23 years ago2000-11-16 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 16 Nov 2000 22:25:13 +0000 (22:25 +0000)]
2000-11-16  H.J. Lu  <hjl@gnu.org>

* gas/symver/symver0.d: Add 64bit support.
* gas/symver/symver1.d: Likewise.

23 years ago2000-11-16 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 16 Nov 2000 20:48:09 +0000 (20:48 +0000)]
2000-11-16  Kazu Hirata  <kazu@hxi.com>

* cpu-a29k.c: Fix formatting.
* cpu-alpha.c: Likewise.
* cpu-arm.c: Likewise.
* cpu-avr.c: Likewise.
* cpu-d10v.c: Likewise.
* cpu-h8500.c: Likewise.
* cpu-hppa.c: Likewise.
* cpu-i370.c: Likewise.
* cpu-i386.c: Likewise.
* cpu-i960.c: Likewise.
* cpu-ia64-opc.c: Likewise.
* cpu-ia64.c: Likewise.
* cpu-m32r.c: Likewise.
* cpu-m68hc11.c: Likewise.
* cpu-m68hc12.c: Likewise.
* cpu-m68k.c: Likewise.
* cpu-m88k.c: Likewise.
* cpu-mips.c: Likewise.
* cpu-ns32k.c: Likewise.
* cpu-pj.c: Likewise.
* cpu-powerpc.c: Likewise.
* cpu-sh.c: Likewise.
* cpu-sparc.c: Likewise.
* cpu-tic54x.c: Likewise.
* cpu-v850.c: Likewise.
* cpu-vax.c: Likewise.
* cpu-w65.c: Likewise.
* cpu-we32k.c: Likewise.
* cpu-z8k.c: Likewise.

23 years ago2000-11-16 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 16 Nov 2000 19:29:48 +0000 (19:29 +0000)]
2000-11-16  Kazu Hirata  <kazu@hxi.com>

* dwarf1.c: Fix formatting.
* dwarf2.c: Likewise.

23 years ago2000-11-16 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 16 Nov 2000 19:29:12 +0000 (19:29 +0000)]
2000-11-16  H.J. Lu  <hjl@gnu.org>

* config/obj-elf.c (obj_elf_symver): Don't check the missing
version name.

23 years ago2000-11-16 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 16 Nov 2000 19:28:10 +0000 (19:28 +0000)]
2000-11-16  H.J. Lu  <hjl@gnu.org>

* gas/symver/symver.exp: Don't run symver4 nor symver5.

23 years ago * tracepoint.c (trace_find_tracepoint_command): Replace call to
David Taylor [Thu, 16 Nov 2000 14:51:50 +0000 (14:51 +0000)]
* tracepoint.c (trace_find_tracepoint_command): Replace call to
parse_and_eval_address with a call to parse_and_eval_long as
we are evaluating an integer, not an address.
* top.c (show_commands): Ditto.

23 years ago* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
Hans-Peter Nilsson [Thu, 16 Nov 2000 09:07:59 +0000 (09:07 +0000)]
* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
parameter `option'.
Do s/cplus_dem.c/cplus-dem.c/g on ChangeLog.

23 years ago2000-11-16 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 16 Nov 2000 03:21:48 +0000 (03:21 +0000)]
2000-11-16  Ben Elliston  <bje@redhat.com>

* cgen-types.h (VOID): New type.

23 years agoFix ChangeLog entry: cplus-dem.c instead of cplus_dem.c
DJ Delorie [Thu, 16 Nov 2000 01:10:16 +0000 (01:10 +0000)]
Fix ChangeLog entry: cplus-dem.c instead of cplus_dem.c

23 years ago2000-11-15 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 16 Nov 2000 00:59:49 +0000 (00:59 +0000)]
2000-11-15  Kazu Hirata  <kazu@hxi.com>

* config/tc-tic30.c: Fix formatting.
* config/tc-tic80.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-vax.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-z8k.c: Likewise.

23 years ago2000-11-15 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 16 Nov 2000 00:54:12 +0000 (00:54 +0000)]
2000-11-15  Kazu Hirata  <kazu@hxi.com>

* coff-rs6000.c: Fix formatting.
* coff-sh.c: Likewise.
* coff-sparc.c: Likewise.
* coff-tic30.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-tic80.c: Likewise.
* coff-w65.c: Likewise.
* coff-we32k.c: Likewise.
* coff-z8k.c: Likewise.

23 years ago * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
Richard Henderson [Wed, 15 Nov 2000 23:16:30 +0000 (23:16 +0000)]
    * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.

23 years ago2000-11-15 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 15 Nov 2000 20:20:52 +0000 (20:20 +0000)]
2000-11-15  Kazu Hirata  <kazu@hxi.com>

* coff-arm.c: Fix formatting.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.

23 years agoProtoization.
Kevin Buettner [Wed, 15 Nov 2000 19:58:14 +0000 (19:58 +0000)]
Protoization.

23 years ago * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
Richard Henderson [Wed, 15 Nov 2000 19:22:28 +0000 (19:22 +0000)]
    * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
        section with the same ALLOC|LOAD flags as the source section.

23 years ago* config/tc-v850.c: Support dwarf2.
DJ Delorie [Wed, 15 Nov 2000 19:22:22 +0000 (19:22 +0000)]
* config/tc-v850.c: Support dwarf2.
* config/tc-v850.h: Ditto.

* config/tc-v850.c (cons_fix_new_v850): Don't rely on
parse_cons_expression_v850 to initialize hold_cons_reloc.

23 years ago[merge]
DJ Delorie [Wed, 15 Nov 2000 19:10:20 +0000 (19:10 +0000)]
[merge]
* cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot
be used in GCC.

24 years agoops - omited from previous delta
Nick Clifton [Wed, 15 Nov 2000 18:24:49 +0000 (18:24 +0000)]
ops - omited from previous delta
Add GFPL to bfd.texinfo

24 years agoWorkaround for Itanium A/B step errata
Bernd Schmidt [Wed, 15 Nov 2000 17:34:00 +0000 (17:34 +0000)]
Workaround for Itanium A/B step errata

24 years ago * utils.c (strlen_paddr, paddr, paddr_nz): Use TARGET_ADDR_BIT,
David Taylor [Wed, 15 Nov 2000 14:33:50 +0000 (14:33 +0000)]
* utils.c (strlen_paddr, paddr, paddr_nz): Use TARGET_ADDR_BIT,
not TARGET_PTR_BIT, since we are dealing with addresses, not
pointers.

24 years agoCorrect date and style of last entry
Hans-Peter Nilsson [Wed, 15 Nov 2000 12:01:15 +0000 (12:01 +0000)]
Correct date and style of last entry

24 years ago * cplus_dem.c: Add gnat demangler. Add java to demangle style
Hans-Peter Nilsson [Wed, 15 Nov 2000 11:50:21 +0000 (11:50 +0000)]
* cplus_dem.c: Add gnat demangler.  Add java to demangle style
list.

24 years ago * demangle.h: Add gnat and java demangle styles.
Hans-Peter Nilsson [Wed, 15 Nov 2000 11:47:51 +0000 (11:47 +0000)]
* demangle.h: Add gnat and java demangle styles.