summaryrefslogtreecommitdiffstats
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* 2010-09-01 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-09-012-2/+7
| | | | | * coffcode.h (coff_slurp_line_table): Add a cast. (coff_slurp_reloc_table): Ditto.
* daily updateAlan Modra2010-09-011-1/+1
|
* daily updateAlan Modra2010-08-311-1/+1
|
* * cisco-core.c (cisco_core_file_pid): Define.Alan Modra2010-08-302-1/+6
|
* PR binutils/11953Alan Modra2010-08-302-17/+42
| | | | | | | * elf.c (copy_elf_program_header): Calculate map->header_size from lowest_section, not first_section. Validate program header p_paddr against section lma. Find lowest_section in second loop over headers.
* daily updateAlan Modra2010-08-301-1/+1
|
* daily updateAlan Modra2010-08-291-1/+1
|
* * elflink.c (_bfd_elf_dynamic_symbol_p): Rename param. MakeAlan Modra2010-08-282-5/+20
| | | | | | common syms local. (_bfd_elf_symbol_refs_local_p): Expand comment. (elf_link_output_extsym): Fix style nit.
* daily updateAlan Modra2010-08-281-1/+1
|
* daily updateAlan Modra2010-08-271-1/+1
|
* * elf32-arm.c (elf32_arm_final_link): Process stub sectionsNathan Sidwell2010-08-262-9/+17
| | | | exactly once.
* daily updateAlan Modra2010-08-261-1/+1
|
* Don't set unique_global for non-ELF hash link table.H.J. Lu2010-08-252-1/+8
| | | | | | | | 2010-08-25 H.J. Lu <hongjiu.lu@intel.com> PR ld/11939 * elflink.c (elf_link_add_object_symbols): Don't set unique_global for non-ELF hash link table.
* Add target_id to elf_backend_data.H.J. Lu2010-08-2536-29/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2010-08-25 H.J. Lu <hongjiu.lu@intel.com> PR ld/11944 * elf-bfd.h (elf_backend_data): Add target_id. (bfd_elf_make_generic_object): Renamed to ... (bfd_elf_make_object): This. * elf.c (bfd_elf_make_generic_object): Removed. (bfd_elf_make_object): New. (bfd_elf_mkcorefile): Really treat it as an object file. * elf-m10300.c (ELF_TARGET_ID): New. * elf32-arm.c (ELF_TARGET_ID): Likewise. * elf32-bfin.c (ELF_TARGET_ID): Likewise. * elf32-cris.c (ELF_TARGET_ID): Likewise. * elf32-frv.c (ELF_TARGET_ID): Likewise. * elf32-i386.c (ELF_TARGET_ID): Likewise. * elf32-lm32.c (ELF_TARGET_ID): Likewise. * elf32-m32r.c (ELF_TARGET_ID): Likewise. * elf32-m68hc11.c (ELF_TARGET_ID): Likewise. * elf32-m68hc12.c (ELF_TARGET_ID): Likewise. * elf32-m68k.c (ELF_TARGET_ID): Likewise. * elf32-microblaze.c (ELF_TARGET_ID): Likewise. * elf32-ppc.c (ELF_TARGET_ID): Likewise. * elf32-s390.c (ELF_TARGET_ID): Likewise. * elf32-sh.c (ELF_TARGET_ID): Likewise. * elf32-sparc.c (ELF_TARGET_ID): Likewise. * elf32-spu.c (ELF_TARGET_ID): Likewise. * elf32-tic6x.c (ELF_TARGET_ID): Likewise. * elf32-xtensa.c (ELF_TARGET_ID): Likewise. * elf64-alpha.c (ELF_TARGET_ID): Likewise. * elf64-hppa.c (ELF_TARGET_ID): Likewise. * elf64-ppc.c (ELF_TARGET_ID): Likewise. * elf64-s390.c (ELF_TARGET_ID): Likewise. * elf64-x86-64.c (ELF_TARGET_ID): Likewise. * elfxx-ia64.c (ELF_TARGET_ID): Likewise. * elf32-hppa.c (elf32_hppa_mkobject): Removed. (bfd_elf32_mkobject): Likewise. (ELF_TARGET_ID): New. * elf32-mips.c (ELF_TARGET_ID): New. (bfd_elf32_mkobject): Removed. * elf64-mips.c (ELF_TARGET_ID): New. (bfd_elf64_mkobject): Removed. * elfn32-mips.c (ELF_TARGET_ID): New. (bfd_elf32_mkobject): Removed. * elfxx-mips.c (_bfd_mips_elf_mkobject): Removed. * elfxx-mips.h (_bfd_mips_elf_mkobject): Likewise. * elfxx-target.h (bfd_elfNN_mkobject): Default to bfd_elf_make_object. (ELF_TARGET_ID): New. Default to GENERIC_ELF_DATA. (elfNN_bed): Initialize target_id.
* bfd/Julian Brown2010-08-252-4/+40
| | | | | | | | | | | | * elf32-arm.c (arm_stub_required_alignment): New. (arm_build_one_stub): Use above to partition stubs. (make_branch_to_a8_stub): Use arm_stub_a8_veneer_lwm not arm_stub_a8_veneer_b_cond. ld/testsuite/ * ld-arm/arm-elf.exp (armelftests): Add cortex-a8-fix-blx-bcond.s. * ld-arm/cortex-a8-fix-blx-bcond.s: New. * ld-arm/cortex-a8-fix-blx-bcond.d: New.
* * aout-arm.c (MY(bfd_reloc_type_lookup)): Use bfd_arch_bits_per_address.Alan Modra2010-08-258-12/+23
| | | | | | | | | * aout-ns32k.c (MY(bfd_reloc_type_lookup)): Likewise. * aoutx.h (NAME(aout,reloc_type_lookup)): Likewise. * coff-arm.c (coff_arm_reloc_type_lookup): Likewise. * elf-hppa.h (elf_hppa_reloc_final_type): Likewise. * reloc.c (bfd_default_reloc_type_lookup): Likewise. * riscix.c (riscix_reloc_type_lookup): Likewise.
* * elf.c (_bfd_elf_map_sections_to_segments): Don't load programAlan Modra2010-08-252-7/+25
| | | | | | headers if any loaded section wraps the address space. Simplify ~(m-1) to -m. Use lma rather than vma when determining whether note sections are adjacent.
* daily updateAlan Modra2010-08-251-1/+1
|
* daily updateAlan Modra2010-08-241-1/+1
|
* daily updateAlan Modra2010-08-231-1/+1
|
* Don't check relocation if input ELF object ID doesn't match output.H.J. Lu2010-08-222-0/+7
| | | | | | | | | | | | | | | | | | | | | | bfd/ 2010-08-22 H.J. Lu <hongjiu.lu@intel.com> PR ld/11933 * elflink.c (elf_link_add_object_symbols): Don't check relocation if input ELF object ID doesn't match output. ld/testsuite/ 2010-08-22 H.J. Lu <hongjiu.lu@intel.com> PR ld/11933 * ld-x86-64/mixed1a.s: New. * ld-x86-64/mixed1b.s: Likewise. * ld-x86-64/mixed2a.s: Likewise. * ld-x86-64/mixed2b.s: Likewise. * ld-x86-64/x86-64.exp: Text mixed x86_64 and i386 inputs.
* daily updateAlan Modra2010-08-221-1/+1
|
* Fix misquoting in stdint.m4.Ralf Wildenhues2010-08-212-8/+8
| | | | | | | | | | | | | config/: PR target/45084 * stdint.m4 (GCC_HEADER_STDINT): Use m4 quotes for arguments of AC_MSG_ERROR. libdecnumber/: * configure: Regenerate. bfd/: * configure: Regenerate.
* daily updateAlan Modra2010-08-211-1/+1
|
* Revert the last checkin on sec_merge_emit.H.J. Lu2010-08-202-4/+4
| | | | | | 2010-08-20 H.J. Lu <hongjiu.lu@intel.com> * merge.c (sec_merge_emit): Revert the last checkin.
* * elf32-sh.c (sh_elf_relocate_section): Handle non-ELF outputMaciej W. Rozycki2010-08-202-29/+45
| | | | BFD.
* * elf32-m68k.c (bfd_elf_m68k_set_target_options): Don't set GOTMaciej W. Rozycki2010-08-202-11/+26
| | | | options unless an m68k hash table has been found.
* * merge.c (sec_merge_emit): Do not zero pad sections that do notNick Clifton2010-08-202-0/+9
| | | | have an alignment.
* daily updateAlan Modra2010-08-201-1/+1
|
* daily updateAlan Modra2010-08-191-1/+1
|
* 2010-08-18 Pedro Alves <pedro@codesourcery.com>Pedro Alves2010-08-1846-41/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR corefile/8210 bfd/ * bfd-in2.h: Regenerate. * corefile.c (bfd_core_file_pid): New. * targets.c (BFD_JUMP_TABLE_CORE): Add NAME##_core_file_pid. (struct bfd_target) <_core_file_pid>: New. * libbfd-in.h (_bfd_nocore_core_file_pid): Declare. * libbfd.c (_bfd_nocore_core_file_pid): New. * elf-bfd.h (bfd_elf32_core_file_pid, bfd_elf64_core_file_pid): Declare. * elfcode.h (elf_core_file_pid): New define. * elfcore.h (elf_core_file_pid): New function. * elf.c (elfcore_make_pid): Rewrite. (elfcore_grok_prstatus): Only set core_pid if not set yet. (elfcore_grok_prstatus) [!HAVE_PRSTATUS_T_PR_WHO]: Fallback to getting the lwpid from prstat.pr_pid. * elf64-x86-64.c (elf64_x86_64_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. (elf64_x86_64_grok_psinfo): Extract the the main process's PID, and store it in elf_tdata's core_pid field. * elf32-i386.c (elf_i386_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. (elf_i386_grok_psinfo): Extract the the main process's PID, and store it in elf_tdata's core_pid field. * elf32-am33lin.c (elf32_am33lin_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elf32-arm.c (elf32_arm_nabi_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elf32-cris.c (cris_elf_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elf32-frv.c (elf32_frv_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elf32-hppa.c (elf32_hppa_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elf32-mips.c (elf32_mips_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elf32-ppc.c (ppc_elf_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elf32-s390.c (elf_s390_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elf32-score.c (s3_bfd_score_elf_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elf32-score7.c (s7_bfd_score_elf_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elf32-sh.c (elf32_shlin_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elf32-xtensa.c (elf_xtensa_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elf64-hppa.c (elf64_hppa_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elf64-mips.c (elf64_mips_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elf64-ppc.c (ppc64_elf_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * elfn32-mips.c (elf32_mips_grok_prstatus): Write the LWPID to elf_tdata's core_lwpid instead of to core_pid. * plugin.c (bfd_plugin_core_file_pid): New function. * aout-target.h (MY_core_file_pid): Define. * aout-tic30.c (MY_core_file_pid, MY_core_file_p): New defines. * coff-rs6000.c (coff_core_file_pid): New define. (rs6000coff_vec, pmac_xcoff_vec): Use BFD_JUMP_TABLE_CORE. * coff64-rs6000.c (coff_core_file_pid): New define. (rs6000coff64_vec): Use BFD_JUMP_TABLE_CORE. (xcoff64_core_file_pid): New define. (aix5coff64_vec): Use BFD_JUMP_TABLE_CORE. * mach-o-target.c (bfd_mach_o_core_file_pid): New define. * aix386-core.c (aix386_core_file_pid): New define. * hppabsd-core.c (hppabsd_core_core_file_pid): New define. * hpux-core.c (hpux_core_core_file_pid): New define. * irix-core.c (irix_core_core_file_pid): New define. * lynx-core.c (lynx_core_file_pid): New define. * osf-core.c (osf_core_core_file_pid): New define. * ptrace-core.c (ptrace_unix_core_file_pid): New define. * sco5-core.c (sco5_core_file_pid): New define. * xcoff-target.h (coff_core_file_pid): New define. * netbsd-core.c (netbsd_core_core_file_pid): New define. gdb/ 2010-08-18 Pedro Alves <pedro@codesourcery.com> PR corefile/8210 gdb/ * corelow.c (add_to_thread_list): Don't use gdbarch_core_reg_section_encodes_pid. Use bfd_core_file_pid. (get_core_register_section): Don't use gdbarch_core_reg_section_encodes_pid. * gdbarch.sh (core_reg_section_encodes_pid): Delete. * gdbarch.h, gdbarch.c: Regenerate. * amd64-sol2-tdep.c (amd64_sol2_init_abi): Don't set gdbarch_core_reg_section_encodes_pid. * i386-sol2-tdep.c (i386_sol2_init_abi): Ditto. * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Ditto. * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Ditto.
* daily updateAlan Modra2010-08-181-1/+1
|
* daily updateAlan Modra2010-08-171-1/+1
|
* daily updateAlan Modra2010-08-161-1/+1
|
* daily updateAlan Modra2010-08-151-1/+1
|
* daily updateAlan Modra2010-08-141-1/+1
|
* Check if .got.plt section is discarded before using it.H.J. Lu2010-08-133-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ 2010-08-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/11913 * elf32-i386.c (elf_i386_finish_dynamic_sections): Check if .got.plt section is discarded. * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Likewise. ld/testsuite/ 2010-08-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/11913 * ld-i386/discarded1.d: New. * ld-i386/discarded1.s: Likewise. * ld-i386/discarded1.t: Likewise. * ld-x86-64/discarded1.d: Likewise. * ld-x86-64/discarded1.s: Likewise. * ld-x86-64/discarded1.t: Likewise. * ld-i386/i386.exp: Run discarded1. * ld-x86-64/x86-64.exp: Likewise.
* bfd/Nathan Sidwell2010-08-132-0/+8
| | | | | | | | | * elf32-m69k.c (elf32_m68k_print_private_bfd_data): Detect EMAC_B variant. binutils/ * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B variants.
* daily updateAlan Modra2010-08-131-1/+1
|
* Mention Makefile.in in ChangeLog.H.J. Lu2010-08-121-0/+1
|
* Disable -Werror on coff-tic4x.lo and coff-tic54x.lo.H.J. Lu2010-08-123-0/+38
| | | | | | | | 2010-08-12 H.J. Lu <hongjiu.lu@intel.com> PR binutils/11909 * Makefile.am (coff-tic4x.lo): New. Disable -Werror. (coff-tic54x.lo): Likewise.
* PR ld/11843Nick Clifton2010-08-122-0/+12
| | | | | * elflink.c (compute_bucket_count): Avoid futile long searches for the best bucket size.
* daily updateAlan Modra2010-08-121-1/+1
|
* daily updateAlan Modra2010-08-111-1/+1
|
* daily updateAlan Modra2010-08-101-1/+1
|
* PR ld/11891Richard Henderson2010-08-092-10/+22
| | | | | | * elf64-alpha.c (elf64_alpha_relax_tls_get_addr): Disallow relaxing to tlshi/lo until pos0 and pos1 are adjacent. Use the destination register from the tldgd insn.
* 2010-08-09 Catherine Moore <clm@codesourcery.com>Catherine Moore2010-08-092-1/+6
| | | | | | | | | | | | * elfxx-mips.c (mips_elf_perform_relocation): Improve interlinking error message. 2010-08-09 Catherine Moore <clm@codesourcery.com> * ld-mips-elf/mode-change-error-1.d: New. * ld-mips-elf/mode-change-error-1a.s: New. * ld-mips-elf/mode-change-error-1b.s: New. * ld-mips-elf/mips-elf.exp: Run new test.
* daily updateAlan Modra2010-08-091-1/+1
|
* daily updateAlan Modra2010-08-081-1/+1
|
* daily updateAlan Modra2010-08-071-1/+1
|
OpenPOWER on IntegriCloud