summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * readsyms.cc (Read_symbols::run): Don't queue an unblockerCary Coutant2011-10-172-2/+9
| | | | task for members of lib groups.
* Fixed several recent ChangeLog entries to remove "gold/" from filenames.Cary Coutant2011-10-171-12/+12
|
* PR gold/13288Cary Coutant2011-10-172-10/+24
| | | | | | * gold/fileread.cc (File_read::find_view): Add assert. (File_read::make_view): Move bounds check (replace with assert)... (File_read::find_or_make_view): ... to here.
* daily updateAlan Modra2011-10-171-1/+1
|
* PR ld/12975Alan Modra2011-10-172-1/+11
| | | | | | PR ld/13195 * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Apply 2011-09-15 and 2011-09-29 bfd_elf_gc_mark_dynamic_ref_symbol changes here too.
* daily updateAlan Modra2011-10-161-1/+1
|
* Set target from the the first object only if it isn't set.H.J. Lu2011-10-162-3/+9
| | | | | | | | 2011-10-16 H.J. Lu <hongjiu.lu@intel.com> PR binutils/13278 * ar.c (open_inarch): Set the target from the the first object on the list only if it isn't set.
* daily updateAlan Modra2011-10-151-1/+1
|
* * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check.Alan Modra2011-10-152-8/+4
|
* daily updateAlan Modra2011-10-141-1/+1
|
* * elf32-cris.c (cris_elf_gc_sweep_hook) <R_CRIS_16_GOTPLT>Hans-Peter Nilsson2011-10-142-0/+22
| | | | | | | | | <R_CRIS_32_GOTPLT>: Fix missing update of gotplt refcount for global symbols. <R_CRIS_8, R_CRIS_16, R_CRIS_32>: New cases for similar missing updates of the plt refcount. (elf_cris_adjust_gotplt_to_got): Assert integrity of the gotplt refcount in relation to the plt refcount.
* * ld-cris/pic-gc-72.d: Adjust for dropping unused undefinedHans-Peter Nilsson2011-10-142-3/+9
| | | | dynamic symbol "dsofn".
* daily updateAlan Modra2011-10-131-1/+1
|
* 2011-10-13 Nick Clifton <nickc@redhat.com>Nick Clifton2011-10-1312-1297/+1477
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes to aid translation: * addr2line.c (translate_address): Add comments describing context of a couple of printf statements. * ar.c (write_archive): Allow translation of error message. * bucomm.c (endian_string): Allow translation of strings. (display_target_list): Allow translation. * coffdump.c (dump_coff_type): Allow translation of output. (dump_coff_where): Likewise. (dump_coff_symbol): Likewise. (dump_coff_scope): Likewise. (dump_coff_sfile): Likewise. (dump_coff_section): Likewise. (coff_dump): Likewise. * dlltool (def_version): Allow translation of output. (run): Likewise. * dllwrap.c (run): Allow translation of output. * dwarf.c (print_dwarf_vma): Allow translation of output. (process_extended_line_op): Remove spurious translation. Add translation for strings that can be translated. (decode_location_exression): Allow translation of output. (read_and_display_attr_value): Allow translation of output. * readelf.c (slurp_rela_relocs): Add translation for error messages when failing to get data. (slurp_rel_relocs): Likewise. (get_32bit_elf_symbols): Likewise. (get_64bit_elf_symbols): Likewise. (dump_ia64_vms_dynamic_relocs): Replace abbreviation with full word. (process_relocs): Remove spurious translation. (decode_tic6x_unwind_bytecode): Likewise. (process_version_section): Improve error messages. (process_mips_specific): Likewise. (print_gnu_note): Remove spurious translation. (print_stapsdt_note): Likewise. (get_ia64_vms_note_type): Likewise. * sysdump.c (getCHARS): Allow translation. (fillup): Allow translation of output. (getone): Likewise. (must): Likewise. (derived_type): Likewise. * doc/binutils.doc (addr2line): Extend description of command line options. * po/binutils.pot: Regenerate.
* * elf32-arm.c (elf32_arm_final_link_relocate): Mark PLT calls viaNick Clifton2011-10-132-8/+22
| | | | stubs as resolved.
* PR binutils/13219Nick Clifton2011-10-132-59/+92
| | | | | | | | | | | | | | | | | | | * readelf.c (GET_ELF_SYMBOLS): Add sym_count parameter. (get_32bit_elf_symbols): Add num_syms_return argument. Return the number of symbols loaded into the symbol table. (get_64bit_elf_symbols): Likewise. (process_section_headers): Use GET_ELF_SYMBOLS to initialise symbol count. (proces_relocs): Likewise. (ia64_process_unwind): Likewise. (hppa_process_unwind): Likewise. (arm_process_unwind): Likewise. (process_dynamic_section): Likewise. (process_version_sections): Likewise. (process_symbol_table): Likewise. (process_section_groups): Likewise. Add check before indexing into the symbol table. (apply_relocations): Likewise.
* * config/tc-arm.c (check_ldr_r15_aligned): New.Nick Clifton2011-10-1315-60/+424
| | | | | | | | | | | | | | | | | | | (do_ldst): Warn in upredictable cases. (do_t_ldst): Likewise. (insns): Update accordingly. * gas/arm/ldr-bad.s: New testcase. * gas/arm/ldr-bad.l: Likewise. * gas/arm/ldr-bad.d: Likewise. * gas/arm/ldr.s: Likewise. * gas/arm/ldr.d: Likewise. * gas/arm/ldr-t-bad.s: Likewise. * gas/arm/ldr-t-bad.l: Likewise. * gas/arm/ldr-t-bad.d: Likewise. * gas/arm/ldr-t.s: Likewise. * gas/arm/ldr-t.d: Likewise. * gas/arm/sp-pc-usage-t.s: Correct. * gas/arm/sp-pc-usage-t.d: Update accordingly.
* * gold/output.cc (Output_file::open_base_file): Handle case whereCary Coutant2011-10-132-11/+26
| | | | ::read returns less than requested size.
* * pe-dll.c (generate_reloc): Don't emit a base reloc for anDave Korn2011-10-132-0/+14
| | | | underlying BFD reloc that will be discarded in eh_frame data.
* daily updateAlan Modra2011-10-121-1/+1
|
* * as.c (main): Define .gasversion. rather than __GAS_VERSION__.Alan Modra2011-10-127-8/+28
| | | | | | | | | | * frags.h (bss_address_frag): Delete (predefined_address_frag): New. * frags.c (frag_init): Init predefined_address_frag. Delete ref to bss_addres_frag. * symbols.c (S_CAN_BE_REDEFINED): New function. * symbols.h (S_CAN_BE_REDEFINED): Declare. * read.c (assign_symbol): Use S_CAN_BE_REDEFINED.
* * symbols.c (local_symbol_make): Make global.Alan Modra2011-10-124-3/+12
| | | | | * symbols.h (local_symbol_make): Declare. * as.c (main): Define __GAS_VERSION__.
* daily updateAlan Modra2011-10-111-1/+1
|
* PR binutils/13051Nick Clifton2011-10-1111-99/+333
| | | | | | | | | | | | | | | | | | | | | | | | Fix a syntax error bug when compiling rc files with the VERSIONINFO resource containing more than one language block inside a single StringFileInfo block. * windint.h (rc_ver_stringtable): New structure definition. (rc_ver_info): Use it. * rcparse.y (verstringtable): New variable. (verstringtables): New type. (verstringtables:): New rule declaration. (verblocks:): Use it. * resrc.c (append_ver_stringtable): New function. (append_ver_stringfileinfo): Update to use stringtables. * windres.h (append_ver_stringfileinfo): Update declaration. (append_ver_stringtable): New declaration. * resrc.c (write_rc_versioninfo): Update to support multiple blocks. * resbin.c (bin_to_res_version): Likewise. (res_to_bin_versioninfo): Likewise. * binutils-all\windres\version.rsd: Regenerate. * binutils-all\windres\version_cat.rsd: Regenerate. * binutils-all\windres\version_mlang.rc: Add new test. * binutils-all\windres\version_mlang.rsd: Likewise.
* PR binutils/13278Alan Modra2011-10-112-3/+11
| | | | | | | * archive.c (bfd_generic_archive_p): Only check first element when target_defaulted. (_bfd_construct_extended_name_table): Use ar_maxnamelen. (_bfd_archive_bsd44_construct_extended_name_table): Likewise.
* PR binutils/13257Alan Modra2011-10-112-2/+17
| | | | | * archive.c (_bfd_find_nested_archive, _bfd_get_elt_at_filepos): Open thin archive element using container target if not defaulted.
* daily updateAlan Modra2011-10-101-1/+1
|
* merge from gccDJ Delorie2011-10-103-0/+36
|
* * gold/incremental.cc (Sized_relobj_incr::Sized_relobj_incr):Cary Coutant2011-10-104-13/+66
| | | | | | | | | | | | | | Initialize defined_count_. (Sized_relobj_incr::do_add_symbols): Count defined symbols. (Sized_relobj_incr::do_get_global_symbol_counts): Rewrite. (Sized_incr_dynobj::Sized_incr_dynobj): Initialize defined_count_. (Sized_incr_dynobj::do_add_symbols): Count defined symbols. (Sized_incr_dynobj::do_get_global_symbol_counts): Rewrite. * gold/incremental.h (Sized_relobj_incr::defined_count_): New data member. (Sized_incr_dynobj::defined_count_): New data member. * gold/plugin.cc (Sized_pluginobj::do_get_global_symbol_counts): Return zeroes instead of internal error.
* PR gold/13249Cary Coutant2011-10-106-47/+85
| | | | | | | | | | | | | * gold/output.cc (Output_reloc::Output_reloc): Add use_plt_offset flag. (Output_reloc::symbol_value): Return PLT offset if flag is set. * gold/output.h (class Output_reloc): Add use_plt_offset flag. (Output_reloc::type_): Adjust size of bit field. (Output_reloc::use_plt_offset_): New bit field. (class Output_data_reloc): Adjust all calls to Output_reloc_type. (Output_data_reloc::add_local_relative): (RELA only) Add use_plt_offset flag. Adjust all callers. * gold/x86_64.cc (Target_x86_64::Scan::local): Check for IFUNC when creating RELATIVE relocations.
* Updated Bulgarian, Spanish, Finnish, French, Russian and Ukranian translations.Nick Clifton2011-10-1030-17867/+24930
|
* include/elf/Alan Modra2011-10-104-6/+151
| | | | | | | | | | | | | | | | * ppc64.h (R_PPC64_TOCSAVE): Add. bfd/ * elf64-ppc.c (ppc64_elf_howto_table): Add R_PPC64_TOCSAVE entry. (struct ppc_link_hash_table): Add tocsave_htab. (struct tocsave_entry): New. (tocsave_htab_hash, tocsave_htab_eq, tocsave_find): New functions. (ppc64_elf_link_hash_table_create): Create tocsave_htab.. (ppc64_elf_link_hash_table_free): ..and delete it. (build_plt_stub): Always put STD_R2_40R1 first. (ppc64_elf_size_stubs): Check for R_PPC64_TOCSAVE following reloc on plt call. If present add prologue nop location to tocsave_htab. (ppc64_elf_relocate_section): Convert prologue nop to std. Skip first insn of plt call stub when R_PPC64_TOCSAVE present.
* * ldmain.c (main): Move code twiddling various config and link_infoAlan Modra2011-10-104-79/+86
| | | | | | | | | | bits to.. * lexsup.c (parse_args): ..here. Move plugin_load_plugins call into main. * plugin.c (set_tv_header): Test link_info.executable, not link_info.shared. (is_visible_from_outside): Likewise. Delete redundant is_ir_dummy_bfd check and "section" parameter.
* ld/Alan Modra2011-10-1010-21/+36
| | | | | | | | | | | | * emultempl/ppc64elf.em (ppc_add_stub_section): Align to 32 bytes. ld/testsuite/ * ld-powerpc/relbrlt.d: Update for stub alignment change. * ld-powerpc/tlsexe.g: Likewise. * ld-powerpc/tlsexe.r: Likewise. * ld-powerpc/tlsexetoc.g: Likewise. * ld-powerpc/tlsexetoc.r: Likewise. * ld-powerpc/tlsso.g: Likewise. * ld-powerpc/tlsso.r: Likewise.
* daily updateAlan Modra2011-10-091-1/+1
|
* * emultempl/ppc64elf.em (ppc_create_output_section_statements): AddAlan Modra2011-10-092-3/+9
| | | | | missing colon to error message. (ppc_before_allocation): Likewise.
* daily updateAlan Modra2011-10-081-1/+1
|
* Preserve the maximum alignment/size for common symbols.H.J. Lu2011-10-087-0/+91
| | | | | | | | | | | | | | | | | | | | | | bfd/ 2011-10-08 H.J. Lu <hongjiu.lu@intel.com> PR ld/13250 * elflink.c (elf_link_add_object_symbols): Preserve the maximum alignment and size for common symbols. ld/testsuite/ 2011-10-08 H.J. Lu <hongjiu.lu@intel.com> PR ld/13250 * ld-elf/shared.exp (build_tests): Add tests for PR ld/13250. (run_tests): Likewise. * ld-elf/pr13250-1.c: New. * ld-elf/pr13250-2.c: Likewise. * ld-elf/pr13250-3.c: Likewise.
* PR ld/13229Alan Modra2011-10-082-4/+14
| | | | | | PR ld/13244 * elflink.c (elf_link_add_object_symbols): Don't make IR symbols dynamic.
* * elflink.c (elf_link_output_extsym): Strip defined plugin symbolsAlan Modra2011-10-072-4/+11
| | | | even when strip_discarded is false.
* daily updateAlan Modra2011-10-071-1/+1
|
* Don't run dw2-decodedline.S on ia64.H.J. Lu2011-10-072-1/+5
| | | | | | 2011-10-07 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/objdump.exp: Don't run dw2-decodedline.S on ia64.
* Run --gc-sections tests only if supported.H.J. Lu2011-10-072-3/+10
| | | | | | | 2011-10-07 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/elf.exp: Run --gc-sections tests only if --gc-sections is available.
* daily updateAlan Modra2011-10-061-1/+1
|
* dyslexiaAlan Modra2011-10-061-1/+1
|
* PR ld/13329Alan Modra2011-10-0615-266/+316
| | | | | | | | | | | | | | | ld/ * plugin.c (tv_header_tags): Add LDPT_GET_SYMBOLS_V2. (set_tv_header): Handle it. Adjust LDPT_GET_SYMBOLS. Return void. (get_symbols): Add def_ironly_exp param. Return that value for syms exported from shared libs. (get_symbols_v1, get_symbols_v2): New wrapper functions. * testplug.c: Update for above changes. ld/testsuite/ * ld-plugin/plugin-1.d, * ld-plugin/plugin-2.d, * ld-plugin/plugin-3.d, * ld-plugin/plugin-4.d, * ld-plugin/plugin-5.d, * ld-plugin/plugin-6.d, * ld-plugin/plugin-7.d, * ld-plugin/plugin-8.d, * ld-plugin/plugin-9.d, * ld-plugin/plugin-10.d, * ld-plugin/plugin-11.d: Update.
* gas/testsuite/Jan Beulich2011-10-069-63/+150
| | | | | | | | | | | | | | | | | | | | | | | 2011-09-28 Jan Beulich <jbeulich@suse.com> * gas/ppc/476.s: Fix lswi first operand. * gas/ppc/476.d: Adjust expected output. * gas/ppc/a2.s: Fix lswi first operand. * gas/ppc/a2.d: Adjust expected output. * gas/ppc/power6.s: Fix lfdpx first operand. * gas/ppc/power6.d: Adjust expected output. opcodes/ 2011-09-28 Jan Beulich <jbeulich@suse.com> * ppc-opc.c (insert_nbi, insert_rbx, FRAp, FRBp, FRSp, FRTp, NBI, RAX, RBX): New. (insert_bo, insert_boe): Reject bcctr with bit 2 in bo unset. (powerpc_opcodes): Use RAX for second and RBXC for third operand of lswx. Use NBI for third operand of lswi. Use FRTp for first operand of lfdp and lfdpx. Use FRSp for first operand of stfdp and stfdpx, and mark them as invalid on POWER7. Use FRTp, FRAp, and FRBp repsectively on DFP quad instructions.
* * coffgen.c (coff_write_alien_symbol): Don't writeKai Tietz2011-10-062-0/+24
| | | | | | symbol for discarded sections, if strip_discarded isn't explicit set to false. (coff_write_native_symbol): Likewise.
* daily updateAlan Modra2011-10-051-1/+1
|
* Add missing ChangeLog entries.H.J. Lu2011-10-052-0/+20
|