aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2012-02-14daily updateAlan Modra1-1/+1
2012-02-14Regenerate.Alan Modra1-0/+2
2012-02-13daily updateAlan Modra1-1/+1
2012-02-13PR ld/13621Richard Henderson2-0/+12
bfd/ * linker.c (fix_syms): Force symbols outside any section into bfd_abs_section_ptr. ld/testsuite/ * ld-elf/warn2.d: Expect ABS section for Foo. * ld-elf/zerosize1.d, zerosize1.s: New test.
2012-02-13 * elf32-m68hc1x.c (elf32_m68hc11_merge_symbol_attribute): New function.Alan Modra5-4/+31
* elf32-m68hc1x.h (elf32_m68hc11_merge_symbol_attribute): Declare. * elf32-m68hc11.c (elf_backend_merge_symbol_attribute): Define. * elf32-m68hc12.c (elf_backend_merge_symbol_attribute): Define.
2012-02-12daily updateAlan Modra1-1/+1
2012-02-11daily updateAlan Modra1-1/+1
2012-02-11bfd/Jan Kratochvil2-1/+9
* oasys.c (oasys_write_header): Fix compilation warning on zero-sized memset.
2012-02-10daily updateAlan Modra1-1/+1
2012-02-10bfd:Iain Sandoe2-11/+57
* mach-o.c (bfd_mach_o_build_seg_command): Count zerofill section vma additions in their logical, rather than physical order.
2012-02-10correct some mach-o section specification nits.Iain Sandoe4-6/+32
bfd: * mach-o.c (mach_o_section_name_xlat): Correct eh-frame section parameters. * mach-o-x86-64.c (text_section_names_xlat): New. (mach_o_x86_64_segsec_names_xlat): New. (bfd_mach_o_tgt_seg_table): Define to mach_o_x86_64_segsec_names_xlat. * mach-o-i386.c (text_section_names_xlat): Correct section parameters.
2012-02-102012-02-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-5/+19
* elfnn-ia64.c (elfNN_vms_object_p): Change comparison operator to avoid infinite loop. Add comments.
2012-02-09daily updateAlan Modra1-1/+1
2012-02-09Don't use multi byte nop instructions for i386H.J. Lu4-24/+64
bfd/ 2012-02-09 H.J. Lu <hongjiu.lu@intel.com> PR ld/13675 * cpu-i386.c (bfd_arch_i386_fill): Updated to support multi byte nop instructions. (bfd_arch_i386_short_nop_fill): New. (bfd_arch_i386_long_nop_fill): Likewise. Use bfd_arch_i386_short_nop_fill in 32bit bfd_arch_info initializers. Use bfd_arch_i386_long_nop_fill on 64bit bfd_arch_info initializers. * cpu-k1om.c (bfd_arch_i386_fill): Renamed to ... (bfd_arch_i386_short_nop_fill): This. Update bfd_arch_info initializers. * cpu-l1om.c: Likewise. ld/testsuite/ 2012-02-09 H.J. Lu <hongjiu.lu@intel.com> PR ld/13675 * ld-i386/tlsnopic.dd: Update no-op padding. * ld-i386/tlspic.dd: Likewise.
2012-02-08daily updateAlan Modra1-1/+1
2012-02-08 * elflink.c (_bfd_elf_gc_mark_rsec): Mark weakdef syms too.Alan Modra2-11/+21
(_bfd_elf_fix_symbol_flags): When a weakdef is def_regular, clear the correct h->u.weakdef.
2012-02-07daily updateAlan Modra1-1/+1
2012-02-07 * elf.c (elf_find_function): Don't use internal_elf_sym.Alan Modra4-43/+42
(_bfd_elf_maybe_function_sym): Likewise. Replace elf_symbol_type parameter with asymbol. * elf64-ppc.c (ppc64_elf_maybe_function_sym): Likewise. * elf-bfd.h (_bfd_elf_maybe_function_sym): Update prototype. (struct elf_backend_data <maybe_function_sym>): Likewise.
2012-02-06daily updateAlan Modra1-1/+1
2012-02-05daily updateAlan Modra1-1/+1
2012-02-04daily updateAlan Modra1-1/+1
2012-02-03daily updateAlan Modra1-1/+1
2012-02-02daily updateAlan Modra1-1/+1
2012-02-022012-02-02 Vidya Praveen (vidya.praveen@atmel.com)Eric B. Weddington2-9/+29
PR bfd/13410 * bfd/elf32-avr.c (elf32_avr_relax_section): Correct the condition that qualifies the candidates for relaxation.
2012-02-022012-02-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+4
* bfdio.c (real_fopen): Remove unused vms_modes variable.
2012-02-02bfd/Tristan Gingold2-0/+7
2012-02-02 Tristan Gingold <gingold@adacore.com> * mach-o.c (bfd_mach_o_read_header): Silent uninitialized variable warning. gas/ 2012-02-02 Tristan Gingold <gingold@adacore.com> * config/obj-macho.c (obj_mach_o_zerofill): Silent uninitialized variable warning.
2012-02-022012-02-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+5
* archive.c (bfd_slurp_armap): Fix thinko in cast.
2012-02-01daily updateAlan Modra1-1/+1
2012-01-31daily updateAlan Modra1-1/+1
2012-01-31Support arch-dependent fillH.J. Lu82-32/+400
bfd/ 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> PR ld/13616 * archures.c (bfd_arch_info): Add fill. (bfd_default_arch_struct): Add bfd_arch_default_fill. (bfd_arch_default_fill): New. * configure.in: Set bfd version to 2.22.52. * configure: Regenerated. * cpu-alpha.c: Add bfd_arch_default_fill to bfd_arch_info initializer. * cpu-arc.c: Likewise. * cpu-arm.c: Likewise. * cpu-avr.c: Likewise. * cpu-bfin.c: Likewise. * cpu-cr16.c: Likewise. * cpu-cr16c.c: Likewise. * cpu-cris.c: Likewise. * cpu-crx.c: Likewise. * cpu-d10v.c: Likewise. * cpu-d30v.c: Likewise. * cpu-dlx.c: Likewise. * cpu-epiphany.c: Likewise. * cpu-fr30.c: Likewise. * cpu-frv.c: Likewise. * cpu-h8300.c: Likewise. * cpu-h8500.c: Likewise. * cpu-hppa.c: Likewise. * cpu-i370.c: Likewise. * cpu-i860.c: Likewise. * cpu-i960.c: Likewise. * cpu-ia64.c: Likewise. * cpu-ip2k.c: Likewise. * cpu-iq2000.c: Likewise. * cpu-lm32.c: Likewise. * cpu-m10200.c: Likewise. * cpu-m10300.c: Likewise. * cpu-m32c.c: Likewise. * cpu-m32r.c: Likewise. * cpu-m68hc11.c: Likewise. * cpu-m68hc12.c: Likewise. * cpu-m68k.c: Likewise. * cpu-m88k.c: Likewise. * cpu-mcore.c: Likewise. * cpu-mep.c: Likewise. * cpu-microblaze.c: Likewise. * cpu-mips.c: Likewise. * cpu-mmix.c: Likewise. * cpu-moxie.c: Likewise. * cpu-msp430.c: Likewise. * cpu-mt.c: Likewise. * cpu-ns32k.c: Likewise. * cpu-openrisc.c: Likewise. * cpu-or32.c: Likewise. * cpu-pdp11.c: Likewise. * cpu-pj.c: Likewise. * cpu-plugin.c: Likewise. * cpu-powerpc.c: Likewise. * cpu-rl78.c: Likewise. * cpu-rs6000.c: Likewise. * cpu-rx.c: Likewise. * cpu-s390.c: Likewise. * cpu-score.c: Likewise. * cpu-sh.c: Likewise. * cpu-sparc.c: Likewise. * cpu-spu.c: Likewise. * cpu-tic30.c: Likewise. * cpu-tic4x.c: Likewise. * cpu-tic54x.c: Likewise. * cpu-tic6x.c: Likewise. * cpu-tic80.c: Likewise. * cpu-tilegx.c: Likewise. * cpu-tilepro.c: Likewise. * cpu-v850.c: Likewise. * cpu-vax.c: Likewise. * cpu-w65.c: Likewise. * cpu-we32k.c: Likewise. * cpu-xc16x.c: Likewise. * cpu-xstormy16.c: Likewise. * cpu-xtensa.c: Likewise. * cpu-z80.c: Likewise. * cpu-z8k.c: Likewise. * cpu-i386.c: Include "libiberty.h". (bfd_arch_i386_fill): New. Add bfd_arch_i386_fill to bfd_arch_info initializer. * cpu-k1om.c: Add bfd_arch_i386_fill to bfd_arch_info initializer. * cpu-l1om.c: Likewise. * linker.c (default_data_link_order): Call abfd->arch_info->fill if fill size is 0. * bfd-in2.h: Regenerated. include/ 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> PR ld/13616 * bfdlink.h (bfd_link_order): Update comments on data size. ld/ 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> PR ld/13616 * emulparams/elf32_x86_64.sh: Remove NOP. * emulparams/elf_i386.sh: Likewise. * emulparams/elf_i386_be.sh: Likewise. * emulparams/elf_i386_ldso.sh: Likewise. * emulparams/elf_i386_vxworks.sh: Likewise. * emulparams/elf_k1om.sh: Likewise. * emulparams/elf_l1om.sh: Likewise. * emulparams/elf_x86_64.sh: Likewise. * ldlang.c (zero_fill): Initialized to 0. * ldwrite.c (build_link_order): Set data size to linker odrder size when they are the same. * scripttempl/elf.sc: Don't specify fill if NOP is undefined. ld/testsuite/ 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> PR ld/13616 * ld-i386/tlsbindesc.dd: Update no-op padding. * ld-i386/tlsnopic.dd: Likewise. * ld-i386/tlspic.dd: Likewise. * ld-x86-64/tlsbin.dd: Likewise. * ld-x86-64/tlsbindesc.dd: Likewise. * ld-x86-64/tlspic.dd: Likewise.
2012-01-30daily updateAlan Modra1-1/+1
2012-01-29daily updateAlan Modra1-1/+1
2012-01-28daily updateAlan Modra1-1/+1
2012-01-27daily updateAlan Modra1-1/+1
2012-01-27 * bfd/elf32-microblaze.c (create_got_section):Michael Eager2-1/+7
Reuse existing .rela.got section.
2012-01-26daily updateAlan Modra1-1/+1
2012-01-25daily updateAlan Modra1-1/+1
2012-01-24daily updateAlan Modra1-1/+1
2012-01-24daily updateAlan Modra1-1/+1
2012-01-23 * elf-bfd.h: Formatting.Alan Modra5-18/+81
(struct elf_backend_data): Add "maybe_function_sym". (_bfd_elf_maybe_function_sym): Declare. * elfxx-target.h (elf_backend_maybe_function_sym): Define. (elfNN_bed): Init new field. * elf.c (elf_find_function): Use maybe_function_sym. (_bfd_elf_maybe_function_sym): New function. * elf64-ppc.c (elf_backend_maybe_function_sym): Define. (ppc64_elf_maybe_function_sym): New function.
2012-01-22daily updateAlan Modra1-1/+1
2012-01-21daily updateAlan Modra1-1/+1
2012-01-20daily updateAlan Modra1-1/+1
2012-01-20 PR binutils/13534Nick Clifton6-49/+112
* archive.c (_bfd_ar_sizepad): New function. Correctly install and pad the size field in an archive header. (_bfd_generic_read_ar_hdr_mag): Use the correct type and scan function for the archive size field. (bfd_generic_openr_next_archived_file): Likewise. (do_slurp_coff_armap): Likewise. (_bfd_write_archive_contents): Likewise. (_bfd_bsd44_write_ar_hdr): Use the new function. (bfd_ar_hdr_from_filesystem): Likewise. (_bfd_write_archive_contents): Likewise. (bsd_write_armap): Likewise. (coff_write_armap): Likewise. * archive64.c (bfd_elf64_archive_write_armap): Likewise. * bfdio.c (bfd_bread): Use correct type for archive element sizes. * ar.c (open_inarch): Likewise. (extract_file): Likewise. * libbfd-in.h (struct areltdata): Use correct types for parsed_size and extra_size fields. Prototype _bfd_ar_sizepad function. * libbfd.h: Regenerate.
2012-01-20 * elf.c (elfcore_write_prpsinfo): Provide unconditionally.Ulrich Weigand3-10/+71
Return NULL if core file generation is unsupported. (elfcore_write_prstatus): Likewise. * elf32-arm.c (elf32_arm_nabi_write_core_note): New function. (elf_backend_write_core_note): Define.
2012-01-19daily updateAlan Modra1-1/+1
2012-01-192012-01-19 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-0/+11
* pef.c: Add a comment. * xsym.c: Likewise.
2012-01-18daily updateAlan Modra1-1/+1
2012-01-17daily updateAlan Modra1-1/+1
2012-01-16daily updateAlan Modra1-1/+1