aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2012-08-22daily updateAlan Modra1-1/+1
2012-08-21daily updateAlan Modra1-1/+1
2012-08-20 * vms-lib.c (_bfd_vms_lib_get_module): Use bfd_zmalloc forTom Tromey8-22/+52
areltdata. * opncls.c (_bfd_delete_bfd): Free arelt_data. * mach-o.c (bfd_mach_o_fat_member_init): Use bfd_zmalloc for areltdata. * ecoff.c (_bfd_ecoff_slurp_armap): Use free for mapdata. * coff-rs6000.c (_bfd_xcoff_read_ar_hdr): Use bfd_zmalloc for areltdata. (xcoff_write_archive_contents_old): Likewise. (xcoff_write_archive_contents_big): Likewise. * archive64.c (bfd_elf64_archive_slurp_armap): Use free for areltdata. * archive.c (_bfd_generic_read_ar_hdr_mag): Use bfd_zmalloc and free for areltdata. (_bfd_get_elt_at_filepos): Likewise. Clear n_nfd->arelt_data on failure. (do_slurp_bsd_armap): Use bfd_zmalloc and free for areltdata. (do_slurp_coff_armap): Likewise. (_bfd_slurp_extended_name_table): Likewise. (bfd_slurp_bsd_armap_f2): Likewise. Don't leak 'mapdata'.
2012-08-20daily updateAlan Modra1-1/+1
2012-08-19daily updateAlan Modra1-1/+1
2012-08-18daily updateAlan Modra1-1/+1
2012-08-17 * po/vi.po: Updated Vietnamese translation.Nick Clifton2-26/+25
* po/uk.po: New Ukranian translation. * configure.in (ALL_LINGUAS): Add uk. * configure: Regenerate.
2012-08-17typo fixesAlan Modra11-12/+17
2012-08-17 PR binutils/14475:Alan Modra2-2/+11
* archive.c (bfd_ar_hdr_from_filesystem): Revert last change. Instead malloc areltdata.
2012-08-17daily updateAlan Modra1-1/+1
2012-08-16 PR binutils/14475:Tom Tromey2-5/+8
* archive.c (bfd_ar_hdr_from_filesystem): Allocate areltdata on 'member' BFD. Don't try to free 'ared'.
2012-08-16daily updateAlan Modra1-1/+1
2012-08-15daily updateAlan Modra1-1/+1
2012-08-14Updated Ukranian translations.Nick Clifton2-41/+55
2012-08-14daily updateAlan Modra1-1/+1
2012-08-13 * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Look upMaciej W. Rozycki2-1/+7
the options section in the output rather than input BFD to decide if to add a DT_MIPS_OPTIONS tag.
2012-08-13 * config.bfd: Wrap mips*el-*-linux* and mips*-*-linux* intoMaciej W. Rozycki2-2/+5
#ifdef BFD64.
2012-08-13Add support for 64-bit ARM architecture: AArch64Nick Clifton16-5/+7825
2012-08-13 * elfxx-mips.c (mips_elf_calculate_relocation): Fix the handlingMaciej W. Rozycki2-1/+9
of protected symbols.
2012-08-13daily updateAlan Modra1-1/+1
2012-08-12daily updateAlan Modra1-1/+1
2012-08-11daily updateAlan Modra1-1/+1
2012-08-10 PR binutils/14444Alan Modra2-25/+33
* elf.c (IS_VALID_GROUP_SECTION_HEADER) Add minsize param. (setup_group): Adjust uses. (bfd_section_from_shdr): Allow SHT_GROUP sections with just a flag word.
2012-08-10daily updateAlan Modra1-1/+1
2012-08-09Updated Vietnamese translation.Nick Clifton2-1388/+3595
2012-08-09 * elfxx-mips.c (LA25_LUI_MICROMIPS_1, LA25_LUI_MICROMIPS_2):Maciej W. Rozycki2-45/+60
Remove macros, folding them into... (LA25_LUI_MICROMIPS): ... this new macro. (LA25_J_MICROMIPS_1, LA25_J_MICROMIPS_2): Likewise into... (LA25_J_MICROMIPS): ... this new macro. (LA25_ADDIU_MICROMIPS_1, LA25_ADDIU_MICROMIPS_2): Likewise into... (LA25_ADDIU_MICROMIPS): ... this new macro. (bfd_put_micromips_32, bfd_get_micromips_32): New functions. (mips_elf_create_la25_stub): Use them. (check_br32_dslot, check_br32, check_relocated_bzc): Likewise. (_bfd_mips_elf_relax_section): Likewise.
2012-08-09 * archive.c (SECTION Archives): Update documentation.Alan Modra5-35/+95
(_bfd_delete_archive_data): Remove. (_bfd_add_bfd_to_archive_cache): Set 'parent_cache' and 'key'. (archive_close_worker, _bfd_archive_close_and_cleanup): New functions. * libbfd-in.h (struct areltdata <parent_cache, key>): New fields. (_bfd_delete_archive_data): Don't declare. (_bfd_archive_close_and_cleanup): Declare. (_bfd_generic_close_and_cleanup): Redefine. * libbfd.h: Rebuild. * opncls.c (_bfd_delete_bfd): Don't call _bfd_delete_archive_data. (bfd_close): Don't close nested thin archives here.
2012-08-09daily updateAlan Modra1-1/+1
2012-08-08daily updateAlan Modra1-1/+1
2012-08-07 * config/tc-i386.c (lex_got): Provide implementation for PENick Clifton5-0/+28
format. * gas/i386/secrel.s: Add test of <symbol>@SECREL32. * gas/i386/secrel.d: Add expected disassembly. * scripttempl/pe.sc (R_TLS): Add .tls$AAA and .tls$ZZZ. * scripttempl/pep.sc (R_TLS): Add .tls$AAA and .tls$ZZZ. * archive.c (_bfd_delete_archive_data): New function. * libbfd-in.h (_bfd_delete_archive_data): Declare. * libbfd.h: Rebuild. * opncls.c (_bfd_delete_bfd): Call _bfd_delete_archive_data.
2012-08-07Updated Ukranian and Japanese translations.Nick Clifton2-300/+328
2012-08-07daily updateAlan Modra1-1/+1
2012-08-06 bfd/Maciej W. Rozycki2-1/+6
* elflink.c (bfd_elf_record_link_assignment): Remove --defsym symbols special case. ld/ * ldexp.h (etree_union): Add defsym member to the assign member structure. (exp_assign): Add hidden argument to prototype. * ldexp.c (exp_fold_tree_1): Use the defsym member to handle --defsym symbols. (exp_assop): Add defsym argument, initialize the defsym member of the assign structure. (exp_assign): Handle hidden symbols. (exp_defsym): Update to use the defsym argument to exp_assop. (exp_provide): Update to handle the defsym argument to exp_assop. * ldlex.l (HIDDEN): New token. * ldgram.y (HIDDEN): Likewise. (assignment, section): Update calls to exp_assign. * ldctor.c (ldctor_build_sets): Likewise. * mri.c (mri_format): Likewise. * ldlang.c (lang_insert_orphan, lang_leave_overlay): Likewise. (open_input_bfds): Remove --defsym symbols special case. * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Update call to exp_assign. * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise. * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise. * emultempl/spuelf.em (spu_place_special_section): Likewise. * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise. * ld.texinfo (Assigning Values to Symbols): Add HIDDEN. (HIDDEN): New subsection.
2012-08-06daily updateAlan Modra1-1/+1
2012-08-05 bfd/Maciej W. Rozycki2-25/+12
* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Don't allocate PLT slots for local symbols. ld/testsuite/ * ld-vax-elf: New directory. * ld-vax-elf/plt-local-lib.dd: New test. * ld-vax-elf/plt-local-lib.ld: New test linker script. * ld-vax-elf/plt-local-lib.s: New test source. * ld-vax-elf/plt-local.dd: New test. * ld-vax-elf/plt-local.ld: New test linker script. * ld-vax-elf/plt-local.s: New test source. * ld-vax-elf/plt-local-hidden-pic.s: New test source. * ld-vax-elf/plt-local-rehidden-pic.s: New test source. * ld-vax-elf/vax-elf.exp: New test script.
2012-08-05daily updateAlan Modra1-1/+1
2012-08-04daily updateAlan Modra1-1/+1
2012-08-03 * elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_maskMaciej W. Rozycki3-14/+20
field initializers throughout. * elfn32-mips.c (elf_mips16_howto_table_rela): Likewise.
2012-08-03 bfd/Maciej W. Rozycki2-2/+8
* elfxx-mips.c (mips_elf_perform_relocation): Update the cross-mode jump message. ld/testsuite/ * ld-mips-elf/mode-change-error-1.d: Update the error message.
2012-08-03 * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Update theMaciej W. Rozycki2-2/+7
comment on DT_MIPS_RLD_MAP.
2012-08-03 * opncls.c (_bfd_delete_bfd): Now static.Tom Tromey4-5/+7
* libbfd-in.h (_bfd_delete_bfd): Don't declare. * libbfd.h: Rebuild.
2012-08-02 * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): ModifiedSean Keys2-2/+10
conditional statment to allow suppression of mismatched bank warning.
2012-08-02daily updateAlan Modra1-1/+1
2012-08-01 * dwarf2.c (struct dwarf2_debug): Add close_on_cleanup.Alan Modra2-3/+15
(_bfd_dwarf2_slurp_debug_info): Set close_on_cleanup if we open gnu_debuglink bfd. (_bfd_dwarf2_cleanup_debug_info): Act on close_on_cleanup.
2012-08-01daily updateAlan Modra1-1/+1
2012-07-31daily updateAlan Modra1-1/+1
2012-07-30Updated translationsNick Clifton6-5672/+6082
2012-07-30daily updateAlan Modra1-1/+1
2012-07-29daily updateAlan Modra1-1/+1
2012-07-28daily updateAlan Modra1-1/+1