summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ld/testsuite/ld-arm: Fix ifunc-17 failure with arm-eabi.Will Newton2013-04-305-19/+26
| | | | | | | | | | | ld/testsuite/ChangeLog: 2013-04-30 Will Newton <will.newton@linaro.org> * ld-arm/arm-elf.exp: Use linker script for IFUNC test 17. * ld-arm/ifunc-17.dd: Update offsets for linker script. * ld-arm/ifunc-17.gd: Likewise. * ld-arm/ifunc-17.rd: Likewise.
* * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sectionsNick Clifton2013-04-302-3/+8
| | | | are sorted by descending order of alignment.
* 2013-04-30 Jan-Benedict Glaw <jbglaw@lug-owl.de>Jan-Benedict Glaw2013-04-304-2/+15
| | | | | | | | config/ * picflag.m4: Merge from GCC. * dfp.m4: Ditto. * bootstrap-asan.mk: Ditto. * ChangeLog: Ditto.
* Fix display of structures/bitfields in register description.Walfred Tedeschi2013-04-305-1/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for displaying structures and bitfields for registers when executing "maint print c-tdesc". This command is also used when converting the xml target description file into c file. Example of the behaviour is given below reporting a snipet of the xml file and a snippet of the c code generated. XML file contains: ... <union id="vecint"> <field name="v4" type="v4int8"/> <field name="v2" type="v2int16"/> </union> <struct id="struct1"> <field name="v4" type="v4int8"/> <field name="v2" type="v2int16"/> </struct> <struct id="struct2" size="8"> <field name="f1" start="0" end="34"/> <field name="f2" start="63" end="63"/> </struct> ... Setting this xml file as target description file and issuing the maintenance print c-tdesc the following output is obtained: feature = tdesc_create_feature (result, "extra"); field_type = tdesc_named_type (feature, "int8"); tdesc_create_vector (feature, "v4int8", field_type, 4); field_type = tdesc_named_type (feature, "int16"); tdesc_create_vector (feature, "v2int16", field_type, 2); type = tdesc_create_union (feature, "vecint"); field_type = tdesc_named_type (feature, "v4int8"); tdesc_add_field (type, "v4", field_type); field_type = tdesc_named_type (feature, "v2int16"); tdesc_add_field (type, "v2", field_type); C output is not supported type "struct1". This is finally the issue. 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com> * target-descriptions.c (maint_print_c_tdesc_cmd): Add case to parse structures as register types and bitfields. testsuite/ * gdb.xml/maint_print_struct.exp: New file. * gdb.xml/maint_print_struct.xml: New file. Change-Id: I2e20b095d508319c80275e724a9452c7e2834067 Signed-off-by: Walfred Tedeschi <walfred.tedeschi@intel.com>
* PR binutils/15417Nick Clifton2013-04-302-1/+7
| | | | | * elflink.c (elf_link_add_object_symbols): Initialise 'idx' to zero.
* Fix date in some of my recent ChangeLog entries...Joel Brobecker2013-04-301-3/+3
|
* Fix -Wpointer-sign warning in sol-thread.cJoel Brobecker2013-04-302-3/+10
| | | | | | | | | | | | | This fixes a couple of compiler warnings in rw_common when calling target_read_memory/target_write_memory due to the type of parameter "buf" (char *) not matching what these function expect (gdb_byte *). gdb/ChangeLog: * sol-thread.c (rw_common): Change type of parameter "buf" to "gdb_byte *". (ps_pdwrite, ps_ptwrite): Cast parameter "buf" in call to rw_common to "gdb_byte *" instead of "char *".
* Fix build error in sol-thread.c:info_cbJoel Brobecker2013-04-302-8/+17
| | | | | | | | | gdb/ChangeLog: * sol-thread.c (info_cb) [ti.ti_startfunc != 0]: Change type of local variable msym to const struct bound_minimal_symbol. Adjust use accordingly. [ti.ti_state == TD_THR_SLEEP]: Likewise.
* Add myself as a maintainer.Walfred Tedeschi2013-04-302-0/+5
| | | | Change-Id: Ie1b0cb082a384144eef327e9294949e9bacc4415
* 2013-04-30 Samuel Thibault <samuel.thibault@gnu.org>Thomas Schwinge2013-04-302-1/+20
| | | | | | * i386gnu-nat.c (CREG_OFFSET): New macro. (creg_offset): New array. (CREG_ADDR): Use creg_offset instead of reg_offset.
* mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.Joel Brobecker2013-04-302-8/+7
| | | | | | | | 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.
* Delete ChangeLog entry with no corresponding change in sources.Joel Brobecker2013-04-301-6/+0
| | | | | | | | | | This ChangeLog entry was the result of a result of botched commit which resulted in the ChangeLog update being checked in, while the actual code code itself did not make it to CVS. This patch deletes the entry in gdb/ChangeLog titled: mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.
* filestuff.c: Include "gdb_dirent.h" instead of <dirent.h>Joel Brobecker2013-04-302-1/+6
| | | | | | | gdb/ChangeLog: * common/filestuff.c: Replace #include <dirent.h> by #include "gdb_dirent.h".
* filestuff.c: Use gdb_stat.h instead of <sys/stat.h>Joel Brobecker2013-04-302-1/+6
| | | | | | | gdb/ChangeLog: * common/filestuff.c: Replace #include <sys/stat.h> by #include "gdb_stat.h".
* * elflink.c (bfd_elf_record_link_assignment): Dont makeAlan Modra2013-04-302-1/+7
| | | | STV_INTERNAL symbols STV_HIDDEN.
* daily updateAlan Modra2013-04-301-1/+1
|
* *** empty log message ***gdbadmin2013-04-301-1/+1
|
* PR python/14204:Tom Tromey2013-04-292-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.
* * gdb.texinfo (Python API): Mention Python help and keywordTom Tromey2013-04-292-7/+43
| | | | | | arguments. Move pagination text to Basic Python. (Basic Python): Put pagination text here. Document close-on-exec, SIGCHLD, and SIGINT.
* 2013-04-29 Alexander Ivchenko <alexander.ivchenko@intel.com>Cary Coutant2013-04-2911-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.
* * config.guess: Update from config repo.Jan-Benedict Glaw2013-04-293-20/+33
| | | | * config.sub: Ditto.
* * elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark fromNick Clifton2013-04-2915-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.
* mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.Joel Brobecker2013-04-291-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.
* Use gdbarch_pc_regnum instead of gdbarch_write_pc.Joel Brobecker2013-04-292-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.
* * dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning forPierre Muller2013-04-292-3/+9
| | | | | editCase function rule. (get_DW_AT_signature_type): Likewise.
* bfd/efl32-arm.c: Fix handling of IRELATIVE relocs.Will Newton2013-04-2912-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.
* ld-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0.Will Newton2013-04-292-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.
* * elf64-aarch64.c (elf64_aarch64_check_relocs): Move relocationNick Clifton2013-04-292-6/+13
| | | | error check up and add error message.
* * ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error.Pierre Muller2013-04-292-1/+5
|
* * emultempl/pe.em [cygwin]: Do not merge rdata with v2Nick Clifton2013-04-292-6/+13
| | | | psuedo-relocs.
* Add ARI marker to get_DW_AT_signature_type.Joel Brobecker2013-04-292-2/+6
| | | | | | gdb/ChangeLog: * dwarf2read.c (get_DW_AT_signature_type): Add ARI marker.
* daily updateAlan Modra2013-04-291-1/+1
|
* *** empty log message ***gdbadmin2013-04-291-1/+1
|
* ld/Thomas Schwinge2013-04-2829-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.
* gdb/Yao Qi2013-04-282-24/+30
| | | | | | * solib-dsbt.c (fetch_loadmap): Re-indent. (displacement_from_map, enable_break2): Likewise. (dsbt_relocate_section_addresses): Likewise.
* daily updateAlan Modra2013-04-281-1/+1
|
* *** empty log message ***gdbadmin2013-04-281-1/+1
|
* * target-reloc.h (relocate_section): If the reloc offset is out ofIan Lance Taylor2013-04-278-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.
* *** empty log message ***gdbadmin2013-04-271-1/+1
|
* daily updateAlan Modra2013-04-271-1/+1
|
* 2013-04-26 Geoff Pike <gpike@chromium.org>Cary Coutant2013-04-267-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.
* * MAINTAINERS: Add myself and Cary as gold maintainers.Ian Lance Taylor2013-04-262-0/+6
|
* fix changelog entry: we still have 2013, not 2014Christian Groessler2013-04-261-1/+1
|
* * config/tc-z8k.c (md_parse_option): Set z8k_target_from_cmdlineChristian Groessler2013-04-262-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.
* * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).Nick Clifton2013-04-262-0/+6
|
* GDB 7.6 released.gdbadmin2013-04-261-0/+4
|
* Add missing test files from 2013-03-21 commit.Will Newton2013-04-263-0/+22
|
* Remove some dead code from elf64_aarch64_check_relocs.Will Newton2013-04-262-15/+5
| | | | | | | | bfd/ChangeLog: 2013-04-25 Will Newton <will.newton@linaro.org> * elf64-aarch64.c (elf64_aarch64_check_relocs): Remove dead code.
* * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): TestAlan Modra2013-04-262-6/+15
| | | | | unresolved_syms_in_shared_libs rather than !executable to determine whether to load DT_NEEDED libraries.
* daily updateAlan Modra2013-04-261-1/+1
|
OpenPOWER on IntegriCloud