platform/upstream/binutils.git
23 years ago * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
Richard Henderson [Wed, 29 Nov 2000 21:42:41 +0000 (21:42 +0000)]
    * dwarf2dbg.c: Rewrite from scratch.  Queue all debugging output
        until dwarf2_finish; use relaxation to get cross-fragment offsets;
        thread multiple subsegments properly; handle multiple code
        sections properly; emit proper compilation unit info for assembler
        generated debugging.

        * as.h (enum _relax_state): Add rs_dwarf2dbg.
        * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
        (dwarf2dbg_estimate_size_before_relax): Declare.
        (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
        * write.c: Include dwarf2dbg.h.
        (cvt_frag_to_fill): Handle rs_dwarf2dbg.
        (relax_segment): Likewise.

23 years ago* libiberty.h: Move #includes to top. Prototype xmalloc_failed.
DJ Delorie [Wed, 29 Nov 2000 20:14:48 +0000 (20:14 +0000)]
* libiberty.h: Move #includes to top.  Prototype xmalloc_failed.

23 years ago* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
DJ Delorie [Wed, 29 Nov 2000 20:07:08 +0000 (20:07 +0000)]
* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
* configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
argument form of AC_DEFINE in dummy definitions block.  Use
AC_DEFINE_NOAUTOHEADER for real definitions of things defined
in dummy block.  Preload cache variables instead of bypassing
tests, where possible.
* acconfig.h: Removed.

* xmalloc.c (xmalloc_failed): New function, does error
reporting on failed allocation.
(xmalloc, xcalloc, xrealloc): Use it.

23 years ago* hashtab.c (higher_prime_number): Use a table, rather than a
DJ Delorie [Wed, 29 Nov 2000 19:19:10 +0000 (19:19 +0000)]
* hashtab.c (higher_prime_number): Use a table, rather than a
seive, to find the next prime.

23 years ago* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
DJ Delorie [Wed, 29 Nov 2000 19:17:37 +0000 (19:17 +0000)]
* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
* configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
argument form of AC_DEFINE in dummy definitions block.  Use
AC_DEFINE_NOAUTOHEADER for real definitions of things defined
in dummy block.  Preload cache variables instead of bypassing
tests, where possible.
* acconfig.h: Removed.
* xmalloc.c (xmalloc_failed): New function, does error
reporting on failed allocation.
(xmalloc, xcalloc, xrealloc): Use it.

23 years agoFix -Wuninitialized warnings.
Andrew Cagney [Wed, 29 Nov 2000 14:41:34 +0000 (14:41 +0000)]
Fix -Wuninitialized warnings.

23 years ago2000-11-28 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 29 Nov 2000 04:56:32 +0000 (04:56 +0000)]
2000-11-28  Kazu Hirata  <kazu@hxi.com>

* elf32-mips.c: Fix formatting.

23 years ago (parse_reg): Parse names case-insensitively.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:53:51 +0000 (23:53 +0000)]
(parse_reg): Parse names case-insensitively.

23 years ago (sh_elf_cons): Cast *input_line_pointer to unsigned char when
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:48:44 +0000 (23:48 +0000)]
(sh_elf_cons): Cast *input_line_pointer to unsigned char when
indexing is_end_of_line[].
(md_assemble): Initialize size to 0.
(md_section_align): Mark parameter seg as unused.

23 years ago * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:42:53 +0000 (23:42 +0000)]
* sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
(print_insn_ppi): Make nib1, nib2, nib3 unsigned.
Initialize variable dc to NULL.
(print_insn_shx): Remove unused label d_reg_n.

23 years ago * gas/sh/err.exp: New, framework for error-testing.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:39:19 +0000 (23:39 +0000)]
* gas/sh/err.exp: New, framework for error-testing.
* gas/sh/err-1.s: New test.

23 years ago * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:33:45 +0000 (23:33 +0000)]
* config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
jump>: Use as_bad_where instead of as_bad.  Tweak error message
accordingly.  Stabilize frag by updating fix part and resetting
variant part.
<undefined symbol, unconditional jump>: Ditto.

23 years ago Change sourceware.cygnus.com to sources.redhat.com.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:10:05 +0000 (23:10 +0000)]
Change sourceware.cygnus.com to sources.redhat.com.
Fix typo for "amongst".

