aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2011-02-13daily updateAlan Modra1-1/+1
2011-02-13Remove freebsd1 from libtool.m4 macros and config.rpath.Ralf Wildenhues2-10/+6
/: Import from Libtool and gnulib: 2011-01-27 Gerald Pfeifer <gerald@pfeifer.com> Prepare for supporting FreeBSD 10. * config.rpath: Remove handling of freebsd1* which soon would match FreeBSD 10.0. 2011-01-20 Gerald Pfeifer <gerald@pfeifer.com> (tiny change) Remove support for FreeBSD 1.x. * libtool.m4 (_LT_LINKER_SHLIBS) (_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which soon would incorrectly match FreeBSD 10.0. bfd/: * configure: Regenerate. gas/: * configure: Regenerate. ld/: * configure: Regenerate. opcodes/: * configure: Regenerate. binutils/: * configure: Regenerate. gprof/: * configure: Regenerate.
2011-02-12daily updateAlan Modra1-1/+1
2011-02-11daily updateAlan Modra1-1/+1
2011-02-10daily updateAlan Modra1-1/+1
2011-02-09daily updateAlan Modra1-1/+1
2011-02-09 * elf64-ppc.c (ppc64_elf_edit_toc): Don't free toc relocs untilAlan Modra2-19/+27
we are done. When optimising large toc, check that a global symbol on a toc reloc is defined in a kept section.
2011-02-08daily updateAlan Modra1-1/+1
2011-02-08 PR binutils/12467Nick Clifton2-2/+19
* readelf.c (process_program_headers): Issue a warning if there are no program headers but the file header has a non-zero program header offset. (process_section_headers): Issue a warning if there are no section headers but the file header has a non-zero section header offset. (process_section_groups): Reword the no section message so that it can be distinguished from the one issued by process_section_headers. * elf.c (assign_file_positions_for_load_sections): Set the program header offset and entry size to zero if there are no program headers.
2011-02-08 * elf64-ppc.c (ppc64_elf_edit_toc): Don't segfault on NULLAlan Modra2-26/+32
local_syms when looking for local symbols in .toc.
2011-02-07daily updateAlan Modra1-1/+1
2011-02-06daily updateAlan Modra1-1/+1
2011-02-05daily updateAlan Modra1-1/+1
2011-02-04daily updateAlan Modra1-1/+1
2011-02-03daily updateAlan Modra1-1/+1
2011-02-02daily updateAlan Modra1-1/+1
2011-02-01daily updateAlan Modra1-1/+1
2011-01-31daily updateAlan Modra1-1/+1
2011-01-31 * elf64-ppc.c (ppc64_elf_next_input_section): Use elf_gp valueAlan Modra2-5/+35
for toc pointer on any section having makes_toc_func_call set. (check_pasted_section): Ensure pasted .init/.fini fragments use the same toc if any has makes_toc_func_call set.
2011-01-30daily updateAlan Modra1-1/+1
2011-01-29daily updateAlan Modra1-1/+1
2011-01-29 * elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refsJoseph Myers2-0/+6
field.
2011-01-28daily updateAlan Modra1-1/+1
2011-01-27daily updateAlan Modra1-1/+1
2011-01-26daily updateAlan Modra1-1/+1
2011-01-25daily updateAlan Modra1-1/+1
2011-01-24daily updateAlan Modra1-1/+1
2011-01-23daily updateAlan Modra1-1/+1
2011-01-22daily updateAlan Modra1-1/+1
2011-01-22bfd/Richard Sandiford2-2/+10
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Ignore common sections too. ld/ * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's private data and GP size.
2011-01-21daily updateAlan Modra1-1/+1
2011-01-20daily updateAlan Modra1-1/+1
2011-01-19daily updateAlan Modra1-1/+1
2011-01-18daily updateAlan Modra1-1/+1
2011-01-18Don't undefine elf_backend_static_tls_alignment twice.H.J. Lu2-6/+2
2011-01-18Undo Solaris damages in elf64-x86-64.c.H.J. Lu2-0/+12
bfd/ 2011-01-18 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (elf_backend_static_tls_alignment): Undefine after Solaris target. (elf_backend_want_plt_sym): Redefine to 0 after Solaris target. ld/testsuite/ 2011-01-18 H.J. Lu <hongjiu.lu@intel.com> * ld-x86-64/ilp32-4.d: Updated.
2011-01-18 Fix compilation for mingw64.Nick Clifton5-7/+21
* coffcode.h (coff_slurp_symbol_table): Add intptr_t intermediate typecast to avoid warning. * elf32-rx.c: Add "bfd_stdint.h" include required for int32_t type usage. * elfxx-ia64.c (elfNN_ia64_relax_br): Use intptr_t typeacast instead of long for pointer to avoid warning. (elfNN_ia64_relax_brl): Idem. (elfNN_ia64_install_value): Idem. * vms-alpha.c (_bfd_vms_slurp_etir): Idem.
2011-01-17daily updateAlan Modra1-1/+1
2011-01-17bfd/Richard Sandiford2-1/+6
* elf32-arm.c (elf32_arm_check_relocs): Check needs_plt rather than h->needs_plt when deciding whether to record a possible dynamic reloc. ld/testsuite/ * ld-arm/arm-rel32.s, ld-arm/arm-rel32.d: New testcase. * ld-arm/arm-elf.exp: Run it.
2011-01-17bfd/Richard Sandiford2-15/+12
* elf32-arm.c (elf32_arm_gc_sweep_hook): Remove all registered dynamic relocs for the removed section. ld/testsuite/ * ld-arm/gc-thumb-lib.s, ld-arm/gc-thumb.s, ld-arm/gc-thumb.d: New test. * ld-arm/arm-elf.exp: Run it.
2011-01-16daily updateAlan Modra1-1/+1
2011-01-15daily updateAlan Modra1-1/+1
2011-01-15Check invalid x32 relocations.H.J. Lu2-0/+38
2011-01-15 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (elf_x86_64_check_relocs): Check invalid x32 relocations.
2011-01-14daily updateAlan Modra1-1/+1
2011-01-14Handle R_X86_64_32 like R_X86_64_64 for ILP32.H.J. Lu2-5/+25
bfd/ 2011-01-14 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (elf_x86_64_link_hash_table): Add pointer_r_type. (elf_x86_64_link_hash_table_create): Set pointer_r_type. (elf_x86_64_check_relocs): Handle R_X86_64_32 like R_X86_64_64 for ILP32. Remove ABI_64_P PIC check for R_X86_64_8, R_X86_64_16, R_X86_64_32 and R_X86_64_32S. (elf_x86_64_relocate_section): Handle R_X86_64_32 like R_X86_64_64 for ILP32. ld/testsuite/ 2011-01-14 H.J. Lu <hongjiu.lu@intel.com> * ld-x86-64/ilp32-5.d: New. * ld-x86-64/ilp32-5.s: Likewise. * ld-x86-64/x86-64.exp: Run ilp32-5.
2011-01-14 * bfd.c (bfd_perror): Flush stdout before and stderr after printingAlan Modra14-67/+90
error. (_bfd_default_error_handler): Likewise. * elf.c (print_segment_map): Likewise. * libbfd.c (warn_deprecated): Likewise. * som.c (som_sizeof_headers): No need to do so here. * coff-i860.c: Replace use of printf for error messages with _bfd_error_handler. * coff-ppc.c: Likewise. * coff-sh.c: Likewise. * elf32-bfin.c: Likewise. * elf32-dlx.c: Likewise. * elf32-mep.c: Likewise. * elf32-v850.c: Likewise. * mach-o.c: Likewise. * pef.c: Likewise.
2011-01-14Fix x86-64 ILP32 shared library.H.J. Lu2-12/+28
bfd/ 2011-01-13 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (elf_x86_64_link_hash_table): Remove swap_reloca_out. (elf_x86_64_link_hash_table_create): Don't set swap_reloca_out. (elf_x86_64_check_relocs): Align relocation section to 4 byte for 32bit. (elf_x86_64_gc_sweep_hook): Replace ELF64_ST_TYPE with ELF_ST_TYPE. (elf_x86_64_finish_dynamic_symbol): Updated. (elf_x86_64_finish_dynamic_sections): Don't use Elf64_External_Dyn, bfd_elf64_swap_dyn_in, nor bfd_elf64_swap_dyn_out. ld/testsuite/ 2011-01-13 H.J. Lu <hongjiu.lu@intel.com> * ld-x86-64/ilp32-4.d: New. * ld-x86-64/x86-64.exp: Run ilp32-4.
2011-01-14 PR ld/12339Alan Modra2-3/+9
* elf32-arm.c (allocate_dynrelocs): Don't set up eh before following bfd_link_hash_warning symbol link.
2011-01-13daily updateAlan Modra1-1/+1
2011-01-12daily updateAlan Modra1-1/+1