aboutsummaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
...
* daily updateAlan Modra2005-04-071-1/+1
|
* daily updateAlan Modra2005-04-061-1/+1
|
* * elf64-ppc.c (dec_dynrel_count): New function split out fromAlan Modra2005-04-052-149/+145
| | | | | | ppc64_elf_edit_toc, with additional code from ppc64_elf_edit_opd. (ppc64_elf_edit_toc, ppc64_elf_edit_opd): Use it. (ppc64_elf_tls_optimize): Likewise.
* Provide .wcookie section for OpenBSD/sparc64.Nick Clifton2005-04-052-17/+44
|
* New translation: KinyarwandaNick Clifton2005-04-054-2/+3109
|
* * elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME_P): New macro.Richard Sandiford2005-04-052-4/+19
| | | | | | | | | (_bfd_mips_elf_section_from_shdr): Use it to check for recognized SHT_MIPS_OPTIONS names. Allow all sections with unrecognised section flags. (_bfd_mips_elf_fake_sections): Use MIPS_ELF_OPTIONS_SECTION_NAME_P to check for SHT_MIPS_OPTIONS sections. (_bfd_mips_elf_set_section_contents): Likewise.
* 2005-04-04 Eric Christopher <echristo@redhat.com>Eric Christopher2005-04-052-23/+19
| | | | | * elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents): Clean up gp handling code.
* bfd/H.J. Lu2005-04-053-9/+136
| | | | | | | | | | | | | | | | | | | | | | | 2005-04-04 H.J. Lu <hongjiu.lu@intel.com> * elf.c (bfd_elf_set_group_contents): Ignore linker created group section. (assign_section_numbers): Accept link_info. Check SHT_GROUP sections for relocatable files only. Remove the linker created group sections. (_bfd_elf_compute_section_file_positions): Pass link_info to assign_section_numbers. * elfxx-ia64.c (elfNN_ia64_object_p): New. (elf_backend_object_p): Defined. gas/ 2005-04-04 H.J. Lu <hongjiu.lu@intel.com> * config/tc-ia64.c (start_unwind_section): Undo the change of 2004-08-18. (generate_unwind_image, dot_endp): Likewise.
* 2005-04-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-04-052-1/+8
| | | | | * elf.c (bfd_elf_set_group_contents): Ignore linker created group section.
* daily updateAlan Modra2005-04-051-1/+1
|
* 2005-04-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-04-042-1/+5
| | | | * elf-bfd.h (elf_section_data): Use (sec) instead of sec.
* daily updateAlan Modra2005-04-041-1/+1
|
* Apply patch for binutils bug 806, approved by nickc@redhat.com.Fred Fish2005-04-032-41/+203
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-03 Fred Fish <fnf@specifixinc.com> * dwarf2.c (struct dwarf2_debug): Add dwarf_ranges_buffer and dwarf_ranges_size members. (struct comp_unit): Add base_address member. (struct funcinfo): Replace low/high members with an arange. (arange_add): Replace incoming "unit" parameter with "abfd" and "first_arange" pointers. Reorganize/rewrite function body. (decode_line_info): Change arange_add call to pass bfd and arange pointers. (lookup_address_in_line_info_table): Use arange list instead of individual low/high members. Walk function's arange list to find lowest PC in list, to test for overlapping functions. (read_debug_ranges): New function, reads the debug_ranges section. (lookup_address_in_function_table): Use arange list instead of individual low/high members. Rewrite to find smallest range that matches. (read_rangelist): Read a given rangelist from debug_ranges. (scan_unit_for_functions): Use arange list instead of individual low/high members. Handle a DW_AT_ranges attribute. (parse_comp_unit): Use arange list instead of individual low/high members. Save comp unit base address. Handle a DW_AT_ranges attribute.
* daily updateAlan Modra2005-04-031-1/+1
|
* daily updateAlan Modra2005-04-021-1/+1
|
* 2005-04-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-04-012-0/+5
| | | | * elf.c (assign_section_numbers): Really use the kept section.
* 2005-03-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-04-014-9/+58
| | | | | | | | | | | | * elf-bfd.h (_bfd_elf_check_kept_section): New. * elf.c (assign_section_numbers): When sh_link points to a discarded section, call _bfd_elf_check_kept_section to see if the kept section can be used. Otherwise reject sh_link pointing to discarded section. * elflink.c (_bfd_elf_check_kept_section): New. (elf_link_input_bfd): Use it.
* * elf64-ppc.c (ppc64_elf_edit_toc): Account for dynamic relocsAlan Modra2005-04-012-0/+106
| | | | that we no longer need.
* (ppc64_elf_check_relocs): Remove unnecessary SEC_ALLOC check.Alan Modra2005-04-012-3/+3
|
* * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Return -1 on errorsAlan Modra2005-04-012-9/+16
| | | | rather than 0.
* 2005-03-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-04-012-1/+5
| | | | * elf.c (assign_section_numbers): Fix a typo.
* daily updateAlan Modra2005-04-011-1/+1
|
* 2005-03-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2005-03-312-10/+16
| | | | | | * elflink.c (elf_link_input_bfd): Remove the extra `\n' in error message. (_bfd_elf_section_already_linked): Likewise.
* * bfd/config.in: Regenerate.Jerome Guitton2005-03-312-1/+6
|
* * bfd/config.in (HAVE_DECL_BASENAME): New configure macro.Jerome Guitton2005-03-314-0/+85
| | | | | * bfd/configure.in: Check for basename. * bfd/configure: Regenerate.
* daily updateAlan Modra2005-03-311-1/+1
|
* * bfd/bfd-in.h (bfd_is_arm_mapping_symbol_name): Rename fromJulian Brown2005-03-305-6/+18
| | | | | | | | | | | | bfd_elf32_is_arm_mapping_symbol_name. * bfd/bfd-in2.h: Regenerate. * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename from bfd_elf32_is_arm_mapping_symbol_name. * bfd/elf32-arm.c (elf32_arm_is_target_special_symbol): Rename bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name. (arm_elf_find_function): Likewise. (elf32_arm_output_symbol_hook): Likewise. * gas/config/tc-arm.c (arm_adjust_symtab): Likewise.
* * bfd/bfd-in.h (bfd_elf32_is_arm_mapping_symbol_name): Add prototype.Julian Brown2005-03-305-13/+35
| | | | | | | | | | | | | | | | | | | | * bfd/bfd-in2.h: Regenerate. * bfd/elf32-arm.c (elf32_arm_is_target_special_symbol): Rename call to bfd_elf32_is_arm_mapping_symbol_name. (elf32_arm_output_symbol_hook): Likewise. (arm_elf_find_function): Likewise, and include STT_NOTYPE in test for mapping symbols. (is_arm_mapping_symbol_name): Function moved from here... * bfd/cpu-arm.c (bfd_elf32_is_arm_mapping_symbol_name): ...to here, renamed and made global. * gas/config/tc-arm.c (mapping_state): Change documentation in function comment to cross-reference spec instead. Change type of mapping symbols to BSF_NO_TYPE. (arm_adjust_symtab): Don't change type of mapping symbols here. * gas/testsuite/gas/arm/mapping.d: Update expected output. * ld/testsuite/ld-arm/arm-app-abs32.d: Likewise. * ld/testsuite/ld-arm/arm-app.d: Likewise. * ld/testsuite/ld-arm/mixed-app.d: Likewise.
* * configure.in: Check for ffs decl and alphabetize.Aaron W. LaFramboise2005-03-305-61/+153
| | | | | | | * config.in: Regenerate. * configure: Regenerate. * sysdep.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
* daily updateAlan Modra2005-03-301-1/+1
|
* Approved by nickc@redhat.comFred Fish2005-03-292-17/+7
| | | | | | | 2005-03-29 Fred Fish <fnf@specifixinc.com> * dwarf2.c (struct comp_unit): Fix typo. (scan_unit_for_functions): Remove unused local variable "name" and dead code that set it.
* bfd/Daniel Jacobowitz2005-03-295-80/+743
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bfd-in2.h, libbfd.h: Regenerated. * reloc.c: Add ARM TLS relocations. * elf32-arm.c (elf32_arm_howto_table): Add dynamic TLS relocations. (elf32_arm_tls_gd32_howto, elf32_arm_tls_ldo32_howto) (elf32_arm_tls_ldm32_howto, elf32_arm_tls_le32_howto) (elf32_arm_tls_ie32_howto): New. (elf32_arm_howto_from_type): Support TLS relocations. (elf32_arm_reloc_map): Likewise. (elf32_arm_reloc_type_lookup): Likewise. (TCB_SIZE): Define. (struct elf32_arm_obj_tdata): New. (elf32_arm_tdata, elf32_arm_local_got_tls_type): Define. (elf32_arm_mkobject): New function. (struct elf32_arm_relocs_copied): Add pc_count. (elf32_arm_hash_entry, GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD) (GOT_TLS_IE): Define. (struct elf32_arm_link_hash_table): Add tls_ldm_got. (elf32_arm_link_hash_newfunc): Initialize tls_type. (elf32_arm_copy_indirect_symbol): Copy pc_count and tls_type. (elf32_arm_link_hash_table_create): Initialize tls_ldm_got. (dtpoff_base, tpoff): New functions. (elf32_arm_final_link_relocate): Handle TLS relocations. (IS_ARM_TLS_RELOC): Define. (elf32_arm_relocate_section): Warn about TLS mismatches. (elf32_arm_gc_sweep_hook): Handle TLS relocations and pc_count. (elf32_arm_check_relocs): Detect invalid symbol indexes. Handle TLS relocations and pc_count. (elf32_arm_adjust_dynamic_symbol): Check non_got_ref. (allocate_dynrelocs): Handle TLS. Bind REL32 relocs to local calls. (elf32_arm_size_dynamic_sections): Handle TLS. (elf32_arm_finish_dynamic_symbol): Likewise. (bfd_elf32_mkobject): Define. gas/ * config/tc-arm.c (arm_parse_reloc): Add TLS relocations. (md_apply_fix3): Mark TLS symbols. (tc_gen_reloc): Handle TLS relocations. (arm_fix_adjustable): Ignore TLS relocations. (s_arm_elf_cons): Support expressions after decorated symbols. gas/testuite/ * gas/arm/tls.s, gas/arm/tls.d: New files. * gas/arm/arm.exp: Run TLS test. include/elf/ * arm.h: Add TLS relocations. ld/testsuite/ * ld-arm/tls-lib.s, ld-arm/tls-lib.d, ld-arm/tls-lib.r, ld-arm/tls-app.s, ld-arm/tls-app.d, ld-arm/tls-app.r: New files. * ld-arm/arm-lib.ld, ld-arm/arm-dyn.ld: Increase data segment alignment. * ld-arm/arm-elf.exp: Run TLS tests.
* * elf32-arm.c (elf32_arm_check_relocs): Increment count for allDaniel Jacobowitz2005-03-292-15/+9
| | | | relocation types. Don't count relocations which will use a PLT.
* * elf.c (elfcore_grok_nto_status): Print tid as long.Joel Brobecker2005-03-292-2/+7
| | | | (elfcore_grok_nto_regs): Likewise.
* * irix-core.c: Remove some unnecessary prototypes.Joel Brobecker2005-03-292-16/+4
|
* * irix-core.c: Convert to ISO C.Joel Brobecker2005-03-292-31/+26
|
* * irix-core.c (do_sections): Replace + by | in expression.Joel Brobecker2005-03-292-2/+9
| | | | | (irix_core_core_file_matches_executable_p): Add ATTRIBUTE_UNUSED to unused parameters to avoid a compiler warning.
* daily updateAlan Modra2005-03-291-1/+1
|
* * netbsd-core.c: Convert to ISO C. Fix formatting.Mark Kettenis2005-03-282-32/+19
|
* Update BFD_VERSION_DATE to 20050327 by hand.H.J. Lu2005-03-271-1/+1
|
* 2005-03-24 Eric Christopher <echristo@redhat.com>Eric Christopher2005-03-242-20/+24
| | | | | | | | | | * elfxx-mips.c: Revert previous patch. 2005-03-24 Eric Christopher <echristo@redhat.com> * ld-mips-elf/rel32-n32.d: Revert changes. * ld-mips-elf/rel32-o32.d: Ditto. * ld-mips-elf/rel64.d: Ditto.
* (_bfd_target_vector): Only include the bfd_elf32_ia64_hpux_big_vec vectorNick Clifton2005-03-242-0/+8
| | | | when building a 64-bit BFD with all targets enabled.
* (BFD32_BACKENDS): Delete elf32-ia64.lo.Nick Clifton2005-03-243-2/+12
| | | | (BFD64_BACKENDS): Add elf32-ia64.lo.
* bfd/ChangeLog:Eric Christopher2005-03-242-20/+29
| | | | | | | | | | | | | | | | | | | | | | 2005-03-23 Eric Christopher <echristo@redhat.com> * elfxx-mips.c (MIPS_ELF_READONLY_SECTION): New. (mips_elf_calculate_relocation): Use. Define DF_TEXTREL after emitting relocation. (_bfd_mips_elf_adjust_dynamic_symbol): Ditto. (_bfd_mips_elf_check_relocs): Remove code to set DF_TEXTREL and readonly_reloc. ld/testsuite/ChangeLog: 2005-03-23 Eric Christopher <echristo@redhat.com> * ld-mips-elf/textrel-1.s, ld-mips-elf/textrel-1.d: New test. * ld-mips-elf/mips-elf.exp: Call it. * ld-mips-elf/rel32-n32.d: Update for DF_TEXTREL removal. * ld-mips-elf/rel32-o32.d: Ditto. * ld-mips-elf/rel64.d: Ditto.
* Accept any C library to accompany a GNU Linux implementation, not just the GNUNick Clifton2005-03-234-22/+30
| | | | C library.
* bfd/H.J. Lu2005-03-235-25/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-22 H.J. Lu <hongjiu.lu@intel.com> * bfd-in.h (_bfd_elf_provide_symbol): New. * bfd-in2.h: Regenerated. * elf32-ppc.c (set_linker_sym): Moved to elflink.c. (ppc_elf_set_sdata_syms): Call _bfd_elf_provide_symbol instead of set_linker_sym. * elflink.c (_bfd_elf_provide_symbol): New. Moved and renamed from elf32-ppc.c. ld/ 2005-03-22 H.J. Lu <hongjiu.lu@intel.com> * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_provide_bound_symbols to provide __preinit_array_start, __preinit_array_end, __init_array_start, __init_array_end, __fini_array_start and __fini_array_end. * scripttempl/elf.sc: Don't provide __preinit_array_start, __preinit_array_end, __init_array_start, __init_array_end, __fini_array_start nor __fini_array_end.
* daily updateAlan Modra2005-03-221-1/+1
|
* * hash.c (strtab_hash_newfunc): Fix typo in allocated size.Hans-Peter Nilsson2005-03-222-1/+5
|
* include ChangeLogBob Wilson2005-03-222-30/+60
| | | | | | | | | * xtensa-isa.h: Update a comment and whitespace. bfd ChangeLog * xtensa-isa.c (xtensa_opcode_lookup, xtensa_state_lookup, xtensa_sysreg_lookup_name, xtensa_interface_lookup, xtensa_funcUnit_lookup): Skip bsearch call if count is zero. (xtensa_opcode_decode): Rearrange code.
* Oops - fix typo in ISO-C90ifcationNick Clifton2005-03-221-2/+2
|