aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-01-25 gcc PR libstdc++/36101, gcc PR libstdc++/42813Joern Rennecke3-2/+19
* configure.ac (bootstrap_target_libs): Make inclusion of target-libgomp conditional on libgomb being in target_configdirs. * configure: Regenerate.
2010-01-252010-01-25 Doug Kwan <dougkwan@google.com>Doug Kwan2-1/+8
* arm.cc (Arm_exidx_merged_section::do_output_offset): Fix warning due to signed and unsigned comparison on a 32-bit host.
2010-01-25 * configure.ac: Only use host_os part when disabling TUI on osf.Rainer Orth4-7/+15
Use test to check variables, prefix strings with x. * configure: Regenerate. * solib-osf.c (osf_current_sos): Initialize tail.
2010-01-252010-01-25 gingold <gingold@adacore.com>Tristan Gingold2-8/+13
* windows-nat.c (windows_continue): Use %x to print thread id. (get_windows_debug_event): Ditto.
2010-01-25 PR ld/11217Alan Modra5-11/+116
* elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences with relocations against undefined weak symbols. (ppc64_elf_relocate_section): Don't optimize calls to undefined weak functions if the symbol is dynamic. (ppc64_elf_relocate_section): Edit tprel tls sequences. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. (_bfd_elf_ppc_at_tprel_transform): New function. * bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare. * bfd-in2.h: Regenerate.
2010-01-25 common/Doug Evans7-75/+103
* cgen-accfp.c (fextsfdf): New arg how. All callers updated. (ftruncdfsf, floatsisf, flostsidf, ufloatsisf, fixsfsi, fixdfsi, ufixsfsi): Ditto. * cgen-fpu.h (CGEN_FPCONV_KIND): New enum. (struct cgen_fp_ops): Update signatures of floating point conversion operations. frv/ * sem.c: Regenerate. sh64/ * cpu.h: Regenerate.
2010-01-25 * desc-cpu.scm (cgen-desc.h): Don't print virtual enums.Doug Evans2-11/+22
* sid-cpu.scm (cgen-desc.h): Ditto. * enum.scm (enum-builtin!): New function. * read.scm (reader-install-builtin!): Call it. * rtl-c.scm (s-convop): Delete, replaced with ... (s-int-convop, s-float-convop): ... new fns. (ext, zext, trunc): Update. (fext, ftrunc, float, ufloat, fix, ufix): Update. * rtx-funcs.scm (fext, ftrunc, float, ufloat, fix, ufix): New parameter `how'. * cpu/mep-fmax.cpu (fcvtsw): Update. * cpu/sh.cpu (h-fsd, h-fmov): Update. * doc/rtl.texi (float-convop): Update. * frv.cpu (floating-point-conversion): Update call to fp conv op. (floating-point-dual-conversion, ne-floating-point-dual-conversion, conditional-floating-point-conversion, ne-floating-point-conversion, float-parallel-mul-add-double-semantics): Ditto.
2010-01-25 * Make-common.in (CGEN_SIM_DEPS): Define.Doug Evans2-9/+19
(CGEN_INCLUDE_DEPS): Use it. (CGEN_MAIN_CPU_DEPS): Simplify.
2010-01-25*** empty log message ***gdbadmin1-1/+1
2010-01-24Remove trailing { Bad_Opcode }.H.J. Lu2-1/+4
2010-01-24daily updateAlan Modra1-1/+1
2010-01-24Remove trailing { Bad_Opcode } in vex_len_table.H.J. Lu2-1/+4
2010-01-24 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (vex_len_table): Remove trailing { Bad_Opcode }.
2010-01-24Remove trailing { Bad_Opcode }.H.J. Lu2-1/+4
2010-01-24 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (prefix_table): Remove trailing { Bad_Opcode }.
2010-01-24Remove trailing "(bad)" entries and replace { "(bad)", { XX } }H.J. Lu2-3561/+2670
with { Bad_Opcode }. 2010-01-24 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (Bad_Opcode): New. (bad_opcode): Likewise. (dis386): Replace { "(bad)", { XX } } with { Bad_Opcode }. (dis386_twobyte): Likewise. (reg_table): Likewise. (prefix_table): Likewise. (x86_64_table): Likewise. (vex_len_table): Likewise. (vex_w_table): Likewise. (mod_table): Likewise. (rm_table): Likewise. (float_reg): Likewise. (reg_table): Remove trailing "(bad)" entries. (prefix_table): Likewise. (x86_64_table): Likewise. (vex_len_table): Likewise. (vex_w_table): Likewise. (mod_table): Likewise. (rm_table): Likewise. (get_valid_dis386): Handle bytemode 0.
2010-01-24Set the first 3byte VEX prefix individually.H.J. Lu2-1/+8
2010-01-24 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to 0xc4 individually.
2010-01-24gdb/testsuite/Jan Kratochvil2-1/+6
* gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'): Adjust it for DISASSEMBLY_OMIT_FNAME.
2010-01-24Replace "Vex" with "Vex=3" on AVX scalar instructions.H.J. Lu4-418/+428
2010-01-23 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.h (VEXScalar): New. * i386-opc.tbl: Replace "Vex" with "Vex=3" on AVX scalar instructions. * i386-tbl.h: Regenerated.
2010-01-24*** empty log message ***gdbadmin1-1/+1
2010-01-23daily updateAlan Modra1-1/+1
2010-01-23Add more AVX tests.H.J. Lu7-84/+282
2010-01-23 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/avx.s: Add more tests. * gas/i386/x86-64-avx.s: Likewise. * gas/i386/avx-intel.d: Updated. * gas/i386/avx.d: Likewise. * gas/i386/x86-64-avx-intel.d: Likewise. * gas/i386/x86-64-avx.d: Likewise.
2010-01-23bfd/Richard Sandiford17-32/+270
* coff-rs6000.c (xcoff_howto_table): Change size to 0 and bitsize to 1. (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_NONE. * coff64-rs6000.c (xcoff64_howto_table): Change size to 0 and bitsize to 1. (xcoff64_reloc_type_lookup): Handle BFD_RELOC_NONE. gas/ * write.h (fix_at_start): Declare. * write.c (fix_new_internal): Add at_beginning parameter. Use it instead of REVERSE_SORT_RELOCS. Fix the handling of seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case. (fix_new, fix_new_exp): Update accordingly. (fix_at_start): New function. * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section. (ppc_ref): New function, for OBJ_XCOFF. (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF. * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef. gas/testsuite/ * gas/ppc/xcoff-ref-1.s, gas/ppc/xcoff-ref-1.l: New test. * gas/ppc/aix.exp: Run it. ld/testsuite/ * ld-powerpc/aix-ref-1-32.od, ld-powerpc/aix-ref-1-64.od, ld-powerpc/aix-ref-1.s: New tests. * ld-powerpc/aix52.exp: Run them.
2010-01-23 gcc PR libstdc++/36101, gcc PR libstdc++/42813Joern Rennecke3-2/+8
* configure.ac (bootstrap_target_libs): Include target-libgomp. * configure: Regenerate.
2010-01-232010-01-22 Doug Kwan <dougkwan@google.com>Doug Kwan6-14/+129
* arm.cc (Target_arm::do_relax): Record an output section for section offset adjustment it contains any stub table that has changed. * layout.cc (Layout::clean_up_after_relaxation): Adjust section offsets in an output section if necessary. * output.cc (Output_section::Output_section): Initialize section_offsets_need_adjustments_. (Output_section::add_input_section_for_script): Renamed to Output_section::add_simple_input_section. (Output_section::save_states): Add a comment. (Output_section::discard_states): New method defintion. (Output_section::adjust_section_offsets): Same. * output.h (Output_section::add_input_section_for_script): Renamed to Output_section::add_simple_input_section. (Output_section::discard_states): New method declaration. (Output_section::adjust_section_offsets): Same. (Output_section::section_offsets_need_adjustment, Output_section::set_section_offsets_need_adjustment): New method definitions. (Output_section::section_offsets_need_adjustment_): New data member. * script-sections.cc (Output_section_element_input::set_section_address): Adjust code for renaming of Output_section::add_input_section_for_script. (Orphan_output_section::set_section_address): Same.
2010-01-23*** empty log message ***gdbadmin1-1/+1
2010-01-22daily updateAlan Modra1-1/+1
2010-01-222010-01-22 Viktor Kutuzov <vkutuzov@accesssoftek.com>Doug Kwan4-11/+64
* gold/arm.cc (Target_arm): Updated fix_v4bx method and usage of Fix_v4bx enum values . * gold/options.h (General_options): New option definitions. (General_options::fix_v4bx): New method. (General_options::Fix_v4bx): New enum. * gold/options.cc (General_options::parse_fix_v4bx): New method. (General_options::parse_fix_v4bx_interworking): New method.
2010-01-222010-01-22 Doug Kwan <dougkwan@google.com>Doug Kwan2-0/+225
* arm.cc (Arm_exidx_fixup): New class.
2010-01-22gdbTom Tromey7-47/+432
PR symtab/11199: * dwarf2read.c (quirk_gcc_member_function_pointer): Change return type and arguments. Use smash_to_methodptr_type. (read_structure_type): Call quirk_gcc_member_function_pointer later. * gdbtypes.h (smash_to_methodptr_type): Declare. * gdbtypes.c (smash_to_methodptr_type): New function. (lookup_methodptr_type): Use it. gdb/testsuite 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com> PR symtab/11199: * gdb.dwarf2/member-ptr-forwardref.exp, gdb.dwarf2/member-ptr-forwardref.S: New.
2010-01-22 gcc PR libstdc++/36101, gcc PR libstdc++/42813Joern Rennecke6-6/+581
* configure.ac (target_configdirs): Substitute. * Makefile.def: Bootstrap target module libgomp. Add dependency of all-target-libstdc++-v3 on configure-target-libgomp. * Makefile.tpl (TARGET_CONFIGDIRS): New makefile variable. (BASE_TARGET_EXPORTS): Export TARGET_CONFIGDIRS. * configure, Makefile.in: Regenerate.
2010-01-22 * cgen-ops.h (SUBWORDXFSI): Fix word ordering.Doug Evans2-6/+14
(SUBWORDTFSI, JOINSIDI): Ditto.
2010-01-222010-01-21 Doug Kwan <dougkwan@google.com>Doug Kwan4-0/+283
elfcpp/ChangeLog: * arm.h (EXIDX_CANTUNWIND): New enum. gold/ChangeLog: * arm.cc (Arm_exidx_cantunwind, Arm_exidx_merged_section): New classes. (Arm_exidx_section_offset_map): New type.
2010-01-222010-01-21 Doug Kwan <dougkwan@google.com>Doug Kwan2-29/+187
* arm.cc (Arm_exidx_input_section): New class. (Arm_relobj::exidx_input_section_by_link, Arm_relobj::exidx_input_section_by_shndx, Arm_relobj::make_exidx_input_section): New methods. (read_arm_attributes_section): Remove. (Arm_relobj::do_read_symbols): Look for ARM.exidx sections and record information about them. (Arm_dynobj::do_read_symbols): Move code in read_arm_attributes_section to here.
2010-01-22*** empty log message ***gdbadmin1-1/+1
2010-01-21daily updateAlan Modra1-1/+1
2010-01-21 * linux-ppc-low.c (ppc_arch_setup): Adjust to regcachePedro Alves2-1/+7
changes.
2010-01-21 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-onlyRainer Orth2-6/+22
on 64-bit Solaris/x86. Include obj-format.h earlier.
2010-01-21gdb/gdbserver/Jan Kratochvil2-5/+12
* linux-s390-low.c (s390_collect_ptrace_register) (s390_supply_ptrace_register): Adjust it for the new regcache parameter.
2010-01-21 * linux-low.c (PTRACE_ARG3_TYPE): Change from long to void*.Doug Evans2-13/+45
(PTRACE_ARG4_TYPE): New macro. (handle_extended_wait): Cast ptrace arg4 to PTRACE_ARG4_TYPE. (linux_wait_for_event_1, linux_resume_one_lwp): Ditto. (fetch_register): Cast to uintptr_t before casting to PTRACE_ARG3_TYPE. (usr_store_inferior_registers): Ditto. (linux_read_memory, linux_write_memory): Ditto. (linux_test_for_tracefork): Ditto.
2010-01-21 * linux-arm-low.c: Remove redundant include of gdb_proc_service.h.Doug Evans2-2/+9
Only include elf.h if gdb_proc_service.h didn't include linux/elf.h.
2010-01-21Correct month.H.J. Lu2-2/+2
2010-01-21Add xsave64 and xrstor64.H.J. Lu8-15/+154
gas/testsuite/ 2010-02-21 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/x86-64-xsave.s: Add tests for xsave64 and xrstor64. * gas/i386/x86-64-xsave-intel.d: Updated. * gas/i386/x86-64-xsave.d: Likewise. opcodes/ 2010-02-21 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (mod_table): Use FXSAVE on xsave and xrstor. * i386-opc.tbl: Add xsave64 and xrstor64. * i386-tbl.h: Regenerated.
2010-01-21 PR symtab/11198:Tom Tromey4-30/+45
* symtab.h (lookup_minimal_symbol_and_objfile): Declare. * minsyms.c (lookup_minimal_symbol_and_objfile): New function. * glibc-tdep.c (find_minsym_and_objfile): Remove. (glibc_skip_solib_resolver): Use lookup_minimal_symbol_and_objfile.
2010-01-21 * proc-service.c (ps_lgetregs): Don't refetch registers from thePedro Alves2-1/+5
target.
2010-01-21 * elflink.c (elf_link_add_object_symbols): Look up name ofNick Clifton2-10/+31
undefined symbol both before and after versioning has been applied. Do not bother with symbols that are weakly undefined.
2010-01-212010-01-21 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-1/+7
* inflow.c (check_syscall): Guard by #if clause for GO32 and WIN32 targets.
2010-01-21 * spu-low.c (spu_fetch_registers, spu_store_registers): ChangePedro Alves2-7/+12
prototype to take a regcache. Adjust.
2010-01-212010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel9-0/+48
* readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS. 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * s390.h (EF_S390_HIGH_GPRS): Added macro definition. 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/tc-s390.c (s390_elf_final_processing): New function. * config/tc-s390.h (elf_tc_final_processing): New macro definition. (s390_elf_final_processing): Added prototype. 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * elf32-s390.c (elf32_s390_merge_private_bfd_data): New function. (bfd_elf32_bfd_merge_private_bfd_data): New macro definition.
2010-01-21 PR 4437Nick Clifton4-13/+57
* ldfile.c: (ldfile_open_file): Do not stop link upon encountering a missing file or library. Instead mark the entry as missing and set the global flag to indicate that missing files were encountered. * ldlang.c (missing_files): New exported variable. (load_symbols): Skip loading if the file is missing. (open_input_bfds): Terminate link if any input files were missing. * ldlang.h (struct lang_input_statement_struct): Add missing_file field. Add export of missing_file variable.
2010-01-21Improve doc on how to execute a Python script from GDB.Joel Brobecker2-10/+93
* gdb.texinfo (File Options): Adjust the documentation of this switch to refer to the "source" command rather than partially duplicating some of the relevant information. (Extending GDB): Introduce and document the set/show script-extension setting. (Command Files): Add note explaining that the "source" command is also used to evalute scripts written in other languages. Remove the short slightly incorrect reference to sourcing Python scripts. (Python Commands): Document how to execute a Python script from GDB.
2010-01-21merge from gccDJ Delorie2-3/+17