aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-06-232009-06-23 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov5-43/+40
Revert 2009-05-14 breakpoint commit (no longer needed). * breakpoint.h (breakpoint_re_set_objfile): Remove * breakpoint.c (breakpoint_re_set_objfile): Likewise (create_overlay_event_breakpoint): Remove objfile parameter, iterate over all objfiles. * objfiles.c (objfile_relocate): Update. * symfile.c (new_symfile_objfile): Likewise.
2009-06-23gdbTom Tromey6-12/+68
PR gdb/10309: * c-lang.c (classify_type): Iterate over typedefs. * c-valprint.c (textual_element_type): Iterate over typedefs. gdb/testsuite * gdb.base/charset.exp (test_combination): Regression test. * gdb.base/charset.c (my_wchar_t): New typedef. (myvar): New global. (main): Set myvar.
2009-06-23And the ChangeLog entry:Tristan Gingold1-0/+5
2009-06-23 Tristan Gingold <gingold@adacore.com> * vms.c (vms_get_synthetic_symtab): Remove duplicate definition of this macro. Fix indentation.
2009-06-23* server.c (process_serial_event): Add support for Z0 and Z1 packet.Aleksandar Ristovski3-53/+50
* target.h (target_ops): Comment for *_watchpoint to make it clear the functions can get types '0' and '1'.
2009-06-23 * configure.ac: Call AC_CHECK_DECLS using C, not C++.Ian Lance Taylor3-493/+504
* configure: Rebuild.
2009-06-23Fix a nit.Tristan Gingold1-3/+1
2009-06-23 Tristan Gingold <gingold@adacore.com> * vms.c (vms_get_synthetic_symtab): Remove duplicate definition of this macro. Fix indentation.
2009-06-23Add files for ARM auto-IT patchNick Clifton17-0/+349
2009-06-23 PR 10147Ian Lance Taylor2-0/+19
* object.cc (Object::section_contents): Don't try to get a view if the section has length zero. (Object::handle_gnu_warning_section): If the section is empty, use the name of the section as the warning.
2009-06-23 PR 10133Ian Lance Taylor4-2/+28
* stringpool.h (class Stringpool_template): Add optimize_ field. (Stringpool_template::set_optimize): New function. * stringpool.cc (Stringpool_template::Stringpool_template): Initialize optimize_ field. (Stringpool_template::set_string_offsets): Test local optimize fild rather than parameter. * layout.cc (Layout::Layout): Call set_optimize on the section name stringpool.
2009-06-23 PR 10030Ian Lance Taylor6-26/+61
* yyscript.y: Parse TARGET. * script.cc (script_set_target): New function. * script-c.h (script_set_target): Declare. * options.cc (General_options::string_to_object_format): Rename from string_to_object_format in anonymous namespace. Change callers. * options.h (class General_options): Declare string_to_object_format.
2009-06-23 * script-sections.cc (Script_sections::create_segments): Don't putIan Lance Taylor2-1/+11
program headers in a PT_LOAD segment if -n or -N.
2009-06-23*** empty log message ***gdbadmin1-1/+1
2009-06-23daily updateAlan Modra1-1/+1
2009-06-22 PR 10141Ian Lance Taylor3-7/+24
* options.h (class General_options): Add -z lazy and -z now. Sort -z options into alphabetical order. * layout.cc (Layout::finish_dynamic_section): Handle -z now.
2009-06-22gdb/Jan Kratochvil2-24/+39
PR gdb/9988: * buildsym.c (block_compar): New function. (end_symtab): Replace the bubble sort by a qsort based code.
2009-06-22 * linux-low.c (usr_fetch_inferior_registers): Remove check for regno 0.Aleksandar Ristovski6-8/+13
* proc-service.c (ps_lgetregs): Pass -1 to fetch all registers. * regcache.c (get_regcache): Likewise. * spu-low.c (spu_fetch_registers): Remove 0 to -1 conversion. * win32-low.c (child_fetch_inferior_registers): Remove check for regno 0.
2009-06-222009-05-07 Sami Wagiaalla <swagiaal@redhat.com>Sami Wagiaalla2-0/+5
* MAINTAINERS (Write After Approval): Add self.
2009-06-22 * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,Nick Clifton65-494/+510
gas/config/atof-ieee.c, gas/config/obj-aout.c, gas/config/obj-coff.c, gas/config/obj-ecoff.c, gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c, gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c, gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c, gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c, gas/config/tc-i386-intel.c, gas/config/tc-i386.c, gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c, gas/config/tc-iq2000.c, gas/config/tc-m32c.c, gas/config/tc-m32r.c, gas/config/tc-m68hc11.c, gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c, gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c, gas/config/tc-mn10300.c, gas/config/tc-moxie.c, gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c, gas/config/tc-s390.c, gas/config/tc-score.c, gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c, gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c, gas/config/tc-xtensa.c, gas/config/xtensa-relax.c, gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c, gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c, gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the gas macro `assert' to `gas_assert'.
2009-06-22 * spu-tdep.c (spu_get_longjmp_target): New function.Ulrich Weigand2-0/+26
(spu_gdbarch_init): Install it.
2009-06-222009-06-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+6
PR server/10306 * remote.c (getpkt_or_notif_sane_1): Initialize val to -1.
2009-06-22 * config/tc-arm.c (implicit_it_mode): New enum.Nick Clifton8-256/+850
(implicit_it_mode): New global. (it_instruction_type): New enum. (arm_parse_it_mode): New function. (arm_long_opts): New option added. (arm_it): New field. (it_state): New enum. (now_it): New macro. (check_it_blocks_finished): New function. (insns[]): Use the IT Thumb opcodes for ARM too. (arm_cleanup): Call check_it_blocks_finished. (now_it_compatible): New function. (conditional_insn): New function. (set_it_insn_type): New macro. (set_it_insn_type_last): New macro. (do_it): Call automatic IT machinery functions. (do_t_add_sub): Likewise (do_t_arit3): Likewise. (do_t_arit3c): Likewise. (do_t_blx): Likewise. (do_t_branch): Likewise. (do_t_bkpt): Likewise. (do_t_branch23): Likewise. (do_t_bx): Likewise. (do_t_bxj): Likewise. (do_t_cps): Likewise. (do_t_cpsi): Likewise. (do_t_cbz): Likewise. (do_t_it): Likewise. (encode_thumb2_ldmstm): Likewise. (do_t_ldst): Likewise. (do_t_mov_cmp): Likewise. (do_t_mvn_tst): Likewise. (do_t_mul): Likewise. (do_t_neg): Likewise. (do_t_setend): Likewise. (do_t_shift): Likewise. (do_t_tb): Likewise. (output_it_inst): New function. (new_automatic_it_block): New function. (close_automatic_it_block): New function. (now_it_add_mask): New function. (it_fsm_pre_encode): New function. (handle_it_state): New function. (it_fsm_post_encode): New function. (force_automatic_it_block_close): New function. (in_it_block): New function. (md_assemble): Call automatic IT block machinery functions. (arm_frob_label): Likewise. (arm_opts): New element. * config/tc-arm.h (it_state): New enum. (current_it): New struct. (arm_segment_info_type): New member added. * doc/c-arm.texi: New option -mimplicit-it documented. * gas/arm/arm-it-auto.d: New test. * gas/arm/arm-it-auto.s: New file. * gas/arm/arm-it-auto-2.d: New test case. * gas/arm/arm-it-auto-2.s: New file. * gas/arm/arm-it-auto-3.d: New test case. * gas/arm/arm-it-auto-3.s: New file. * gas/arm/arm-it-bad.d: New test case. * gas/arm/arm-it-bad.l: New file. * gas/arm/arm-it-bad.s: New file. * gas/arm/arm-it-bad-2.d: New test case. * gas/arm/arm-it-bad-2.l: New file. * gas/arm/arm-it-bad-2.s: New file. * gas/arm/arm-it-bad-3.d: New test case. * gas/arm/arm-it-bad-3.l: New file. * gas/arm/arm-it-bad-3.s: New file. * gas/arm/thumb2_it_auto.d: New test. * gas/arm/thumb2_it_bad.l: Error message updated. * gas/arm/thumb2_it_bad_auto.d: New test. * gas/arm/thumb2_it.d: Comment added. * gas/arm/thumb2_it_bad.d: Comment added.
2009-06-22 * po/fi.po: Updated Finish translation.Nick Clifton2-89/+165
2009-06-222009-06-22 Christophe Lyon <christophe.lyon@st.com>Christophe Lyon8-31/+104
bfd/ * elf32-arm.c (elf32_arm_size_stubs): Use PLT address as destination for defined dynamic symbols when deciding whether to insert a stub or not. (allocate_dynrelocs): Make sure functions are not marked as Thumb when actually accessed through a PLT, even when generating a shared lib. ld/testsuite: * ld-arm/farcall-mixed-app.s: Add new references to check more modes switching. * ld-arm/farcall-mixed-lib1.s: Likewise. * ld-arm/farcall-mixed-app-v5.d: Update expected result. * farcall-mixed-app.d: Likewise. * ld-arm/farcall-mixed-lib.d: Likewise.
2009-06-22 * ld-pe/pe-run.exp (proc test_direct_link_dll): Fix incorrectDave Korn2-4/+9
line-wrapping.
2009-06-22 * readelf.c (target_specific_reloc_handling): New function:Nick Clifton3-6/+66
Processes relocs in a target specific manner. (debug_apply_relocations): Use the new function. * dwarf.c (display_debug_loc): End the dump with a blank line. (struct debug_display): Enable reloc processing for .debug_aranges and .debug_loc sections.
2009-06-22(committed as obvious)Tristan Gingold1-2/+4
2009-06-22 Tristan Gingold <gingold@adacore.com> * darwin-nat.c (darwin_xfer_partial): Use host_address_to_string instead of "%p".
2009-06-222009-06-22 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+6
* mach-o.c (bfd_mach_o_canonicalize_reloc): Append a sentinel to the relocs array.
2009-06-22 * elfcpp.h (SHN_X86_64_LCOMMON): Define enum constant.Ian Lance Taylor2-1/+16
(enum SHT): Add SHT_X86_64_UNWIND. (enum SHF): Add SHT_X86_64_LARGE.
2009-06-22Fix ChangeLog e-mail address.Ian Lance Taylor1-1/+1
2009-06-22 * layout.cc (Layout::make_output_section): CallIan Lance Taylor22-98/+622
Target::new_output_section. (Layout::attach_allocated_section_to_segment): Put large section sections in a separate load segment with the large segment flag set. (Layout::segment_precedes): Sort large data segments after other load segments. (align_file_offset): New static function. (Layout::set_segment_offsets): Use align_file_offset. * output.h (class Output_section): Add is_small_section_ and is_large_section_ fields. (Output_section::is_small_section): New function. (Output_section::set_is_small_section): New function. (Output_section::is_large_section): New function. (Output_section::set_is_large_section): New function. (Output_section::is_large_data_section): New function. (class Output_segment): Add is_large_data_segment_ field. (Output_segment::is_large_data_segment): New function. (Output_segment::set_is_large_data_segment): New function. * output.cc (Output_section::Output_section): Initialize new fields. (Output_segment::Output_segment): Likewise. (Output_segment::add_output_section): Add assertion that large data sections always go in large data segments. Force small data sections to the end of the list of data sections. Force small BSS sections to the start of the list of BSS sections. For large BSS sections to the end of the list of BSS sections. * symtab.h (class Symbol): Declare is_common_shndx. (Symbol::is_defined): Check Symbol::is_common_shndx. (Symbol::is_common): Likewise. (class Symbol_table): Define enum Commons_section_type. Update declarations. Add small_commons_ and large_commons_ fields. * symtab.cc (Symbol::is_common_shndx): New function. (Symbol_table::Symbol_table): Initialize new fields. (Symbol_table::add_from_object): Put small and large common symbols in the right list. (Symbol_table::sized_finalized_symbol): Check Symbol::is_common_shndx. (Symbol_table::sized_write_globals): Likewise. * common.cc (Symbol_table::do_allocate_commons): Allocate new common symbol lists. Don't call do_allocate_commons_list if the list is empty. (Symbol_table::do_allocate_commons_list): Remove is_tls parameter. Add comons_section_type parameter. Change all callers. Handle small and large common symbols. * object.cc (Sized_relobj::do_finalize_local_symbols): Check Symbol::is_common_shndx. * resolve.cc (symbol_to_bits): Likewise. * target.h (Target::small_common_shndx): New function. (Target::small_common_section_flags): New function. (Target::large_common_shndx): New function. (Target::large_common_section_flags): New function. (Target::new_output_section): New function. (Target::Target_info): Add small_common_shndx, large_common_shndx, small_common_section_flags, and large_common_section_flags fields. (Target::do_new_output_section): New virtual function. * arm.cc (Target_arm::arm_info): Initialize new fields. * i386.cc (Target_i386::i386_info): Likewise. * powerpc.cc (Target_powerpc::powerpc_info) [all versions]: Likewise. * sparc.c (Target_sparc::sparc_info) [all versions]: Likewise. * x86_64.cc (Target_x86_64::x86_64_info): Likewise. (Target_x86_64::do_new_output_section): New function. * configure.ac: Define conditional MCMODEL_MEDIUM. * testsuite/Makefile.am (check_PROGRAMS): Add large. (large_SOURCES, large_CFLAGS, large_DEPENDENCIES): Define. (large_LDFLAGS): Define. * testsuite/large.c: New file. * testsuite/testfile.cc (Target_test::test_target_info): Initialize new fields. * configure, testsuite/Makefile.in: Rebuild.
2009-06-22cpu/Alan Modra4-2/+10
* m32c.opc (parse_lab_5_3): Use correct enum. opcodes/ * m32c-asm.c: Regenerate.
2009-06-22include/elf/Alan Modra5-5/+20
* ppc.h (R_PPC_RELAX*): Define as enum. bfd/ * elf32-ppc.c (ppc_elf_check_relocs): Handle R_PPC_RELAX* in switch. * elf32-v850.c (v850_elf_relocate_section): Warning fix.
2009-06-22 * score-dis.c (print_insn_score48, print_insn_score32): Move defaultAlan Modra3-9/+12
case label to proper lexical block. * score7-dis.c (print_insn_score32): Likewise.
2009-06-22*** empty log message ***gdbadmin1-1/+1
2009-06-22 * elf64-ppc.c (ppc64_elf_edit_opd): Avoid gcc warning.Alan Modra2-1/+6
2009-06-22daily updateAlan Modra1-1/+1
2009-06-212009-06-21 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+7
* inferior.h: Update ancient comment.
2009-06-21merge from gccDJ Delorie2-2/+8
2009-06-21*** empty log message ***gdbadmin1-1/+1
2009-06-21daily updateAlan Modra1-1/+1
2009-06-20 * mloop.in: Add missing # comment marker.Doug Evans4-3/+10
* mloop2.in: Ditto. * mloopx.in: Ditto.
2009-06-202009-06-19 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-6/+11
* elflink.c (elf_link_add_object_symbols): Avoid warning from -Wjump-misses-init in gcc 4.5.0.
2009-06-20 PR 10302Alan Modra2-1/+10
* doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
2009-06-202009-06-19 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-4/+10
* elf32-i386.c (elf_i386_check_relocs): Properly check local symbol on error. * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
2009-06-20 * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Avoid dereferencingPedro Alves2-7/+15
NULL pointer. (scan_dyntag): Skip if input bfd isn't elf flavoured. (locate_base): Call elf_locate_base even without an exec_bfd.
2009-06-20*** empty log message ***gdbadmin1-1/+1
2009-06-20daily updateAlan Modra1-1/+1
2009-06-19Fix typo in bug numberTom Tromey1-2/+2
2009-06-19bfd/H.J. Lu8-42/+143
2009-06-19 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c (elf_i386_tls_transition): Add a parameter, r_symndx. Report local symbol name on error. (elf_i386_check_relocs): Updated. Report local symbol name on error. (elf_i386_gc_sweep_hook): Updated. (elf_i386_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_tls_transition): Add a parameter, r_symndx. Report local symbol name on error. (elf64_x86_64_check_relocs): Updated. Report local symbol name on error. (elf64_x86_64_gc_sweep_hook): Updated. (elf64_x86_64_relocate_section): Likewise. ld/testsuite/ 2009-06-19 H.J. Lu <hongjiu.lu@intel.com> * ld-i386/i386.exp: Run tlsgd2. * ld-i386/tlsgd2.d: New. * ld-i386/tlsgd2.s: Likewise. * ld-x86-64/tlsgd3.d: Updated.
2009-06-192009-06-19 Samuel Bronson <naesten@gmail.com>Tom Tromey2-2/+11
PR cli/9930: * cli/cli-decode.c (apropos_cmd): Skip traversing abbreviations for prefix commands to avoid duplicates in the output.