23 years ago * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
Hans-Peter Nilsson [Tue, 28 Nov 2000 22:57:04 +0000 (22:57 +0000)]
* MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.

23 years ago2000-11-22 Michael Chastain <chastain@redhat.com>
Fernando Nasser [Tue, 28 Nov 2000 22:53:38 +0000 (22:53 +0000)]
2000-11-22  Michael Chastain  <chastain@redhat.com>

* mips_pro.exp: Accept either "middle -> top -> main" or
"middle -> main" in the backtrace, because gcc can optimize
tail calls to jumps.  Remove setup_xfail for the hppa case.
Add a comment with the original warning messages from PR 3016,
which was filed in 1993, to preserve them for posterity.

23 years ago2000-11-28 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 28 Nov 2000 21:42:16 +0000 (21:42 +0000)]
2000-11-28  Kazu Hirata  <kazu@hxi.com>

* aoutx.h: Fix formatting.
* bfd-in.h: Likewise.
* bfd-in2.h: Likewise.
* cache.c: Likewise.
* cisco-core.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffswap.h: Likewise.
* corefile.c: Likewise.

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

* config/obj-aout.h: Fix formatting.
* config/obj-bout.h: Likewise.
* config/obj-coff.c: Likewise.
* config/obj-coff.h: Likewise.
* config/obj-elf.h: Likewise.
* config/obj-som.h: Likewise.
* config/obj-vms.c: Likewise.
* config/obj-vms.h: Likewise.
* config/tc-h8300.h: Likewise.
* config/tc-ns32k.h: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic54x.h: Likewise.
* config/tc-z8k.h: Likewise.

23 years ago*** empty log message ***
Mark Salter [Tue, 28 Nov 2000 21:00:57 +0000 (21:00 +0000)]
*** empty log message ***

23 years agoAdd Mark Salter to Write After Approval list.
Mark Salter [Tue, 28 Nov 2000 21:00:23 +0000 (21:00 +0000)]
Add Mark Salter to Write After Approval list.

23 years agoMove GNU Free Documentation License from the output into a comment
Nick Clifton [Tue, 28 Nov 2000 20:40:35 +0000 (20:40 +0000)]
Move GNU Free Documentation License from the output into a comment

23 years ago * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
Hans-Peter Nilsson [Tue, 28 Nov 2000 20:13:07 +0000 (20:13 +0000)]
* Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
targets.  Remove i860 from valid a.out targets.
* Makefile.in: Regenerate.

23 years ago * binutils-all/readelf.s: Adjust to readelf.c formatting changes.
Hans-Peter Nilsson [Tue, 28 Nov 2000 20:08:14 +0000 (20:08 +0000)]
* binutils-all/readelf.s: Adjust to readelf.c formatting changes.

23 years ago* win32-nat.c (dll_code_sections_add): strdup -> xstrdup.
Christopher Faylor [Tue, 28 Nov 2000 17:27:38 +0000 (17:27 +0000)]
* win32-nat.c (dll_code_sections_add): strdup -> xstrdup.

23 years ago * config/tc-cris.c: Include dwarf2dbg.h.
Hans-Peter Nilsson [Tue, 28 Nov 2000 15:39:15 +0000 (15:39 +0000)]
* config/tc-cris.c: Include dwarf2dbg.h.
  (md_pseudo_table): Add .file and .loc.
(md_assemble): Call dwarf2_emit_insn if generating ELF.
(s_cris_file, s_cris_loc): New.
* config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.

23 years agoCorrect {STANDARD,MRI}_MUL_PRECEDENCE value.
Alan Modra [Tue, 28 Nov 2000 13:33:22 +0000 (13:33 +0000)]
Correct {STANDARD,MRI}_MUL_PRECEDENCE value.

23 years ago2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
David O'Brien [Tue, 28 Nov 2000 10:43:11 +0000 (10:43 +0000)]
2000-11-28  David O'Brien  <obrien@dragon.nuxi.com>
* emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
does not use them.

Approved by:  Richard Henderson <rth@twiddle.net>
              Message-ID: <20001127014059.A16638@twiddle.net>

23 years ago2000-11-27 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 28 Nov 2000 01:33:15 +0000 (01:33 +0000)]
2000-11-27  Kazu Hirata  <kazu@hxi.com>

* coff64-rs6000.c: Fix formatting.
* coffgen.c: Likewise.
* cofflink.c: Likewise.

