aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2001-10-20daily updateAlan Modra1-1/+1
2001-10-192001-10-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+7
* elfcode.h (elf_object_p): Don't clear D_PAGED if the section size is empty.
2001-10-192001-10-18 H.J. Lu <hjl@gnu.org>H.J. Lu3-2/+11
* elf32-i370.c (i370_elf_relocate_section): Ignore R_XXX_NONE. * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
2001-10-19daily updateAlan Modra1-1/+1
2001-10-18 * section.c (_bfd_strip_section_from_output): Don't countJakub Jelinek2-1/+9
SEC_EXCLUDE sections as references. Set SEC_EXCLUDE.
2001-10-18daily updateAlan Modra1-1/+1
2001-10-17 * elf-m10200.c (mn10200_elf_relax_section): Cast assignment toAlan Modra11-15/+29
Elf_Internal_Shdr.contents now that it's no longer a PTR. * elf-m10300.c (mn10300_elf_relax_section): Likewise. * elf32-h8300.c (elf32_h8_relax_section): Likewise. * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise. * elf32-sh.c (sh_elf_relax_section): Likewise. * elf64-alpha.c (elf64_alpha_relax_section): Likewise. * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. * elf.c (setup_group): Warning fixes. * elflink.h (elf_link_sort_relocs): Likewise. * pdp11.c (slurp_reloc_table): Likewise.
2001-10-172001-10-16 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2-2/+7
* elflink.h (elf_link_sort_relocs): Remove unnecessary pointer casts.
2001-10-17daily updateAlan Modra1-1/+1
2001-10-162001-10-15 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+11
* elflink.h (elf_link_input_bfd): Set type to BFD_RELOC_NONE for relocations against discarded link-once section.
2001-10-16daily updateAlan Modra1-1/+1
2001-10-15 * elf32-i386.c (elf_i386_relocate_section): Report some detail onAlan Modra2-29/+34
bfd_reloc_outofrange and similar errors.
2001-10-15 * elf.c (_bfd_elf_link_hash_copy_indirect): Test ind->root.typeAlan Modra7-6/+16
rather than ind->weakdef. * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise. * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
2001-10-15 * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Merge dyn_relocAlan Modra8-15/+125
counts for aliases instead of aborting. * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Set plt.offset to -1 for non-function symbols. * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise. * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Refer to plt.offset instead of plt.refcount when setting to -1.
2001-10-15daily updateAlan Modra1-1/+1
2001-10-14daily updateAlan Modra1-1/+1
2001-10-13daily updateAlan Modra1-1/+1
2001-10-12Treat R_ARM_THM_PC22 like R_ARM_PC24.Nick Clifton2-2/+11
2001-10-12daily updateAlan Modra1-1/+1
2001-10-11daily updateAlan Modra1-1/+1
2001-10-10 * elflink.h (elf_link_sort_cmp2): Don't mix PLT and non-PLTJakub Jelinek2-2/+7
relocations against the same symbol in .rel{,a}.dyn section.
2001-10-10 * aout-encap.c: Fix comment typos.Kazu Hirata22-22/+46
* aoutx.h: Likewise. * archive.c: Likewise. * bout.c: Likewise. * coff64-rs6000.c: Likewise. * coffcode.h: Likewise. * coffgen.c: Likewise. * cofflink.c: Likewise. * coff-mips.c: Likewise. * ecoff.c: Likewise. * elf32-m32r.c: Likewise. * libcoff-in.h: Likewise. * libecoff.h: Likewise. * libxcoff.h: Likewise. * nlm32-i386.c: Likewise. * pdp11.c: Likewise. * section.c: Likewise. * som.c: Likewise. * som.h: Likewise. * bfd-in2.h: Regenerate. * libcoff.h: Likewise.
2001-10-10 * elf.c (elf_map_symbols): Don't create new section symbols; UseAlan Modra2-243/+233
existing section syms. Update comments. (copy_private_bfd_data): Formatting fixes. (elfcore_grok_win32pstatus): Likewise. (swap_out_syms): Likewise. Remove unnecessary level of braces.
2001-10-10daily updateAlan Modra1-1/+1
2001-10-09 * elf-bfd.h (struct bfd_elf_section_data): Rename "group" toAlan Modra3-26/+37
"group_name". (elf_group_name): Define. (elf_next_in_group): Define. * elf.c: Make use of elf_group_name and elf_next_in_group throughout. (setup_group): Don't use sec->lineno for SHT_GROUP section to store first member section; Instead use elf_next_in_group. (bfd_section_from_shdr): Likewise. (set_group_contents): Likewise. Use elf_section_syms, not sec->symbol.
2001-10-09 * elf-bfd.h (struct bfd_elf_section_data): Add "group" andAlan Modra8-34/+392
"next_in_group". Fix gp and gp_size comments. * elf.c (union elf_internal_group): New. (setup_group): New function. (_bfd_elf_make_section_from_shdr): Set BFD flags for SHT_GROUP. Call setup_group for SHF_GROUP sections. (bfd_section_from_shdr): Build a BFD section for SHT_GROUP. (elf_fake_sections): Set header type for SEC_GROUP, and header flags for sections in a group. (set_group_contents): New function. (_bfd_elf_compute_section_file_positions): Call it. (assign_section_numbers): Set sh_link for SHT_GROUP. * elflink.h (gc_mark_hook): Handle section groups. * elfxx-target.h: Add SEC_GROUP to applicable_flags. * section.c (SEC_GROUP): Define. (struct sec): Comment fixes. * bfd-in2.h: Regenerate. * elf.c (bfd_elf_print_symbol): Formatting fix; migrate expression out of function args. (_bfd_elf_canonicalize_reloc): Similarly. (_bfd_elf_get_symtab): Here too. (_bfd_elf_canonicalize_dynamic_symtab): And here. * elfcode.h (elf_slurp_symbol_table): Don't recalculate size for bfd_bread, and remove unnecessary cast.
2001-10-08 * bfd/config.bfd (targ_cpu): Add arm9e-*-elf.Aldy Hernandez2-0/+8
2001-10-07daily updateAlan Modra1-1/+1
2001-10-06 * dwarf2.c (comp_unit_find_nearest_line): Check for end ofStephane Carrez2-1/+7
compilation unit.
2001-10-06 * bfd.c (bfd_assert): Report bfd version.Alan Modra2-5/+9
(_bfd_abort): Likewise.
2001-10-06 * elflink.h (elf_link_input_bfd): Don't zero discarded link-onceAlan Modra2-14/+52
section sym values. Instead replace any relocs against them with relocs against STN_UNDEF, which has a zero value.
2001-10-06 * elf32-arc.c (elf_arc_howto_table): Set partial_inplace for allAlan Modra2-3/+8
relocs.
2001-10-06daily updateAlan Modra1-1/+1
2001-10-05 * som.h (som_exec_data): New field "version_id".Jeff Law3-4/+23
* som.c (som_object_setup): Record the version_id if it exists. (som_prep_headers): Do not initialize version_id here. (som_finish_writing): Initialize version_id here.
2001-10-05 * elf32-mips.c (elf_mips_howto_table): Fix some relocation howtosThiemo Seufer2-12/+18
according to the MIPS/SGI ELF64 ABI Draft. (mips_elf_sort_hash_table): Typo.
2001-10-05daily updateAlan Modra1-1/+1
2001-10-04Fix a comment typo in last commit.Alan Modra2-1/+3
2001-10-04 * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Bail out afterAlan Modra2-1/+10
copying flags if this is a weakdef.
2001-10-04somehow missed committing this.Alan Modra1-3/+4
* dep-in.sed: Remove symcat.h from dependencies.
2001-10-04 * elf-bfd.h (struct elf_link_hash_entry): Reorganise for betterAlan Modra2-26/+29
packing.
2001-10-04 * elf32-mips.c (mips_elf_record_global_got_symbol): Set got.offsetAlan Modra2-5/+10
to 1 rather than 0 to avoid confusing copy_indirect_symbol. (mips_elf_sort_hash_table_f): Compare got.offset against 1.
2001-10-04 * Makefile.am (BFD_H_DEPS): Add symcat.h. Ensure everythingAlan Modra3-1192/+1073
depends on $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS), not just those backends we configure. Run "make dep-am". (install-data-local): Install symcat.h. * dep-in.sed: Remove symcat.h from dependencies. * Makefile.in: Regenerate.
2001-10-04daily updateAlan Modra1-1/+1
2001-10-03Add support for -z nocopyreloc.Alan Modra2-0/+11
2001-10-03 * elf64-mips.c (elf_backend_may_use_rela_p): New define.Thiemo Seufer2-1/+11
(elf_backend_default_use_rela_p): New define.
2001-10-03 * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Fix typos in lastAlan Modra2-3/+6
change.
2001-10-03bfd/ChangeLogAlan Modra9-47/+69
* configure.in (AC_OUTPUT <bfd-in3.h>): Remove version.h. * configure: Regenerate. * Makefile.am (BFD_H_FILES): Add version.h. * Makefile.in: Regenerate. * po/SRC-POTFILES.in: Regenerate. bfd/doc/ChangeLog * Makefile.am (BFD_H_DEP): Add ../version.h. * Makefile.in: Regenerate.
2001-10-03 * elflink.h (elf_fix_symbol_flags): Copy flags to weakdef usingAlan Modra8-9/+40
elf_backend_copy_indirect_symbol so that backend has a chance to copy other necessary fields. * elf-bfd.h (struct elf_backend_data): Update description of elf_backend_copy_indirect_symbol. * elf.c (_bfd_elf_link_hash_copy_indirect): Bail out after copying flags if this is a weakdef. * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. (elfNN_ia64_aix_add_symbol_hook): Use elf_link_hash_lookup rather than bfd_link_hash_lookup. * elf32-i386 (elf_i386_adjust_dynamic_symbol): Don't do copy reloc processing for weakdefs. * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
2001-10-03daily updateAlan Modra1-1/+1
2001-10-02Fix (for the last time, I hope) handling of R_ARC_B22_PCREL.Nick Clifton1-7/+32