aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-08-06Don't generate multi-byte NOPs for i686.H.J. Lu19-4671/+4749
gas/ 2010-08-06 Quentin Neill <quentin.neill@amd.com> * config/tc-i386.c (arch_entry): Add negated bit to disambiguate flag names starting with "no". (cpu_arch): Add negated bit definitions. Add ".nop" CPU extension. (i386_align_code): Use new .cpunop bit to decide when to generate alignment using nops. (set_cpu_arch): Use negated bit instead to decide when to use cpu_flags or vs. cpu_flags_and_not. (md_parse_option): Likewise. gas/testsuite/ 2010-08-06 Quentin Neill <quentin.neill@amd.com> * gas/i386/arch-10-1.l: Add nopl instruction. * gas/i386/arch-10-2.l: Likewise. * gas/i386/arch-10-3.l: Likewise. * gas/i386/arch-10-4.l: Likewise. * gas/i386/arch-10.s: Likewise. * gas/i386/arch-10.d: Add nopl instruction, and +nopl extension flag to as flags. * gas/i386/nops-5-i686.d: Change alignment code generated for -mtune=i686. * gas/i386/nops-5.d: Change alignment code generated for .arch i686. * gas/i386/x86-64-nops-5-k8.d: Likewise. * gas/i386/x86-64-nops-5.d: Likewise. opcodes/ 2010-08-06 Quentin Neill <quentin.neill@amd.com> * i386-gen.c (cpu_flag_init): Define CpuNop extension flag, add to processor flags for PENTIUMPRO processors and later. * i386-opc.h (enum): Add CpuNop. (i386_cpu_flags): Add cpunop bit. * i386-opc.tbl: Change nop cpu_flags. * i386-init.h: Regenerated. * i386-tbl.h: Likewise.
2010-08-06Fix typos in comments in i386-opc.h.H.J. Lu2-6/+10
2010-08-06 Quentin Neill <quentin.neill@amd.com> * i386-opc.h (enum): Fix typos in comments.
2010-08-06gdb/Jan Kratochvil2-3/+9
Code cleanup. * varobj.c (varobj_create): Move variables fi, old_fi and block to a more inner block.
2010-08-06 * disassemble.c: Formatting.Alan Modra2-9/+14
(disassemble_init_for_target <ARCH_m32c>): Comment on endian.
2010-08-06 PR ld/11887Alan Modra2-4/+11
* ldlang.c (lang_add_vers_depend): Don't leave version_needed uninitialised.
2010-08-06Add Cpu186 to ud1/ud2/ud2a/ud2b.H.J. Lu3-8/+13
2010-08-05 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.tbl: Add Cpu186 to ud1/ud2/ud2a/ud2b. * i386-tbl.h: Regenerated.
2010-08-06Add ud1 to x86.H.J. Lu12-16/+67
gas/testsuite/ 2010-08-05 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run arch-4. * gas/i386/arch-4.d: New. * gas/i386/arch-4.s: Likewise. * gas/i386/intel.d: Replace ud2a/ud2b with ud2/ud1. * gas/i386/opcode-intel.d: Likewise. * gas/i386/opcode-suffix.d: Likewise. * gas/i386/opcode.d: Likewise. opcodes/ 2010-08-05 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (dis386_twobyte): Replace ud2a/ud2b with ud2/ud1. * i386-opc.tbl: Add ud1. Remove Cpu686 from ud2/ud2a/ud2b. * i386-tbl.h: Regenerated.
2010-08-06daily updateAlan Modra1-1/+1
2010-08-06*** empty log message ***gdbadmin1-1/+1
2010-08-05 * configure.tgt (alpha*-*-linux*, am33_2.0*-*-linux*, frv-*-*)Pedro Alves2-14/+26
(hppa*-*-linux*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*) (microblaze*-linux-*, mips*-*-linux*, sh*-*-linux*) (sparc-*-linux*, sparc64-*-linux*, xtensa*-*-linux*): Add linux-tdep.o to gdb_target_obs.
2010-08-05* mi/mi-main.c (mi_cmd_remove_inferior): Properly access first argument.Marc Khouzam2-1/+6
2010-08-05 * ld-powerpc/tocopt.s, * ld-powerpc/tocopt.d: New test.Alan Modra4-0/+72
* ld-powerpc/powerpc.exp: Run it.
2010-08-05 * elf64-ppc.c (ha_reloc_match): Allow matches to other than r2.Alan Modra2-10/+61
(ppc64_elf_relocate_section): Nop out high part insn of large toc code sequence when the high part of offset is zero.
2010-08-052010-08-05 Hui Zhu <teawater@gmail.com>Hui Zhu4-39/+142
* mips-linux-tdep.c(regset.h): New include. (mips_supply_gregset_wrapper, mips_fill_gregset_wrapper, mips_supply_fpregset_wrapper, mips_fill_fpregset_wrapper, mips64_supply_gregset_wrapper, mips64_fill_gregset_wrapper, mips64_supply_fpregset_wrapper, mips64_fill_fpregset_wrapper, mips_linux_regset_from_core_section): New functions. (fetch_core_registers, regset_core_fns): Deleted. (mips_linux_init_abi): Add mips_linux_regset_from_core_section. Deleted regset_core_fns. * mips-tdep.c(mips_gdbarch_init): Initialize tdep->gregset, tdep->gregset64, tdep->fpregset and tdep->fpregset64. * mips-tdep.h(gdbarch_tdep): Add gregset, gregset64, fpregset and fpregset64.
2010-08-05*** empty log message ***gdbadmin1-1/+1
2010-08-05daily updateAlan Modra1-1/+1
2010-08-04Move the first i.error out of the loop.H.J. Lu2-2/+8
2010-08-04 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (match_template): Move the first i.error out of the loop.
2010-08-04 * s390-tdep.c: Include linux-tdep.h.Pedro Alves2-1/+10
(s390_gdbarch_init): Call linux_init_abi.
2010-08-04 * corelow.c (core_pid_to_str): Default to using normal_pid_to_strPedro Alves22-14/+158
instead of printing "Thread" here. * linux-tdep.c: Include inferior.h. (linux_core_pid_to_str): New. (linux_init_abi): New. * linux-tdep.h (linux_init_abi): Declare. * alpha-linux-tdep.c: Include linux-tdep.h. (alpha_linux_init_abi): Call linux_init_abi. * amd64-linux-tdep.c (amd64_linux_init_abi): Call linux_init_abi. * arm-linux-tdep.c (arm_linux_init_abi): Call linux_init_abi. * frv-linux-tdep.c: Include linux-tdep.h (frv_linux_init_abi): Call linux_init_abi. * hppa-linux-tdep.c: Include linux-tdep.h (hppa_linux_init_abi): Call linux_init_abi. * i386-linux-tdep.c (i386_linux_init_abi): Call linux_init_abi. * ia64-linux-tdep.c: Include linux-tdep.h. (ia64_linux_init_abi): Call linux_init_abi. * m32r-linux-tdep.c: Include linux-tdep.h. (m32r_linux_init_abi): Call linux_init_abi. * m68klinux-tdep.c: Include linux-tdep.h. (m68k_linux_init_abi): Call linux_init_abi. * microblaze-linux-tdep.c: Include linux-tdep.h. (microblaze_linux_init_abi): Call linux_init_abi. * mips-linux-tdep.c: Include linux-tdep.h. (mips_linux_init_abi): Call linux_init_abi. * mn10300-linux-tdep.c: Include linux-tdep.h. (am33_linux_init_osabi): Call linux_init_abi. Rename the 'gdbinfo' parameter to 'info'. * ppc-linux-tdep.c: Include linux-tdep.h. (ppc_linux_init_abi): Call linux_init_abi. * sh-linux-tdep.c: Include linux-tdep.h. (sh_linux_init_abi): Call linux_init_abi. * sparc-linux-tdep.c: Include linux-tdep.h. (sparc32_linux_init_abi): Call linux_init_abi. * sparc64-linux-tdep.c: Include linux-tdep.h. (sparc64_linux_init_abi): Call linux_init_abi. * xtensa-linux-tdep.c: Include linux-tdep.h. (xtensa_linux_init_abi): Call linux_init_abi. * i386-cygwin-tdep.c (i386_windows_core_pid_to_str): New. (i386_cygwin_init_abi): Install it as gdbarch_core_pid_to_str callback.
2010-08-04Add a missing chunk.Tristan Gingold1-0/+2
2010-08-042010-08-04 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+58
* vms-alpha.c (alpha_vms_build_fixups): Write the EICP. (alpha_vms_bfd_final_link): Explicitly forbid relocatable links. Clear the SEC_RELOC flag.
2010-08-04Fix tipo in comment.Ian Lance Taylor1-1/+1
2010-08-042010-08-04 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+21
* vms-alpha.c (alpha_vms_create_eisd_for_section): Make writable sections with relocs. (alpha_vms_add_fixup_lp): Set SEC_RELOC flag. (alpha_vms_add_fixup_ca): Ditto. (alpha_vms_add_fixup_qr): Ditto. Add comments.
2010-08-04elfcpp:/Ian Lance Taylor7-19/+42
* i386.h (R_386_IRELATIVE): Define. * powerpc.h (R_POWERPC_IRELATIVE): Define. (R_PPC_RELAX32, R_PPC_RELAX32PC): Don't define. (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Don't define. * sparc.h (R_SPARC_IRELATIVE): Define. * x86_64.h (R_X86_64_IRELATIVE): Define. (R_X86_64_GNU_VTINHERIT): Rename from R_386_GNU_VTINHERIT. (R_X86_64_GNU_VTENTRY): Rename from R_386_GNU_VTENTRY. gold:/ * x86_64.cc (Target_x86_64::Scan::local): Use R_X86_64_GNU_VTINHERIT instead of R_386_GNU_VTINHERIT and R_X86_64_GNU_VTENTRY instead of R_386_GNU_VTENTRY. (Target_x86_64::Scan::global): Likewise. (Target_x86_64::Relocate::relocate): Likewise. (Target_x86_64::Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
2010-08-042010-08-04 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+6
* vms-alpha.c (alpha_vms_create_eisd_for_section): Do not make CODE sections writable.
2010-08-042010-08-04 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-16/+14
* vms-alpha.c (alpha_vms_add_lw_fixup): Renamed to ... (alpha_vms_add_fixup_lr): ... this for consistency. (alpha_vms_add_qw_fixup): Removed. Fix some comments. (vms_get_symbol_info): Adjust type for unknown sections.
2010-08-042010-08-04 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-34/+42
* vms-alpha.c (_bfd_vms_slurp_egsd): Use the canonical absolute section for any absolute section. Remove some debugging code.
2010-08-04 * configure.tgt (m32c): Set endian=little.Alan Modra4-3/+9
* config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0. * config/tc-m32c.c (md_number_to_chars): Revert last change.
2010-08-04* elf32-m32c.c (ELF_MAXPAGESIZE): Change page size to 256 bytes.DJ Delorie2-1/+5
2010-08-04*** empty log message ***gdbadmin1-1/+1
2010-08-04daily updateAlan Modra1-1/+1
2010-08-03Add missing entry to previous checkin.Doug Evans1-1/+2
(bfd_lookup_symbol): Remove unnecessary forward decl.
2010-08-03 * breakpoint.c (bpdisp_text): Constify bpdisps.Doug Evans4-16/+26
* solib-svr4.c (solib_break_names): Constify. (bkpt_names, main_name_list): Constify. (match_main): Constify soname arg. (bfd_lookup_symbol): Constify symname arg. (enable_break): Constify bkpt_namep. * symtab.c (search_symbols): Constify types, types2, types3, types4. (symtab_symbol_info): Constify classnames.
2010-08-03 * merge.cc (Output_merge_string::do_add_input_section): Count stringsCary Coutant5-47/+76
to reserve space in merged_strings vector. Keep total input size for stats. (Output_merge_string::do_print_merge_stats): Print total input size. * merge.h (Output_merge_string): Add input_size_ field. * stringpool.cc (Stringpool_template::string_length): Move implementations out of Stringpool_template class and place in stringpool.h. * stringpool.h (string_length): Move out of Stringpool_template.
2010-08-032010-08-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-4/+9
* vms-misc.c (vms_convert_to_var): Make it static. (_bfd_vms_convert_to_var_unix_filename): Make it public.
2010-08-03 PR 11712Ian Lance Taylor2-4/+34
* layout.cc (relaxation_loop_body): If address of load segment is set, adjust address to include headers if possible.
2010-08-03 * version.cc (version_string): Bump to 1.10.Ian Lance Taylor2-1/+5
2010-08-03bfd/Tristan Gingold4-8/+14
2010-08-03 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Update list. gas/ Index: gas/ChangeLog 2010-08-03 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Add Add compress-debug.c.
2010-08-032010-08-03 Ian Lance Taylor <iant@google.com>Ian Lance Taylor13-717/+654
PR 11805 * layout.h (enum Output_section_order): Define. (class Layout): Update declarations. * layout.cc (Layout::get_output_section): Add order parameter. Remove is_interp, is_dynamic_linker_section, is_last_relro, and is_first_non_relro parameters. Change all callers. (Layout::choose_output_section): Likewise. (Layout::add_output_section_data): Likewise. (Layout::make_output_section): Likewise. Set order. (Layout::default_section_order): New function. (Layout::layout_eh_frame): Call add_output_section_to_nonload. * output.cc (Output_section::Output_section): Initialize order_. Don't initialize deleted fields. (Output_segment::Output_segment): Don't initialize deleted fields. (Output_segment::add_output_section_to_load): New function replacing add_output_section. Change all callers to call this or add_output_section_to_nonload. (Output_segment::add_output_section_to_nonload): New function. (Output_segment::remove_output_section): Rewrite. (Output_segment::add_initial_output_data): Likewise. (Output_segment::has_any_data_sections): Likewise. (Output_segment::is_first_section_relro): Likewise. (Output_segment::maximum_alignment): Likewise. (Output_segment::has_dynamic_reloc): New function replacing dynamic_reloc_count. Change all callers. (Output_segment::has_dynamic_reloc_list): New function replacing dynamic_reloc_count_list. Change all callers. (Output_segment::set_section_addresses): Rewrite. (Output_segment::set_offset): Rewrite. (Output_segment::find_first_and_last_list): Remove. (Output_segment::set_tls_offsets): Rewrite. (Output_segment::first_section_load_address): Likewise. (Output_segment::output_section_count): Likewise. (Output_segment::section_with_lowest_load_address): Likewise. (Output_segment::write_section_headers): Likewise. (Output_segment::print_sections_to_map): Likewise. * output.h (class Output_data): Remove dynamic_reloc_count_ field. Add has_dynamic_reloc_ field. Make bools into bitfields. (Output_data::add_dynamic_reloc): Rewrite. (Output_data::has_dynamic_reloc): New function. (Output_data::dynamic_reloc_count): Remove. (class Output_section): Add order_ field. Remvoe is_relro_local_, is_last_relro_, is_first_non_relro_, is_interp_, is_dynamic_linker_section_ fields. Add order and set_order functions. Remove is_relro_local, set_is_relro_local, is_last_relro, set_is_last_relro, is_first_non_relro, set_is_first_non_relro functions, is_interp, set_is_interp, is_dynamic_linker_section, and set_is_dynamic_linker_section functions. (class Output_segment): Change Output_data_list from std::list to std:;vector. Add output_lists_ field. Remove output_data_ and output_bss_ fields. Update declarations.
2010-08-03 * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.Alan Modra3-4/+10
* config/tc-m32c.c (md_number_to_chars): Call bigendian form of number_to_chars, not littleendian.
2010-08-03 * gas/all/octa.s, * gas/all/octa.d: New test.Alan Modra7-16/+19
* gas/all/gas.exp: Run octa. * gas/elf/data-1.s, * gas/elf/data-1.d: Delete. * gas/elf/elf.exp: Don't run data-1.
2010-08-032010-08-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-8/+6
* dwarf.c (display_debug_lines): Mark file argument unused. Do not try to load .debug_info section.
2010-08-032010-08-03 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2-0/+13
* NEWS: Document Python value inferior function calls.
2010-08-032010-08-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+6
* vms-alpha.c (_bfd_vms_slurp_egsd): Do not set SEC_HAS_CONTENTS nor SEC_RELOC for empty sections.
2010-08-032010-08-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-44/+49
* vms-alpha.c (evax_section_flags): Fix flags for absolute section. Remove useless parenthesis.
2010-08-032010-08-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-3/+8
* vms-lib.c (vms_lib_bread_raw): Change type of BUF argument. (vms_lib_bread, vms_lib_bopen): Adjust.
2010-08-03 * dwarf2read.c (dwarf_attr_name): Add DW_AT_GNU_odr_signature.Doug Evans2-0/+6
2010-08-03*** empty log message ***gdbadmin1-1/+1
2010-08-03daily updateAlan Modra1-1/+1
2010-08-02 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" failsDoug Evans2-4/+17
because of an older gcc, change test2 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved to unsupported.