summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * resolve.cc (Symbol_table::resolve): When merging common symbols,Ian Lance Taylor2012-03-132-4/+20
| | | | keep the larger alignment.
* * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Don't errorAlan Modra2012-03-1323-193/+65
| | | | | | | | | | | | | | | | | | | | | | | | | on zero size dynbss symbol. * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise. * elf32-cr16.c (_bfd_cr16_elf_adjust_dynamic_symbol): Likewise. * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise. * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise. * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise. * elf32-lm32.c (lm32_elf_adjust_dynamic_symbol): Likewise. * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise. * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise. * elf32-tic6x.c (elf32_tic6x_adjust_dynamic_symbol): Likewise. * elf32-tilepro.c (tilepro_elf_adjust_dynamic_symbol): Likewise. * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise. * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise. * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. * elfxx-tilegx.c (tilegx_elf_adjust_dynamic_symbol): Likewise.
* PR binutils/3807Hans-Peter Nilsson2012-03-132-3/+19
| | | | | * binutils-all/objcopy.exp (localize-hidden-1): Correct xfailed mips-targets.
* * dwarf_reader.cc (Sized_dwarf_line_info::process_one_opcode): FixCary Coutant2012-03-132-6/+10
| | | | handling of DW_LNE_define_file.
* elfcpp/Cary Coutant2012-03-134-2/+308
| | | | | | | | | | | | | | | | | | Update DWARF enums from ../include/dwarf2.h. * dwarf.h (enum DW_TAG): Add new DWARF-4 tags. (enum DW_FORM): Add new DWARF-4 and Fission extensions. (enum DW_AT): New enum. (enum DW_LINE_EXTENDED_OPS): Add new DWARF-4 opcode. (enum DW_ENCODING): Add new DWARF-4 encoding. (enum DW_OP): Add new DWARF-4 opcodes. (enum DW_CHILDREN): New enum. (enum DW_LANG): New enum. gold/ * reduced_debug_output.cc (Output_reduced_debug_info_section::get_die_end): Add new FORM codes to switch.
* daily updateAlan Modra2012-03-121-1/+1
|
* daily updateAlan Modra2012-03-111-1/+1
|
* daily updateAlan Modra2012-03-101-1/+1
|
* include/opcode/Alan Modra2012-03-0923-20/+432
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ppc.h: Add PPC_OPCODE_ALTIVEC2, PPC_OPCODE_E6500, PPC_OPCODE_TMR. opcodes/ * ppc-dis.c (ppc_opts): Add entries for "e5500" and "e6500". * ppc-opc.c (insert_ls, TMR, ESYNC, XSYNCLE_MASK): New. (PPCVEC2, PPCTMR, E6500): New short names. (powerpc_opcodes): Add vabsdub, vabsduh, vabsduw, dni, mvidsplt, mviwsplt, icblq., mftmr, mttmr, dcblq., miso, lvexbx, lvexhx, lvexwx, stvexbx, stvexhx, stvexwx, lvepx, lvepxl, stvepx, stvepxl, lvtrx, lvtrxl, lvtlx, lvtlxl, stvfrx, stvfrxl, stvflx, stvflxl, lvswx, lvswxl, stvswx, stvswxl, lvsm mnemonics. Accept LS, ESYNC optional operands on sync instruction for E6500 target. bfd/ * archures.c: Add bfd_mach_ppc_e5500 and bfd_mach_ppc_e6500. * bfd-in2.h: Regenerate. * cpu-powerpc.c (bfd_powerpc_archs): Add entryies for bfd_mach_ppc_e5500 and bfd_mach_ppc_e6500. gas/ * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500. (ppc_handle_align): Add termination nop opcode for e500mc family. * doc/as.texinfo: Document options -me5500 and -me6500. * doc/c-ppc.texi: Likewise. gas/testsuite/ * gas/ppc/e500mc64_nop.s: New test case for e500mc family termination nops. * gas/ppc/e500mc64_nop.d: Likewise. * gas/ppc/e5500_nop.s: Likewise. * gas/ppc/e5500_nop.d: Likewise. * gas/ppc/e6500_nop.s: Likewise. * gas/ppc/e6500_nop.d: Likewise. * gas/ppc/e6500.s: New. * gas/ppc/e6500.d: Likewise. * gas/ppc/ppc.exp: Run e6500, e500mc64_nop, e5500_nop, and e6500_nop.
* daily updateAlan Modra2012-03-091-1/+1
|
* 2012-03-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2012-03-093-2/+8
| | | | | | * COPYING.NEWLIB: Modify DJ Delorie license to include modification rights in clause as permitted by DJ Delorie. * COPYING.LIBGLOSS: Ditto.
* 2012-03-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2012-03-092-11/+6
| | | | * COPYING.NEWLIB: Remove two unused licenses.
* Restore R_386_IRELATIVE and R_X86_64_IRELATIVEH.J. Lu2012-03-098-20/+34
| | | | | | | | | | | | | | | | | | | | | | | bfd/ 2012-03-09 H.J. Lu <hongjiu.lu@intel.com> PR ld/13817 * bfd/elf32-i386.c (elf_i386_relocate_section): Restore R_386_IRELATIVE. * * elf64-x86-64.c (elf_x86_64_relocate_section): Restore R_X86_64_IRELATIVE. ld/testsuite/ 2012-03-09 H.J. Lu <hongjiu.lu@intel.com> PR ld/13817 * ld-i386/pr13302.d: Updated. * ld-x86-64/pr13082-5b.d: Likewise. * ld-x86-64/pr13082-6a.d: Likewise. * ld-x86-64/pr13082-6b.d: Likewise.
* daily updateAlan Modra2012-03-081-1/+1
|
* 2012-03-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel2012-03-085-3/+12
| | | | | | | | | * s390-opc.txt: Set instruction type of pku to SS_L2RDRD. 2012-03-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gas/s390/esa-g5.d: Move length field to the second operand. * gas/s390/esa-g5.s: Likewise.
* 2012-03-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold2012-03-082-4/+18
| | | | | | * vms-lib.c (_bfd_vms_lib_write_archive_contents): Set maximum keylen according to archive kind. Set nextvbn and nextrfa lhd fields. Add comments.
* 2012-03-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold2012-03-082-0/+7
| | | | * lbr.h (struct vms_lhd): Add comments.
* 2012-03-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold2012-03-082-1/+17
| | | | | * ldexp.c (exp_print_tree): Special case for SEGMENT_START. (exp_print_token): Constify.
* PR ld/10340Alan Modra2012-03-087-72/+60
| | | | | | | | | | | | | | | | | | | | | * ldfile.c (is_sysrooted_pathname): Remove notsame param. (ldfile_add_library_path): Don't set sysrooted flag. (ldfile_open_file_search): Likewise, and don't copy them. (try_open): Delete exten and code handling such. Add sysrooted param and return whether path is in sysroot. (ldfile_find_command_file): Delete extend param. Add sysrooted param. Rename local var. Update try_open calls. (ldfile_open_command_file_1): Pass sysrooted to lex_push_file. * ldfile.h (search_dirs_type): Remove sysrooted field. * ldlang.c (new_afile): Always set sysrooted from input_flags. (load_symbols): Don't set input_flags.sysrooted. * ldlang.h (struct lang_input_statement_flags): Revise sysrooted comment. * ldlex.h (lex_push_file): Update prototype. * ldlex.l (sysrooted_stack): New array. (EOF): Pop input_flags.sysrooted. (lex_push_file): Add sysrooted param. Save and set input_flags.sysrooted.
* merge from gccDJ Delorie2012-03-084-1/+21
|
* daily updateAlan Modra2012-03-071-1/+1
|
* * mn10300.h (elf_mn10300_reloc_type): Add R_MN10300_TLS_GD,Nick Clifton2012-03-0711-111/+936
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | R_MN10300_TLS_LD, R_MN10300_TLS_LDO, R_MN10300_TLS_GOTIE, R_MN10300_TLS_IE, R_MN10300_TLS_LE, R_MN10300_TLS_DPTMOD, R_MN10300_TLS_DTPOFF and R_MN10300_TLS_TPOFF. * elf-m10300.c (elf32_mn10300_link_hash_entry): Add tls_type field. (elf32_mn10300_link_hash_table): Add tls_ldm_got entry; (elf_mn10300_tdata): Define. (elf_mn10300_local_got_tls_type): Define. (elf_mn10300_howto_table): Add entries for R_MN10300_TLS_GD, R_MN10300_TLS_LD, R_MN10300_TLS_LDO, R_MN10300_TLS_GOTIE, R_MN10300_TLS_IE, R_MN10300_TLS_LE, R_MN10300_TLS_DPTMOD, R_MN10300_TLS_DTPOFF, R_MN10300_TLS_TPOFF relocs. (mn10300_reloc_map): Likewise. (elf_mn10300_tls_transition): New function. (dtpoff, tpoff, mn10300_do_tls_transition): New functions. (mn10300_elf_check_relocs): Add TLS support. (mn10300_elf_final_link_relocate): Likewise. (mn10300_elf_relocate_section): Likewise. (mn10300_elf_relax_section): Likewise. (elf32_mn10300_link_hash_newfunc): Initialise new field. (_bfd_mn10300_copy_indirect_symbol): New function. (elf32_mn10300_link_hash_table_create): Initialise new fields. (_bfd_mn10300_elf_size_dynamic_sections): Add TLS support. (_bfd_mn10300_elf_finish_dynamic_symbol): Likewise. (_bfd_mn10300_elf_reloc_type_class): Allocate an elf_mn10300_obj_tdata structure. (elf_backend_copy_indirect_symbol): Define. * reloc.c (BFD_MN10300_TLS_GD, BFD_MN10300_TLS_LD, BFD_MN10300_TLS_LDO, BFD_MN10300_TLS_GOTIE, BFD_MN10300_TLS_IE, BFD_MN10300_TLS_LE, BFD_MN10300_TLS_DPTMOD, BFD_MN10300_TLS_DTPOFF, BFD_MN10300_TLS_TPOFF): New relocations. (BFD_RELOC_MN10300_32_PCREL, BFD_RELOC_MN10300_16_PCREL): Move to alongside other MN10300 relocations. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * config/tc-mn10300.c (other_registers): Add SSP and USP. (md_assemble): Add support for TLS relocs. (mn10300_parse_name): Likewise. * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
* daily updateAlan Modra2012-03-061-1/+1
|
* * elf64-x86-64.c (elf_x86_64_relocate_section): For R_X86_64_RELATIVEJakub Jelinek2012-03-062-2/+7
| | | | set relocate to TRUE.
* 2012-03-06 Tristan Gingold <gingold@adacore.com>Tristan Gingold2012-03-062-8/+22
| | | | | * corefile.c (core_create_function_syms): Do not call bsearch if symbol_map_count is 0.
* PR ld/13683Alan Modra2012-03-052-2/+7
| | | | * ld-gc/pr13683.d: Allow non-zero top address digit.
* daily updateAlan Modra2012-03-051-1/+1
|
* * ldlang.h (struct lang_input_statement_flags): New, extract from..Alan Modra2012-03-0523-244/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (lang_input_statement_type): ..here. New field "flags". (input_flags): Declare. (missing_file): Delete. * ldmain.h (whole_archive): Delete. (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete. * ld.h (ld_config_type <dynamic_link>): Delete. * ldmain.c (whole_archive): Delete. (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete. * ldlang.c (missing_file, ldlang_sysrooted_script): Delete. (input_flags): New variable. Replace all uses of config.dynamic_link, missing_file, ldlang_sysrooted_script, whole_archive, add_DT_NEEDED_for_regular and add_DT_NEEDED_for_dynamic with fields from here. * ldfile.c: Likewise. * ldgram.y: Likewise. * ldmain.c: Likewise. * ldwrite.c: Likewise. * lexsup.c: Likewise. * plugin.c: Likewise. * emultempl/aix.em: Likewise. * emultempl/armelf.em: Likewise. * emultempl/elf32.em: Likewise. * emultempl/hppaelf.em: Likewise. * emultempl/linux.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/pep.em: Likewise. * emultempl/ppc64elf.em: Likewise. * emultempl/scoreelf.em: Likewise. * emultempl/spuelf.em: Likewise. * emultempl/sunos.em: Likewise. * emultempl/vms.em: Likewise. * ldlang.c (new_afile): Use memset to init zero fields. (load_symbols): Simplify save and restore of flags around command file processing. * ldfile.c (is_sysrooted_pathname): Tidy.
* PR ld/13803Hans-Peter Nilsson2012-03-053-2/+8
| | | | | * ld-arm/fix-arm1176-off.d, ld-arm/fix-arm1176-on.d: Regexpify address of func_to_branch_to.
* PR ld/12152Rainer Orth2012-03-052-2/+10
| | | | | * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Also ignore overflows for R_SPARC_UA32 in .stab sections.
* 2012-03-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold2012-03-053-4/+9
| | | | | * configure.ac: Enable gdb and readline for ia64*-*-*vms*. * configure: Regenerate.
* * configure.tgt (mips64*el-*-freebsd*, mips64*-*-freebsd*)Hans-Peter Nilsson2012-03-052-4/+10
| | | | | (mips*el-*-freebsd*, mips*-*-freebsd*): Correct triplets by replacing trailing "-*" with "*".
* daily updateAlan Modra2012-03-041-1/+1
|
* daily updateAlan Modra2012-03-031-1/+1
|
* daily updateAlan Modra2012-03-021-1/+1
|
* daily updateAlan Modra2012-03-011-1/+1
|
* PR ld/13789Hans-Peter Nilsson2012-03-012-1/+6
| | | | * ld-elf/zerosize1.d: Allow xyzzy to be either OBJECT or NOTYPE.
* * object.cc (need_decompressed_section): Add #ifdef ENABLE_THREADS.Cary Coutant2012-03-012-0/+8
|
* * elfxx-tilegx.c (tilegx_elf_relocate_section): Silence bogus warning.Alan Modra2012-03-012-1/+5
|
* daily updateAlan Modra2012-02-291-1/+1
|
* * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):Cary Coutant2012-02-297-66/+246
| | | | | | | | | | | | | | | | | | | | | | Call Object::decompressed_section_contents. * dwarf_reader.h (Sized_dwarf_line_info::~Sized_dwarf_line_info): New dtor. (Sized_dwarf_line_info::buffer_start_): New data member. * merge.cc (Output_merge_data::do_add_input_section): Call Object::decompressed_section_contents. (Output_merge_string::do_add_input_section): Likewise. * object.cc (need_decompressed_section): New function. (build_compressed_section_map): Decompress sections needed later. (Sized_relobj_file::do_decompressed_section_contents): New function. (Sized_relobj_file::do_discard_decompressed_sections): New function. * object.h (Object::decompressed_section_contents): New function. (Object::discard_decompressed_sections): New function. (Object::do_decompressed_section_contents): New function. (Object::do_discard_decompressed_sections): New function. (Compressed_section_info): New type. (Compressed_section_map): Include decompressed section contents. (Sized_relobj_file::do_decompressed_section_contents): New function. (Sized_relobj_file::do_discard_decompressed_sections): New function.
* * doc/binutils.texi (c++filt): Fix typos.Nick Clifton2012-02-292-4/+8
|
* daily updateAlan Modra2012-02-281-1/+1
|
* daily updateAlan Modra2012-02-271-1/+1
|
* * config/tc-crx.c (check_range): Correct uint32_t misconceptions.Alan Modra2012-02-272-5/+6
|
* * chew.c (print_stack_level, main): Use %ld to print stack delta.Alan Modra2012-02-272-4/+8
|
* cpu/Alan Modra2012-02-274-3/+11
| | | | | | * mt.opc (print_dollarhex): Trim values to 32 bits. opcodes/ * mt-dis.c: Regenerate.
* * v850-opc.c (extract_v8): Rearrange to make it obvious thisAlan Modra2012-02-272-32/+36
| | | | | | | | | | | is the inverse of corresponding insert function. (extract_d22, extract_u9, extract_r4): Likewise. (extract_d9): Correct sign extension. (extract_d16_15): Don't assume "long" is 32 bits, and don't rely on implementation defined behaviour for shift right of signed types. (extract_d16_16, extract_d17_16, extract_i9): Likewise. (extract_d23): Likewise, and correct mask.
* * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED onAlan Modra2012-02-272-13/+23
| | | | | params. Properly generate NOP pattern. Comment reason for subseg_text_p failure.
* * elf32-sh.c (sh_elf_osec_to_segment): Check for elf flavour bfdAlan Modra2012-02-272-4/+14
| | | | | before calling elf specific function. (sh_elf_osec_readonly_p): Test for error return from above.