aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2008-11-11daily updateAlan Modra1-1/+1
2008-11-11 * elf.c (assign_file_positions_for_non_load_sections): ConsolidateAlan Modra2-40/+31
PT_GNU_RELRO handling.
2008-11-10daily updateAlan Modra1-1/+1
2008-11-10 PR 7012Alan Modra2-32/+44
* dwarf2.c (find_line): Don't keep stale pointers into realloc'd memory. Return on errors. Fix memory leak. (_bfd_dwarf2_cleanup_debug_info): Free dwarf_str_buffer.
2008-11-10 PR 7011Andreas Schwab2-65/+72
* elf.c (assign_file_positions_for_non_load_sections): Handle PT_GNU_RELRO specially.
2008-11-09daily updateAlan Modra1-1/+1
2008-11-08daily updateAlan Modra1-1/+1
2008-11-07daily updateAlan Modra1-1/+1
2008-11-06daily updateAlan Modra1-1/+1
2008-11-06Add m32c-*-rtems* and m32r-*-rtems* configuration targets.Nick Clifton2-1/+5
2008-11-06 * configure, config.in: Rebuild.Tom Tromey5-4/+37
* configure.in: Check for fileno. * bfdio.c (close_on_exec): New function. (real_fopen): Use it. (FD_CLOEXEC): New define.
2008-11-06Remove extra blank line.Tristan Gingold1-1/+0
2008-11-062008-11-06 Tristan Gingold <gingold@adacore.com>Tristan Gingold4-122/+486
* mach-o.h (BFD_MACH_O_NO_SECT): Add; reorders the macros. (BFD_MACH_O_SYM_NTYPE, BFD_MACH_O_SYM_NSECT, BFD_MACH_O_SYM_NDESC): New macros. (bfd_mach_o_i386_thread_flavour): Define according to the latest definition from system header. (bfd_mach_o_load_command_type): Add BFD_MACH_O_LC_RPATH, BFD_MACH_O_LC_CODE_SIGNATURE. (BFD_MACH_O_SECTION_TYPE_MASK, BFD_MACH_O_SECTION_ATTRIBUTES_MASK, BFD_MACH_O_SECTION_ATTRIBUTES_SYS, BFD_MACH_O_SECTION_ATTRIBUTES_USR, BFD_MACH_O_S_ATTR_LOC_RELOC, BFD_MACH_O_S_ATTR_EXT_RELOC, BFD_MACH_O_S_ATTR_SOME_INSTRUCTIONS, BFD_MACH_O_S_ATTR_DEBUG, BFD_MACH_O_S_ATTR_PURE_INSTRUCTIONS): Add. (bfd_mach_o_segment_command): Add room for a nul terminator in segname field. (BFD_MACH_O_PROT_READ, BFD_MACH_O_PROT_WRITE, BFD_MACH_O_PROT_EXECUTE): Add. (INDIRECT_SYMBOL_LOCAL): Renames to BFD_MACH_O_INDIRECT_SYMBOL_LOCAL. (INDIRECT_SYMBOL_ABS): Renames to BFD_MACH_O_INDIRECT_SYMBOL_ABS. (bfd_mach_o_uuid_command): Add the structure. (bfd_mach_o_load_command): Add uuid field. (bfd_get_mach_o_data): New macro. * mach-o.c (bfd_mach_o_bfd_print_private_bfd_data): New function which replaces the macro. (SECTION_TYPE, SECTION_ATTRIBUTES, SECTION_ATTRIBUTES_USR, S_ATTR_PURE_INSTRUCTIONS, SECTION_ATTRIBUTES_SYS, S_ATTR_SOME_INSTRUCTIONS, S_ATTR_EXT_RELOC, S_ATTR_LOC_RELOC): Renamed and moved to mach-o.h. (N_STAB, N_TYPE, N_EXT, N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_SECT, N_INDR): Removed as they duplicated macros in mach-o.h. (bfd_mach_o_print_symbol): Print much more details. (bfd_mach_o_make_bfd_section): Add prot argument, use canonical dwarf name for dwarf sections. Precisely set section flags. (bfd_mach_o_scan_read_section_32): Add prot argument. (bfd_mach_o_scan_read_section_64): Ditto. (bfd_mach_o_scan_read_section): Ditto. (bfd_mach_o_scan_read_symtab_symbol): Set section for debugging stabs, set BSF_GLOBAL and LOCAL flags correctly. Fix section for N_SECT symbols. (bfd_mach_o_i386_flavour_string): Reindent and adjust for new names. (bfd_mach_o_scan_read_symtab): Set HAS_SYMS flags on bfd if there are symbols. (bfd_mach_o_scan_read_uuid): New function. (bfd_mach_o_scan_read_segment): Add a trailing nul. Segments flags are now simply HAS_CONTENTS. Pass protection to bfd_mach_o_scan_read_section. (bfd_mach_o_scan_read_command): Decode UUID command. (bfd_mach_o_flatten_sections): Add comments. Fix flavour names. (bfd_mach_o_scan): Set flags according to file type. (mach_o_fat_archentry): Remove abfd field. (bfd_mach_o_archive_p): Remove initialization of abfd field. (bfd_mach_o_openr_next_archived_file): Find previous archive by position and not by bfd (as former bfds may have been freed). Give architecture name to archived file. * mach-o-target.c (TARGET_NAME): Use generic archive for non fat targets.
2008-11-05daily updateAlan Modra1-1/+1
2008-11-04daily updateAlan Modra1-1/+1
2008-11-03daily updateAlan Modra1-1/+1
2008-11-02daily updateAlan Modra1-1/+1
2008-11-01daily updateAlan Modra1-1/+1
2008-10-31daily updateAlan Modra1-1/+1
2008-10-31daily updateAlan Modra1-1/+1
2008-10-30 * cache.c (cache_bread): Cast void * pointer before performingNick Clifton2-2/+11
arithmetic on it.
2008-10-30daily updateAlan Modra1-1/+1
2008-10-29daily updateAlan Modra1-1/+1
2008-10-28daily updateAlan Modra1-1/+1
2008-10-27daily updateAlan Modra1-1/+1
2008-10-26daily updateAlan Modra1-1/+1
2008-10-25daily updateAlan Modra1-1/+1
2008-10-24daily updateAlan Modra1-1/+1
2008-10-23daily updateAlan Modra1-1/+1
2008-10-22daily updateAlan Modra1-1/+1
2008-10-21daily updateAlan Modra1-1/+1
2008-10-20 * elf64-ppc.c (ppc64_elf_process_dot_syms): Renamed fromAlan Modra3-13/+14
ppc64_elf_check_directives. * elf32-sh-symbian.c (sh_symbian_process_directives): Combine.. (sh_symbian_check_directives): ..this (bfd_elf32_sh_symbian_process_directives) ..and this function.
2008-10-20 * elflink.c (bfd_elf_final_link): Move code reading relocs to..Alan Modra4-26/+30
* elf32-spu.c (spu_elf_count_relocs): ..here. Adjust params. * elf-bfd.h (struct elf_backend_data): Update elf_backend_count_relocs params.
2008-10-20 * elflink.c (bfd_elf_final_link): Use d_ptr rather than d_valAlan Modra2-6/+12
where Elf_Internal_Dyn holds an address.
2008-10-20daily updateAlan Modra1-1/+1
2008-10-19daily updateAlan Modra1-1/+1
2008-10-18daily updateAlan Modra1-1/+1
2008-10-17daily updateAlan Modra1-1/+1
2008-10-16daily updateAlan Modra1-1/+1
2008-10-15daily updateAlan Modra1-1/+1
2008-10-14daily updateAlan Modra1-1/+1
2008-10-13daily updateAlan Modra1-1/+1
2008-10-12daily updateAlan Modra1-1/+1
2008-10-11daily updateAlan Modra1-1/+1
2008-10-10include/elf/Nathan Froyd2-0/+32
* ppc.h: Add Tag_GNU_Power_ABI_Struct_Return. bfd/ * elf32-ppc.c (ppc_elf_merge_obj_attributes): Merge Tag_GNU_Power_ABI_Struct_Return. binutils/ * readelf.c (display_power_gnu_attribute): Decode Tag_GNU_Power_ABI_Struct_Return. ld/testsuite/ * ld-powerpc/gnu-attr-12-1.s: New file. * ld-powerpc/gnu-attr-12-2.s: New file. * ld-powerpc/gnu-attr-12-11.d: New file. * ld-powerpc/gnu-attr-12-21.d: New file. * ld-powerpc/powerpc.exp: Run new dump tests.
2008-10-10daily updateAlan Modra1-1/+1
2008-10-09binutils/Kai Tietz2-5/+9
2008-10-09 Kai Tietz <kai.tietz@onevision.com> * dlltool.c (PAGE_SIZE): Make sure it has bfd_vma type. (PAGE_MASK): Likewise. (sfunc): Change to address size of bfd_vma for base-file. (flush_page): Likewise. (gen_exp_file): Likewise. bfd/ 2008-10-09 Kai Tietz <kai.tietz@onevision.com> * cofflink.c (_bfd_coff_generic_relocate_section): Dump bfd_vma sized addresses instead of long sized.
2008-10-09 * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't attempt toAlan Modra2-14/+19
read plt relocs if no dynamic syms.
2008-10-09daily updateAlan Modra1-1/+1
2008-10-08 * configure.in (ALL_LINGUAS): Add "id".Nick Clifton4-2/+3845
* configure: Regenerate. * po/id.po: New Indonesian translation.