aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-05-042005-05-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-0/+81
* configure.in: Add AC_CHECK_DECLS(stpcpy). * configure: Regenerated. * config.in: Likewise. * sysdep.h (stpcpy): New.
2005-05-04 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.Daniel Jacobowitz2-1/+5
2005-05-04 * proc-service.c (ps_lgetregs): Search all_processes instead ofDaniel Jacobowitz2-4/+11
all_threads.
2005-05-04 * server.c (start_inferior): Change return type to int.Daniel Jacobowitz2-6/+13
(attach_inferior): Change sigptr to int *. (handle_v_cont, handle_v_requests): Change signal to int *. (main): Change signal to int.
2005-05-04* config/i386/cygwin.mh (XM_FILE): Remove variable.Mark Kettenis3-25/+5
* config/i386/xm-cygwin.h: Remove file.
2005-05-04Update the address and phone number of the FSF organization in the GPL noticesNick Clifton346-346/+422
2005-05-042005-05-04 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini3-3325/+3708
* 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.
2005-05-04bfd/H.J. Lu6-36/+89
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.
2005-05-042005-05-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-7/+9
* elflink.c (_bfd_elf_merge_symbol): Only skip weak definitions at the end, if a strong definition has already been seen.
2005-05-04bfd/Alan Modra51-183/+293
* 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.
2005-05-04Update the FSF address in the copyright/GPL noticeNick Clifton348-348/+423
2005-05-04daily updateAlan Modra1-1/+1
2005-05-04*** empty log message ***gdbadmin1-1/+1
2005-05-03 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct sectionAlan Modra4-55/+29
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.
2005-05-03 * section.c (bfd_section_list_remove): Don't clear s->next.Alan Modra7-30/+75
(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.
2005-05-03* config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations of ↵Nick Clifton6-17/+33
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.
2005-05-03Regenerated.H.J. Lu1-32/+18
2005-05-03bfd/H.J. Lu19-180/+315
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.
2005-05-032004-05-02 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam4-2/+99
* 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.
2005-05-03daily updateAlan Modra1-1/+1
2005-05-03*** empty log message ***gdbadmin1-1/+1
2005-05-02 * infrun.c (handle_inferior_event): Update the comment about usersBen Elliston2-5/+9
of stepped_after_stopped_by_watchpoint.
2005-05-02 * dlltool.c (dtab): Remove empty function.Ben Elliston2-25/+5
(process_duplicates): Remove calls to dtab().
2005-05-02 * doc/Makefile.am (gasver.texi): Correct quoting.Daniel Jacobowitz3-2/+7
* doc/Makefile.in: Regenerated.
2005-05-02* gdb.base/auxv.exp: Call 'untested' and return -1 instead ofJim Blandy2-1/+7
calling gdb_suppress_entire_file.
2005-05-02* gdb.texinfo (Files): Remove documentation for auto-solib-limit.Mark Kettenis2-30/+4
2005-05-02 * gdb.texinfo (SVR4 Process Information, The isatty call)Eli Zaretskii2-23/+30
(The system call): Don't use foo(N) notation for man pages and functions. (Compilation, DJGPP Native): Improve wording.
2005-05-02 * MAINTAINERS: Remove hint that sh64 doesn't build.Corinna Vinschen3-7/+14
* 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.
2005-05-02 * sh-desc.h: Move extern declaration of sh_cgen_ifld_table afterCorinna Vinschen2-4/+9
inclusion of cgen.h.
2005-05-022005-05-02 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-5/+15
* elf.c (_bfd_elf_new_section_hook): Don't call _bfd_elf_get_sec_type_attr on sections from input files.
2005-05-022005-05-02 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+7
* merge.c (sec_merge_init): Call bfd_hash_table_init_n with hash table size 16699 instead of bfd_hash_table_init.
2005-05-02* bsd-uthread.c: Include "solib.h".Mark Kettenis3-3/+9
* Makefile.in (bsd-uthread.o): Update dependencies.
2005-05-022005-05-01 Paul Brook <paul@codesourcery.com>Paul Brook2-0/+12
* elflink.c (_bfd_elf_merge_symbol): Skip weak definitions if a strong definition has already been seen.
2005-05-02daily updateAlan Modra1-1/+1
2005-05-02*** empty log message ***gdbadmin1-1/+1
2005-05-012005-05-01 Paul Brook <paul@codesourcery.com>Paul Brook2-1/+9
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Treat R_ARM_PLT32 the same as R_ARM_PC24. (arm_add_to_rel): Ditto.
2005-05-01 * gdbarch.sh (deprecated_current_gdbarch_select_hack): FlushDaniel Jacobowitz3-0/+8
cached frames when changing gdbarch. * gdbarch.c: Regenerated.
2005-05-012005-05-01 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-7/+16
* MAINTAINERS: Note that cris, m68k, mn10300, sh64, sparc and vax do not build.
2005-05-01(SVR4 Process Information, The isatty call, The system call): Don't use theEli Zaretskii2-3/+9
foo(N) notation for man pages and functions.
2005-05-012005-05-01 Andrew Cagney <cagney@gnu.org>Andrew Cagney18-60/+95
* 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.
2005-05-01* somsolib.c, somsolib.h: Remove files.Mark Kettenis4-1794/+4
* Makefile.in (somsolib_h): Remove. (somsolib.o): Remove dependency.
2005-05-01* doc/binutils.texi (strip, objcopy): Clarify the description ofMaciej W. Rozycki2-3/+9
the "--strip-debug" option. Fix a typo.
2005-05-01* fbsd-nat.c: Include <sys/sysctl.h>.Mark Kettenis2-8/+27
(fbsd_pid_to_exec_file): Use KERN_PROC_PATHNAME sysctl if available. Plug memory leak. Fixes PR gdb/1922.
2005-05-01*** empty log message ***gdbadmin1-1/+1
2005-05-01daily updateAlan Modra1-1/+1
2005-04-30 * gdb.threads/staticthreads.exp: Override signal to check for hppa.Daniel Jacobowitz2-4/+16
Slightly relax "sem_post" name checking.
2005-04-30* solist.h (TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB)Mark Kettenis3-22/+63
(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.
2005-04-30daily updateAlan Modra1-1/+1
2005-04-30*** empty log message ***gdbadmin1-1/+1
2005-04-29Fix bugs related to inferior function calls on FRV using the FDPIC ABI.Kevin Buettner3-0/+18