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.
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.
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".
Hans-Peter Nilsson [Tue, 28 Nov 2000 22:57:04 +0000 (22:57 +0000)]
* MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
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.
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.
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.
Mark Salter [Tue, 28 Nov 2000 21:00:57 +0000 (21:00 +0000)]
*** empty log message ***
Mark Salter [Tue, 28 Nov 2000 21:00:23 +0000 (21:00 +0000)]
Add Mark Salter to Write After Approval list.
Nick Clifton [Tue, 28 Nov 2000 20:40:35 +0000 (20:40 +0000)]
Move GNU Free Documentation License from the output into a comment
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.
Hans-Peter Nilsson [Tue, 28 Nov 2000 20:08:14 +0000 (20:08 +0000)]
* binutils-all/readelf.s: Adjust to readelf.c formatting changes.
Christopher Faylor [Tue, 28 Nov 2000 17:27:38 +0000 (17:27 +0000)]
* win32-nat.c (dll_code_sections_add): strdup -> xstrdup.
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.
Alan Modra [Tue, 28 Nov 2000 13:33:22 +0000 (13:33 +0000)]
Correct {STANDARD,MRI}_MUL_PRECEDENCE value.
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>
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.
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.
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.
DJ Delorie [Mon, 27 Nov 2000 21:10:31 +0000 (21:10 +0000)]
oops, forgot a semicolon
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.
Stephane Carrez [Mon, 27 Nov 2000 19:53:35 +0000 (19:53 +0000)]
Fix delete_hw_event_data() to free the scheduled events
Stephane Carrez [Mon, 27 Nov 2000 19:49:46 +0000 (19:49 +0000)]
Remove space == 0 restriction in the simulator (dv-core)
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.
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.
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.
Andrew Cagney [Mon, 27 Nov 2000 00:37:19 +0000 (00:37 +0000)]
* TODO: Add GFDL updates to 5.1 release criteria.
Stephane Carrez [Sun, 26 Nov 2000 21:41:31 +0000 (21:41 +0000)]
Preliminary support for 68HC12
Stephane Carrez [Sun, 26 Nov 2000 21:18:15 +0000 (21:18 +0000)]
Fix movw/movb operands for 68HC12
Stephane Carrez [Sun, 26 Nov 2000 20:53:11 +0000 (20:53 +0000)]
Register a delete handler for 68HC11 core device node
Nick Clifton [Sun, 26 Nov 2000 20:04:41 +0000 (20:04 +0000)]
Add support for configuring an xscale atrget
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>
Stephane Carrez [Sat, 25 Nov 2000 09:18:52 +0000 (09:18 +0000)]
Fix for sim/common hw_delete()/hw_tree_delete()
Stephane Carrez [Sat, 25 Nov 2000 09:16:22 +0000 (09:16 +0000)]
Fix memory leak in sim_parse_args
Nick Clifton [Sat, 25 Nov 2000 00:21:40 +0000 (00:21 +0000)]
Add ARM v5t, v5te and XScale support
Nick Clifton [Fri, 24 Nov 2000 21:31:21 +0000 (21:31 +0000)]
Remove redundant init of config.make_executable to true.
Stephane Carrez [Fri, 24 Nov 2000 21:24:04 +0000 (21:24 +0000)]
Support 68HC12 arch in Gdb
Stephane Carrez [Fri, 24 Nov 2000 20:59:42 +0000 (20:59 +0000)]
Use gdbarch_tdep for 68hc11 specific data (stack_correction global)
Stephane Carrez [Fri, 24 Nov 2000 20:53:35 +0000 (20:53 +0000)]
Fix device memory allocation in 68hc11 simulator
Andrew Cagney [Fri, 24 Nov 2000 11:02:59 +0000 (11:02 +0000)]
Add --enable-gdb-build-warnings=... to configure{,.in}.
Fernando Nasser [Fri, 24 Nov 2000 00:34:43 +0000 (00:34 +0000)]
Fix entry typo and missing information.
Alexandre Oliva [Thu, 23 Nov 2000 07:49:23 +0000 (07:49 +0000)]
* ltcf-gcj.sh: Added file, required by 2000-11-18 merge.
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.
Alexandre Oliva [Thu, 23 Nov 2000 04:04:00 +0000 (04:04 +0000)]
ChangeLog
Hans-Peter Nilsson [Thu, 23 Nov 2000 00:08:38 +0000 (00:08 +0000)]
* cplus-dem.c (main): Handle gnat_demangling.
Nick Clifton [Wed, 22 Nov 2000 23:49:39 +0000 (23:49 +0000)]
Add new machien types and section flags
Nick Clifton [Wed, 22 Nov 2000 23:19:15 +0000 (23:19 +0000)]
Add new ELF ABI defines
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.
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.
Chris Demetriou [Wed, 22 Nov 2000 18:01:56 +0000 (18:01 +0000)]
* mips-opc.c: Fix file header comment.
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.
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.
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.
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.
Jakub Jelinek [Tue, 21 Nov 2000 21:37:44 +0000 (21:37 +0000)]
* config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
Nick Clifton [Tue, 21 Nov 2000 19:47:10 +0000 (19:47 +0000)]
Fix compile time warning, and remove possibility of infinite loop.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
J.T. Conklin [Mon, 20 Nov 2000 19:30:29 +0000 (19:30 +0000)]
* gdbserver/low-nbsd.c: Fix typos.
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.
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.
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.
Andrew Cagney [Mon, 20 Nov 2000 14:42:16 +0000 (14:42 +0000)]
Add linespec maintainers.
Andrew Cagney [Mon, 20 Nov 2000 12:45:01 +0000 (12:45 +0000)]
Devolve Solaris/x86
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.
Andrew Cagney [Mon, 20 Nov 2000 03:37:09 +0000 (03:37 +0000)]
Mark error_no_arg() as no-return.
Andrew Cagney [Mon, 20 Nov 2000 02:06:19 +0000 (02:06 +0000)]
Replace asprintf() / vasprintf() with xasprintf() xvasprintf().
Andrew Cagney [Mon, 20 Nov 2000 01:57:26 +0000 (01:57 +0000)]
Add ``extern'' and STREQ to cleanups.
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.
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).
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.
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>.
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.
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.
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.
Kevin Buettner [Sat, 18 Nov 2000 05:50:11 +0000 (05:50 +0000)]
Handle optimizer code motions into the prologue.
Kevin Buettner [Sat, 18 Nov 2000 02:05:46 +0000 (02:05 +0000)]
Protoization.
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.
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.
Nick Clifton [Fri, 17 Nov 2000 18:46:43 +0000 (18:46 +0000)]
Add support for .line and .file pseudo ops.
Richard Henderson [Fri, 17 Nov 2000 18:15:53 +0000 (18:15 +0000)]
* config/tc-i386.c (md_pseudo_table): Add .file and .loc.
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.
Nicholas Duffek [Fri, 17 Nov 2000 17:16:24 +0000 (17:16 +0000)]
* lib/gdb.exp (gdb_test): Override timeout with board info.
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.
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.
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.
Richard Henderson [Fri, 17 Nov 2000 09:28:04 +0000 (09:28 +0000)]
* config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
Richard Henderson [Fri, 17 Nov 2000 08:53:38 +0000 (08:53 +0000)]
* as.c (main): Call dwarf2_finish.
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.
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.