Andrew Cagney [Tue, 19 Oct 2004 18:52:04 +0000 (18:52 +0000)]
2004-10-19 Andrew Cagney <cagney@gnu.org>
* src-release (do-djunpack, do-md5sum): Install the generated file
directly into the proto-toplev/ directory.
Andrew Cagney [Tue, 19 Oct 2004 18:18:40 +0000 (18:18 +0000)]
2004-10-19 Andrew Cagney <cagney@gnu.org>
GDB 6.3 branch created.
* version.in: Bump to version 6.3.50_2004-10-19-cvs.
Andrew Cagney [Tue, 19 Oct 2004 18:11:16 +0000 (18:11 +0000)]
2004-10-19 Andrew Cagney <cagney@gnu.org>
* src-release (GDB_SUPPORT_DIRS): Remove utils and intl.
H.J. Lu [Tue, 19 Oct 2004 17:14:38 +0000 (17:14 +0000)]
2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/exclude.exp: Allow cris-*-elf.
* ld-elf/exclude1.s: Add ".data". Remove "- include_sym".
* ld-elf/exclude2.s: Add ".data".
H.J. Lu [Tue, 19 Oct 2004 15:44:58 +0000 (15:44 +0000)]
2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
PR 459
* ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
option on linker script as the one for linker script.
Alan Modra [Tue, 19 Oct 2004 12:00:58 +0000 (12:00 +0000)]
* elf64-ppc.c (opd_entry_value): Handle --just-symbols objects.
(ppc64_elf_edit_opd): Likewise.
Mark Mitchell [Tue, 19 Oct 2004 06:02:46 +0000 (06:02 +0000)]
* elfarm-nabi.c (ELF_DYNAMIC_SEC_FLAGS): Add comment.
* elflink.c (_bfd_elf_create_dynamic_sections): For a loaded PLT,
set SEC_ALLOC and SEC_LOAD.
Hans-Peter Nilsson [Tue, 19 Oct 2004 05:02:49 +0000 (05:02 +0000)]
* ld-elf/exclude.exp: Don't run for cris-*-elf.
Alan Modra [Tue, 19 Oct 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 19 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Nick Clifton [Mon, 18 Oct 2004 14:04:40 +0000 (14:04 +0000)]
strings.c (usage): Place radix values for -t option into the correct order.
objcopy.c (add_redefine_syms_file): Change error messages to use
<filename>:<linenumber>: format for easier parsing by automatic tools.
srconv.c (show_usage): Fix spelling typo.
windres.c (format_from_filename): Suggest the use of -J instead of -I if the
file type cannot be determined.
Nick Clifton [Mon, 18 Oct 2004 13:44:48 +0000 (13:44 +0000)]
strings.c: Include <sys/stat.h>.
Alan Modra [Mon, 18 Oct 2004 12:32:13 +0000 (12:32 +0000)]
* config/tc-i386.c (O_secrel): Delete.
(tc_pe_dwarf2_emit_offset): New function.
* config/tc-i386.h (O_secrel): Define as O_md1.
(TC_DWARF2_EMIT_OFFSET): Define.
Nick Clifton [Mon, 18 Oct 2004 08:06:31 +0000 (08:06 +0000)]
Compute 'name' for relocs against both local and global symbols.
Nick Clifton [Mon, 18 Oct 2004 08:02:25 +0000 (08:02 +0000)]
Accept and ignore @fptr() directives for 4-byte fixups.
Alan Modra [Mon, 18 Oct 2004 07:26:30 +0000 (07:26 +0000)]
* budemang.c (demangle): Fix thinko.
Alan Modra [Mon, 18 Oct 2004 07:08:52 +0000 (07:08 +0000)]
* budemang.c (demangle): Handle "@plt" suffix.
Alan Modra [Mon, 18 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 18 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 17 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 17 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Sat, 16 Oct 2004 18:13:54 +0000 (18:13 +0000)]
bfd/
* bfd-in2.h: Regenerate.
* bfd.c (struct bfd): Add no_export.
* elflink.c (elf_link_add_object_symbols): Handle no_export.
ld/
* ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
(check_excluded_libs): New.
(load_symbols): Call check_excluded_libs.
* ldlang.h (add_excluded_libs): New prototype.
* emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
(gld${EMULATION_NAME}_add_options): Add --exclude-libs.
(gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
* ld.texinfo (Command Line Variables): Document --exclude-libs.
(Options Specific to i386 PE Targets): Remove --exclude-libs.
ld/testsuite/
* ld-elf/exclude1.s, ld-elf/exclude2.s, ld-elf/exclude.exp: New.
Daniel Jacobowitz [Sat, 16 Oct 2004 17:42:00 +0000 (17:42 +0000)]
* linux-i386-low.c (ps_get_thread_area): New.
* linux-x86-64-low.c (ps_get_thread_area): New.
* linux-low.c: Include <sys/syscall.h>.
(linux_kill_one_process): Don't kill the first thread here.
(linux_kill): Kill the first thread here.
(kill_lwp): New function.
(send_sigstop, linux_send_signal): Use it.
* proc-service.c: Clean up #ifdefs.
(fpregset_info): Delete.
(ps_lgetregs): Update and enable implementation.
(ps_lsetregs, ps_lgetfpregs, ps_lsetfpregs): Remove disabled
implementations.
* remote-utils.c (struct sym_cache, symbol_cache): New.
(input_interrupt): Print a clearer message.
(async_io_enabled): New variable.
(enable_async_io, disable_async_io): Use it. Update comments.
(look_up_one_symbol): Use the symbol cache.
* thread-db.c (thread_db_look_up_symbols): New function.
(thread_db_init): Update comments. Call thread_db_look_up_symbols.
Daniel Jacobowitz [Sat, 16 Oct 2004 16:18:54 +0000 (16:18 +0000)]
* configure.in: Test for -rdynamic.
* configure: Regenerated.
* Makefile (INTERNAL_LDFLAGS): New.
(gdbserver, gdbreplay): Use it.
Joel Brobecker [Sat, 16 Oct 2004 00:41:00 +0000 (00:41 +0000)]
* dwarf2read.c (set_cu_language): Set language to Ada for
DW_LANG_Ada83 and DW_LANG_Ada95.
Alan Modra [Sat, 16 Oct 2004 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 16 Oct 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Michael Chastain [Fri, 15 Oct 2004 16:17:34 +0000 (16:17 +0000)]
2004-10-15 Michael Chastain <mec.gnu@mindspring.com>
From Andreas Schwab <schwab@suse.de>:
* Makefile.in (.y.c, .l.c.): Fix the substitutions for
for xmalloc and xrealloc.
Andrew Cagney [Fri, 15 Oct 2004 13:29:33 +0000 (13:29 +0000)]
2004-10-15 Andrew Cagney <cagney@gnu.org>
* ada-exp.y, ada-lex.l: Use xmalloc and xrealloc through out.
* inf-ptrace.c: Include "gdb_wait.h" instead of <wait.h>.
* Makefile.in (.y.c, .l.c): Don't replace xmalloc with xxmalloc.
Update dependencies.
Paul N. Hilfinger [Fri, 15 Oct 2004 09:12:24 +0000 (09:12 +0000)]
* ada-lang.c (ada_lookup_symbol): Correct comment.
(ada_evaluate_subexp): Change error message for
OP_FUNCALL case so as not to indicate an internal error.
From Joel Brobecker; committed by Paul Hilfinger.
* ada-lang.c (ada_template_to_fixed_record_type_1): Detect bogus
type sizes in XVE/XVU types, and emit a warning when that happens,
instead of rounding up the size of the resulting type.
Some minor reformatting.
(ada_is_aligner_type): Do not consider a type as an aligner type
if there is a corresponding XVS type as well.
(ada_evaluate_subexp): For TERNOP_SLICE, handle cases where we
have several levels of pointer indirection to the array.
From Jerome Guitton; committed by Paul Hilfinger.
* ada-lang.c (check_size): New function.
(coerce_unspec_val_to_type): call check_size to make sure
that the object size is reasonable.
(ada_evaluate_subexp): in UNOP_IND: Ditto. In TERNOP_SLICE:
Implements the case when we get a reference when we evaluate
the expression of one of the bounds of the slice.
(ada_value_struct_elt): when a packed array field is
a reference, use ada_coerce_ref to dereference it; use
ada_value_ind only if it is a pointer.
Joel Brobecker [Fri, 15 Oct 2004 07:25:04 +0000 (07:25 +0000)]
* mips-tdep.c (mips32_scan_prologue): Move the implementation up
a bit to avoid the necessity of an advance declaration. Remove
declaration.
(set_reg_offset): Move implemenation up.
(mips16_get_imm): Likewise.
(mips16_scan_prologue): Likewise.
(reset_saved_regs): Likewise.
(mips32_scan_prologue): Likewise.
Joel Brobecker [Fri, 15 Oct 2004 07:09:10 +0000 (07:09 +0000)]
* mips-tdep.c (mips32_scan_prologue): Add advance declaration.
Remove sp as a parameter, compute it internally instead. Move
prologue scanning limit from heuristic_proc_desc to here.
(mips16_scan_prologue): Likewise.
(mips_insn16_frame_cache): Replace call to heuristic_proc_desc
by call to mips16_scan_prologue.
(mips_insn32_frame_cache): Replace call to heuristic_proc_desc
by call to mips32_scan_prologue.
(heuristic_proc_desc): Remove code that's no longer necessary.
Update calls to mips16_scan_prologue and mips32_scan_prologue.
(mips_skip_prologue): Update calls to mips16_scan_prologue
and mips32_scan_prologue.
Alan Modra [Fri, 15 Oct 2004 06:00:15 +0000 (06:00 +0000)]
* ldexp.c (exp_fold_tree): Don't immediately exit ld on a
failing link script assert.
Alan Modra [Fri, 15 Oct 2004 05:54:11 +0000 (05:54 +0000)]
* ldctor.c (ldctor_add_set_entry): Fix comment typo.
Alan Modra [Fri, 15 Oct 2004 05:49:33 +0000 (05:49 +0000)]
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
Alan Modra [Fri, 15 Oct 2004 05:47:11 +0000 (05:47 +0000)]
* config.bfd: Whitespace cleanup.
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
Jakub Jelinek [Fri, 15 Oct 2004 05:19:19 +0000 (05:19 +0000)]
* elflink.c (struct already_linked_section): Removed.
(try_match_symbols_in_sections, already_linked): Removed.
(_bfd_elf_section_already_linked): Skip ^\.gnu\.linkonce\.[^.]*\.
prefix of section names when finding already_linked_table
chain. Compare section names. Instead of calling already_linked,
do it inline and only for sections in the same already_linked_list.
Joel Brobecker [Fri, 15 Oct 2004 04:29:23 +0000 (04:29 +0000)]
* mips-tdep.c (mips16_scan_prologue): Merge code from
mips16_skip_prologue. Now return the address of the first
instruction past the function prologue.
(mips16_skip_prologue): Remove, no longer necessary.
(mips_skip_prologue): Replace call to mips16_skip_prologue
by call to mips16_scan_prologue.
Alan Modra [Fri, 15 Oct 2004 00:27:12 +0000 (00:27 +0000)]
* ld-crx/reloc-num8.d: Adjust for changed orphan placement.
* ld-crx/reloc-num16.d: Likewise.
* ld-crx/reloc-num32.d: Likewise.
* ld-scripts/provide-2.t: Start .data at 0x2000.
* ld-scripts/provide-2.d: Adjust.
Alan Modra [Fri, 15 Oct 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 15 Oct 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 14 Oct 2004 23:38:08 +0000 (23:38 +0000)]
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Add "info"
parameter. If called after _bfd_elf_write_section_eh_frame,
don't allow a -2 return unless need_* bit is already set, and
handle offsets adjusted for output_offset.
* elf-bfd.h (_bfd_elf_eh_frame_section_offset): Update prototype.
* elf.c (_bfd_elf_section_offset): Update call.
Bob Wilson [Thu, 14 Oct 2004 22:58:33 +0000 (22:58 +0000)]
* doc/c-xtensa.texi (Xtensa Options, Absolute Literals Directive):
Remove comments about placement of literal pools.
(Literal Directive): Update description of literal placement.
(Literal Prefix Directive): Remove statement that this does not apply
to absolute-mode literals. Describe new section naming scheme.
Joel Brobecker [Thu, 14 Oct 2004 22:34:25 +0000 (22:34 +0000)]
* mips-tdep.c (mips32_scan_prologue): Merge code from
mips32_skip_prologue. Now return the address of the first
instruction past the function prologue.
(mips32_skip_prologue): Remove. No longer necessary.
(mips16_skip_prologue): Add parameter end_pc instead of
computing it.
(mips_skip_prologue): Compute the upper limit for the
prologue scanning. Update call to mips16_skip_prologue.
Replace call to mips32_skip_prologue by call to
mips32_scan_prologue.
Mark Kettenis [Thu, 14 Oct 2004 21:08:06 +0000 (21:08 +0000)]
* hppa-tdep.c (hppa_frame_cache): Add support for OpenBSD and
NetBSD system call stubs that store %rp in the ERP slot of the
stack frame.
Andrew Cagney [Thu, 14 Oct 2004 19:15:24 +0000 (19:15 +0000)]
Fix changelog (but not mine :-)
Andrew Cagney [Thu, 14 Oct 2004 19:13:24 +0000 (19:13 +0000)]
2004-10-14 Andrew Cagney <cagney@gnu.org>
* gdb.mi/gdb701.c (main): Return 0.
H.J. Lu [Thu, 14 Oct 2004 17:00:16 +0000 (17:00 +0000)]
2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
PR 445
* emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
(SMALL_DATA_DTOR): Set.
* emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
(SMALL_DATA_DTOR): Unset.
* scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
after .data. If SMALL_DATA_DTOR is set, move .dtors after
.data.
H.J. Lu [Thu, 14 Oct 2004 16:20:47 +0000 (16:20 +0000)]
2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
* ld-scripts/sort.exp: Run for ELF targets only.
Paul Brook [Thu, 14 Oct 2004 16:04:09 +0000 (16:04 +0000)]
* gas/arm/mapping.d: Pass --special-syms to objdump.
Mark Kettenis [Thu, 14 Oct 2004 13:19:30 +0000 (13:19 +0000)]
* source.c: Always define O_BINARY to 0 if not defined already.
(openp): Unconditionally use O_BINARY.
Alan Modra [Thu, 14 Oct 2004 12:54:47 +0000 (12:54 +0000)]
ld/
PR 63
* ldlang.h (lang_output_section_statement_type): Make "next" a
struct lang_output_section_statement_struct *.
(struct orphan_save): Move from elf32.em. Add "name" and "flags".
(lang_output_section_find_by_flags, lang_insert_orphan): Declare.
* ldlang.c (lang_output_section_find_1): Adjust for changed
output_section_statement "next".
(strip_excluded_output_sections): Likewise.
(lang_record_phdrs): Likewise.
(lang_output_section_find_by_flags): New function.
(output_prev_sec_find): Move from pe.em. Adjust iterator.
(lang_insert_orphan): New function. Tail end of elf32.em's
place_orphan merged with that from pe.em. Allow bfd_section to
be placed first. New heuristic for placing new output section
statement in existing script, and accompanying split of __start
symbol alignment into a separate assignment to dot.
(lang_add_section): Consistently use output->bfd_section rather than
an alias, section->output_section.
(map_input_to_output_sections): Rename overly long arg. Move
initialization of data_statement output section to here..
(lang_check_section_addresses): ..from here.
(print_assignment): Correct printing of etree_assert.
(print_all_symbols): Don't bomb if userdata is NULL.
(IGNORE_SECTION): Rearrange.
* emultempl/elf32.em (output_rel_find): Adjust interator.
(output_prev_sec_find): Delete.
(struct orphan_save): Delete.
(gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
flags without creating a duplicate output section statement.
Revise code holding history of various orphan section placements.
Allow orphan sections to place before script specified output
sections. Call lang_output_section_find_by_flags when placement
by name fails. Use lang_insert_orphan.
* emultempl/mmo.em (output_prev_sec_find): Delete.
(struct orphan_save): Delete.
(mmo_place_orphan): Revise code holding history of orphan placement.
Allow orphans to place before existing output sections. Use
lang_insert_orphan.
* emultempl/pe.em (output_prev_sec_find): Delete.
(struct orphan_save): Delete.
(gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
lang_insert_orphan.
ld/testsuite/
* ld-scripts/overlay-size.d: Update for changed orphan section
placement.
* ld-mmix/bpo-18.d: Likewise.
Mark Kettenis [Thu, 14 Oct 2004 12:44:24 +0000 (12:44 +0000)]
* top.c (gdb_readline): Always accept "rn" as a line-ending.
* event-top.c (gdb_readline2): Likewise.
Orjan Friberg [Thu, 14 Oct 2004 12:10:29 +0000 (12:10 +0000)]
2004-10-14 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (_initialize_cris_tdep): Re-add call to
deprecated_add_core_fns which was removed by mistake.
Nick Clifton [Thu, 14 Oct 2004 09:36:54 +0000 (09:36 +0000)]
(usage): Fix description of --special-syms switch.
Alan Modra [Thu, 14 Oct 2004 00:00:14 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 14 Oct 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Kevin Buettner [Wed, 13 Oct 2004 21:40:41 +0000 (21:40 +0000)]
* ia64-linux-nat.c (fill_gregset, fill_fpregset): Replace
references to deprecated_registers[] with equivalent code.
Daniel Jacobowitz [Wed, 13 Oct 2004 19:07:11 +0000 (19:07 +0000)]
* dw2-intercu.S, dw2-intercu.exp: New files.
H.J. Lu [Wed, 13 Oct 2004 18:14:40 +0000 (18:14 +0000)]
2004-10-13 H.J. Lu <hongjiu.lu@intel.com>
PR 440
* coffcode.h (coff_compute_section_file_positions): Cast to
bfd_vma when computing page alignment.
Mark Mitchell [Wed, 13 Oct 2004 17:45:31 +0000 (17:45 +0000)]
* elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file
offsets, not VMAs, for DT_VERSYM, DT_VERDEF, DT_VERNEED.
* scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
loadable segment.
Kevin Buettner [Wed, 13 Oct 2004 16:38:22 +0000 (16:38 +0000)]
* rs6000-tdep.c (rs6000_push_dummy_call): Replace references to
``deprecated_registers'' with equivalent code. Use gdb_assert()
instead of explicit test and print statement.
Jakub Jelinek [Wed, 13 Oct 2004 14:33:51 +0000 (14:33 +0000)]
* strings.c (statbuf): New typedef.
(file_stat): Define.
(strings_object_file): Avoid using get_file_size, instead do the
checks here, using file_stat.
* configure.in (HAVE_STAT64): New test.
* configure: Rebuilt.
* config.in: Rebuilt.
Mark Mitchell [Wed, 13 Oct 2004 03:09:28 +0000 (03:09 +0000)]
* elf32-arm.h (elf32_arm_finish_dynamic_symbol): Make .rel.plt
relocations use a virtual address, not a section offset.
Alan Modra [Wed, 13 Oct 2004 02:28:01 +0000 (02:28 +0000)]
PR 44
* ldcref.c (check_section_sym_xref): Delete.
(check_local_sym_xref): New function.
(check_nocrossrefs): Adjust call.
Alan Modra [Wed, 13 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 13 Oct 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 12 Oct 2004 23:44:57 +0000 (23:44 +0000)]
PR 44
* emultempl/pe.em (struct orphan_save): Add os_tail.
(place_orphan): Backport assorted fixes from elf32.em.
DJ Delorie [Tue, 12 Oct 2004 23:40:03 +0000 (23:40 +0000)]
merge from gcc
2004-10-12 Kelley Cook <kcook@gcc.gnu.org>
* configure.in (*-*-cygwin*): Supress warning if newlib not present.
* configure: Regenerate.
Bob Wilson [Tue, 12 Oct 2004 23:05:32 +0000 (23:05 +0000)]
bfd ChangeLog
* elf32-xtensa.c (elf_xtensa_get_private_bfd_flags): Delete.
(narrow_instruction, widen_instruction): Remove unnecessary calls to
xtensa_format_encode.
(ebb_propose_action): Inline call to ebb_add_proposed_action.
(ebb_add_proposed_action): Delete.
gas ChangeLog
* config/tc-xtensa.c (xtensa_frequency_pseudo): Use set_subseg_freq.
(is_entry_opcode, is_movi_opcode, is_the_loop_opcode, is_jx_opcode,
is_windowed_return_opcode): Delete.
(xtensa_frob_label): Use get_subseg_target_freq.
(md_assemble): Inline call to is_entry_opcode.
(xtensa_handle_align): Inline call to get_frag_is_literal.
(relaxation_requirements): Inline call to is_jx_opcode.
(emit_single_op): Inline call to is_movi_opcode.
(xg_assemble_vliw_tokens): Inline calls to get_frag_is_insn,
get_frag_is_no_transform, is_entry_opcode, and
set_frag_is_specific_opcode. Use get_subseg_total_freq.
(xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags,
xtensa_fix_close_loop_end_frags, relax_frag_immed, convert_frag_immed):
Inline calls to get_frag_is_no_transform.
(next_instrs_are_b_retw): Inline call to is_windowed_return_opcode.
(xtensa_fix_short_loop_frags): Inline calls to is_the_loop_opcode and
get_frag_is_no_transform.
(convert_frag_immed_finish_loop): Inline calls to get_expression_value
and set_frag_is_no_transform.
(get_expression_value): Delete.
(subseg_map struct): Rename cur_total_freq to total_freq. Rename
cur_target_freq to target_freq.
(get_subseg_info): Split out code to create a new map entry into ...
(add_subseg_info): ... this new function.
(get_last_insn_flags): Check if get_subseg_info succeeded.
(set_last_insn_flags): Call add_subseg_info if needed.
(get_subseg_total_freq, get_subseg_target_freq, set_subseg_freq): New.
(xtensa_reorder_segments): Compute last_sec while counting sections.
Remove call to get_last_sec.
(get_last_sec): Delete.
(cache_literal_section): Inline call to retrieve_literal_seg and its
callees, seg_present and add_seg_list.
(retrieve_literal_seg, seg_present, add_seg_list): Delete.
(get_frag_is_insn, get_frag_is_no_transform,
set_frag_is_specific_opcode, set_frag_is_no_transform): Delete.
* config/tc-xtensa.h (MAX_SLOTS): Reduce from 31 to 15.
Jeff Johnston [Tue, 12 Oct 2004 22:49:17 +0000 (22:49 +0000)]
2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
* gdb.threads/schedlock.c: Add comment markers to use to find
line numbers.
* gdb.threads/schedlock.exp: Adjust regex to handle the new
comments.
* gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
breakpoint lines.
Mark Kettenis [Tue, 12 Oct 2004 22:18:55 +0000 (22:18 +0000)]
* sparc-nat.c: Include "inf-ptrace.h".
(sparc_target): New function.
* sparc-nat.h: Update copyright year.
(sparc_target): New prototype.
* sparcnbsd-nat.c: Don't include "gdbcore.h", include "target.h".
(_initialize_sparcnbsd_nat): Construct and add target vector.
* sparc64nbsd-nat.c: Include "target.h".
(_initialize_sparc64nbsd_nat): Construct and add target vector.
* Makefile.in (sparc-nat.o, sparcnbsd-nat.o, sparc64nbsd-nat.o):
Update dependencies.
* config/sparc/nbsd64.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o, add inf-ptrace.o.
* config/sparc/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o, add inf-ptrace.o and bsd-kvm.o.
(NAT_FILE): Set to nm-bsd.h.
(LOADLIBES): New variable.
* config/sparc/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
infarg.o, add inf-ptrace.o.
* config/sparc/nm-nbsdaout.h: Remove file.
* config/sparc/fbsd.mh (NATDEPFILES): Add inf-ptrace.o.
* config/sparc/linux.mh (NATDEPFILES): Add inf-ptrace.o.
* config/sparc/linux64.mh (NATDEPFILES): Add inf-ptrace.o.
Andrew Cagney [Tue, 12 Oct 2004 19:14:31 +0000 (19:14 +0000)]
2004-10-12 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Versions and Branches): New chapter.
(Releasing GDB): Delete "Versions and Branches" section.
(Top): Add "Versions and Branches".
Bob Wilson [Tue, 12 Oct 2004 18:33:17 +0000 (18:33 +0000)]
bfd ChangeLog
* elf32-xtensa.c: Use ISO C90 formatting.
gas ChangeLog
* config/tc-xtensa.c: Use ISO C90 formatting.
* config/tc-xtensa.h: Likewise.
* config/xtensa-istack.h: Likewise.
* config/xtensa-relax.c: Likewise.
* config/xtensa-relax.h: Likewise.
ld ChangeLog
* emultempl/xtensaelf.em: Use ISO C90 formatting.
opcodes ChangeLog
* xtensa-dis.c: Use ISO C90 formatting.
Daniel Jacobowitz [Tue, 12 Oct 2004 15:55:06 +0000 (15:55 +0000)]
* gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
Paul Brook [Tue, 12 Oct 2004 14:51:42 +0000 (14:51 +0000)]
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Rephrase error
message.
Daniel Jacobowitz [Tue, 12 Oct 2004 14:41:42 +0000 (14:41 +0000)]
* configure.in: Add gdb.dwarf2.
* configure: Regenerated.
* Makefile.in: Add gdb.dwarf2.
* gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
gdb.dwarf2/file1.txt: New files.
Paul Brook [Tue, 12 Oct 2004 14:17:08 +0000 (14:17 +0000)]
2004-10-12 Paul Brook <paul@codesourcery.com>
bfd/
* elf32-arm.h: Support EABI version 4 objects.
binutils/
* readelf.c (decode_ARM_machine_flags): Support EABI version 4.
gas/
* config/tc-arm.c (md_begin): Change EF_ARM_EABI_VER3 to
EF_ARM_EABI_VER4.
(arm_eabis): Ditto.
* doc/c-arm.texi: Document that we actually support -meabi=4, not
-meabi=3.
include/
* elf/arm.h (EF_ARM_EABI_VER4): Define.
Mark Kettenis [Tue, 12 Oct 2004 10:06:14 +0000 (10:06 +0000)]
* defs.h [!FOPEN_RB]: Include "fopen-bin.h" instead of
"fopen-same.h". Update comment.
Alan Modra [Tue, 12 Oct 2004 08:13:46 +0000 (08:13 +0000)]
PR 325
* cpu-i386.c (bfd_x86_64_arch_intel_syntax): Place last in chain.
Don't mark as default.
(bfd_x86_64_arch): Don't mark as default.
Alan Modra [Tue, 12 Oct 2004 02:27:53 +0000 (02:27 +0000)]
* elflink.c (enum action_discarded): New.
(elf_section_complain_discarded): Delete.
(elf_action_discarded): New function subsuming the above and also
controlling reloc behaviour.
(elf_link_input_bfd): Use it.
Alan Modra [Tue, 12 Oct 2004 00:00:18 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 12 Oct 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Mon, 11 Oct 2004 20:03:55 +0000 (20:03 +0000)]
* i386gnu-nat.c: Include "gdb_string.h".
(fetch_fpregs): Use i387_supply_fxsave to fill the floating-point
registers when the floating-point state isn't initialized.
* Makefile.in (i386gnu-nat.o): Update dependencies.
Bob Wilson [Mon, 11 Oct 2004 16:39:34 +0000 (16:39 +0000)]
* doc/as.texinfo (VTableEntry, VTableInherit): Add "directive" to index
entries.
(Acknowledgements): Use "GAS" instead of AS variable.
David Anderson [Mon, 11 Oct 2004 16:35:28 +0000 (16:35 +0000)]
2004-10-11 David Anderson <davea@sgi.com>
* regcache.c (regcache_raw_read): Comment was missing "to".
Extraneous ' removed.
* gdb_thread_db.h (struct td_thrinfo): ti_lid field
comment now describes use.
Orjan Friberg [Mon, 11 Oct 2004 15:02:20 +0000 (15:02 +0000)]
2004-10-11 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start)
(cris_sigcontext_addr, cris_sigtramp_frame_unwind_cache)
(cris_sigtramp_frame_this_id, cris_sigtramp_frame_prev_register)
(cris_sigtramp_frame_sniffer): New functions.
(cris_gdbarch_init): Hook in signal trampoline unwinder.
(cris_dwarf2_reg_to_regnum, cris_dwarf2_frame_init_reg): New functions.
(cris_gdbarch_init): Hook in Dwarf-2 unwinder.
(struct gdbarch_tdep, set_cris_dwarf2_cfi, cris_dump_tdep)
(cris_gdbarch_init, _initialize_cris_tdep): Add CRIS Dwarf-2 CFI usage
command.
(cris_version_update): Remove, replace with ...
(set_cris_version): New function.
(struct gdbarch_tdep, cris_mode, cris_mode_update)
(cris_cannot_store_register, cris_dump_tdep, cris_gdbarch_init)
(_initialize_cris_tdep): Remove CRIS mode command.
(cris_fpless_backtrace, _initialize_cris_tdep): Remove CRIS command for
framepointer-less backtrace.
(cris_scan_prologue): Fix prologue scanning limit.
(cris_register_type): Update to reflect actual registers.
(cris_register_bytes_ok) Remove.
(cris_gdbarch_init): Remove support for CRIS v8 and v9. Remove
set_gdbarch_deprecated_register_size,
set_gdbarch_deprecated_register_byte, set_gdbarch_register_bytes_ok.
Jakub Jelinek [Mon, 11 Oct 2004 14:42:30 +0000 (14:42 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
getline for portability.
Jakub Jelinek [Mon, 11 Oct 2004 14:12:11 +0000 (14:12 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
(gld${EMULATION_NAME}_parse_ld_so_conf,
gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
(gld${EMULATION_NAME}_check_ld_so_conf): Use them.
Jakub Jelinek [Mon, 11 Oct 2004 13:48:36 +0000 (13:48 +0000)]
* elf.c (bfd_section_from_shdr): Handle SHT_GNU_LIBLIST.
(special_sections): Add .gnu.liblist and .gnu.conflict.
(assign_section_numbers): Handle SHT_GNU_LIBLIST.
Alan Modra [Mon, 11 Oct 2004 13:29:01 +0000 (13:29 +0000)]
PR 233
* elflink.c (elf_link_input_bfd): Try harder to support
relocations against symbols in removed linkonce sections.
Orjan Friberg [Mon, 11 Oct 2004 12:22:33 +0000 (12:22 +0000)]
2004-10-11 Orjan Friberg <orjanf@axis.com>
* gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
of "run", since the latter doesn't work with remote targets. Adjust
the breakpoint numbering accordingly.
* gdb.threads/pthread_cond_wait.exp: Ditto.
Alan Modra [Mon, 11 Oct 2004 09:17:13 +0000 (09:17 +0000)]
* elflink.c (elf_link_input_bfd): Revert PR 354 change.
Alan Modra [Mon, 11 Oct 2004 08:18:43 +0000 (08:18 +0000)]
* objdump.c (dump_symbols): Fix thinko last change. Improve error
messages.
Andrew Cagney [Mon, 11 Oct 2004 05:26:25 +0000 (05:26 +0000)]
2004-10-10 Andrew Cagney <cagney@gnu.org>
* ada-lang.c (lim_warning): Add ATTR_FORMAT prototype and FIXME
comment.
Alan Modra [Mon, 11 Oct 2004 04:54:27 +0000 (04:54 +0000)]
PR 354
* elflink.c (elf_link_input_bfd): Check that relocs in SEC_ALLOC
sections do not reference symbols in non-SEC_ALLOC sections.
Alan Modra [Mon, 11 Oct 2004 02:40:47 +0000 (02:40 +0000)]
PR 423
* ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
rejected when linking statically.
Joel Brobecker [Mon, 11 Oct 2004 02:27:14 +0000 (02:27 +0000)]
* mips-tdep.c (mips16_scan_prologue): Remove redundant code.
Joel Brobecker [Mon, 11 Oct 2004 02:17:53 +0000 (02:17 +0000)]
* mips-tdep.c (mips16_scan_prologue): Renames
mips16_heuristic_proc_desc. Update comment.
(mips32_scan_prologue): Renames mips32_heuristic_proc_desc.
(heuristic_proc_desc): Update calls to the 2 functions above.
Joel Brobecker [Mon, 11 Oct 2004 02:04:23 +0000 (02:04 +0000)]
* mips-tdep.c (mips_insn16_frame_cache): Remove unused variables.
Update comments. Also immediately return empty cache when the start
address of our function could not be found.
(mips_insn32_frame_cache): Likewise.