aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2005-05-04daily updateAlan Modra1-1/+1
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-03Regenerated.H.J. Lu1-32/+18
2005-05-03bfd/H.J. Lu14-105/+216
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-03daily updateAlan Modra1-1/+1
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-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-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-01daily updateAlan Modra1-1/+1
2005-04-30daily updateAlan Modra1-1/+1
2005-04-29 * config.bfd: Add h8300*-*-rtemscoff.Daniel Jacobowitz2-1/+11
Switch h8300*-*-rtems* to elf.
2005-04-29bfd/Daniel Jacobowitz4-468/+239
* 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.
2005-04-29daily updateAlan Modra1-1/+1
2005-04-282005-04-28 Paul Brook <paul@codesourcery.com>Paul Brook2-2/+17
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.
2005-04-28Applied this patch for Julian Brown <julian@codesourcery.com>Nick Clifton2-1/+8
* elflink.c (_bfd_elf_provide_symbol): Provide symbol for weak import.
2005-04-28Set BFD_VERSION_DATE to 20050428.H.J. Lu1-1/+1
2005-04-272005-04-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu8-33/+56
* elf-bfd.h (bfd_elf_sym_name): Also take "asection *". * elf.c (bfd_elf_sym_name): Updated. (group_signature): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_edit_opd): Likewise. (ppc64_elf_edit_toc): Likewise. (ppc64_elf_relocate_section): Likewise. * elfcode.h (elf_slurp_symbol_table): Likewise. * elflink.c (elf_link_input_bfd): Likewise. * elfxx-ia64.c (elfNN_ia64_relocate_section): Call bfd_elf_sym_name to get local symbol name when reporting errors.
2005-04-27Remove spurious spaces added by previous deltaNick Clifton1-1/+1
2005-04-27Set BFD_VERSION_DATE to 20050427.H.J. Lu1-1/+1
2005-04-27(elf_link_input_bfd): Handle the case where a badly formatted input file resultsNick Clifton2-0/+23
in a reloc which has no associated global symbol
2005-04-26Update BFD_VERSION_DATE to 20050426.H.J. Lu1-1/+1
2005-04-26 * bfd.m4 (BFD_NEED_DECLARATION): Restore.Jerome Guitton2-0/+34
2005-04-25 * elfxx-sparc.c (sparc_elf_append_rela_64): Add BFD64 protection.David S. Miller2-2/+21
(sparc_elf_r_info_64, _bfd_sparc_elf_finish_dynamic_symbol, sparc64_finish_dyn, _bfd_sparc_elf_finish_dynamic_sections): Likewise.
2005-04-25bfd/H.J. Lu2-0/+8
2005-04-25 H.J. Lu <hongjiu.lu@intel.com> PR 858 * elflink.c (elf_link_input_bfd): Make non-debugging reference to discarded section an error. ld/testsuite/ 2005-04-25 H.J. Lu <hongjiu.lu@intel.com> * ld-discard/extern.d: Expect error. * ld-discard/start.d: Likewise. * ld-discard/static.d: Likewise.
2005-04-22 * configure.in: Replace BFD_NEED_DECLARATION checks by theJerome Guitton6-216/+177
corresponding AC_CHECK_DECLS. * sysdep.h: Replace NEED_DECLARATION_* checks by the corresponding HAVE_DECL_*. * bfd.m4 (BFD_NEED_DECLARATION): Remove, obsolete. * configure: Regenerate. * config.in: Ditto.
2005-04-222005-04-21 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-6/+18
* Makefile.am (INCLUDES): New. Add -D_GNU_SOURCE. (chew.o): Use it. * Makefile.in: Regenerate.
2005-04-22daily updateAlan Modra1-1/+1
2005-04-21 * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): RemoveAndreas Schwab3-5/+8
unsigned from type of dynamic_interpreter. * elfxx-sparc.c (_bfd_sparc_elf_link_hash_table_create): Remove casts again.
2005-04-21 * elf.c (assign_section_numbers): Fix comment.Andreas Schwab2-1/+5
2005-04-21 * som.c (som_bfd_print_private_bfd_data): Add explicit cast to longJerome Guitton2-10/+19
for struct som_exec_auxhdr fields.
2005-04-21Update to ISO-C90 and fix formattingNick Clifton34-7067/+5624
2005-04-21daily updateAlan Modra1-1/+1
2005-04-20 * elfxx-sparc.c (sparc_elf_r_symndx_64): Fix compiler warning.David S. Miller2-4/+13
(_bfd_sparc_elf_link_hash_table_create): Likewise. (allocate_dynrelocs): Likewise.
2005-04-20 * configure.in: Fix the check for basename declaration. Add checkJerome Guitton5-3/+342
for declarations of ftello, ftello64, fseeko, fseeko64. * configure: Regenerate. * config.in: Ditto. * sysdep.h: If needed, declare ftello, ftello64, fseeko, fseeko64.
2005-04-20daily updateAlan Modra1-1/+1
2005-04-19 * elfxx-sparc.c: New file.David S. Miller8-6986/+4050
* elfxx-sparc.h: New file. * Makefile.in (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. * configure.in (bfd_elf32_sparc_vec): Add elfxx-sparc.lo (bfd_elf64_sparc_vec): Likewise. * configure: Regenerate. * elf32-sparc.c: Remove common code now in elfxx-sparc.c * elf64-sparc.c: Likewise, also use elf64_sparc_*() naming which is more consistent with elf32-sparc.c
2005-04-19 * elfxx-mips.c (struct mips_elf_link_hash_entry): Update comment.Daniel Jacobowitz2-2/+8
(mips_elf_create_local_got_entry): Check h->root.forced_local.
2005-04-19bfd/Alan Modra2-7/+31
* elf32-ppc.c (ppc_elf_check_relocs): Don't bother with dynamic relocs in non-SEC_ALLOC sections. (ppc_elf_gc_sweep_hook): Likewise. (ppc_elf_relax_section): Likewise. (ppc_elf_relocate_section): Likewise. ld/testsuite/ * ld-powerpc/reloc.d: Update to suit removal of non-alloc relocs.
2005-04-19daily updateAlan Modra1-1/+1
2005-04-18(xcoff64_core_p): Fix compile time warning assigning a value to return_value.Nick Clifton2-1/+6
2005-04-182005-04-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+14
PR 855 * elf.c (_bfd_elf_copy_private_section_data): Don't copy linker created group data.
2005-04-182005-04-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-5/+14
PR 855 * elf.c (setup_group): Properly handle zero group count.
2005-04-18daily updateAlan Modra1-1/+1
2005-04-17* som.c (hppa_som_reloc, som_mkobject, som_is_space)Mark Kettenis2-16/+43
(som_is_subspace, compare_subspaces, som_compute_checksum) (som_build_and_write_symbol_table, som_slurp_symbol_table): New protoypes. (hppa_som_reloc, compare_syms, compare_subspaces) (som_print_symbol, som_get_section_contents) (som_set_section_contents): Remove space after 'void *'. (som_bfd_print_private_bfd_data): Use %lx to print longs. (som_bfd_merge_private_bfd_data) (som_bfd_copy_private_header_data, som_bfd_set_private_flags): New defines.
2005-04-17daily updateAlan Modra1-1/+1
2005-04-16daily updateAlan Modra1-1/+1
2005-04-15 * bfd/bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.Julian Brown4-9/+47
* bfd/bfd-in2.h: Regenerate. * bfd/elf32-arm.c (elf32_arm_link_hash_table): New field, 'use_blx'. (elf32_arm_link_hash_table_create): Initialise fix_v4bx, use_blx. (bfd_elf32_arm_set_target_relocs): Handle use_blx. (elf32_arm_final_link_relocate): Use Thumb BLX for R_ARM_THM_PC22 relocations if requested to. (allocate_dynrelocs): Don't count size of omitted Thumb stubs based on use_blx rather than symbian_p. (elf32_arm_finish_dynamic_symbol): Don't output Thumb PLT stubs if use_blx is in effect. (elf32_arm_symbian_link_hash_table_create): Enable use_blx by default for SymbianOS. * ld/ld.texinfo: Document --use-blx. * ld/emultempl/armelf.em (use_blx): New variable. (arm_elf_create_output_section_statements): Communicate value of use_blx to bfd. (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX. (PARSE_AND_LIST_OPTIONS): Add --use-blx option. (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case.
2005-04-15Use fprintf_vma to print vma values.Nick Clifton2-22/+11