aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2008-08-06add pr numberAlan Modra1-0/+1
2008-08-06daily updateAlan Modra1-1/+1
2008-08-05 * coffcode.h (coff_slurp_line_table): bfd_alloc lineno_cache firstAlan Modra2-132/+140
so that we don't inadvertently free it. Use bfd_alloc for sort arrays, and memcpy sorted line table.
2008-08-05daily updateAlan Modra1-1/+1
2008-08-04 * elf32-spu.c (spu_elf_auto_overlay): Use the maximum possibleAlan Modra2-4/+13
if --fixed-space request is too large.
2008-08-04Set LC_ALL=C rather than unsetting LC_COLLATE for sort.Alan Modra4-50/+57
2008-08-04daily updateAlan Modra1-1/+1
2008-08-03daily updateAlan Modra1-1/+1
2008-08-02 * elf32-spu.c (mark_overlay_section): Move code calculatingAlan Modra2-9/+18
max_overlay_size to correct block. (spu_elf_auto_overlay): Don't use %x in einfo error message.
2008-08-02daily updateAlan Modra1-1/+1
2008-08-01 * elfcore.h (elf_core_file_p): Ensure we have a backend matchAlan Modra3-0/+14
with the correct arch size before rejecting the generic fallback. * elfcode.h (elf_object_p): Likewise. Ensure arch size matches before accepting a target.
2008-08-01 * elf.c (rewrite_elf_program_header): Don't wrap p_paddr toAlan Modra2-10/+28
include file or program headers.
2008-08-01daily updateAlan Modra1-1/+1
2008-07-31daily updateAlan Modra1-1/+1
2008-07-30Silence gcc printf warningsAlan Modra20-55/+70
2008-07-30daily updateAlan Modra1-1/+1
2008-07-29daily updateAlan Modra1-1/+1
2008-07-28 * elfxx-mips.c (mips_elf_calculate_relocation): Avoid generatingDaniel Jacobowitz2-18/+89
relocations for undefined weak symbols with non-default visibility. (_bfd_mips_elf_check_relocs): Use possibly_dynamic_relocs for global symbols in shared libraries. (allocate_dynrelocs): New function. (_bfd_mips_elf_adjust_dynamic_symbol): Do not handle possibly_dynamic_relocs here. (_bfd_mips_elf_size_dynamic_sections): Call allocate_dynrelocs.
2008-07-28bfd/ChangeLog:Alexandre Oliva3-0/+76
* elf32-i386.c (struct elf_i386_link_hash_table): Added field tls_module_base. (elf_i386_link_hash_table_create): Initialize it. (elf_i386_always_size_sections): Set it. (set_tls_module_base): New. (elf_i386_relocate_sections): Call it. * elf64-x86-64.c (struct elf64_x86_64_link_hash_table): Added field tls_module_base. (elf64_x86_64_link_hash_table_create): Initialize it. (elf64_x86_64_always_size_sections): Set it. (set_tls_module_base): New. (elf64_x86_64_relocate_sections): Call it. Reported by Cary Coutant <ccoutant@google.com> ld/testsuite/ChangeLog: * ld-i386/tlsbindesc.dd: Adjust incorrect expectations for LD to LE relaxation. * ld-x86-64/tlsbindesc.dd: Likewise. * ld-i386/tlsbindesc.rd: Adjust address of _TLS_MODULE_BASE_. * ld-x86-64/tlsbindesc.rd: Likewise. Reported by Cary Coutant <ccoutant@google.com>
2008-07-28 * elf32-arm.c (arm_map_one_stub): Declare variables at beginningAlan Modra3-2/+10
of block. * elf32-avr.c (get_local_syms): Likewise.
2008-07-28bfd/Alan Modra3-38/+30
PR 6769 * bfd-in.h (BFD_VMA_FMT): Define. (printf_vma, sprintf_vma): Use the above. (_bfd_int64_low, _bfd_int64_high): Delete. * bfd-in2.h: Regenerate. binutils/ PR 6769 * readelf.c (print_dec_vma, print_hex_vma): Delete. (print_vma): Use BFD_VMA_FMT. * size.c (size_number, rprint_number): Likewise.
2008-07-28daily updateAlan Modra1-1/+1
2008-07-27 * elf.c (_bfd_elf_make_section_from_shdr): Ignore return fromAlan Modra2-11/+18
elf_parse_notes. Use bfd_malloc_and_get_section. (elf_parse_notes): Validate note namesz and descsz.
2008-07-27daily updateAlan Modra1-1/+1
2008-07-26Support PowerPC single-precision float.Alan Modra2-2/+19
2008-07-26daily updateAlan Modra1-1/+1
2008-07-25daily updateAlan Modra1-1/+1
2008-07-24 * elf32-mips.c (elf_backend_write_section): Define.Daniel Jacobowitz2-0/+5
2008-07-24 * elf.c (_bfd_elf_map_sections_to_segments): Catch off by oneNick Clifton2-1/+6
error assigning sections to segments.
2008-07-24daily updateAlan Modra1-1/+1
2008-07-23daily updateAlan Modra1-1/+1
2008-07-22 * elf.c (_bfd_elf_map_sections_to_segments): Allow sections inNick Clifton2-2/+14
adjoining pages to be included in the same segment.
2008-07-222008-07-22 Simon Baldwin <simonb@google.com>Chris Demetriou2-0/+14
* elflink.c (elf_link_output_extsym): Set st_size to zero for symbols from dynamic libraries.
2008-07-22daily updateAlan Modra1-1/+1
2008-07-212008-07-21 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+9
PR ld/4424 * elflink.c (_bfd_elf_merge_symbol): Call bed->relocs_compatible to check if 2 inputs are compatible.
2008-07-21 * elf.c (assign_file_positions_for_load_sections): Print vma inNick Clifton2-1/+6
error message about overlapping section vmas.
2008-07-212008-07-21 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-10/+7
PR ld/6747 * elf32-frv.c (elf32_frv_relocate_section): Revert the change for PR ld/6446 checked in by accident on May 21, 2008.
2008-07-21 * coff-sh.c (bfd_pe_print_pdata): Define to NULL for nonNick Clifton5-187/+208
COFF_WITH_PE based SH ports. * libpei.h (_bfd_XX_print_ce_compressed_pdata): Prototype. * arm-wince-pe.c (bfd_pe_print_pdata): Use _bfd_pe_print_ce_compressed_pdata. (slurp_symcache, cleanup_syms, pe_print_ce_compressed_pdata): Move to... * peXXigen.c: ... here and rename pe_print_ce_compressed_pdata to _bfd_XX_print_ce_compressed_pdata.
2008-07-21 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): DropAlan Modra2-1/+10
unwanted zero terminators.
2008-07-21 * elf32-spu.c (spu_elf_relocate_section): ExpandAlan Modra2-10/+57
RELOC_FOR_GLOBAL_SYMBOL. Don't warn about undefined symbols for R_SPU_PPU32 and R_SPU_PPU64 relocations.
2008-07-21 * bfd/elf-bfd.h: Declare elfcore_write_ppc_vsx.Luis Machado3-0/+36
* bfd/elf.c (elfcore_grok_ppc_vsx): New function. (elfcore_write_ppc_vsx): New function (elfcore_grok_note): Handle VSX notes. (elfcore_write_register_note): Handle VSX notes. * include/elf/common.h: Define NT_PPC_VSX. * binutils/readelf.c (get_note_type): Handle VSX notes.
2008-07-21daily updateAlan Modra1-1/+1
2008-07-20daily updateAlan Modra1-1/+1
2008-07-19daily updateAlan Modra1-1/+1
2008-07-18bfd:Joseph Myers4-7/+25
* bfd-in.h (bfd_elf32_arm_set_target_relocs): Add new parameter. * bfd-in2.h: Regenerate. * elf32-arm.c (struct elf_arm_obj_tdata): Add field no_wchar_size_warning. (bfd_elf32_arm_set_target_relocs): Add new parameter no_wchar_warn. (elf32_arm_merge_eabi_attributes): Give a warning, not an error, for conflicting wchar_t attributes. Do not warn if --no-wchar-size-warning. Make diagnostic text more specific. ld: * ld.texinfo (--no-wchar-size-warning): Document new ARM option. * emultempl/armelf.em (no_wchar_size_warning): New. (arm_elf_create_output_section_statements): Pass no_wchar_size_warning to arm_elf_create_output_section_statements. (OPTION_NO_WCHAR_SIZE_WARNING): New. (PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning. (PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning. (PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning. ld/testsuite: * ld-arm/attr-merge-wchar-0.s,ld-arm/attr-merge-wchar-2.s, ld-arm/attr-merge-wchar-4.s, ld-arm/attr-merge-wchar-00-nowarn.d, ld-arm/attr-merge-wchar-00.d, ld-arm/attr-merge-wchar-02-nowarn.d, ld-arm/attr-merge-wchar-02.d, ld-arm/attr-merge-wchar-04-nowarn.d, ld-arm/attr-merge-wchar-04.d, ld-arm/attr-merge-wchar-20-nowarn.d, ld-arm/attr-merge-wchar-20.d, ld-arm/attr-merge-wchar-22-nowarn.d, ld-arm/attr-merge-wchar-22.d, ld-arm/attr-merge-wchar-24-nowarn.d, ld-arm/attr-merge-wchar-24.d, ld-arm/attr-merge-wchar-40-nowarn.d, ld-arm/attr-merge-wchar-40.d, ld-arm/attr-merge-wchar-42-nowarn.d, ld-arm/attr-merge-wchar-42.d, ld-arm/attr-merge-wchar-44-nowarn.d, ld-arm/attr-merge-wchar-44.d: New. * ld-arm/arm-elf.exp: Run new tests.
2008-07-182008-07-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+13
PR ld/6748 * elf32-arm.c (elf32_arm_link_hash_table_create): Initialize new fields added for ARM long call support.
2008-07-18 * pe-arm-wince.c (pe_print_compressed_pdata): Define new function toNick Clifton40-52/+458
print compressed pdata structure as described on MSDN. This only applies to a limited set of architectures (ARM, SH4). (slurp_symtab, my_symbol_for_address): Define static helper functions for pe_print_compressed_pdata. * coffcode.h (bfd_coff_backend_data): Add _bfd_coff_print_pdata field. (bfd_coff_have_print_pdata, bfd_coff_print_pdata): Define. * bfd/peXXigen.c (_bfd_XX_print_private_bfd_data_common): Add check on bfd_coff_backend_data, call the function if non-null. * pei-mcore.c: Add target dependent initialisation for bfd_coff_backend_data. * coff-sh.c: Likewise. * coff64-rs6000.c: Likewise. * coff-rs6000.c: Likewise. * libcoff-in.h: Likewise. * cf-i386lynx.c: Likewise. * coff-alpha.c: Likewise. * coff-apollo.c: Likewise. * coff-arm.c: Likewise. * coff-aux.c: Likewise. * coff-h8300.c: Likewise. * coff-h8500.c: Likewise. * coff-i386.c: Likewise. * coff-i860.c: Likewise. * coff-i960.c: Likewise. * coff-ia64.c: Likewise. * coff-m68k.c: Likewise. * coff-m88k.c: Likewise. * coff-maxq.c: Likewise. * coff-mips.c: Likewise. * coff-or32.c: Likewise. * coff-sparc.c: Likewise. * coff-tic30.c: Likewise. * coff-tic4x.c: Likewise. * coff-tic54x.c: Likewise. * coff-tic80.c: Likewise. * coff-w65.c: Likewise. * coff-we32k.c: Likewise. * coff-x86_64.c: Likewise. * coff-z80.c: Likewise. * coff-z8k.c: Likewise. * pe-mcore.c: Likewise. * pe-mips.c: Likewise. * pe-ppc.c: Likewise. * peXXigen.c: Likewise. * pei-ppc.c: Likewise. * libcoff.h: Regenerate.
2008-07-18daily updateAlan Modra1-1/+1
2008-07-17daily updateAlan Modra1-1/+1
2008-07-16 * elf32-bfin.c (bfin_check_relocs, bfin_relocate_section,Bernd Schmidt2-618/+624
bfin_final_link_relocate, bfin_gc_mark_hook, bfin_gc_sweep_hook, ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE, struct _bfinfdpic_dynamic_got_info): Moved around to keep FD-PIC code separate from non-FD-PIC.