aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-04-29 PR python/14204:Tom Tromey2-12/+68
* gdb.texinfo (Python API): Fix menu entry. (Blocks In Python): Fix subsubsection text. Rewrite intro. Define global and static block. Add example. Clarify block relationship for inline functions.
2013-04-29 * gdb.texinfo (Python API): Mention Python help and keywordTom Tromey2-7/+43
arguments. Move pagination text to Basic Python. (Basic Python): Put pagination text here. Document close-on-exec, SIGCHLD, and SIGINT.
2013-04-292013-04-29 Alexander Ivchenko <alexander.ivchenko@intel.com>Cary Coutant11-20/+194
gold/ * output.cc (Output_section::add_merge_input_section): Allow to merge sections if the alignment is more than character size. * merge.h (Output_merge_string::Output_merge_string): Remove assert. * merge.cc (Output_merge_string<Char_type>::do_add_input_section): Count only not-null strings. Check the alignment of strings. * stringpool.h (Stringpool_template<Stringpool_char>::Stringpool_template): Add alignment as the argument. (Stringpool_template<Stringpool_char>::addralign_): New class member. * stringpool.cc (Stringpool_template<Stringpool_char>::new_key_offset): Align non-zero length strings according to the addralign_. (Stringpool_template<Stringpool_char>::set_string_offsets): Updating offsets according to the given alignment. * testsuite/Makefile.am (text_section_grouping): Test if string literals are getting merged. * testsuite/Makefile.in: Regenerate. * testsuite/merge_string_literals_1.c: New file. * testsuite/merge_string_literals_2.c: Ditto. * testsuite/merge_string_literals.sh: Ditto.
2013-04-29 * config.guess: Update from config repo.Jan-Benedict Glaw3-20/+33
* config.sub: Ditto.
2013-04-29 * elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark fromNick Clifton15-648/+834
fragmented .debug_line sections associated with unmarked code sections. * dwarf.c (read_debug_line_header): New function. Reads in a header in a .debug_line section. (display_debug_lines_raw): Use new function. Handle fragmentary .debug_line sections. (display_debug_lines_decoded): Likewise. * readelf.c (process_section_headers): Handle fragmenatry .debug_line sections. (display_debug_section): Likewise. * as.c (Options): Add -gdwarf-sections. (parse_args): Likewise. * as.h (flag_dwarf_sections): Declare. * dwarf2dbg.c (emit_fixed_inc_line_addr): Skip section changes. (process_entries): When -gdwarf-sections is enabled generate fragmentary .debug_line sections. (out_debug_line): Set the section for the .debug_line section end symbol. * doc/as.texinfo: Document -gdwarf-sections. * NEWS: Mention -gdwarf-sections. * gas/elf/dwarf2-3.d: Fix expected readelf output. * scripttempl/DWARF.sc: Add support for .debug_line.* and .debug_line_end.
2013-04-29mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.Joel Brobecker1-0/+6
gdb/ChangeLog: * mep-tdep.c (mep_write_pc): Delete. (mep_gdbarch_init): Remove call to set_gdbarch_write_pc. Add call to set_gdbarch_pc_regnum.
2013-04-29Use gdbarch_pc_regnum instead of gdbarch_write_pc.Joel Brobecker2-7/+7
gdb/ChangeLog: * m32r-tdep.c (m32r_write_pc): Delete. (m32r_gdbarch_init): Remove call to set_gdbarch_write_pc. Add call to set_gdbarch_pc_regnum.
2013-04-29 * dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning forPierre Muller2-3/+9
editCase function rule. (get_DW_AT_signature_type): Likewise.
2013-04-29bfd/efl32-arm.c: Fix handling of IRELATIVE relocs.Will Newton12-8/+99
bfd/ChangeLog: 2013-04-24 Will Newton <will.newton@linaro.org> * elf32-arm.c (elf32_arm_populate_plt_entry): Call elf32_arm_add_dynreloc when emitting R_ARM_IRELATIVE relocs. ld/testsuite/ChangeLog: 2013-04-24 Will Newton <will.newton@linaro.org> * ld-arm/arm-elf.exp: Add IFUNC test 17. * ld-arm/ifunc-17.dd: New file. * ld-arm/ifunc-17.gd: Likewise. * ld-arm/ifunc-17.rd: Likewise. * ld-arm/ifunc-17.s: Likweise. * ld-arm/ifunc-1.rd: Reorder relocs to match linker output. * ld-arm/ifunc-2.rd: Likewise. * ld-arm/ifunc-5.rd: Likewise. * ld-arm/ifunc-6.rd: Likewise.
2013-04-29ld-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0.Will Newton2-19/+35
The test for ld/12942 fails with gcc versions before 4.7.0. This patch disables this test with these versions of gcc. ld/testsuite/ChangeLog: 2013-04-29 Will Newton <will.newton@linaro.org> * ld-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0.
2013-04-29 * elf64-aarch64.c (elf64_aarch64_check_relocs): Move relocationNick Clifton2-6/+13
error check up and add error message.
2013-04-29 * ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error.Pierre Muller2-1/+5
2013-04-29 * emultempl/pe.em [cygwin]: Do not merge rdata with v2Nick Clifton2-6/+13
psuedo-relocs.
2013-04-29Add ARI marker to get_DW_AT_signature_type.Joel Brobecker2-2/+6
gdb/ChangeLog: * dwarf2read.c (get_DW_AT_signature_type): Add ARI marker.
2013-04-29daily updateAlan Modra1-1/+1
2013-04-29*** empty log message ***gdbadmin1-1/+1
2013-04-28ld/Thomas Schwinge29-28/+59
* scripttempl/armbpabi.sc: Replace "source" usage with ".". * scripttempl/avr.sc: Likewise. * scripttempl/elf.sc: Likewise. * scripttempl/elf32cr16.sc: Likewise. * scripttempl/elf32crx.sc: Likewise. * scripttempl/elf32msp430.sc: Likewise. * scripttempl/elf32msp430_3.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf64hppa.sc: Likewise. * scripttempl/elf_chaos.sc: Likewise. * scripttempl/elfd10v.sc: Likewise. * scripttempl/elfd30v.sc: Likewise. * scripttempl/elfi370.sc: Likewise. * scripttempl/elfm68hc11.sc: Likewise. * scripttempl/elfm68hc12.sc: Likewise. * scripttempl/elfxgate.sc: Likewise. * scripttempl/elfxtensa.sc: Likewise. * scripttempl/epiphany_4x4.sc: Likewise. * scripttempl/i386beos.sc: Likewise. * scripttempl/i386go32.sc: Likewise. * scripttempl/ia64vms.sc: Likewise. * scripttempl/ip2k.sc: Likewise. * scripttempl/iq2000.sc: Likewise. * scripttempl/mep.sc: Likewise. * scripttempl/mmo.sc: Likewise. * scripttempl/v850.sc: Likewise. * scripttempl/v850_rh850.sc: Likewise. * scripttempl/xstormy16.sc: Likewise.
2013-04-28gdb/Yao Qi2-24/+30
* solib-dsbt.c (fetch_loadmap): Re-indent. (displacement_from_map, enable_break2): Likewise. (dsbt_relocate_section_addresses): Likewise.
2013-04-28daily updateAlan Modra1-1/+1
2013-04-28*** empty log message ***gdbadmin1-1/+1
2013-04-27 * target-reloc.h (relocate_section): If the reloc offset is out ofIan Lance Taylor8-9/+47
range, pass VIEW as NULL to relocate.relocate. * arm.cc (Target_arm:Relocate::relocate): Check for a NULL view. * i386.cc (Target_i386::Relocate::relocate): Likewise. * powerpc.cc (Target_powerpc::Relocate::relocate): Likewise. * sparc.cc (Target_sparc::Relocate::relocate): Likewise. * tilegx.cc (Target_tilegx::Relocate::relocate): Likewise. * x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
2013-04-27*** empty log message ***gdbadmin1-1/+1
2013-04-27daily updateAlan Modra1-1/+1
2013-04-262013-04-26 Geoff Pike <gpike@chromium.org>Cary Coutant7-34/+309
gold/ * gold.cc (queue_final_tasks): invoke layout->queue_build_id_tasks(). * layout.cc (Hash_task): New class. (Layout::queue_build_id_tasks): New function. (Layout::write_build_id): Handle single-thread portion of build ID computation. (In some cases, all of it is single-threaded.) Replace {sha1,md5}_process_bytes with {sha1,md5}_buffer to get the same functionality in fewer lines of code. * layout.h (Layout::queue_build_id_tasks): New function declaration. * options.h (General_options): make "--build-id" default to tree rather than sha1. Add two new options related to --build-id=tree: --build-id-chunk-size-for-treehash and --build-id-min-file-size-for-treehash. * Makefile.am: add testing of --build-id=tree and related new options (these tests will be invoked by "make check"). * Makefile.in: Regenerate.
2013-04-26 * MAINTAINERS: Add myself and Cary as gold maintainers.Ian Lance Taylor2-0/+6
2013-04-26fix changelog entry: we still have 2013, not 2014Christian Groessler1-1/+1
2013-04-26 * config/tc-z8k.c (md_parse_option): Set z8k_target_from_cmdlineChristian Groessler2-7/+15
according to the target parameter. Don't call s_segm since s_segm calls bfd_set_arch_mach using stdoutput, but stdoutput isn't initialized yet. (md_begin): Call s_segm according to target parameter from command line.
2013-04-26 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).Nick Clifton2-0/+6
2013-04-26GDB 7.6 released.gdbadmin1-0/+4
2013-04-26Add missing test files from 2013-03-21 commit.Will Newton3-0/+22
2013-04-26Remove some dead code from elf64_aarch64_check_relocs.Will Newton2-15/+5
bfd/ChangeLog: 2013-04-25 Will Newton <will.newton@linaro.org> * elf64-aarch64.c (elf64_aarch64_check_relocs): Remove dead code.
2013-04-26 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): TestAlan Modra2-6/+15
unresolved_syms_in_shared_libs rather than !executable to determine whether to load DT_NEEDED libraries.
2013-04-26daily updateAlan Modra1-1/+1
2013-04-26*** empty log message ***gdbadmin1-1/+1
2013-04-25 PR corefiles/14983:Tom Tromey4-2/+70
* dwarf2read.c (process_full_comp_unit): Always create a static block. gdb/testsuite * gdb.dwarf2/nostaticblock.exp: New file.
2013-04-25bfd/Alan Modra13-50/+89
* config.bfd: Add powerpc64le-linux. gas/ * configure.in: Allow little-endian linux. * configure: Regenerate. gold/ * configure.tgt: Add powerpcle and powerpc64le. ld/ * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c. (eelf32lppclinux.c): New rule. * Makefile.in: Regenerate. * configure.tgt: Merge powerpc-linux and other powerpc-elf targets with corresponding little-endian targets. * emulparams/elf32lppc.sh: Update comment. * emulparams/elf32lppclinux.sh: New.
2013-04-25Fix format error of ChangeLog.Hui Zhu3-5/+0
2013-04-252013-04-25 Hui Zhu <hui@codesourcery.com>Hui Zhu2-0/+7
PR gdb/15186 * ax.c (ax_printf): Add fflush.
2013-04-25*** empty log message ***gdbadmin1-1/+1
2013-04-25daily updateAlan Modra1-1/+1
2013-04-242013-04-25 Hui Zhu <hui@codesourcery.com>Hui Zhu2-3/+8
* breakpoint.c (build_target_command_list): Change loc->cond_bytecode to loc->cmd_bytecode.
2013-04-242013-04-24 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore4-2/+12
gas/ * config/tc-nios2.c (nios2_control_register_arg_p): Rename "fstatus" control register to "eccinj". opcodes/ * nios2-opc.c (nios2_builtin_reg): Rename "fstatus" control register to "eccinj".
2013-04-24 * dwarf2read.c (setup_type_unit_groups): Fix comment.Doug Evans2-1/+5
2013-04-24Enable x32 for x86_64-*-elf*H.J. Lu7-2/+23
This patch enables x32 for x86_64-*-elf* for embedded target and disables rex tests since it uses '/' as prefix separator which is `\' for x86_64-*-elf*. bfd/ * config.bfd (targ_selvecs): Add bfd_elf32_x86_64_vec for x86_64-*-elf*. gas/testsuite/ * gas/i386/rex.d: Skip x86_64-*-elf*. * gas/i386/ilp32/rex.d: Likewise. ld/ * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for x86_64-*-elf*. (targ_extra_libpath): Likewise. (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
2013-04-24 * tracepoint.c (trace_save): Call the writer's start method.Keith Seitz2-0/+6
2013-04-24ld/Yufeng Zhang4-10/+24
* emulparams/aarch64elf.sh: Define ELFSIZE=64. * emulparams/aarch64linux.sh: Ditto. * emultempl/aarch64elf.em (aarch64_elf_before_allocation): Replace elf64 with elf${ELFSIZE}. (elf64_aarch64_add_stub_section): Likewise. (build_section_lists): Likewise. (gld${EMULATION_NAME}_after_allocation): Likewise. (gld${EMULATION_NAME}_finish): Likewise. (aarch64_elf_create_output_section_statements): Likewise.
2013-04-24bfd/Roland McGrath2-1460/+1503
* elf32-arm.c (elf32_arm_allocate_plt_entry): If HTAB->nacl_p, allocate space for PLT header even if IS_IPLT_ENTRY. (arm_nacl_put_plt0): New function, broken out of ... (elf32_arm_finish_dynamic_sections): ... here. Call it. If HTAB->nacl_p, set up the PLT header in .iplt too. (elf32_arm_output_arch_local_syms): If HTAB->nacl_p, write a mapping symbol for the start of .iplt too.
2013-04-24 PR ld/15389Nick Clifton2-0/+6
* scripttempl/avr.sc: Add .note.gnu.build-id section.
2013-04-242013-04-24 Muhammad Bilal <mbilal@codesourcery.com>Muhammad Bilal4-0/+21
PR gdb/10462 * cli/cli-decode.c (lookup_command): Show an error if there is no space before argument. 2013-04-24 Muhammad Bilal <mbilal@codesourcery.com> PR gdb/10462 * gdb.base/setshow.exp: Add test case.
2013-04-24oops - revert accidental commitNick Clifton1-38/+0