summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* daily updateAlan Modra2010-07-021-1/+1
|
* Update ChangeLog entry.H.J. Lu2010-07-011-0/+2
|
* Support AVX Programming Reference (June, 2010)H.J. Lu2010-07-0144-3007/+3878
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gas/ 2010-07-01 H.J. Lu <hongjiu.lu@intel.com> AVX Programming Reference (June, 2010) * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd and .f16c. * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c. gas/testsuite/ 2010-07-01 H.J. Lu <hongjiu.lu@intel.com> AVX Programming Reference (June, 2010) * gas/i386/arch-10.s: Add xsaveopt. * gas/i386/x86-64-arch-2.s: Likwise. * gas/i386/arch-10.d: Updated. * gas/i386/arch-10-1.l: Likewise. * gas/i386/arch-10-2.l: Likewise. * gas/i386/arch-10-3.l: Likewise. * gas/i386/arch-10-4.l: Likewise. * gas/i386/x86-64-arch-2.d: Likewise. * gas/i386/f16c-intel.d: New. * gas/i386/f16c.d: Likewise. * gas/i386/f16c.s: Likewise. * gas/i386/fsgs-intel.d: Likewise. * gas/i386/fsgs.d: Likewise. * gas/i386/fsgs.s: Likewise. * gas/i386/rdrnd-intel.d: Likewise. * gas/i386/rdrnd.d: Likewise. * gas/i386/rdrnd.s: Likewise. * gas/i386/x86-64-f16c-intel.d: Likewise. * gas/i386/x86-64-f16c.d: Likewise. * gas/i386/x86-64-f16c.s: Likewise. * gas/i386/x86-64-fsgs-intel.d: Likewise. * gas/i386/x86-64-fsgs.d: Likewise. * gas/i386/x86-64-fsgs.s: Likewise. * gas/i386/x86-64-rdrnd-intel.d: Likewise. * gas/i386/x86-64-rdrnd.d: Likewise. * gas/i386/x86-64-rdrnd.s: Likewise. * gas/i386/i386.exp: Run f16c, f16c-intel, fsgs, fsgs-intel, rdrnd, rdrnd-intel, x86-64-f16c, x86-64-f16c-intel, x86-64-fsgs, x86-64-fsgs-intel, x86-64-rdrnd, x86-64-rdrnd-intel. * gas/i386/x86-64-xsave.s: Add tests for xsaveopt64. * gas/i386/x86-64-xsave-intel.d: Updated. * gas/i386/x86-64-xsave.d: Likewise. opcodes/ 2010-07-01 H.J. Lu <hongjiu.lu@intel.com> AVX Programming Reference (June, 2010) * i386-dis.c (PREFIX_0FAE_REG_0): New. (PREFIX_0FAE_REG_1): Likewise. (PREFIX_0FAE_REG_2): Likewise. (PREFIX_0FAE_REG_3): Likewise. (PREFIX_VEX_3813): Likewise. (PREFIX_VEX_3A1D): Likewise. (prefix_table): Add PREFIX_0FAE_REG_0, PREFIX_0FAE_REG_1, PREFIX_0FAE_REG_2, PREFIX_0FAE_REG_3, PREFIX_VEX_3813 and PREFIX_VEX_3A1D. (vex_table): Add PREFIX_VEX_3813 and PREFIX_VEX_3A1D. (mod_table): Add PREFIX_0FAE_REG_0, PREFIX_0FAE_REG_1, PREFIX_0FAE_REG_2, PREFIX_0FAE_REG_3 xsaveopt and rdrnd. * i386-gen.c (cpu_flag_init): Add CPU_XSAVEOPT_FLAGS, CPU_FSGSBASE_FLAGS, CPU_RDRND_FLAGS and CPU_F16C_FLAGS. (cpu_flags): Add CpuXsaveopt, CpuFSGSBase, CpuRdRnd and CpuF16C. * i386-opc.h (CpuXsaveopt): New. (CpuFSGSBase):Likewise. (CpuRdRnd): Likewise. (CpuF16C): Likewise. (i386_cpu_flags): Add cpuxsaveopt, cpufsgsbase, cpurdrnd and cpuf16c. * i386-opc.tbl: Add xsaveopt, rdfsbase, rdgsbase, rdrnd, wrfsbase, wrgsbase, vcvtph2ps and vcvtps2ph.
* * lib/ld-lib.exp (default_ld_simple_link): Add $gcc_ld_flag beforeAlan Modra2010-07-012-3/+11
| | | | any other options in $ld.
* * gas/config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable andmgretton2010-07-015-6/+49
| | | | | | deprecated mov register instructions. * gas/testsuite/gas/arm/thumb2_bad_reg.s: Update mov register tests. * gas/testsuite/gas/arm/thumb2_bad_reg.l: Likewise.
* * elf64-ppc.c (ppc64_elf_edit_toc): Use SYMBOL_CALLS_LOCAL ratherAlan Modra2010-07-012-3/+9
| | | | | than SYMBOL_REFERENCES_LOCAL. (ppc64_elf_relocate_section): Likewise.
* * config/tc-ppc.c (toc_reloc_types): New variable.Alan Modra2010-07-012-0/+33
| | | | | | (md_assemble): Set it. (ppc_frob_file_before_adjust): Don't warn about toc section size if we have large toc relocs and no small toc relocs.
* * elf64-ppc.c (ppc64_elf_edit_toc): Keep toc entries for ifuncs.Alan Modra2010-07-012-2/+14
|
* * ppc-opc.c (powerpc_opcodes): Revert deprecation of mfocrf, mtcrfAlan Modra2010-07-012-3/+8
| | | | and mtocrf on EFS.
* daily updateAlan Modra2010-07-011-1/+1
|
* 2010-06-29 Doug Kwan <dougkwan@google.com>Doug Kwan2010-06-304-1/+27
| | | | | | | | | | * arm-reloc-property.cc (Arm_reloc_property::Arm_reloc_property): Initialize USE_SYMBOL_. * arm-reloc-property.h (Arm_reloc_property::uses_symbol): New method definition. (Arm_reloc_property::uses_symbol_): New data member declaration. * arm.cc (Target_arm::Relocate::relocate): Exit early if relocation uses symbol value and symbol is undefined but not weakly undefined.
* daily updateAlan Modra2010-06-301-1/+1
|
* * scripttempl/xstormy16.sc (.gcc_except_table): Include sectionsNick Clifton2010-06-292-1/+6
| | | | with the .gcc_except_table. prefix.
* PR binutils/3166Alan Modra2010-06-292-11/+11
| | | | | * objcopy.c (is_strip_section): Revert 2006-09-05. (setup_section): Make SHT_GROUP section nobits.
* remove maxq-coff portAlan Modra2010-06-299-159/+0
|
* remove maxq-coff portAlan Modra2010-06-2944-6213/+0
|
* remove maxq-coff portAlan Modra2010-06-2954-5974/+178
|
* daily updateAlan Modra2010-06-291-1/+1
|
* 2010-06-28 Rafael Espindola <espindola@google.com>espindola2010-06-282-2/+6
| | | | * plugin.cc (Plugin::load): Use dlerror.
* cgen/Alan Modra2010-06-282-3/+4
| | | | | | * cpu/mep.opc (mep_examine_ivc2_insns): Delete set but unused var. opcodes/ * mep-dis.c: Regenerate.
* * compress.c (bfd_uncompress_section_contents): Use ATTRIBUTE_UNUSEDAlan Modra2010-06-282-5/+8
| | | | to silence gcc warning.
* * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.Alan Modra2010-06-2839-254/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/tc-crx.c (gettrap): Constify arg. (handle_LoadStor, get_cinv_parameters): Likewise. (getreg_image): Fix enum warning (md_assemble): Restore input line char. * config/tc-hppa.c (tc_gen_reloc): Fix enum warning. * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning. * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF. (build_Mytes): Fix build failure for non-elf targets. * config/tc-tic4x.c (tic4x_eval): Restore terminator char. * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning. * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning. * ecoff.c (add_ecoff_symbol): Likewise. * itbl-ops.c (append_insns_as_macros): Likewise. * listing.c (debugging_pseudo): Likewise. * read.c (s_mri_common, stringer): Likewise. * config/obj-coff.c (coff_frob_section): Likewise. * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise. * config/tc-arm.c (my_get_expression): Likewise. * config/tc-hppa.c (process_exit, pa_type_args): Likewise. * config/tc-m32c.c (md_assemble): Likewise. * config/tc-microblaze.c (md_convert_frag): Likewise. * config/tc-mips.c (s_change_section): Likewise. * config/tc-mt.c (mt_fix_adjustable): Likewise. * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise. * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise unused vars. * config/tc-alpha.c (load_expression): Likewise. (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise. * config/tc-arm.c (parse_neon_el_struct_list): Likewise. * config/tc-avr.c (extract_word): Likewise. * config/tc-cris.c (cris_get_expression): Likewise. * config/tc-d30v.c (build_insn, find_format): Likewise. * config/tc-dlx.c (machine_ip): Likewise. * config/tc-hppa.c (pa_get_absolute_expression): Likewise. * config/tc-i370.c (md_assemble): Likewise. * config/tc-i960.c (brtab_emit): Likewise. * config/tc-iq2000.c (s_iq2000_ent): Likewise. * config/tc-m32c.c (md_convert_frag): Likewise. * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise. (md_estimate_size_before_relax, md_apply_fix): Likewise. * config/tc-m68k.c (md_show_usage): Likewise. * config/tc-microblaze.c (microblaze_s_lcomm): Likewise. * config/tc-mips.c (s_mips_end): Likewise. * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise. * config/tc-mn10300.c (md_assemble): Likewise. * config/tc-msp430.c (extract_word): Likewise. * config/tc-mt.c (md_assemble): Likewise. * config/tc-or32.c (machine_ip): Likewise. * config/tc-pj.c (md_apply_fix): Likewise. * config/tc-s390.c (md_gather_operands): Likewise. * config/tc-sh.c (sh_cons_align): Likewise. * config/tc-sparc.c (sparc_cons_align): Likewise. * config/tc-tic4x.c (tic4x_sect): Likewise. * config/tc-tic54x.c (tic54x_stringer): Likewise. * config/tc-vax.c (vip_op): Likewise. * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise. * config/tc-xtensa.c (md_assemble): Likewise. (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise. (xtensa_move_literals): Likewise.
* * gas/config/tc-arm.c (parse_neon_alignment): New function.mgretton2010-06-289-57/+102
| | | | | | | | | (parse_address_main): Fix Neon load/store alignment parsing. * gas/testsuite/gas/arm/neon-ldst-align-bad.l: Update for Neon alignment syntax fix. * gas/testsuite/gas/arm/neon-ldst-align-bad.s: Likewise. * gas/testsuite/gas/arm/neon-ldst-es.d: Likewise. * gas/testsuite/gas/arm/neon-ldst-es.s: Likewise. * opcodes/arm-disc.c (parse_insn_neon): Fix Neon alignment syntax.
* daily updateAlan Modra2010-06-281-1/+1
|
* * elf64-ppc.c (get_tls_mask): Don't segfault on NULL elf_section_data.Alan Modra2010-06-272-3/+12
| | | | (group_sections): Likewise.
* * symtab.cc (detect_odr_violations): When reporting an ODRIan Lance Taylor2010-06-272-7/+21
| | | | violation, report an object where the symbol is defined.
* fix set but unused variable warningsAlan Modra2010-06-2788-789/+701
|
* daily updateAlan Modra2010-06-271-1/+1
|
* daily updateAlan Modra2010-06-261-1/+1
|
* 2010-06-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-06-252-11/+36
| | | | | * vms-alpha.c (_bfd_vms_write_egsd): Check absolute section with its flags. Create an absolute section if needed.
* 2010-06-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-06-252-46/+53
| | | | | | | | | | * vms-alpha.c (_bfd_vms_write_egsd): Set target_index field of sections. Mark .vmsdebug section as SEC_DEBUGGING. Do not create dummy psect anymore. Adjust. (_bfd_vms_write_eeom): Adjust (use target_index instead of index) (_bfd_vms_write_etir): Ditto. (start_etir_or_etbt_record): Test for SEC_DEBUGGING instead of section name. Adjust.
* 2010-06-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-06-252-2/+14
| | | | * vms-alpha.c (alpha_vms_write_exec): Set linktime field.
* include/elf/Alan Modra2010-06-256-28/+211
| | | | | | | | | | | | | * ppc64.h (R_PPC64_LO_DS_OPT): Define. bfd/ * elf64-ppc.c (toc_skip_enum): Define. (ppc64_elf_edit_toc): Use two low bits of skip array as markers. Optimize largetoc sequences. (adjust_toc_syms): Update for skip array change. (ppc64_elf_relocate_section): Handle R_PPC64_LO_DS_OPT. ld/ * emultempl/ppc64elf.em (prelim_size_sections): New function. (ppc_before_allocation): Use it. Size sections before toc edit too.
* * emultempl/elf32.em (find_exp_assignment): Handle etree_provided.Alan Modra2010-06-252-3/+8
|
* * elf64-ppc.c (is_static_defined): New function.Alan Modra2010-06-252-61/+115
| | | | | | | | | | | | | (get_tls_mask, ppc_type_of_stub): Use it here. (ppc64_elf_edit_opd): Ensure we only attempt to edit ppc64 input. (ppc64_elf_tls_setup): Typo fix. (adjust_toc_syms): Correctly handle symbols defined past the end of the toc. Move syms on removed entries to next entry rather than to start of toc. (ppc64_elf_edit_toc): Likewise. Ensure we only attempt to edit ppc64 input. Allocate one extra word in skip array. Honour info->keep_memory when reading relocs if we can. Adjust toc relocs after adjusting symbols.
* 2010-06-25 Doug Kwan <dougkwan@google.com>Doug Kwan2010-06-254-8/+120
| | | | | | | | | | | | | | | * arm.cc (Target_arm::can_check_for_functions_pointers): Return true. (Target_arm::section_may_have_icf_unsafe_pointers): New method definition. (Target_arm::Scan::local_reloc_may_be_function_pointer, Target_arm::Scan::global_reloc_may_be_function_pointer): Implement target hook to detect function points. (Target_arm::Scan::possible_function_pointer_reloc): New method. * icf.h (Icf::check_section_for_function_pointers): Change type of parameter SECTION_NAME to const reference to std::string. Use target hook to determine if section may have unsafe pointers. * target.h (Target::section_may_have_icf_unsafe_pointers): New method definition.
* daily updateAlan Modra2010-06-251-1/+1
|
* Add "acc" register. Revise register order and names.Kevin Buettner2010-06-242-4/+10
|
* daily updateAlan Modra2010-06-241-1/+1
|
* * archive64.c (bfd_elf64_archive_write_armap): Fix buffer overrunNathan Sidwell2010-06-232-6/+11
| | | | when scaning map.
* daily updateAlan Modra2010-06-231-1/+1
|
* gas/Jan Beulich2010-06-227-16/+38
| | | | | | | | | | | | | | | | | | | | 2010-06-22 Jan Beulich <jbeulich@novell.com> PR gas/11732 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo symbols named "$". (i386_intel_operand): Remove bogus handling of pseudo symbols named "$". * expr.c (current_location): Remove 'static' and local declaration. * expr.h (current_location): Declare. gas/testsuite/ 2010-06-22 Jan Beulich <jbeulich@novell.com> PR gas/11732 * gas/i386/jump.d: Adjust. * gas/i386/jump.s: Add check for branch to 2+$.
* daily updateAlan Modra2010-06-221-1/+1
|
* 2010-06-21 Sterling Augustine <sterling@tensilica.com>Sterling Augustine2010-06-212-4/+12
| | | | | | | PR gas/11728 * as.c: Globalize keep_it. (main): Remove keep_it. Move conditional from here... (close_output_file): ...to here.
* 2010-06-21 Rafael Espindola <espindola@google.com>espindola2010-06-216-49/+155
| | | | | | | | | | | | | | | | | | * fileread.cc (Input_file::find_fie): New (Input_file::open): Use Input_file::find_fie. * fileread.h (Input_file::find_fie): New * plugin.cc (set_extra_library_path): New. (Plugin::load): Add set_extra_library_path to the transfer vector. (Plugin_manager::set_extra_library_path): New. (Plugin_manager::add_input_file): Use the extra search path if set. (set_extra_library_path(): New. * plugin.h (Plugin_manager): Add set_extra_library_path and extra_search_path_. 2010-06-21 Rafael Espindola <espindola@google.com> * plugin-api.h (ld_plugin_set_extra_library_path): New. (ld_plugin_tag): Add LDPT_SET_EXTRA_LIBRARY_PATH. (ld_plugin_tv): Add tv_set_extra_library_path.
* * bootstrap-lto.mk: New.Alexandre Oliva2010-06-212-0/+12
|
* * dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.Jakub Jelinek2010-06-212-0/+6
|
* * doc/as.texinfo (Overview): Use @itemx for grouped @tableAndreas Schwab2010-06-2111-45/+61
| | | | | | | | | | | | | items. * doc/c-alpha.texi (Alpha Options): Likewise. * doc/c-arm.texi (ARM Directives): Likewise. * doc/c-bfin.texi (Blackfin Options): Likewise. * doc/c-d10v.texi (D10V-Opts): Likewise. * doc/c-i386.texi (i386-Options): Likewise. * doc/c-ia64.texi (IA-64 Options): Likewise. * doc/c-m68k.texi (M68K-Opts): Likewise. * doc/c-tic54x.texi (TIC54X-Directives): Likewise. * doc/internals.texi (Symbols): Likewise.
* PR gas/11733Alan Modra2010-06-212-2/+7
| | | | * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
* daily updateAlan Modra2010-06-211-1/+1
|