summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* daily updateAlan Modra2010-05-071-1/+1
|
* merge from gccDJ Delorie2010-05-064-1/+19
|
* Handle EM_L1OM.H.J. Lu2010-05-063-0/+9
| | | | | | | | 2010-05-06 H.J. Lu <hongjiu.lu@intel.com> * dwarf.c (init_dwarf_regnames): Handle EM_L1OM. * readelf.c (get_elf_section_flags): Likewise. (process_section_headers): Likewise.
* * ld-elf/orphan-region.d: Use ld -N.Joseph Myers2010-05-062-2/+6
|
* revert erroneous commitNathan Sidwell2010-05-062-5/+1
|
* * cpu-mips.c (arch_info_struct): Fixup XLR entry.Nathan Sidwell2010-05-062-1/+5
|
* daily updateAlan Modra2010-05-061-1/+1
|
* Updated Spanish translations.Nick Clifton2010-05-0514-3080/+3543
|
* * read.c (cons_worker): Detect and reject unexpected string argument.Nathan Sidwell2010-05-057-1/+29
| | | | | | | | testsuite/ * gas/all/byte.s: New. * gas/all/byte.l: New. * gas/all/byte.d: New. * gas/all/gas.exp: Add it.
* daily updateAlan Modra2010-05-051-1/+1
|
* * write.c (fixup_segment): Revert previous delta.Nick Clifton2010-05-043-3/+8
| | | | | * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the generation of relocations for fixups against weak symbols.
* daily updateAlan Modra2010-05-041-1/+1
|
* bfd/Tristan Gingold2010-05-033-13/+31
| | | | | | | | | | 2010-05-03 Tristan Gingold <gingold@adacore.com> * vms-lib.c (vms_lib_bopen): Fix the size threshold to read selective_search flag. Add comments. * vms-alpha.c (alpha_vms_bfd_final_link): Create the DMT section before output_has_begun is set.
* bfd/Tristan Gingold2010-05-034-51/+150
| | | | | | | | | | | | | | | | | | | | | 2010-05-03 Tristan Gingold <gingold@adacore.com> * vms-alpha.c: Add comments. (struct vms_private_data_struct): Remove image_autoextend field. (dst_check_allocation): Removed. (image_write): Remove call to dst_check_allocation. (vms_slurp_debug): Do not set image_autoextend. Adjust section size. (_bfd_vms_slurp_object_records): Remove useless new_type variable. (alpha_vms_write_exec): Use dst_section to get the dst section. Write the dmt section. (evax_bfd_print_image): Also print the dst size in hexa. Fix typo. (alpha_vms_read_sections_content): Do not set image_autoextend. include/vms/ 2010-05-03 Tristan Gingold <gingold@adacore.com> * dmt.h: Improve comments.
* bfd/Tristan Gingold2010-05-032-7/+27
| | | | | | | | 2010-05-03 Tristan Gingold <gingold@adacore.com> * vms-lib.c (_bfd_vms_lib_archive_p): Adjust for a possible empty next array. (vms_lib_dcx): Adjust for the above change.
* daily updateAlan Modra2010-05-031-1/+1
|
* daily updateAlan Modra2010-05-021-1/+1
|
* daily updateAlan Modra2010-05-011-1/+1
|
* Add a missing `"'.H.J. Lu2010-04-302-1/+7
| | | | | | 2010-04-30 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/dlltool.exp: Add a missing `"'.
* Remove relocation against discarded sections for relocatable link.H.J. Lu2010-04-3011-18/+119
| | | | | | | | | | | | | | | | | | | | | | | | bfd/ 2010-04-30 H.J. Lu <hongjiu.lu@intel.com> PR ld/11542 * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): New. * elf32-i386.c (elf_i386_relocate_section): Use it. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. ld/testsuite/ 2010-04-30 H.J. Lu <hongjiu.lu@intel.com> PR ld/11542 * ld-elf/discard.ld: New. * ld-elf/discard1.d: Likewise. * ld-elf/discard1.s: Likewise. * ld-elf/discard2.d: Likewise. * ld-elf/discard2.s: Likewise. * ld-elf/discard3.d: Likewise.
* bfd/Tristan Gingold2010-04-304-11/+92
| | | | | | | | | | | | 2010-04-30 Tristan Gingold <gingold@adacore.com> * vms-lib.c (vms_read_block): New function. (vms_traverse_index): Use vms_read_block. Handle long key names. include/vms/ 2010-04-30 Tristan Gingold <gingold@adacore.com> * lbr.h (struct vms_kbn): New structure.
* bfd/Tristan Gingold2010-04-305-120/+460
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2010-04-30 Tristan Gingold <gingold@adacore.com> * vms-lib.c (struct lib_tdata): Field artdata added, fields nbr_syms and syms removed. (struct carsym_mem): New structure. (vms_add_index): New function. (vms_add_indexes_from_list): New function. (vms_traverse_index): Parameter carsym changed to carsym_mem. Code adjusted to handle elfidx. (vms_lib_read_index): Adjusted for vms_traverse_index changes. Parameter NBREL is now a pointer. (_bfd_vms_lib_archive_p): Adjust for above change. Handle ia64 archives. (_bfd_vms_lib_mkarchive): Adjusted for changes in struct lib_tdata. (_bfd_vms_lib_find_symbol): Ditto. (vms_lib_bopen): Fix two typos: return FALSE in case of error, check MHD id. * vms-alpha.c (alpha_vms_link_add_archive_symbols): Adjust for changes of _bfd_vms_lib_find_symbol. include/vms 2010-04-30 Tristan Gingold <gingold@adacore.com> * lbr.h (LBR__C_TYP_ISHSTB): Added. (LHD_SANEID4): Renamed to ... (LHD_SANEID6): ... this. (LBR_MAJORID, LBR_ELFMAJORID): New macros. (struct vms_rfa): New structure. (struct vms_idxdef): Renamed to ... (struct vms_idx): ... this. (struct vms_idxdef2): Renamed to ... (struct vms_elfidx): ... this. (ELFIDX__WEAK, ELFIDX__GROUP, ELFIDX__LISTRFA, ELFIDX__SYMESC): New macros. (struct vms_lhs, struct vms_lns): New structures. (struct vms_mhd): Add missing fields. (MHD__C_MHDLEN): New macro.
* daily updateAlan Modra2010-04-301-1/+1
|
* * write.c (fixup_segment): Do not assume we know the section aNick Clifton2010-04-299-32/+110
| | | | | | | | | | | | | defined weak symbol is in. * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat weak symbols as not known to be in the same section, even if they are defined. * gas/arm/weakdef-1.s: New. * gas/arm/weakdef-1.d: New. * gas/arm/weakdef-2.s: New. * gas/arm/weakdef-2.d: New. * gas/arm/weakdef-2.l: New.
* daily updateAlan Modra2010-04-291-1/+1
|
* 2010-04-27 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2010-04-283-14/+27
| | | | | | | | | | * pe-dll.c (_nm_-symbols): Use always underscored variant for symbols. (__imp_-symbols): Likewise. (___imp_-symbols): Likewise. * NEWS: Mention ABI change for x64 PE-COFF. PS: Sorry, missed this part of approved patch.
* 2010-04-28 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2010-04-282-4/+5
| | | | | * config.bfd: Correct accidential reverted patch about vax*-*-*vms*.
* daily updateAlan Modra2010-04-281-1/+1
|
* gas:Joseph Myers2010-04-279-26/+960
| | | | | | | | | | | | | | | | | | | | | | | | | * config/tc-tic6x.h (tic6x_label_list): New. (tic6x_segment_info_type): Keep a list of labels and a current frag instead of a boolean for whether labels seen and a count of instructions. (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init, md_do_align, tic6x_do_align, md_end, tic6x_end): New. * config/tc-tic6x.c (tic6x_frob_label): Put label on list. (tic6x_cleanup): Correct comment. (tic6x_free_label_list): New. (tic6x_cons_align): Free label list and update for tic6x_segment_info_type changes. (tic6x_do_align): New. (md_assemble): Handle list of labels and saved frag for execute packet. Create machine-dependent frag for new execute packet and adjust labels accordingly. (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New. (md_convert_frag, md_estimate_size_before_relax): Update comments. gas/testsuite: * gas/tic6x/align-1-be.d, gas/tic6x/align-1.d, gas/tic6x/align-1.s, gas/tic6x/align-2.d, gas/tic6x/align-2.s: New.
* 2010-04-27 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2010-04-274-7/+28
| | | | | | | | | | * dlltool.c (main): Query for bfd's underscoring default for default target case. 2010-04-27 Kai Tietz <kai.tietz@onevision.com> * binutils-all/dlltool.exp: Allow test for arm-wince-pe target.
* 2010-04-27 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2010-04-278-6/+56
| | | | | | | | | | | | | | * pe-x86_64.c (TARGET_UNDERSCORE): Set value dependent to USE_MINGW64_LEADING_UNDERSCORES. * pei-x86_64.c (TARGET_UNDERSCORE): Likewise. * config.bfd: Change underscoring default for x64 mingw to false. * coffcode.h (coff_write_relocs): Add check that dereferenced sym_ptr_ptr isn't NULL. * config.in (USE_MINGW64_LEADING_UNDERSCORES): New. * configure: Regenerated. * configure.in: Add option '--enable-leading-mingw64-underscores' and define config.in variable USE_MINGW64_LEADING_UNDERSCORES.
* Properly install gold/ld as default cross linker.H.J. Lu2010-04-276-12/+28
| | | | | | | | | | | | | | | | | | gold/ 2010-04-27 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (install-exec-local): Properly install gold as default cross linker. * Makefile.in: Regenerated. ld/ 2010-04-27 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (install-exec-local): Properly install ld as default cross linker. * Makefile.in: Regenerated.
* PR gprof/11524Nick Clifton2010-04-272-3/+8
| | | | * corefile.c (core_create_syms_from): Use correct size of buffer.
* PR binutils/11512Nick Clifton2010-04-272-2/+14
| | | | | * coffgen.c (coff_find_nearest_line): Incldue the section address of function name symbols in address comparisons.
* Updated French and Russian translations.Nick Clifton2010-04-274-2476/+3436
|
* * configure.ac (--enable-gold): Support both, both/gold andNick Clifton2010-04-275-46/+98
| | | | | | | | both/bfd to add gold to configdirs without removing ld. * configure: Regenerated. * Makefile.def: Add install-gold dependency to install-ld. * Makefile.in: Regenerated.
* gold:Nick Clifton2010-04-2710-22/+200
| | | | | | | | | | | | | | | | | | | | | | * configure.ac (install_as_default): Define and set to false unless --enable-gold or --enable-gold=both/gold has been specified. * configure: Regenerate. * Makefile.am (install-exec-local): Install the executable as 'ld.gold'. If install_as_default is true then also install it as 'ld'. * Makefile.in: Regenerated. ld: * configure.in (install_as_default): Define and set to true unless --enable-gold=both/gold has been specified. * configure: Regenerate. * Makefile.am (transform): Use ld.bfd as the default name of the linker. (install-exec-local): Also install the executable as a binary named 'ld' if install_as_default is true. * Makefile.in: Regenerate.
* daily updateAlan Modra2010-04-271-1/+1
|
* merge from gccDJ Delorie2010-04-262-2/+32
|
* daily updateAlan Modra2010-04-261-1/+1
|
* daily updateAlan Modra2010-04-251-1/+1
|
* Restore "call|jmp [xtrn]" in x86 assembler.H.J. Lu2010-04-245-2/+28
| | | | | | | | | | | | | | | | | | | gas/ 2010-04-24 H.J. Lu <hongjiu.lu@intel.com> PR gas/11535 * config/tc-i386-intel.c (intel_state): Add is_indirect. (i386_intel_operand): Initialize intel_state.is_indirect. Check intel_state.is_indirect for "call|jmp [symbol]". gas/testsuite/ 2010-04-24 H.J. Lu <hongjiu.lu@intel.com> PR gas/11535 * gas/i386/intelok.s: Add tests for "call|jmp [xtrn]". * gas/i386/intelok.d: Updated.
* * layout.cc (Layout::layout_reloc): In relocatable link don'tIan Lance Taylor2010-04-242-5/+19
| | | | combine reloc sections for grouped sections.
* include/elf/Alan Modra2010-04-247-49/+90
| | | | | | | | | | | | | | | | | | | | | | * internal.h (ELF_SECTION_SIZE): Protect macro args with parentheses. Invert logic to clarify test for .tbss. (ELF_IS_SECTION_IN_SEGMENT): Rename to.. (ELF_SECTION_IN_SEGMENT_1): ..this. Add check_vma param. Protect macro args with parentheses. (ELF_SECTION_IN_SEGMENT): Define. (ELF_IS_SECTION_IN_SEGMENT_FILE): Delete. (ELF_IS_SECTION_IN_SEGMENT_MEMORY): Delete. bfd/ * elf.c: Replace use of ELF_IS_SECTION_IN_SEGMENT and ELF_IS_SECTION_IN_SEGMENT_FILE with ELF_SECTION_IN_SEGMENT throughout file. (assign_file_positions_for_load_sections): Modify section in segment warning to ignore overlay vmas. * elf32-spu.c (spu_elf_object_p): Replace use of ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT. binutils/ * readelf.c (process_program_headers): Replace use of ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
* merge from gccDJ Delorie2010-04-246-25/+98
|
* daily updateAlan Modra2010-04-241-1/+1
|
* 2010-04-23 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam2010-04-237-60/+60
| | | | | | | | | | | * gc.h (gc_process_relocs): Pass information on relocs pointing to sections that are not ordinary to icf. * icf.cc (get_section_contents): Handle relocation pointing to section with no object or shndx information. * testsuite/Makefile.am: Remove icf_virtual_function_folding_test.sh * testsuite/Makefile.in: Regenerate. * testsuite/icf_virtual_function_folding_test.cc: Remove printf. * testsuite/icf_virtual_function_folding_test.sh: Delete file.
* * expression.cc (Expression::Expression_eval_info): AddIan Lance Taylor2010-04-239-73/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | result_alignment_pointer field. (Expression::eval_with_dot): Add result_alignment_pointer parameter. Change all callers. (Expression::eval_maybe_dot): Likewise. (class Binary_expression): Add alignment_pointer parameter to left_value and right_value. Change all callers. (BINARY_EXPRESSION): Set result alignment. (class Trinary_expression): Add alignment_pointer parameter to arg2_value and arg3_value. Change all callers. (Trinary_cond::value): Set result alignment. (Max_expression::value, Min_expression::value): Likewise. (Align_expression::value): Likewise. * script-sections.cc (class Sections_element): Add dot_alignment parameter to set_section_addresses virtual function. Update instantiations. (class Output_section_element): Likewise. (Script_sections::create_segments): Add dot_alignment parameter. Change all callers. (Script_sections::create_segments_from_phdrs_clause): Likewise. (Script_sections::set_phdrs_clause_addresses): Likewise. * script-sections.h: Update declarations. * script.h: Update declarations. * output.h (Output_segment::set_minimum_p_align): Don't decrease min_p_align. * testsuite/script_test_3.t: Set large alignment. * testsuite/script_test_3.sh: Make sure that at least one LOAD segment has expected alignment.
* daily updateAlan Modra2010-04-231-1/+1
|
* Updated translation templates.Nick Clifton2010-04-2226-6007/+12856
| | | | | | | Updated Bulgarian translation. Updated Finnish translations. Updated French translations. Updated Vietnamese translations.