23 years ago2000-11-27 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 28 Nov 2000 01:27:10 +0000 (01:27 +0000)]
2000-11-27  Kazu Hirata  <kazu@hxi.com>

* aout-adobe.c: Fix formatting.

23 years ago * common.h (e_machine numbers): Clarify comments to describe how
Hans-Peter Nilsson [Mon, 27 Nov 2000 21:52:56 +0000 (21:52 +0000)]
* common.h (e_machine numbers): Clarify comments to describe how
EM_* constants are assigned.  Move EM_PJ from official section to
ad-hoc section.
(EM_CRIS): Correct comment to match official description.
(EM_MMIX): Ditto.

23 years agooops, forgot a semicolon
DJ Delorie [Mon, 27 Nov 2000 21:10:31 +0000 (21:10 +0000)]
oops, forgot a semicolon

23 years ago* readelf.c (usage): Add -wf (--debug-dump=frames) option.
DJ Delorie [Mon, 27 Nov 2000 21:07:47 +0000 (21:07 +0000)]
* readelf.c (usage): Add -wf (--debug-dump=frames) option.
(parse_args): Support -wf option.
(process_section_headers): Ditto.
(debug_displays): Ditto.
(display_debug_frames): New, dump *_frame sections.
(frame_need_space): Support for above.
(frame_display_row): Ditto.
* binutils.texi: Document it.

23 years agoFix delete_hw_event_data() to free the scheduled events
Stephane Carrez [Mon, 27 Nov 2000 19:53:35 +0000 (19:53 +0000)]
Fix delete_hw_event_data() to free the scheduled events

23 years agoRemove space == 0 restriction in the simulator (dv-core)
Stephane Carrez [Mon, 27 Nov 2000 19:49:46 +0000 (19:49 +0000)]
Remove space == 0 restriction in the simulator (dv-core)

23 years ago2000-11-27 Philip Blundell <pb@futuretv.com>
Phil Blundell [Mon, 27 Nov 2000 12:45:17 +0000 (12:45 +0000)]
2000-11-27  Philip Blundell  <pb@futuretv.com>

* libcoff-in.h (coff_tdata): Add `strings_written' flag.
(obj_coff_strings_written): New accessor macro for above.
* libcoff.h: Regenerate.
* cofflink.c (_bfd_coff_final_link): Say that we wrote the
strings.
* coffcode.h (coff_write_object_contents): No need to write out
the string table if it's already been done.

23 years ago2000-11-22 Philip Blundell <pb@futuretv.com>
Phil Blundell [Mon, 27 Nov 2000 11:08:15 +0000 (11:08 +0000)]
2000-11-22  Philip Blundell  <pb@futuretv.com>

* cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
weak undefined symbols.

23 years ago* remote.c (remote_write_bytes): Add default case to switch
Andrew Cagney [Mon, 27 Nov 2000 02:18:44 +0000 (02:18 +0000)]
* remote.c (remote_write_bytes): Add default case to switch
initializing ``todo''. Ditto for ``nr_bytes''.
* top.c (catch_errors): Always initialize ``val''.
* solib.c (info_sharedlibrary_command): Handle bfd_get_arch_size
returning an unknown size.
* gdbtypes.c (count_virtual_fns): Always initialize ``vfuncs''.
* breakpoint.c (break_at_finish_at_depth_command_1): Initialise
extra_args to NULL.
(break_at_finish_command_1): Ditto.

23 years ago* TODO: Add GFDL updates to 5.1 release criteria.
Andrew Cagney [Mon, 27 Nov 2000 00:37:19 +0000 (00:37 +0000)]
* TODO: Add GFDL updates to 5.1 release criteria.

23 years agoPreliminary support for 68HC12
Stephane Carrez [Sun, 26 Nov 2000 21:41:31 +0000 (21:41 +0000)]
Preliminary support for 68HC12

23 years agoFix movw/movb operands for 68HC12
Stephane Carrez [Sun, 26 Nov 2000 21:18:15 +0000 (21:18 +0000)]
Fix movw/movb operands for 68HC12

23 years agoRegister a delete handler for 68HC11 core device node
Stephane Carrez [Sun, 26 Nov 2000 20:53:11 +0000 (20:53 +0000)]
Register a delete handler for 68HC11 core device node

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.