aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2006-04-262006-04-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-7/+21
PR binutils/2593 * elf.c (_bfd_elf_new_section_hook): Don't set section ELF type and flags if its BFD flags have been set. (_bfd_elf_init_private_section_data): Don't copy the output ELF section type from input if it has been set to something different.
2006-04-26Add missing changelog entryAndreas Jaeger1-0/+18
2006-04-26daily updateAlan Modra1-1/+1
2006-04-25Regenerate libbfd.h.H.J. Lu1-0/+2
2006-04-252006-04-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu6-5/+68
PR binutils/2467 * elf.c (_bfd_elf_close_and_cleanup): Check elf_tdata (abfd) is NULL first. * elf32-arm.c (elf32_arm_close_and_cleanup): Check if abfd->sections is NULL. (elf32_arm_bfd_free_cached_info): New. (bfd_elf32_bfd_free_cached_info): Defined. * elfxx-target.h (bfd_elfNN_bfd_free_cached_info): Default it to _bfd_free_cached_info. * libbfd-in.h (_bfd_free_cached_info): New. * libbfd: Regenerated. * opncls.c (_bfd_delete_bfd): Check if abfd->memory is NULL. (_bfd_free_cached_info): New.
2006-04-25daily updateAlan Modra1-1/+1
2006-04-24daily updateAlan Modra1-1/+1
2006-04-23daily updateAlan Modra1-1/+1
2006-04-22daily updateAlan Modra1-1/+1
2006-04-21 * elf.c (assign_file_positions_except_relocs): Move code settingAlan Modra2-54/+61
file position of non-loaded sections.. (assign_file_positions_for_segments): ..to here.
2006-04-212006-04-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+44
PR ld/2537 * elf.c (bfd_section_from_shdr): Allow sections reserved for applications. Issue an error on sections we don't know how to handle.
2006-04-21daily updateAlan Modra1-1/+1
2006-04-20daily updateAlan Modra1-1/+1
2006-04-19 * Makefile.am: Run "make dep-am".Alan Modra3-22/+29
* Makefile.in: Regenerate.
2006-04-19bfd/Alan Modra3-6/+11
* warning.m4 (--enable-werror, -build-warnings): Format help messages. * configure: Regenerate. binutils/ * configure: Regenerate. gas/ * configure.in (--enable-targets): Indent help message. * configure: Regenerate. gprof/ * configure: Regenerate. ld/ * configure: Regenerate. opcodes/ * configure: Regenerate.
2006-04-19daily updateAlan Modra1-1/+1
2006-04-18PR 2257Nick Clifton2-2/+17
* elfcode.h (elf_object_p): Allow files with corrupt e_shstrndx fields to still be handled as ELF files. * readelf.c (SECTION_NAME): Cope with a missing string table. (process_file_header): Cope with a corrupt e_shstrndx field. (process_section_headers): Correctly handle an e_shstrndx value of SHF_UNDEF.
2006-04-18daily updateAlan Modra1-1/+1
2006-04-17daily updateAlan Modra1-1/+1
2006-04-16Update POTFILES.in.Daniel Jacobowitz2-0/+6
2006-04-16 * configure.in: Update version to 2.17.50.Daniel Jacobowitz3-2/+7
* configure: Regenerated.
2006-04-16daily updateAlan Modra1-1/+1
2006-04-15daily updateAlan Modra1-1/+1
2006-04-14 * elf32-xtensa.c (build_reloc_opcodes): New.Bob Wilson2-5/+45
(compute_text_actions): Use it to decode opcodes outside inner loop. (check_section_ebb_pcrels_fit): Add "reloc_opcodes" argument, and if it is set, use it to get the opcodes for relocations. (move_shared_literal): Adjust call to check_section_ebb_pcrels_fit.
2006-04-14daily updateAlan Modra1-1/+1
2006-04-13daily updateAlan Modra1-1/+1
2006-04-12daily updateAlan Modra1-1/+1
2006-04-11daily updateAlan Modra1-1/+1
2006-04-10daily updateAlan Modra1-1/+1
2006-04-09daily updateAlan Modra1-1/+1
2006-04-082006-04-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+50
PR ld/2513 * elf32-i386.c (GOT_TLS_MASK): New macro for tls_type. (GOT_TLS_IE_IE): Likewise. (GOT_TLS_IE_GD): Likewise. (GOT_TLS_IE_MASK): Likewise. (elf_i386_check_relocs): For global symbols, set GOT_TLS_IE_GD and GOT_TLS_IE_IE for R_386_TLS_GD and R_386_TLS_IE respectively. (allocate_dynrelocs): If both GOT_TLS_IE_IE and GOT_TLS_IE_GD are set, treat tls_type as GOT_TLS_IE_BOTH. (elf_i386_relocate_section): Likewise.
2006-04-08daily updateAlan Modra1-1/+1
2006-04-07* elf64-hppa.c (elf64_hppa_grok_prstatus): New function.Nick Clifton2-1/+71
(elf64_hppa_grok_psinfo): Likewise. (elf_backend_grok_pstatus, elf_backend_grok_psinfo): Define.
2006-04-07* elf32-m32c.c (m32c_elf_relocate_section): Generate a symbol forDJ Delorie2-0/+21
each plt entry we create.
2006-04-07daily updateAlan Modra1-1/+1
2006-04-062006-04-06 Carlos O'Donell <carlos@codesourcery.com>Carlos O'Donell9-26/+169
* Makefile.tpl: Add install-html target. * Makefile.def: Add install-html target. * Makefile.in: Regenerate. * configure.in: Add --with-datarootdir, --with-docdir, and --with-htmldir options. * configure: Regenerate. bfd/ 2006-04-06 Carlos O'Donell <carlos@codesourcery.com> * po/Make-in: Add install-html target. * Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir htmldir. Add install-html and install-html-recursive targets. * Makefile.in: Regenerate. * configure.in: AC_SUBST for datarootdir, docdir and htmldir. * configure: Regenerate. bfd/doc/ 2006-04-06 Carlos O'Donell <carlos@codesourcery.com> * Makefile.am: Add install-html and install-html-am targets. Define datarootdir, docdir and htmldir. * Makefile.in: Regenerate. binutils/ 2006-04-06 Carlos O'Donell <carlos@codesourcery.com> * po/Make-in: Add install-html target. * Makefile.am: Add install-html and install-html-recursive targets. * Makefile.in: Regenerate. * configure.in: AC_SUBST datarootdir, docdir and htmldir. * configure: Regenerate. * doc/Makefile.am: Add install-html and install-html-am targets. * doc/Makefile.in: Regenerate. etc/ 2006-04-06 Carlos O'Donell <carlos@codesourcery.com> * Makefile.in: Add install-html target. Add htmldir, docdir and datarootdir. * configure.texi: Document install-html target. * configure.in: AC_SUBST datarootdir, docdir, htmldir. * configure: Regenerate. gas/ 2006-04-06 Carlos O'Donell <carlos@codesourcery.com> * po/Make-in: Add install-html target. * Makefile.am: Add install-html and install-html-recursive targets. * Makefile.in: Regenerate. * configure.in: AC_SUBST datarootdir, docdir, htmldir. * configure: Regenerate. * doc/Makefile.am: Add install-html and install-html-am targets. * doc/Makefile.in: Regenerate. gprof/ 2006-04-06 Carlos O'Donell <carlos@codesourcery.com> * po/Make-in: Add install-html target. * Makefile.am: Add install-html, install-html-am and install-html-recursive targets. * Makefile.in: Regenerate. * configure.in: AC_SUBST datarootdir, docdir, htmldir. * configure: Regenerate. intl/ 2006-04-06 Carlos O'Donell <carlos@codesourcery.com> * intl/Makefile.in: Add html info and dvi and install-html to .PHONY Add install-html target. ld/ 2006-04-06 Carlos O'Donell <carlos@codesourcery.com> * Makefile.am: Add install-html, install-html-am, and install-html-recursive targets. * Makefile.in: Regenerate. * configure.in: AC_SUBST datarootdir, docdir, htmldir. * configure: Regenerate. * po/Make-in: Add install-html target. opcodes/ 2006-04-06 Carlos O'Donell <carlos@codesourcery.com> * Makefile.am: Add install-html target. * Makefile.in: Regenerate.
2006-04-06bfd/H.J. Lu2-18/+36
2006-04-06 H.J. Lu <hongjiu.lu@intel.com> * elfxx-ia64.c (elfNN_ia64_relax_section): Skip unneeded passes with the skip_relax_pass_0 and skip_relax_pass_1 bits in the section structure. include/ 2006-04-06 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_link_info): Replace need_relax_finalize with relax_pass. ld/ 2006-04-06 H.J. Lu <hongjiu.lu@intel.com> * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove link_info.need_relax_finalize. * ldlang.c (relax_sections): New. (lang_process): Use. Call relax_sections link_info.relax_pass times. * ldmain.c (main): Set link_info.relax_pass to 1. Remove link_info.need_relax_finalize.
2006-04-06 * elf32-bfin.c (bfinfdpic_relocs_info_hash): Sprinkle casts toBernd Schmidt2-2/+7
eliminate warnings.
2006-04-06daily updateAlan Modra1-1/+1
2006-04-052006-04-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-68/+558
James E Wilson <wilson@specifixinc.com> PR ld/2442 * elfxx-ia64.c (elfNN_ia64_dyn_sym_info): Remove next. (elfNN_ia64_local_hash_entry): Add count, sorted_count and size. (elfNN_ia64_link_hash_entry): Likewise. (elfNN_ia64_new_elf_hash_entry): Initialize count, sorted_count and size. (elfNN_ia64_hash_copy_indirect): Updated elfNN_ia64_dyn_sym_info processing. (elfNN_ia64_hash_hide_symbol): Likewise. (elfNN_ia64_global_dyn_sym_thunk): Likewise. (elfNN_ia64_local_dyn_sym_thunk): Likewise. (elfNN_ia64_global_dyn_info_free): New function. (elfNN_ia64_local_dyn_info_free): Likewise. (elfNN_ia64_hash_table_free): Free local and global elfNN_ia64_dyn_sym_info. (addend_compare): New function. (sort_dyn_sym_info): Likewise. (get_dyn_sym_info): Updated to use binary search for addend. (elfNN_ia64_check_relocs): Scan relocations to create dynamic relocation arrays first.
2006-04-05Fix -Werror problem in previous change.Bernd Schmidt1-1/+0
2006-04-05 * elf32-bfin.c (_bfin_create_got_section): Don't generate a _gpBernd Schmidt2-17/+5
symbol.
2006-04-052006-04-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+34
PR ld/2411 * elflink.c (check_dynsym): New. (elf_link_output_extsym): Use it. (bfd_elf_final_link): Likewise.
2006-04-052006-04-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+27
PR ld/2404 * elflink.c (_bfd_elf_merge_symbol): Skip the default indirect symbol from the dynamic definition with the default version if its type and the type of existing regular definition mismatch.
2006-04-05bfd/Richard Sandiford10-56/+534
* config.bfd (sparc-*-vxworks*): New stanza. * configure.in (bfd_elf32_sparc_vxworks_vec): New stanza. (bfd_elf32_sparc_vec, bfd_elf64_sparc_vec): Add elf-vxworks.lo. * configure: Regenerate. * elf32-sparc.c: Include elf-vxworks.h. (elf32_sparc_vxworks_link_hash_table_create: New. (elf32_sparc_vxworks_final_write_processing): New. (TARGET_BIG_SYM): Override for VxWorks. (TARGET_BIG_NAME, ELF_MINPAGESIZE): Likewise. (bfd_elf32_bfd_link_hash_table_create): Likewise. (elf_backend_want_got_plt, elf_backend_plt_readonly): Likewise. (elf_backend_got_header_size, elf_backend_add_symbol_hook): Likewise. (elf_backend_link_output_symbol_hook): Likewise. (elf_backend_emit_relocs): Likewise. (elf_backend_final_write_processing, elf32_bed): Likewise. * elfxx-sparc.c: Include libiberty.h and elf-vxworks.h. (sparc_vxworks_exec_plt0_entry, sparc_vxworks_exec_plt_entry): New. (sparc_vxworks_shared_plt0_entry, sparc_vxworks_shared_plt_entry): New. (_bfd_sparc_elf_link_hash_table_create): Don't initialize build_plt_entry here. (create_got_section): Initialize sgotplt for VxWorks. (_bfd_sparc_elf_create_dynamic_sections): Initialize build_plt_entry, plt_header_size and plt_entry_size, with new VxWorks-specific settings. Call elf_vxworks_create_dynamic_sections for VxWorks. (allocate_dynrelocs): Use plt_header_size and plt_entry_size. Allocate room for .got.plt and .rela.plt.unloaded entries on VxWorks. (_bfd_sparc_elf_size_dynamic_sections): Don't allocate a nop in .plt for VxWorks. Check for the .got.plt section. (sparc_vxworks_build_plt_entry): New function. (_bfd_sparc_elf_finish_dynamic_symbol): Add handling of VxWorks PLTs. Don't make _GLOBAL_OFFSET_TABLE_ and _PROCEDURE_LINKAGE_TABLE_ absolute on VxWorks. (sparc32_finish_dyn): Add special handling for DT_RELASZ and DT_PLTGOT on VxWorks. (sparc_vxworks_finish_exec_plt): New. (sparc_vxworks_finish_shared_plt): New. (_bfd_sparc_elf_finish_dynamic_sections): Call them. Use plt_header_size and plt_entry_size. * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add is_vxworks, srelplt2, sgotplt, plt_header_size and plt_entry_size fields. * Makefile.am (elfxx-sparc.lo): Depend on elf-vxworks.h. (elf32-sparc.lo): Likewise. * Makefile.in: Regenerate. * targets.c (bfd_elf32_sparc_vxworks_vec): Declare. (_bfd_target_vector): Add a pointer to it. gas/ * config/tc-sparc.c (sparc_target_format): Handle TE_VXWORKS. (GOTT_BASE, GOTT_INDEX): New. (tc_gen_reloc): Don't alter relocations against GOTT_BASE and GOTT_INDEX when generating VxWorks PIC. * configure.tgt (sparc*-*-vxworks*): Remove this special case; use the generic *-*-vxworks* stanza instead. gas/testsuite/ * gas/sparc/vxworks-pic.s, gas/sparc/vxworks-pic.d: New test. * gas/sparc/sparc.exp: Run it. Remove sparc*-*-vxworks* XFAILs. ld/ * configure.tgt (sparc*-*-vxworks*): New stanza. * emulparams/elf32_sparc_vxworks.sh: New file. * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o. (eelf32_sparc_vxworks.c): New rule. * Makefile.in: Regenerate. ld/testsuite/ * ld-sparc/vxworks1.dd, ld-sparc/vxworks1.ld, ld-sparc/vxworks1-lib.dd, * ld-sparc/vxworks1-lib.nd, ld-sparc/vxworks1-lib.rd, * ld-sparc/vxworks1-lib.s, ld-sparc/vxworks1.rd, ld-sparc/vxworks1.s, * ld-sparc/vxworks1-static.d, ld-sparc/vxworks2.s, * ld-sparc/vxworks2.sd, ld-sparc/vxworks2-static.sd: New tests. * ld-sparc/sparc.exp: Run them.
2006-04-05daily updateAlan Modra1-1/+1
2006-04-04daily updateAlan Modra1-1/+1
2006-04-03daily updateAlan Modra1-1/+1
2006-04-02daily updateAlan Modra1-1/+1
2006-04-01daily updateAlan Modra1-1/+1