aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2007-01-05 * texhex.c (first_phase): Don't fall through into the defaultJakub Jelinek2-7/+16
case. (pass_over): Replace abort () calls with return FALSE. Fix buffer overflow.
2007-01-04daily updateAlan Modra1-1/+1
2007-01-04 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't setAlan Modra2-2/+5
SEC_EXCLUDE on zero size .eh_frame.
2007-01-03daily updateAlan Modra1-1/+1
2007-01-03Remove ">>>>>>> 1.3701".H.J. Lu1-1/+0
2007-01-02daily updateAlan Modra1-1/+1
2007-01-01daily updateAlan Modra1-1/+1
2006-12-31daily updateAlan Modra1-1/+1
2006-12-312006-12-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+6
* bfd.c (bfd_record_phdr): Call bfd_zalloc instead of bfd_alloc to allocate elf_segment_map.
2006-12-30daily updateAlan Modra1-1/+1
2006-12-29daily updateAlan Modra1-1/+1
2006-12-29bfd/H.J. Lu2-3/+10
2006-12-29 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (elf_link_add_object_symbols): Remember the symbol size only if it is defined. ld/testsuite/ 2006-12-29 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/wrap.exp: New file. * ld-elf/wrap1.c: Likewise. * ld-elf/wrap1.out: Likewise. * ld-elf/wrap1a.c: Likewise. * ld-elf/wrap1b.c: Likewise.
2006-12-28daily updateAlan Modra1-1/+1
2006-12-27daily updateAlan Modra1-1/+1
2006-12-26daily updateAlan Modra1-1/+1
2006-12-25daily updateAlan Modra1-1/+1
2006-12-25bfd/Kazu Hirata5-71/+108
* archures.c (bfd_mach_cpu32_fido): New. (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_mac, bfd_mach_mcf_isa_a_emac, bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac, bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_b_nousp, bfd_mach_mcf_isa_b_nousp_mac, bfd_mach_mcf_isa_b_nousp_emac, bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_float, bfd_mach_mcf_isa_b_float_mac, bfd_mach_mcf_isa_b_float_emac): Increment the defined values. * bfd-in2.h: Regenerate. * cpu-m68k.c (arch_info_struct): Add en entry for bfd_mach_cpu32_fido. * elf32-m68k.c (elf32_m68k_object_p): Handle EF_M68K_CPU32_FIDO_A. (elf32_m68k_merge_private_bfd_data): Use EF_M68K_CPU32_MASK. (elf32_m68k_print_private_bfd_data): Handle EF_M68K_CPU32_FIDO_A. binutils/ * readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A. gas/ * config/tc-m68k.c (cpu_of_arch): Add fido. (m68k_archs, m68k_cpu): Add entries for fido. (m68k_elf_final_processing): Handle EF_M68K_CPU32_FIDO_A. include/elf/ * m68k.h (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): New. include/opcode/ * m68k.h (fido_a): New.
2006-12-25 * elf32-score.c (score_elf_got_lo16_reloc): Change some variables type fromMei Ligang2-18/+58
unsigned to signed. (score_elf_final_link_relocate): Fix bugs of handling relocation type R_SCORE_GOT15, R_SCORE_GOT_LO16, and R_SCORE_REL32. (_bfd_score_elf_relocate_section): Handle R_SCORE_GOT_LO16 specially.
2006-12-24daily updateAlan Modra1-1/+1
2006-12-24bfd/Kazu Hirata1-0/+6
* config.bfd: Recognize fido. gas/ * configure.tgt: Recognize fido. ld/ * configure.tgt: Recognize fido.
2006-12-23daily updateAlan Modra1-1/+1
2006-12-23 * elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.Jakub Jelinek5-0/+35
* elfxx-target.h (elf_backend_as_needed_cleanup): Define. (elfNN_bed): Add as_needed_cleanup hook. * elflink.c (elf_link_add_object_symbols): Call it when reverting hash table changes for unneeded --as-needed input. * elf64-ppc64.c (elf_backend_as_needed_cleanup): Define. (ppc64_elf_as_needed_cleanup): New function.
2006-12-22daily updateAlan Modra1-1/+1
2006-12-21daily updateAlan Modra1-1/+1
2006-12-20daily updateAlan Modra1-1/+1
2006-12-19daily updateAlan Modra1-1/+1
2006-12-19bfd/Kazu Hirata2-53/+69
* elf32-m68k.c (elf32_m68k_object_p, elf32_m68k_print_private_bfd_data): Use EF_M68K_ARCH_MASK to extract architecture mask. include/elf/ * m68k.h (EF_M68K_ARCH_MASK): New.
2006-12-19 bfd/Nathan Sidwell2-13/+46
* elf.c (assign_file_positions_for_load_sections): Adjust p_vaddr by p_vaddr_offset. Copy alignment & use if it is valid. (rewrite_elf_program_headers): Cope with leading padding in a segment that does not contain file or program headers. (copy_elf_program_header): Likewise. include/elf/ * internal.h (struct elf_segment_map): Add p_vaddr_offset field.
2006-12-18daily updateAlan Modra1-1/+1
2006-12-17daily updateAlan Modra1-1/+1
2006-12-16daily updateAlan Modra1-1/+1
2006-12-16* config.bfd: (sh*-*-openbsd*): Add target.Mark Kettenis4-2/+16
* configure.in (sh*-*-openbsd*): Set COREFILE to netbsd-core.lo. * configure: Regenerate.
2006-12-15daily updateAlan Modra1-1/+1
2006-12-15bfd/Alan Modra4-5/+34
* opncls.c (bfd_openr_iovec): Add "stat" parameter. (struct opncls): Add "stat" field. (opncls_bstat): Call vec->stat. * bfd-in2.h: Regenerate. * elf32-spu.c (spu_elf_open_builtin_lib): Adjust. gdb/ * spu-linux-nat.c (spu_bfd_iovec_stat): New function. (spu_bfd_open): Adjust bfd_openr_iovec call.
2006-12-14daily updateAlan Modra1-1/+1
2006-12-14 * elf-bfd.h (struct bfd_elf_section_data): Clarify sec_groupAlan Modra2-4/+9
and next_in_group usage.
2006-12-14 PR 3704Alan Modra2-1/+15
* bfdio.c (bfd_bread): Don't read past end of archive elements.
2006-12-13daily updateAlan Modra1-1/+1
2006-12-13Fix a typo.H.J. Lu1-1/+1
2006-12-12daily updateAlan Modra1-1/+1
2006-12-12bfd/Daniel Jacobowitz3-9/+14
* doc/Makefile.am (bfd_TEXINFOS): Set. (bfd.info bfd.dvi bfd.html): Delete rule. * doc/Makefile.in: Regenerated. gas/ * doc/Makefile.am (as_TEXINFOS): Set. (as.info as.dvi as.html): Delete rule. * doc/Makefile.in: Regenerated. gprof/ * Makefile.am (gprof_TEXINFOS): Set. (gprof.info gprof.dvi gprof.html): Delete rule. * Makefile.in: Regenerated. ld/ * Makefile.am (ld_TEXINFOS): Set. (ld.info ld.dvi ld.html): Delete rule. * Makefile.in: Regenerated.
2006-12-11daily updateAlan Modra1-1/+1
2006-12-11bfd/Daniel Jacobowitz7-32/+72
* configure.in: Define GENINSRC_NEVER. * doc/Makefile.am (bfd.info): Remove srcdir prefix. (MAINTAINERCLEANFILES): Add info file. (DISTCLEANFILES): Pretend to add info file. * po/Make-in (.po.gmo): Put gmo files in objdir. * configure, Makefile.in, doc/Makefile.in: Regenerated. binutils/ * configure.in: Define GENINSRC_NEVER. * doc/Makefile.am (MAINTAINERCLEANFILES): Add info file. (DISTCLEANFILES): Pretend to add info file. * po/Make-in (.po.gmo): Put gmo files in objdir. * configure, Makefile.in, doc/Makefile.in: Regenerated. gas/ * configure.in: Define GENINSRC_NEVER. * doc/Makefile.am (as.info): Remove srcdir prefix. (MAINTAINERCLEANFILES): Add info file. (DISTCLEANFILES): Pretend to add info file. * po/Make-in (.po.gmo): Put gmo files in objdir. * configure, Makefile.in, doc/Makefile.in: Regenerated. gprof/ * configure.in: Define GENINSRC_NEVER. * doc/Makefile.am (gprof.info): Remove srcdir prefix. (MAINTAINERCLEANFILES): Add info file. (DISTCLEANFILES): Pretend to add info file. * po/Make-in (.po.gmo): Put gmo files in objdir. * configure, Makefile.in: Regenerated. ld/ * configure.in: Define GENINSRC_NEVER. * doc/Makefile.am (ld.info): Remove srcdir prefix. (MAINTAINERCLEANFILES): Add info file. (DISTCLEANFILES): Pretend to add info file. * po/Make-in (.po.gmo): Put gmo files in objdir. * configure, Makefile.in: Regenerated. opcodes/ * po/Make-in (.po.gmo): Put gmo files in objdir.
2006-12-11 * elflink.c (bfd_elf_gc_sections): Also search for correspondingEric Botcazou2-4/+26
sections with .gnu.linkonce.t. prefix.
2006-12-10daily updateAlan Modra1-1/+1
2006-12-09daily updateAlan Modra1-1/+1
2006-12-08daily updateAlan Modra1-1/+1
2006-12-07daily updateAlan Modra1-1/+1
2006-12-07bfd/Kazu Hirata2-24/+28
* elf32-m68k.c: Update uses of EF_M68K_*. binutils/ * readelf.c: Update uses of EF_M68K_*. gas/ * config/tc-m68k.c: Update uses of EF_M68K_*. include/elf * m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A_NODIV, EF_M68K_ISA_A, EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B_NOUSP, EF_M68K_ISA_B, EF_M68K_ISA_C, EF_M68K_MAC_MASK, EF_M68K_MAC, EF_M68K_EMAC, EF_M68K_EMAC_B, EF_M68K_FLOAT): Rename to EF_M68K_CF_ISA_MASK, EF_M68K_CF_ISA_A_NODIV, EF_M68K_CF_ISA_A, EF_M68K_CF_ISA_A_PLUS, EF_M68K_CF_ISA_B_NOUSP, EF_M68K_CF_ISA_B, EF_M68K_CF_ISA_C, EF_M68K_CF_MAC_MASK, EF_M68K_CF_MAC, EF_M68K_CF_EMAC, EF_M68K_CF_EMAC_B, EF_M68K_CF_FLOAT, respectively.
2006-12-07bfd/H.J. Lu2-4/+8
2006-12-07 H.J. Lu <hjl@gnu.org> PR ld/3666 * elflink.c (elf_link_add_object_symbols): Keep symbol visibility for symbols from discarded section. ld/testsuite/ 2006-12-07 H.J. Lu <hjl@gnu.org> PR ld/3666 * ld-elf/group3a.d: New file. * ld-elf/group3a.s: Likewise. * ld-elf/group3b.d: Likewise. * ld-elf/group3b.s: Likewise.