aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2012-02-23deal with endian-ness in mach-o non-scattered relocs.Iain Sandoe2-30/+126
BFD: * mach-o.c (bfd_mach_o_swap_in_non_scattered_reloc): New. (bfd_mach_o_canonicalize_one_reloc): Swap non-scattered reloc bit-fields when target and host differ in endian-ness. When PAIRs are non-scattered find the 'symbol' from the preceding reloc. Add FIXME re. reloc symbols on section boundaries. (bfd_mach_o_swap_out_non_scattered_reloc): New. (bfd_mach_o_write_relocs): Use bfd_mach_o_encode_non_scattered_reloc. include/mach-o: * external.h: Add comments about relocations fields. Add macros for non-scattered relocations. Move scattered relocation macros to here. * reloc.h: Remove macros related to external representation of reloc fields.
2012-02-21daily updateAlan Modra1-1/+1
2012-02-20daily updateAlan Modra1-1/+1
2012-02-19daily updateAlan Modra1-1/+1
2012-02-18daily updateAlan Modra1-1/+1
2012-02-17daily updateAlan Modra1-1/+1
2012-02-17support 16 sect-diffs for mach-oIain Sandoe2-22/+61
bfd: * mach-o-i386.c (i386_howto_table): Add support for 16 bit sect-diffs. (bfd_mach_o_i386_swap_reloc_in): Handle 16bit sect-diffs. (bfd_mach_o_i386_swap_reloc_out): Likewise.
2012-02-17add LOCAL SECDIFF relocation for m32 mach-oIain Sandoe5-2/+39
bfd: * reloc.c (BFD_RELOC_MACH_O_LOCAL_SECTDIFF): * libbfd.h: Regenerated. * bfd-in2.h: Likewise. * mach-o-i386.c (i386_howto_table): Include local sectdiff. (bfd_mach_o_i386_swap_reloc_in): Update for local sectdiff. (bfd_mach_o_i386_swap_reloc_out): Likewise.
2012-02-172012-02-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel2-6/+31
* elf32-s390.c (elf_s390_relocate_section): Support basr in the GD->LE and LD->LE optimizations.
2012-02-16 PR binutils/13355Alan Modra2-2/+7
* elf32-rx.c (elf32_rx_relax_section): Correct width check.
2012-02-15daily updateAlan Modra1-1/+1
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