Alan Modra [Fri, 6 May 2005 00:00:06 +0000 (00:00 +0000)]
daily update
Jim Wilson [Thu, 5 May 2005 21:45:58 +0000 (21:45 +0000)]
Fix ia64-hpux build failure.
* ia64-opc.c: Include sysdep.h before libiberty.h.
Jim Wilson [Thu, 5 May 2005 18:51:14 +0000 (18:51 +0000)]
Fix ia64-hpux build failure, patch from Steve Ellcey.
* configure.in (ACX_HEADER_STRING): New.
* configure: Regenerate.
* config.in: Regenerate.
* sysdep.h (STRING_WITH_STRINGS): Use.
Jim Wilson [Thu, 5 May 2005 17:57:31 +0000 (17:57 +0000)]
Fix ia64-hpux build failure, patch from Steve Ellcey.
* config/tc-ia64.c (MIN): Undef.
H.J. Lu [Thu, 5 May 2005 17:22:40 +0000 (17:22 +0000)]
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (_bfd_elf_close_and_cleanup): Only call
_bfd_dwarf2_cleanup_debug_info on bfd_object.
H.J. Lu [Thu, 5 May 2005 16:40:11 +0000 (16:40 +0000)]
bfd/
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (_bfd_elf_provide_section_bound_symbols): Use
"__bss_start" instead of "_edata" as fallback.
ld/
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* scripttempl/elf.sc: Document the usage of __bss_start.
H.J. Lu [Thu, 5 May 2005 15:36:03 +0000 (15:36 +0000)]
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
* Makefile.in: Regenerate.
H.J. Lu [Thu, 5 May 2005 15:19:44 +0000 (15:19 +0000)]
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* bfd-in2.h: Regenerated.
Paul Brook [Thu, 5 May 2005 14:37:27 +0000 (14:37 +0000)]
2005-05-05 Paul Brook <paul@codesourcery.com>
bfd/
* config.bfd: Use bfd_elf32_i386_vxworks_vec for i?86-*-vxworks.
* configure.in: Add bfd_elf32_i386_vxworks_vec. i386 targets need
elf-vxworks.lo.
* configure: Regenerate.
* Makefile.am (BFD32_BACKENDS): Add elf-vxworks.lo.
(BFD32_BACKENDS_CFILES): Add elf-vxworks.c.
(elf32-i386.lo): Depend on elf-vxworks.h.
(elf-vxworks.lo): New rule.
* Makefile.in: Regenerate.
* elf-bfd.h (elf_backend_data): Update type of
elf_backend_emit_relocs.
(_bfd_elf_link_output_relocs): Update prototype.
* elflink.c (_bfd_elf_link_output_relocs): Always use
bed->elf_backend_emit_relocs when outputting relocations.
* elfxx-target.h (elf_backend_emit_relocs): Default to
_bfd_elf_link_output_relocs.
* targets.c (bfd_elf32_i386_vxworks_vec): Declare.
(_bfd_target_vector): Add bfd_elf32_i386_vxworks_vec.
* elf32-i386.c: Add elf32-i386-vxworks target BFD.
(elf_i386_plt0_entry): Remove padding.
(elf_i386_pic_plt0_entry): Ditto.
(PLTRESOLVE_RELOCS_SHLIB, PLTRESOLVE_RELOCS): Define.
(PLT_NON_JUMP_SLOT_RELOCS): Define.
(elf_i386_link_hash_table): Add srelplt2, hgot, hplt, is_vxworks and
plt0_pad_byte fields.
(elf_i386_link_hash_table_create): Zero them.
(elf_i386_create_dynamic_sections): Create static relocation section.
(allocate_dynrelocs): Allocate space for static PLT relocations.
(elf_i386_size_dynamic_sections): Save shortcuts to PLT and GOT
symbols. Give PLT symbols function type. Don't strip PLT sections
if we have exported symbols from them.
(elf_i386_finish_dynamic_symbol): Fill in VxWorks PLT static
relocation section. Don't mark _GLOBAL_OFFSET_TABLE_ as absolute on
VxWorks.
(elf_i386_finish_dynamic_sections): Allow different pad bytes.
Add relocation for GOT location. Fill in PLT static relocations.
(elf_i386_vxworks_link_hash_table_create): New function.
(elf_i386_vxworks_link_output_symbol_hook): New function.
* elf-vxworks.h: New file.
gas/
* config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS.
gas/testsuite/
* gas/i386/i386.exp: Don't run divide test on vxworks.
ld/
* Makefile.am: Add eelf_i386_vxworks.
* Makefile.in: Regenerate.
* configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks.
* emulparams/elf_i386_vxworks.sh: New file.
* emulparams/vxworks.sh: New file.
* scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME.
H.J. Lu [Thu, 5 May 2005 14:34:04 +0000 (14:34 +0000)]
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* section.c (bfd_make_section_anyway_with_flags): New.
(bfd_make_section_anyway): Call bfd_make_section_anyway_with_flags,
(bfd_make_section_with_flags): New.
(bfd_make_section): Call bfd_make_section_with_flags.
* elf-m10300.c (_bfd_mn10300_elf_create_got_section): Call
bfd_make_section_with_flags/bfd_make_section_anyway_with_flags
instead of bfd_make_section/bfd_make_section and don't call
bfd_set_section_flags.
(mn10300_elf_check_relocs): Likewise.
(_bfd_mn10300_elf_create_dynamic_sections): Likewise.
* elf32-arm.c (create_got_section): Likewise.
(bfd_elf32_arm_add_glue_sections_to_bfd): Likewise.
(elf32_arm_check_relocs): Likewise.
* elf32-cris.c (cris_elf_check_relocs): Likewise.
* elf32-frv.c (elf32_frv_add_symbol_hook): Likewise.
(_frv_create_got_section): Likewise.
(elf32_frvfdpic_create_dynamic_sections): Likewise.
* elf32-hppa.c (elf32_hppa_create_dynamic_sections): Likewise.
(elf32_hppa_check_relocs): Likewise.
* elf32-i370.c (i370_elf_create_dynamic_sections): Likewise.
(i370_elf_check_relocs): Likewise.
* elf32-i386.c (create_got_section): Likewise.
(elf_i386_check_relocs): Likewise.
* elf32-m32r.c (m32r_elf_add_symbol_hook): Likewise.
(create_got_section): Likewise.
(m32r_elf_create_dynamic_sections): Likewise.
(m32r_elf_check_relocs): Likewise.
* elf32-m68k.c (elf_m68k_check_relocs): Likewise.
* elf32-ppc.c (ppc_elf_create_got): Likewise.
(ppc_elf_create_dynamic_sections): Likewise.
(ppc_elf_add_symbol_hook): Likewise.
(ppc_elf_check_relocs): Likewise.
* elf32-s390.c (create_got_section): Likewise.
(elf_s390_check_relocs): Likewise.
* elf32-sh.c (create_got_section): Likewise.
(sh_elf_create_dynamic_sections): Likewise.
(sh_elf_check_relocs): Likewise.
* elf32-vax.c (elf_vax_check_relocs): Likewise.
* elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
* elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Likewise.
(add_extra_plt_sections): Likewise.
* elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise.
(elf64_alpha_create_got_section): Likewise.
(elf64_alpha_create_dynamic_sections): Likewise.
(elf64_alpha_check_relocs): Likewise.
* elf64-hppa.c (get_reloc_section): Likewise.
(get_opd): Likewise.
(get_plt): Likewise.
(get_dlt): Likewise.
(get_stub): Likewise.
(elf64_hppa_create_dynamic_sectionso): Likewise.
* elf64-mmix.c (mmix_elf_check_common_relocs): Likewise.
* elf64-ppc.c (create_linkage_sections): Likewise.
(ppc64_elf_check_relocs): Likewise.
* elf64-s390.c (create_got_section): Likewise.
(elf_s390_check_relocs): Likewise.
* elf64-sh64.c (sh_elf64_check_relocs): Likewise.
(sh64_elf64_create_dynamic_sections): Likewise.
* elf64-x86-64.c (create_got_section): Likewise.
(elf64_x86_64_check_relocs): Likewise.
* elflink.c (_bfd_elf_create_got_section): Likewise.
(_bfd_elf_link_create_dynamic_sections): Likewise.
(elf_link_add_object_symbols): Likewise.
* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise.
(elfNN_ia64_create_dynamic_sections): Likewise.
(get_fptr): Likewise.
(get_pltoff): Likewise.
(get_reloc_section): Likewise.
(elfNN_ia64_object_p): Likewise.
* elfxx-mips.c (mips_elf_rel_dyn_section): Likewise.
(mips_elf_create_compact_rel_section): Likewise.
(mips_elf_create_got_section): Likewise.
(_bfd_mips_elf_create_dynamic_sections): Likewise.
* elfxx-sparc.c (create_got_section): Likewise.
(_bfd_sparc_elf_check_relocs): Likewise.
* elf.c (_bfd_elf_new_section_hook): Call _bfd_elf_get_sec_type_attr
on linker created sections.
H.J. Lu [Thu, 5 May 2005 14:30:04 +0000 (14:30 +0000)]
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
PR 882
* elflink.c (_bfd_elf_link_assign_sym_version): Allow version
script on executable.
Nick Clifton [Thu, 5 May 2005 14:25:23 +0000 (14:25 +0000)]
* dwarf2.c (read_abbrevs): If bfd_realloc fails, free currently allocated memory
before returning.
(decode_line_info): Likewise.
(_bfd_dwarf2_cleanup_debug_info): New function: Frees memory allocated by
functions in this file.
* elf-bfd.h (_bfd_dwarf2_cleanup_debug_info): Prototype.
* elf.c (bfd_elf_close_and_cleanup): Call _bfd_dwarf2_cleanup_debug_info.
Nick Clifton [Thu, 5 May 2005 10:57:06 +0000 (10:57 +0000)]
Don't assume a valueT is 4 bytes.
Nick Clifton [Thu, 5 May 2005 10:29:16 +0000 (10:29 +0000)]
Replace linux-gnu with linux-* to allow for versions of Linux which do not use
glibc.
Nick Clifton [Thu, 5 May 2005 09:17:37 +0000 (09:17 +0000)]
* configure.in (ALL_LINGUAS): Add vi.
* configure: Regenerate.
* po/vi.po: New.
Nick Clifton [Thu, 5 May 2005 09:13:19 +0000 (09:13 +0000)]
Update the address and phone number of the FSF
Nick Clifton [Thu, 5 May 2005 07:40:56 +0000 (07:40 +0000)]
Make -mlittle-endian switch set the target_big_endian variable to false.
Hans-Peter Nilsson [Thu, 5 May 2005 03:42:02 +0000 (03:42 +0000)]
* Makefile.am (INCLUDES): Don't -D_GNU_SOURCE here.
* configure.in: Call AC_GNU_SOURCE here, after AC_PROG_CC.
* configure, config.in, Makefile.in: Regenerate.
* sysdep.h (stpcpy): Revert last change.
Paul Brook [Thu, 5 May 2005 03:11:24 +0000 (03:11 +0000)]
2005-05-05 Paul Brook <paul@codesourcery.com>
gas/testsuite/
* lib/gas-defs.exp (regexp_diff): Pass test if last line is "#...".
ld/testsuite/
* lib/ld-lib.exp (regexp_diff): Pass test if last line is "#...".
* ld-elfweak/elfweak.exp: Run size2.d.
* ld-elfwaek/size2.d: New file.
* ld-elfwaek/size2a.s: New file.
* ld-elfwaek/size2b.s: New file.
Mike Stump [Thu, 5 May 2005 01:36:32 +0000 (01:36 +0000)]
* configure.in: Always pass --target to target configures as
otherwise rebuilds that do --recheck will fail.
* confiugure: Rebuilt.
Alan Modra [Thu, 5 May 2005 00:46:49 +0000 (00:46 +0000)]
daily update
gdbadmin [Thu, 5 May 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Hans-Peter Nilsson [Wed, 4 May 2005 23:25:47 +0000 (23:25 +0000)]
* sysdep.h (stpcpy): Wrap declaration in parentheses.
H.J. Lu [Wed, 4 May 2005 22:20:25 +0000 (22:20 +0000)]
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (ARCH_SIZE): New.
(LOG_SECTION_ALIGN): Likewise.
(elfNN_ia64_create_dynamic_sections): Use LOG_SECTION_ALIGN to
align relocation sections.
(get_fptr): Likewise.
(get_reloc_section): Likewise.
(elfNN_ia64_tprel_base): Likewise.
(elfNN_ia64_check_relocs): Support 32bit relocations.
(allocate_global_fptr_got): Likewise.
(allocate_dynrel_entries): Likewise.
(set_got_entry): Likewise.
(set_pltoff_entry): Likewise.
(elfNN_ia64_relocate_section): Likewise.
H.J. Lu [Wed, 4 May 2005 22:15:30 +0000 (22:15 +0000)]
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: Add AC_CHECK_DECLS(stpcpy).
* configure: Regenerated.
* config.in: Likewise.
* sysdep.h (stpcpy): New.
Daniel Jacobowitz [Wed, 4 May 2005 21:21:42 +0000 (21:21 +0000)]
* gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
Daniel Jacobowitz [Wed, 4 May 2005 19:10:32 +0000 (19:10 +0000)]
* proc-service.c (ps_lgetregs): Search all_processes instead of
all_threads.
Daniel Jacobowitz [Wed, 4 May 2005 18:51:38 +0000 (18:51 +0000)]
* server.c (start_inferior): Change return type to int.
(attach_inferior): Change sigptr to int *.
(handle_v_cont, handle_v_requests): Change signal to int *.
(main): Change signal to int.
Mark Kettenis [Wed, 4 May 2005 16:29:54 +0000 (16:29 +0000)]
* config/i386/cygwin.mh (XM_FILE): Remove variable.
* config/i386/xm-cygwin.h: Remove file.
Nick Clifton [Wed, 4 May 2005 15:53:43 +0000 (15:53 +0000)]
Update the address and phone number of the FSF organization in the GPL notices
Paolo Bonzini [Wed, 4 May 2005 15:42:05 +0000 (15:42 +0000)]
2005-05-04 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from
STAGE_HOST_EXPORTS.
(configure, all): Add bootstrap support.
(Host modules, target modules): Pass post-stage1 flags and exports.
(Top-level bootstrap): Remove bootstrap rules, expanded elsewhere.
* Makefile.in: Regenerate.
H.J. Lu [Wed, 4 May 2005 13:19:02 +0000 (13:19 +0000)]
bfd/
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
* bfd-in.h (_bfd_elf_provide_section_bound_symbols): New.
* bfd-in2.h: Regenerated.
* elflink.c (bfd_elf_set_symbol): New.
(_bfd_elf_provide_symbol): Call it.
(_bfd_elf_provide_section_bound_symbols): New.
ld/
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
Call _bfd_elf_provide_section_bound_symbols.
H.J. Lu [Wed, 4 May 2005 13:13:22 +0000 (13:13 +0000)]
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (_bfd_elf_merge_symbol): Only skip weak definitions
at the end, if a strong definition has already been seen.
Alan Modra [Wed, 4 May 2005 11:00:28 +0000 (11:00 +0000)]
bfd/
* section.c (struct bfd_section): Replace link_order_head and
link_order_tail with map_head and map_tail union.
(STD_SECTION): Update.
(_bfd_strip_section_from_output): Delete.
* aoutx.h: Update throughout for above changes.
* coff-ppc.c: Likewise.
* cofflink.c: Likewise.
* ecoff.c: Likewise.
* elf-eh-frame.c: Likewise.
* elf-m10300.c: Likewise.
* elf.c: Likewise.
* elf32-arm.c: Likewise.
* elf32-cris.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-m68hc1x.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-vax.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sh64.c: Likewise.
* elf64-x86-64.c: Likewise.
* elflink.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* elfxx-sparc.c: Likewise.
* linker.c: Likewise.
* merge.c: Likewise.
* pdp11.c: Likewise.
* xcofflink.c: Likewise.
* elflink.c (bfd_boolean bfd_elf_size_dynsym_hash_dynstr): Split
out from bfd_elf_size_dynamic_sections.
* bfd-in.h (bfd_boolean bfd_elf_size_dynsym_hash_dynstr): Declare.
* bfd-in2.h: Regenerate.
ld/
* ldemul.c: Include bfdlink.h.
(ldemul_before_allocation): Assume before_allocation is non-zero.
(before_allocation_default): Call strip_excluded_output_sections.
* ldlang.c (stripped_excluded_sections): New variable.
(lang_add_section): Build input section list for each output
section, attached via map_head and map_tail pointers.
(strip_excluded_output_sections): Make global. Traverse the
input section lists to find which output sections can go. Clear
link_order pointers and set stripped_excluded_sections.
(lang_process): Call strip_excluded_output_sections.
* ldlang.h (strip_excluded_output_sections): Declare.
* ldwrite.c: Update throuhout for link_order_head -> map_head change.
* emultempl/aix.em (before_allocation): Call
strip_excluded_output_sections.
* emultempl/armcoff.em (before_allocation): Likewise.
* emultempl/beos.em (before_allocation): Likewise.
* emultempl/linux.em (before_allocation): Likewise.
* emultempl/pe.em (before_allocation): Likewise.
* emultempl/sunos.em (before_allocation): Likewise.
* emultempl/elf32.em (before_allocation): Likewise. Call
bfd_elf_size_dynsym_hash_dynstr too.
* emultempl/lnk960.em (lnk960_before_allocation): Delete.
(ld_lnk960): Use before_allocation_default.
Nick Clifton [Wed, 4 May 2005 07:19:45 +0000 (07:19 +0000)]
Update the FSF address in the copyright/GPL notice
Alan Modra [Wed, 4 May 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 4 May 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 3 May 2005 17:08:43 +0000 (17:08 +0000)]
* config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section
list traversal. Use bfd_section_list_prepend.
* config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate
over the section list.
* config/tc-xtensa.c (xtensa_remove_section): Delete.
(xtensa_insert_section): Delete.
(xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove
and bfd_section_list_prepend.
(xtensa_reorder_seg_list): Use bfd_section_list_remove and
bfd_section_list_insert_after.
Alan Modra [Tue, 3 May 2005 17:05:51 +0000 (17:05 +0000)]
* section.c (bfd_section_list_remove): Don't clear s->next.
(bfd_section_list_append): Always init s->prev.
(bfd_section_list_prepend): Define.
(bfd_section_list_insert_after): Minor optimization.
(bfd_section_removed_from_list): Rewrite.
* elf.c (assign_section_numbers): Simplify list traversal now that
bfd_section_list_remove doesn't destroy removed section next ptr.
* sunos.c (sunos_add_dynamic_symbols): Likewise.
* elfxx-ia64.c (elfNN_ia64_object_p): Use bfd_section_list_prepend.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Simplify list traversal.
* bfd-in2.h: Regenerate.
Nick Clifton [Tue, 3 May 2005 12:02:47 +0000 (12:02 +0000)]
* config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations of bfd_section_list... macros.
* config/tc-mmix.c (mmix_frob_file): Likewise.
* config/tc-xtensa.c (xtensa_remove_section): Likewise.
(xtensa_insert_section): Likewise.
* macro.c (macro_hash): Remove static.
* macro.h (macro_hash): Provide an external declaration.
H.J. Lu [Tue, 3 May 2005 01:09:45 +0000 (01:09 +0000)]
Regenerated.
H.J. Lu [Tue, 3 May 2005 01:05:03 +0000 (01:05 +0000)]
bfd/
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* bfd.c (bfd): Remove section_tail and add section_last.
(bfd_preserve): Likewise.
(bfd_preserve_save): Likewise.
(bfd_preserve_restore): Likewise.
* opncls.c (_bfd_new_bfd): Likewise.
* coffcode.h (coff_compute_section_file_positions): Updated.
(coff_compute_section_file_positions): Likewise.
* elf.c (assign_section_numbers): Likewise.
* elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
* elf64-mmix.c (mmix_elf_final_link): Likewise.
* elfxx-ia64.c (elfNN_ia64_object_p): Likewise.
* elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise.
* sunos.c (sunos_add_dynamic_symbols): Likewise.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise.
* ecoff.c (bfd_debug_section): Initialize prev.
* section.c (bfd_section): Add prev.
(bfd_section_list_remove): Updated.
(bfd_section_list_append): New.
(bfd_section_list_insert_after): New.
(bfd_section_list_insert_before): New.
(bfd_section_list_insert): Removed.
(bfd_section_removed_from_list): Updated.
(STD_SECTION): Initialize prev.
(bfd_section_init): Updated.
(bfd_section_list_clear): Updated.
* bfd-in2.h: Regenerated.
gas/
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* write.c (write_object_file): Use bfd_section_double_list_remove
to remove sections.
ld/
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section):
Updated for bfd_section_list_remove change.
* ldlang.c (lang_insert_orphan): Likewise.
(strip_excluded_output_sections): Likewise.
(sort_sections_by_lma): New.
(lang_check_section_addresses): Sort the sections before
checking addresses.
Paul Gilliam [Tue, 3 May 2005 00:41:49 +0000 (00:41 +0000)]
2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
* lib/gdb.exp (skip_altivec_tests): New function, based on
check_vmx_hw_available from the GCC testsuite.
* lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
* lib/gdb.arch/altivec-regs.exp: Likewise.
Alan Modra [Tue, 3 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 3 May 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Ben Elliston [Mon, 2 May 2005 23:56:36 +0000 (23:56 +0000)]
* infrun.c (handle_inferior_event): Update the comment about users
of stepped_after_stopped_by_watchpoint.
Ben Elliston [Mon, 2 May 2005 23:41:39 +0000 (23:41 +0000)]
* dlltool.c (dtab): Remove empty function.
(process_duplicates): Remove calls to dtab().
Daniel Jacobowitz [Mon, 2 May 2005 22:00:41 +0000 (22:00 +0000)]
* doc/Makefile.am (gasver.texi): Correct quoting.
* doc/Makefile.in: Regenerated.
Jim Blandy [Mon, 2 May 2005 20:57:30 +0000 (20:57 +0000)]
* gdb.base/auxv.exp: Call 'untested' and return -1 instead of
calling gdb_suppress_entire_file.
Mark Kettenis [Mon, 2 May 2005 20:42:27 +0000 (20:42 +0000)]
* gdb.texinfo (Files): Remove documentation for auto-solib-limit.
Eli Zaretskii [Mon, 2 May 2005 20:28:48 +0000 (20:28 +0000)]
* gdb.texinfo (SVR4 Process Information, The isatty call)
(The system call): Don't use foo(N) notation for man pages and
functions.
(Compilation, DJGPP Native): Improve wording.
Corinna Vinschen [Mon, 2 May 2005 15:23:37 +0000 (15:23 +0000)]
* MAINTAINERS: Remove hint that sh64 doesn't build.
* sh64-tdep.c (sh64_push_dummy_call): Cast buf in call to write_memory.
(sh64_do_fp_register): make raw_buffer unsigned.
(sh64_do_register): Ditto.
Corinna Vinschen [Mon, 2 May 2005 15:23:09 +0000 (15:23 +0000)]
* sh-desc.h: Move extern declaration of sh_cgen_ifld_table after
inclusion of cgen.h.
H.J. Lu [Mon, 2 May 2005 14:00:16 +0000 (14:00 +0000)]
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (_bfd_elf_new_section_hook): Don't call
_bfd_elf_get_sec_type_attr on sections from input files.
H.J. Lu [Mon, 2 May 2005 13:59:16 +0000 (13:59 +0000)]
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* merge.c (sec_merge_init): Call bfd_hash_table_init_n with
hash table size 16699 instead of bfd_hash_table_init.
Mark Kettenis [Mon, 2 May 2005 12:05:11 +0000 (12:05 +0000)]
* bsd-uthread.c: Include "solib.h".
* Makefile.in (bsd-uthread.o): Update dependencies.
Paul Brook [Mon, 2 May 2005 03:12:21 +0000 (03:12 +0000)]
2005-05-01 Paul Brook <paul@codesourcery.com>
* elflink.c (_bfd_elf_merge_symbol): Skip weak definitions if a strong
definition has already been seen.
Alan Modra [Mon, 2 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 2 May 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Paul Brook [Sun, 1 May 2005 23:57:21 +0000 (23:57 +0000)]
2005-05-01 Paul Brook <paul@codesourcery.com>
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Treat
R_ARM_PLT32 the same as R_ARM_PC24.
(arm_add_to_rel): Ditto.
Daniel Jacobowitz [Sun, 1 May 2005 23:16:46 +0000 (23:16 +0000)]
* gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush
cached frames when changing gdbarch.
* gdbarch.c: Regenerated.
Andrew Cagney [Sun, 1 May 2005 23:07:33 +0000 (23:07 +0000)]
2005-05-01 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: Note that cris, m68k, mn10300, sh64, sparc and vax
do not build.
Eli Zaretskii [Sun, 1 May 2005 21:27:44 +0000 (21:27 +0000)]
(SVR4 Process Information, The isatty call, The system call): Don't use the
foo(N) notation for man pages and functions.
Andrew Cagney [Sun, 1 May 2005 19:58:55 +0000 (19:58 +0000)]
2005-05-01 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (deprecated_extract_return_value)
(breakpoint_from_pc, deprecated_store_return_value)
(memory_insert_breakpoint, memory_remove_breakpoint): Change type
of buffer to a bfd_byte pointer.
* gdbarch.h, gdbarch.c: Re-generate.
* mem-break.c (memory_insert_breakpoint)
(memory_remove_breakpoint, default_memory_insert_breakpoint)
(default_memory_remove_breakpoint): Update.
* target.h (memory_insert_breakpoint)
(memory_remove_breakpoint, default_memory_insert_breakpoint)
(default_memory_remove_breakpoint): Update declarations.
(struct target_ops): Update to_insert_breakpoint and
to_remove_breakpoint.
* target.c (debug_to_remove_breakpoint)
(debug_to_insert_breakpoint): Update.
* remote-m32r-sdi.c (m32r_remove_breakpoint)
(m32r_insert_breakpoint): Update.
* m32r-tdep.c (m32r_memory_insert_breakpoint)
(m32r_memory_remove_breakpoint): Update.
* remote-e7000.c (e7000_insert_breakpoint)
(e7000_remove_breakpoint): Update.
* remote-rdi.c (arm_rdi_insert_breakpoint)
(arm_rdi_remove_breakpoint): Update.
* remote-sim.c (gdbsim_insert_breakpoint)
(gdbsim_remove_breakpoint): Update.
* exec.c (ignore): Update.
* rs6000-tdep.c (rs6000_extract_return_value): Update.
* ia64-tdep.c (ia64_memory_insert_breakpoint)
(ia64_memory_remove_breakpoint): Update.
* remote-rdp.c (remote_rdp_insert_breakpoint)
(remote_rdp_remove_breakpoint): Update.
Mark Kettenis [Sun, 1 May 2005 16:04:24 +0000 (16:04 +0000)]
* somsolib.c, somsolib.h: Remove files.
* Makefile.in (somsolib_h): Remove.
(somsolib.o): Remove dependency.
Maciej W. Rozycki [Sun, 1 May 2005 16:02:56 +0000 (16:02 +0000)]
* doc/binutils.texi (strip, objcopy): Clarify the description of
the "--strip-debug" option. Fix a typo.
Mark Kettenis [Sun, 1 May 2005 10:06:12 +0000 (10:06 +0000)]
* fbsd-nat.c: Include <sys/sysctl.h>.
(fbsd_pid_to_exec_file): Use KERN_PROC_PATHNAME sysctl if
available. Plug memory leak. Fixes PR gdb/1922.
gdbadmin [Sun, 1 May 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 1 May 2005 00:00:06 +0000 (00:00 +0000)]
daily update
Daniel Jacobowitz [Sat, 30 Apr 2005 19:56:47 +0000 (19:56 +0000)]
* gdb.threads/staticthreads.exp: Override signal to check for hppa.
Slightly relax "sem_post" name checking.
Mark Kettenis [Sat, 30 Apr 2005 12:59:57 +0000 (12:59 +0000)]
* solist.h (TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB)
(TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK)
(TARGET_SO_SPECIAL_SYMBOL_HANDLING, TARGET_SO_CURRENT_SOS)
(TARGET_SO_OPEN_SYMBOL_FILE_OBJECT): Remove defines.
* solib.c (solib_data): New variable.
(solib_init, solib_ops): New functions.
(solib_open, solib_map_sections, free_so, update_solib_list)
(solib_add, clear_solib, solib_create_inferior_hook)
(in_solib_dynsym_resolve_code): Call architecture-dependent code
using solib_ops.
(_initialize_solib): Register SOLIB_DATA.
Alan Modra [Sat, 30 Apr 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 30 Apr 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
Kevin Buettner [Fri, 29 Apr 2005 21:48:28 +0000 (21:48 +0000)]
Fix bugs related to inferior function calls on FRV using the FDPIC ABI.
Paul Gilliam [Fri, 29 Apr 2005 21:08:24 +0000 (21:08 +0000)]
2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/unload.exp: Use new shared library infrastructure.
Paul Gilliam [Fri, 29 Apr 2005 20:45:32 +0000 (20:45 +0000)]
2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/so-impl-ld.exp: Use new shared library
infrastructure.
Daniel Jacobowitz [Fri, 29 Apr 2005 18:43:35 +0000 (18:43 +0000)]
* configure.tgt: Add h8300*-*-rtemscoff.
Switch h8300*-*-rtems* to elf.
Daniel Jacobowitz [Fri, 29 Apr 2005 18:41:45 +0000 (18:41 +0000)]
* config.bfd: Add h8300*-*-rtemscoff.
Switch h8300*-*-rtems* to elf.
H.J. Lu [Fri, 29 Apr 2005 16:56:12 +0000 (16:56 +0000)]
2005-04-29 H.J. Lu <hongjiu.lu@intel.com>
* hash.c: Undo the last change.
* hash.h: Likewise.
H.J. Lu [Fri, 29 Apr 2005 16:49:20 +0000 (16:49 +0000)]
2005-04-29 H.J. Lu <hongjiu.lu@intel.com>
* bucomm.c: Undo the last change.
* bucomm.h: Likewise.
Paul Brook [Fri, 29 Apr 2005 14:48:03 +0000 (14:48 +0000)]
2005-04-29 Paul Brook <paul@codesourcery.com>
* common/callback.c (PIPE_BUF): Provide default refinition.
(os_lstat): Use stat if lstat is not available on the host.
(os_ftruncate): Return EINVAL if not available on the host.
(os_truncate): Ditto.
* common/configure.ac: Check for lstat, truncate and ftruncate.
* common/configure: Regenerate.
* common/config.in: Regenerate.
Corinna Vinschen [Fri, 29 Apr 2005 14:22:28 +0000 (14:22 +0000)]
* gdb.asm/asm-source.exp: Add h8300 to supported targets.
* gdb.asm/h8300.inc: New file.
Corinna Vinschen [Fri, 29 Apr 2005 14:21:22 +0000 (14:21 +0000)]
* MAINTAINERS: Revert h8300 state to un-deleted.
* Makefile.in: Re-add h8300-tdep.o dependencies.
* h8300-tdep.c: Slightly rearrange type definitions and functions.
(struct frame_extra_info): Remove.
(struct h8300_frame_cache): Replace locals with differently defined
uses_fp member.
(h8300_unwind_pc): Simplify.
(h8300_unwind_sp): New function.
(h8300_unwind_dummy_id): Simplify.
(h8300_init_frame_cache): New function.
(h8300_is_argument_spill): Use reworked defines for opcode scanning.
(h8300_skip_prologue): Rewrite.
(h8300_alloc_frame_cache): Remove.
(h8300_analyze_frame_setup): Remove.
(h8300_analyze_register_saves): Remove.
(h8300_analyze_prologue): Rewrite.
(h8300_frame_cache): Use h8300_init_frame_cache instead of
h8300_alloc_frame_cache. Use BINWORD instead of constant 4 to
accomodate 16 bit mode. Fix saved_sp and register offset evaluation.
(h8300_frame_this_id): Correctly calculate this_id using saved stack
pointer instead of base.
(h8300_frame_prev_register): Drop needless braces.
(h8300_frame_base_address): New function.
(h8300_frame_base): New frame_base.
(h8300_push_dummy_call): Return correct CFA value.
(h8300h_extract_return_value): Fix 8 byte value handling.
(h8300_use_struct_convention): New function.
(h8300h_use_struct_convention): New function.
(h8300h_store_return_value): Fix 8 byte value handling.
(h8300_return_value): New function.
(h8300h_return_value): New function.
(h8300_extract_struct_value_address): Remove deprecated functionality.
(h8300_push_dummy_code): Remove.
(h8300_gdbarch_init): Replace set_gdbarch_extract_return_value and
set_gdbarch_store_return_value calls by set_gdbarch_return_value.
Remove calls to set_gdbarch_deprecated_fp_regnum,
set_gdbarch_deprecated_extract_struct_value_address,
set_gdbarch_deprecated_use_struct_convention and
set_gdbarch_push_dummy_code.
Add calls to set_gdbarch_unwind_sp and frame_base_set_default.
Slightly rearrange code.
Daniel Jacobowitz [Fri, 29 Apr 2005 14:03:55 +0000 (14:03 +0000)]
bfd/
* doc/Makefile.am: Remove stamp rules. Depend on chew.c
instead of $(MKDOC).
* aclocal.m4, Makefile.in, doc/Makefile.in: Regnerated.
gas/
* doc/Makefile.am (gasver.texi): Depend on bfd/configure instead
of Makefile.
(DISTCLEANFILES): Remove.
(MAINTAINERCLEANFILES): Add asconfig.texi.
* doc/Makefile.in: Regenerated.
Paolo Bonzini [Fri, 29 Apr 2005 14:00:03 +0000 (14:00 +0000)]
2005-04-29 Paolo Bonzini <bonzini@gnu.org>
Sync from gcc:
2005-04-22 Bernd Schmidt <bernd.schmidt@analog.com>
* config.sub: Update from master copy.
2005-04-19 Hans-Peter Nilsson <hp@axis.com>
* configure.in <crisv32-*-*, cris-*-*>: New local variable
libgcj_ex_libffi. Have specific match for *-*-linux*. Separate
matches for "*-*-aout" and "*-*-elf". Don't disable libffi for
"*-*-elf" and "*-*-linux*".
* configure: Regenerate.
config:
2005-04-29 Paolo Bonzini <bonzini@gnu.org>
* acx.m4 (ACX_PROG_GNAT): Remove stray break.
Ben Elliston [Fri, 29 Apr 2005 01:15:21 +0000 (01:15 +0000)]
* more static'ing.
* syslex.l (word, number, unit): Remove unused variables.
* nlmheader.y (keyword_tokens): Make static.
* coffdump.c (dump_coff_symbol, coff_dump): Make static.
* coffgrok.c (lofile, last_function_symbol, last_function_type,
last_struct, last_enum, cur_sfile): Make variables static.
* sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS,
sysroff_swap_tr_in, sysroff_print_tr_out): Make static.
* sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth,
names, pnames): Likewise.
Ben Elliston [Fri, 29 Apr 2005 00:26:01 +0000 (00:26 +0000)]
Missed in earlier check-in.
Ben Elliston [Fri, 29 Apr 2005 00:22:29 +0000 (00:22 +0000)]
* Makefile.am (GAS_CFILES): Remove bignum-copy.c.
(GENERIC_OBJS): Likewise, remove bignum-copy.o.
(bignum-copy.o): Remove.
* Makefile.in: Regenerate.
* makefile.vms (OBJS): Remove bignum-copy.obj.
* symbols.h (local_symbol_make): Remove declaration.
(verify_symbol_chain_2): Likewise.
* symbols.c (local_symbol_make): Make static.
(max_indent_level): Likewise.
(verify_symbol_chain_2): Remove.
* macro.c (macro_hash): Make static.
* messages.c (fprint_value): Remove.
* read.h (get_absolute_expr): Remove.
(emit_leb128_expr): Likewise.
(do_s_func): Likewise.
* read.c (do_s_func): Make static.
(emit_leb128_expr): Likewise.
(get_absolute_expr): Likewise.
* as.h (as_howmuch): Remove declaration.
(fprint_value): Likewise.
* as.c (myname): Make static.
* input-scrub.c (as_howmuch): Remove.
(as_1_char): Likewise.
* input-file.h (input_file_is_open): Remove.
* input-file.c (input_file_is_open): Likewise.
* expr.h (expr_build_unary): Remove declaration.
(expr_build_binary): Likewise.
* expr.c (expr_build_unary): Remove.
(expr_build_binary): Likewise.
* hash.h (hash_replace): Remove declaration.
(hash_delete): Likewise.
* hash.c (hash_replace): Remove.
(hash_delete): Likewise.
* bignum-copy.c (bignum_copy): Move from here ..
* config/tc-vax.c (bignum_copy): .. to here.
* bignum.h (LOG_TO_BASE_2_OF_10): Remove.
(bignum_copy): Remove extern declaration.
* sb.h (string_count): Remove extern declaration.
(sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
(sb_name): Likewise.
* sb.c (dsize): Replace preprocessor macro with static int.
(string_count): Make static.
(sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
(sb_name): Likewise.
* config/obj-coff.c (dim_index): Make static.
* config/tc-i386.c (GOT_symbol): Likewise.
(output_invalid_buf): Likewise.
* doc/internals.texi (Warning and error messages): Remove the
prototype for fprint_value.
Jim Blandy [Fri, 29 Apr 2005 00:04:06 +0000 (00:04 +0000)]
* parse.c (namecopy): Change allocation conventions.
(namecopy_size): New variable.
(copy_name): Allocate namecopy using xrealloc, instead of assuming
it has adequate space allocated to it.
(parse_exp_1): Don't try to allocate space for namecopy here.
Ben Elliston [Fri, 29 Apr 2005 00:03:33 +0000 (00:03 +0000)]
* ar.c (mri_mode): Make static.
* arsup.c (obfd, real_name, outfile): Likewise.
* binemul.c (ar_emul_create): Remove unused function.
(ar_emul_default_create): Likewise.
* binemul.h (ar_emul_create): Remove declaration.
(ar_emul_default_create): Likewise.
(struct bin_emulation_xfer_struct): Remove ar_create member.
* bucomm.c (report): Make static.
* bucomm.h (report): Remove declaration.
* cxxfilt.c (mbuffer): Make static.
(main): Use unsigned ints for some loop control variables.
* readelf.c: Make many global variables static.
* size.c (berkeley_format): Make static.
(long_options): Likewise.
* emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create
structure initialiser.
(bin_aix5_emulation): Likewise.
* emul_vanilla.c (bin_vanilla_emulation): Likewise.
Alan Modra [Fri, 29 Apr 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 29 Apr 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Ben Elliston [Thu, 28 Apr 2005 23:54:33 +0000 (23:54 +0000)]
* ldgram.y (lang_memory_region_type): Make static.
(ldgram_want_filename): Likewise.
* ldemul.c (ld_emulation): Make static.
* ldfile.h (ldfile_find_command_file): Remove extern.
* ldfile.c (ldfile_find_command_file): Make static.
* ldlang.h (unique_section_list): Remove extern declaration.
* ldlang.c (unique_section_list): Make static.
* mri.h (symbol_truncate): Remove extern declaration.
* mri.c (symbol_truncate): Make static.
(order, only_load, address, alias): Likewise.
(alignment, subalignment): Likewise.
Paul Gilliam [Thu, 28 Apr 2005 23:21:22 +0000 (23:21 +0000)]
2005-04-19 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/shlib-call.exp: Change to use new shared library
infrastructure.
Paul Gilliam [Thu, 28 Apr 2005 23:04:28 +0000 (23:04 +0000)]
2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/pending.exp: Change to use new shared library
infrastructure.
Paul Brook [Thu, 28 Apr 2005 23:02:05 +0000 (23:02 +0000)]
2005-04-28 Paul Brook <paul@codesourcery.com>
Merge changes only applied to Makefile.in.
* Makefile.am (BFD32_BACKENDS): Add elfxx-sparc.lo
(BFD32_BACKENDS_CFILES): Add elfxx-sparc.c
(elfxx-sparc.lo): New rule.
(elf32-sparc.lo): Add elfxx-sparc.h dependency.
(elf64-sparc.lo): Likewise.
Paul Gilliam [Thu, 28 Apr 2005 22:31:33 +0000 (22:31 +0000)]
2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler
and use test_compiler_info instead of gcc_compiled.
Eli Zaretskii [Thu, 28 Apr 2005 20:32:42 +0000 (20:32 +0000)]
* cli/cli-cmds.c (edit_command): If symtab->fullname is not yet
set, use symtab_to_fullname, instead of trying to do its job. Use
xstrprintf instead of malloc and sprintf.
Kevin Buettner [Thu, 28 Apr 2005 18:15:16 +0000 (18:15 +0000)]
* remote.c (init_remote_state): Eliminate use of
deprecated_register_bytes().
Andrew Cagney [Thu, 28 Apr 2005 16:15:19 +0000 (16:15 +0000)]
2005-04-28 Andrew Cagney <cagney@gnu.org>
* valops.c (check_field): Make buffer a bfd_byte.
* value.c (unpack_long, unpack_double, unpack_pointer)
(unpack_field_as_long, modify_field): Ditto.
* value.h: Update declarations.