aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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.
2006-12-06daily updateAlan Modra1-1/+1
2006-12-06 * elf64-alpha.c (elf64_alpha_merge_symbol_attribute): New function.Alan Modra2-0/+20
(elf_backend_merge_symbol_attribute): Define.
2006-12-05daily updateAlan Modra1-1/+1
2006-12-04daily updateAlan Modra1-1/+1
2006-12-04bfd/Jan Beulich2-13/+10
2006-12-04 Jan Beulich <jbeulich@novell.com> * elflink.c (_bfd_elf_link_create_dynamic_sections): Don't create .eh_frame_hdr section from here anymore. (bfd_elf_size_dynamic_sections): Call _bfd_elf_maybe_strip_eh_frame_hdr a little earlier. ld/ 2006-12-04 Jan Beulich <jbeulich@novell.com> * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create .eh_frame_hdr section here. ld/testsuite/ 2006-12-04 Jan Beulich <jbeulich@novell.com> * ld-elf/eh-frame-hdr.d: New. * ld-elf/eh-frame-hdr.s: New. * ld-ia64/tlsbin.dd, ld-ia64/tlsbin.sd: Don't depend on exact linkage table layout.
2006-12-03daily updateAlan Modra1-1/+1
2006-12-02daily updateAlan Modra1-1/+1
2006-12-01daily updateAlan Modra1-1/+1
2006-12-012006-12-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+8
PR binutils/3609 * elf.c (rewrite_elf_program_header): Preserve segment physical address in the output segment if the first section in the corresponding input segment is null.
2006-12-01PR 3609Nick Clifton2-1/+8
* elf.c (rewrite_elf_program_header): Do not use the first_section pointer if it is null.
2006-11-30daily updateAlan Modra1-1/+1
2006-11-29daily updateAlan Modra1-1/+1
2006-11-292006-11-29 Paul Brook <paul@codesourcery.com>Paul Brook2-0/+18
bfd/ * elf32-arm.c (elf32_arm_to_thumb_export_stub): Assert that output section is present. (allocate_dynrelocs): Only add export stub for symbols defined in this object.
2006-11-292006-11-29 Paul Brook <paul@codesourcery.com>Paul Brook2-10/+23
Julian Brown <julian@codesourcery.com> bfd/ * elf32-arm.c (copy_eabi_attributes): Correct starting offset. (elf32_arm_merge_eabi_attributes): Mark output as initialized. Only set Tag_CPU_name and Tag_ABI_PCS_R9_use if input attribute is present.
2006-11-28daily updateAlan Modra1-1/+1
2006-11-27daily updateAlan Modra1-1/+1
2006-11-27bfd/Bob Wilson2-0/+5
* elf32-xtensa.c (elf_xtensa_special_sections): Add .xtensa.info. gas/ * config/tc-xtensa.c (XSHAL_ABI): Add default definition. (directive_state): Disable scheduling by default. (xtensa_add_config_info): New. (xtensa_end): Call xtensa_add_config_info. gas/testsuite/ * gas/elf/section2.e-xtensa: New file. * gas/elf/elf.exp: Use it. include/ * xtensa-config.h (XSHAL_ABI): New. (XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New. ld/ * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition. (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags. Delete redundant code to set sections flags and alignment. (xt_config_info_unpack_and_check, check_xtensa_info): New. (elf_xtensa_after_open): Iterate over input statements instead of link_info.input_bfds. (elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for each input, and write a new .xtensa.info section in the output.
2006-11-26daily updateAlan Modra1-1/+1
2006-11-25daily updateAlan Modra1-1/+1
2006-11-252006-11-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-6/+37
* elf.c (IS_SECTION_IN_INPUT_SEGMENT): New. (INCLUDE_SECTION_IN_SEGMENT): Use IS_SECTION_IN_INPUT_SEGMENT. (rewrite_elf_program_header): Don't preserve segment physical address in the output segment if the first section in the corresponding input segment is removed.
2006-11-24daily updateAlan Modra1-1/+1
2006-11-23daily updateAlan Modra1-1/+1
2006-11-22daily updateAlan Modra1-1/+1
2006-11-22 * pef.c (bfd_pef_make_empty_symbol): Delete function. Define instead.Alan Modra4-12/+8
* xsym.c (bfd_sym_make_empty_symbol): Likewise. * xsym.h (bfd_sym_make_empty_symbol): Delete.
2006-11-22 * elf32-ppc.c (ppc_elf_relocate_section): Fixup D fieldGreg McGary3-16/+25
at proper offset in little-endian mode. * elf64-ppc.c (ppc_elf_relocate_section): Likewise.
2006-11-21daily updateAlan Modra1-1/+1
2006-11-21 * elf-eh-frame.c (struct cie): New type.Jakub Jelinek3-182/+262
(cie_compare): Removed. (cie_eq, cie_hash, cie_compute_hash): New functions. (_bfd_elf_discard_section_eh_frame): Rewrite not to rely on FDEs pointing only to last CIE and allow merging of any duplicate CIEs, not just duplicate consecutive CIEs. (_bfd_elf_discard_section_eh_frame_hdr): Delete cies hash table. * elf-bfd.h (struct cie_header, struct cie): Removed. (struct eh_frame_sec_info): Remove alloced field. (struct eh_frame_hdr_info): Remove last_cie, last_cie_sec and last_cie_inf fields. Add cies field. * ld-elf/eh5.d: New test. * ld-elf/eh5.s: New file. * ld-elf/eh5a.s: New file. * ld-elf/eh5b.s: New file.
2006-11-20daily updateAlan Modra1-1/+1
2006-11-20 * bfd-in.h (struct stat): Don't typedef.Alan Modra7-15/+27
* bfdio.c (bfd_get_size): Return a file_ptr. * cisco-core.c (cisco_core_file_validate): Use bfd_size_type for nread. * mmo.c (mmo_scan): Use file_ptr for curpos. * trad-core.c (trad_unix_core): Don't cast statbuf.st_size to unsigned long. * bfd-in2.h: Regenerate.
2006-11-20 PR 3532Alan Modra4-16/+32
* bfd-in.h (struct bfd_hash_table): Reorganize. Add "frozen". * hash.c (bfd_hash_table_init_n): Init frozen. (bfd_hash_lookup): Don't grow if frozen. (bfd_hash_traverse): Freeze hash table during traversal. * bfd-in2.h: Regenerate.
2006-11-19daily updateAlan Modra1-1/+1
2006-11-18daily updateAlan Modra1-1/+1
2006-11-17daily updateAlan Modra1-1/+1
2006-11-17 * elflink.c (_bfd_elf_check_kept_section): Test for kept groupAlan Modra2-51/+43
section. Save result of checks in kept_section. (_bfd_elf_section_already_linked): Tidy. Correct comments. Ignore all group member sections. Handle special matching of single-member groups against linkonce sections via their group section. When such a match is found, set kept_section to the group member section rather than to the group.