aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2005-10-24daily updateAlan Modra1-1/+1
2005-10-23 * elf64-ppc.c (dec_dynrel_count): Don't report errors for localAlan Modra2-8/+42
syms in gc'd sections. (ppc64_elf_edit_opd): Don't adjust reloc counts when NO_OPD_RELOCS. (elf_backend_action_discarded): Define. (ppc64_elf_action_discarded): New function.
2005-10-23daily updateAlan Modra1-1/+1
2005-10-22daily updateAlan Modra1-1/+1
2005-10-21daily updateAlan Modra1-1/+1
2005-10-20daily updategdb_6_4-branchpointAlan Modra1-1/+1
2005-10-19* elf32-arm.c (find_arm_elf_section_entry): New function.Nick Clifton2-29/+49
(get_arm_elf_section_data): Use it. (unrecord_section_with_arm_elf_section_data): Use it.
2005-10-19daily updateAlan Modra1-1/+1
2005-10-18daily updateAlan Modra1-1/+1
2005-10-17daily updateAlan Modra1-1/+1
2005-10-16daily updateAlan Modra1-1/+1
2005-10-152005-10-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+13
* coff-rs6000.c (rs6000coff_vec): Initialize _bfd_match_sections_by_type with _bfd_generic_match_sections_by_type. (pmac_xcoff_vec): Likewise. * coff64-rs6000.c (rs6000coff64_vec): Likewise. (aix5coff64_vec): Likewise.
2005-10-15bfd/H.J. Lu8-0/+66
2005-10-15 H.J. Lu <hongjiu.lu@intel.com> PR ld/1467 * elf-bfd.h (_bfd_elf_match_sections_by_type): New. (_bfd_generic_match_sections_by_type): New. Defined. * elf.c (_bfd_elf_match_sections_by_type): New. * libbfd-in.h (_bfd_generic_match_sections_by_type): New. * bfd-in2.h: Regenerated. * libbfd.h: Likewise. * libbfd.c (_bfd_generic_match_sections_by_type): New. * targets.c (BFD_JUMP_TABLE_LINK): Initialize _bfd_match_sections_by_type with _bfd_generic_match_sections_by_type. (bfd_target): Add _bfd_match_sections_by_type. ld/ 2005-10-15 H.J. Lu <hongjiu.lu@intel.com> PR ld/1467 * emultempl/elf32.em: Include "elf-bfd.h". (gld${EMULATION_NAME}_place_orphan): Check section type and don't use section name for ELF input sections. * ld.texinfo: Document orphan section processing. * ldlang.c (lang_output_section_find_by_flags): Match section types by calling bfd_match_sections_by_type.
2005-10-15daily updateAlan Modra1-1/+1
2005-10-14daily updateAlan Modra1-1/+1
2005-10-13daily updateAlan Modra1-1/+1
2005-10-12daily updateAlan Modra1-1/+1
2005-10-11daily updateAlan Modra1-1/+1
2005-10-10daily updateAlan Modra1-1/+1
2005-10-09daily updateAlan Modra1-1/+1
2005-10-082005-10-08 Paul Brook <paul@codesourcery.com>Paul Brook2-1/+774
bfd/ * elf32-arm.c: Move #include "elf/arm.h" after libbfd.h. (NUM_KNOWN_ATTRIBUTES): Define. (aeabi_attribute, aeabi_attribute_list): Define. (elf32_arm_obj_tdata): Add known_eabi_attributes and other_eabi_attributes. (uleb128_size, is_default_attr, eabi_attr_size, elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute, elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link, elf32_arm_new_eabi_attr, attr_strdup, elf32_arm_add_eabi_attr_int, elf32_arm_add_eabi_attr_compat, copy_eabi_attributes, elf32_arm_merge_eabi_attributes): New functions. (elf32_arm_copy_private_bfd_data): Copy EABI object attributes. (elf32_arm_fake_sections): Handle .ARM.attributes. (elf32_arm_parse_attributes): New function. (elf32_arm_section_from_shdr): Use it. (bfd_elf32_bfd_final_link): Define. gas/ * config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT. (arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name): New variables. (arm_cpu_option_table): Add canonical_name. (arm_cpus): Populate canonical_name field. (s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu, aeabi_set_public_attributes, arm_md_end): New functions. (md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute". (md_assemble): Set thumb_arch_used and arm_arch_used. (md_begin): Set defaut cpu if CPU_DEFAULT not defined. * config/tc-arm.h (md_end): Define. * doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute. gas/testsuite/ * gas/arm/eabi_attr_1.s: New test. * gas/arm/eabi_attr_1.d: New test. * gas/arm/arm7t.d: Only disassemble code sections. * gas/arm/bignum1.d: Ignore Arm object attribute sections. * gas/arm/mapping.d: Ditto. * gas/arm/unwind.d: Ditto. * gas/elf/section0.d: Ditto. * gas/elf/section1.d: Ditto. * gas/elf/elf.exp: Set target_machine for Arm EABI based targets. * gas/elf/section2.e-armeabi: New file. include/elf/ * arm.h: Add prototypes for BFD object attribute routines. ld/testsuite/ * ld-arm/arm-rel31.d: Ignore Arm object attribute sections. * ld-arm/arm-target1-abs.d: Ditto. * ld-arm/arm-target1-rel.d: Ditto. * ld-arm/arm-target2-abs.d: Ditto. * ld-arm/arm-target2-got-rel.d: Ditto. * ld-arm/arm-target2-rel.d: Ditto.
2005-10-08daily updateAlan Modra1-1/+1
2005-10-07daily updateAlan Modra1-1/+1
2005-10-06bfd/Daniel Jacobowitz15-49/+91
* elf32-arm.c (elf32_arm_check_relocs): Avoid aliasing warnings from GCC. (elf32_arm_size_dynamic_sections): Likewise. * ecofflink.c (bfd_ecoff_debug_one_external): Likewise. * elf32-hppa.c (elf32_hppa_check_relocs): Likewise. * elf32-m32r.c (m32r_elf_check_relocs): Likewise. * elf32-m68k.c (elf_m68k_check_relocs): Likewise. * elf32-ppc.c (ppc_elf_check_relocs): Likewise. * elf32-s390.c (elf_s390_check_relocs): Likewise. (elf_s390_size_dynamic_sections): Likewise. * elf32-sh.c (sh_elf_check_relocs): Likewise. * elf64-ppc.c (ppc64_elf_check_relocs, dec_dynrel_count) (ppc64_elf_size_dynamic_sections): Likewise. * elf64-s390.c (elf_s390_check_relocs): Likewise. (elf_s390_size_dynamic_sections): Likewise. * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. (_bfd_sparc_elf_size_dynamic_sections): Likewise. * ieee.c (ieee_slurp_section_data): Likewise. * oasys.c (oasys_slurp_section_data): Likewise. opcodes/ * ppc-dis.c (struct dis_private): Remove. (powerpc_dialect): Avoid aliasing warnings. (print_insn_big_powerpc, print_insn_little_powerpc): Likewise.
2005-10-06daily updateAlan Modra1-1/+1
2005-10-05 * archive.c: Add missing SUBSECTION for documentation.Bob Wilson11-4/+37
* bfd.c: Likewise. * cache.c: Likewise. * corefile.c: Likewise. * format.c: Likewise. * init.c: Likewise. * libbfd.c: Likewise. * opncls.c: Likewise. * elf.c: Remove blank line after SECTION heading. * reloc.c: Change "howto manager" SECTION to a SUBSECTION.
2005-10-05daily updateAlan Modra1-1/+1
2005-10-04* elf32-arm.c (get_arm_elf_section_data): Cache the last pointer matched soNick Clifton2-1/+29
that the typical case of scanning for the previous section to last one can be handled quickly.
2005-10-04daily updateAlan Modra1-1/+1
2005-10-03 * elf32-xtensa.c (relocations_reach): Skip range check forBob Wilson2-0/+10
absolute literals.
2005-10-03 * elf.c (_bfd_elf_get_synthetic_symtab): Set BSF_GLOBAL onAlan Modra2-0/+9
synthetic syms.
2005-10-03daily updateAlan Modra1-1/+1
2005-10-01daily updateAlan Modra1-1/+1
2005-09-302005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-1731/+1797
* Makefile.am: Run "make dep-am". * Makefile.in: Regenerated. * aclocal.m4: Likewise.
2005-09-30 * Makefile.am: Bfin support.Catherine Moore15-139/+3516
* Makefile.in: Regenerated. * aclocal.m4: Regenerated. * archures.c (bfd_mach_bfin): New. (bfd_arch_bfin): New. bfd-in.h (bfd_bfin_elf32_create_embedded_relocs): New. * bfd-in2.h: Regenerated. * config.bfd: Bfin support. * configure: Regenerated. * configure.in: Bfin support. * libbfd.h: Regenerated. * reloc.c: Add BFD relocations for Bfin. * targets.c (bfd_elf32_bfin_vec): New. * cpu-bfin.c: New file. * elf32-bfin.c: New file.
2005-09-30 * elf64-ppc.c (ppc_type_of_stub): Check both func desc and funcAlan Modra2-28/+42
entry sym before deciding no stub is needed. (ppc64_elf_size_stubs): When calculating branch destination, don't use func desc sym for old ABI objects unless func entry is undefined.
2005-09-30daily updateAlan Modra1-1/+1
2005-09-29daily updateAlan Modra1-1/+1
2005-09-282005-09-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-5/+52
PR binutils/1321 * elf-bfd.h (_bfd_elf_setup_group_pointers): Renamed to ... (_bfd_elf_setup_sections): This. * elf.c: Likewise. * elfcode.h (elf_object_p): Likewise. * elf.c (_bfd_elf_setup_sections): Process SHF_LINK_ORDER. (_bfd_elf_copy_private_section_data): Likewise.
2005-09-282005-09-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-17/+35
* elflink.c (elf_fixup_link_order): Report locations for mixed ordered and unordered input sections.
2005-09-28daily updateAlan Modra1-1/+1
2005-09-27daily updateAlan Modra1-1/+1
2005-09-26daily updateAlan Modra1-1/+1
2005-09-25daily updateAlan Modra1-1/+1
2005-09-24daily updateAlan Modra1-1/+1
2005-09-23daily updateAlan Modra1-1/+1
2005-09-22Fix addr2line -i problem; reports incorrect function nesting for inline funcs.Jim Wilson2-23/+53
* dwarf2.c (struct funcinfo): Delete nesting_level field. (lookup_address_in_function_table): Delete code to set funcinfo caller_func field. Delete local curr_func. (scan_unit_for_symbols): New locals nested_funcs, nested_funcs_size. Delete code setting funcinfo nesting_level field. Add code to set funcinfo caller_func field.
2005-09-22daily updateAlan Modra1-1/+1
2005-09-21daily updateAlan Modra1-1/+1
2005-09-20Add mangled names to addr2line -i output.Jim Wilson2-2/+13
* dwarf2.c (find_abstract_instance_name): Don't early exit when name set. For DW_AT_name case, only set name if not already set. Handle DW_AT_MIPS_linkage_name.