aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-09-30gdbserver: add support for FDPIC loadmapsMike Frysinger4-11/+50
The DSBT support is very close to the FDPIC code, so extend the existing loadmap support to work with FDPIC loadmaps too. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-09-30*** empty log message ***gdbadmin1-1/+1
2011-09-30daily updateAlan Modra1-1/+1
2011-09-292011-09-29 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam12-18/+355
* layout.h (section_order_map_): New member. (get_section_order_map): New member function. * output.cc (Output_section::add_input_section): Check for patterns only when --section-ordering-file is specified. * gold.cc (queue_middle_tasks): Delay updating order of sections till output_sections have been formed. * layout.cc (Layout_Layout): Initialize section_order_map_. * plugin.cc (update_section_order): Store order in order_map. Do not update the order. * testsuite/Makefile.am: Add test case for plugin_final_layout. * testsuite/Makefile.in: Regenerate. * testsuite/plugin_section_order.c: New file. * testsuite/plugin_final_layout.cc: New file. * testsuite/plugin_final_layout.sh: New file.
2011-09-29 * gold/incremental.cc (Sized_incremental_binary::do_process_got_plt):Cary Coutant3-1/+22
Check for NULL. * gold/symtab.cc (Symbol_table::add_from_relobj): Ignore version symbols during incremental update. (Symbol_table::add_from_dynobj): Likewise.
2011-09-29 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): AllowJoseph Myers2-5/+7
for 64-bit multilibs from i?86-* targets.
2011-09-29lib/gdb.exp: Fix a typoMarek Polacek2-1/+5
2011-09-29gdb.base/foll-fork.exp: fix up raceMarek Polacek2-2/+7
2011-09-29 PR ld/13233Alan Modra2-2/+9
* elflink.c (_bfd_elf_gc_mark_extra_sections): Mark single member debug and special section groups.
2011-09-29sim: bfin: use store buffer for VIT_MAX insnsMike Frysinger4-2/+63
The VIT_MAX insns can be used in parallel, so we need to use the store buffer so we don't clobber the output register before we get a chance to do a memory store with it. Reported-by: Kai Iskratsch <kai@stella.at> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-09-29gdb/doc/Yao Qi2-2/+7
* gdb.texinfo (Files): Update options for `add-symbol-file'. Add one space after option `-s'. Remove @r{} markup.
2011-09-29gdb/Yao Qi2-1/+5
* symfile.c (add_symbol_file_command): Update message on usage.
2011-09-29Fix --gc-sections failure with symbol versioning.H.J. Lu6-5/+39
bfd/ 2011-09-28 H.J. Lu <hongjiu.lu@intel.com> PR ld/13195 * elflink.c (_bfd_elf_merge_symbol): Don't set dynamic_def when clearing def_dynamic. (elf_link_add_object_symbols): Likewise. Set dynamic_def when setting def_dynamic. (bfd_elf_gc_mark_dynamic_ref_symbol): Check if a symbol is versioned. ld/testsuite/ 2011-09-28 H.J. Lu <hongjiu.lu@intel.com> PR ld/13195 * ld-elf/elf.exp: Add a C link testcase for PR ld/13195. * ld-elf/pr13195.c: New. * ld-elf/pr13195.d: Likewise. * ld-elf/pr13195.s: Likewise. * ld-elf/pr13195.t: Likewise.
2011-09-29*** empty log message ***gdbadmin1-1/+1
2011-09-29daily updateAlan Modra1-1/+1
2011-09-28* gdb.python/py-type.c (enum E): New.Paul Koning3-1/+40
* gdb.python/py-type.exp (test_fields): Add tests for Python mapping access to fields. (test_enums): New test for field access on enums.
2011-09-28* python/py-type.c (make_fielditem, typy_field_names, typy_items)Paul Koning4-25/+425
(typy_length, typy_get, typy_has_key, typy_make_iter) (typy_iterkeys, typy_iteritems, typy_itervalues, typy_iter) (typy_iterator_iter, typy_iterator_iternext) (typy_iterator_dealloc): New functions to implement standard Python mapping methods on gdb.Type object. (gdb.TypeIterator): New Python type. * python/python-internal.h (gdbpy_iter_kind): New enum. * doc/gdb.texinfo (gdb.Type): Document field access by dictionary key syntax.
2011-09-28merge from gccDJ Delorie6-0/+170
2011-09-28Fix complex floats on sparc.David S. Miller4-10/+97
* sparc-tdep.h (SPARC_F2_REGNUM, SPARC_F3_REGNUM, SPARC_F4_REGNUM, SPARC_F5_REGNUM, SPARC_F6_REGNUM, SPARC_F7_REGNUM): New enums. * sparc-tdep.c (sparc_complex_floating_p): New function. (sparc32_store_arguments): Handle complex floats. (sparc32_extract_return_value): Likewise. (sparc32_store_return_value): Likewise. (sparc32_stabs_argument_has_addr): Likewise. * sparc64-tdep.c (sparc64_complex_floating_p): New function. (sparc64_store_floating_fields): Handle complex floats. (sparc64_store_arguments): Likewise. (sparc64_store_return_value): Likewise.
2011-09-28 * binutils/testsuite/binutils-all/elfedit-4.d: Give test a unique name.Matthew Gretton-Dann2-1/+5
2011-09-28Another typo ... :(Kai Tietz1-2/+1
2011-09-28 * gas/pe/section-exclude.d: Correct testcase.Kai Tietz2-4/+6
2011-09-28Support "set environment" and "unset environment" in MinGW builds.Eli Zaretskii2-1/+52
* windows-nat.c (env_sort) [!__CYGWIN__]: Function restored from before the change on 2006-12-09. (windows_create_inferior) [!__CYGWIN__]: Restore code that generates the environment block for CreateProcessA, modulo the Cygwin-specific parts that are not needed here.
2011-09-282011-09-28 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+5
* od-xcoff.c (dump_xcoff32_aout_header): Fix typo.
2011-09-28 * symtab.cc (Symbol_table::define_special_symbol): AlwaysIan Lance Taylor2-1/+9
canonicalize version string.
2011-09-28*** empty log message ***gdbadmin1-1/+1
2011-09-28daily updateAlan Modra1-1/+1
2011-09-272011-09-27 Kai Tietz <ktietz@redhat.com>Kai Tietz6-0/+40
* config/obj-coff.c (obj_coff_section): Add 'e' as specifier for marking section SEC_EXCLUDE. 2011-09-27 Kai Tietz <ktietz@redhat.com> * gas/pe/pe.exp: Add new testcase. * gas/pe/section-exclude.d: New file. * gas/pe/section-exclude.s: New file.
2011-09-27 * coffcode.h (sec_to_styp_flags): HandleKai Tietz2-2/+14
SEC_LINK_DUPLICATES_SAME_CONTENTS, and SEC_LINK_DUPLICATES_SAME_SIZE.
2011-09-27 * scripttempl/pe.sc (.text): Add support forKai Tietz3-4/+14
.gnu.linkonce.t.* section. (.debug_info): Only use .gnu.linkonce.wi.* for relocating. * scripttempl/pep.sc: Likewise.
2011-09-272011-09-27 Tristan Gingold <gingold@adacore.com>Tristan Gingold4-39/+109
* target.h (enum target_object): Add TARGET_OBJECT_DARWIN_DYLD_INFO. * solib-darwin.c (DYLD_VERSION_MAX): Update number. (darwin_solib_get_all_image_info_addr_at_init): New function. (darwin_solib_read_all_image_info_addr): Likewise. (darwin_solib_create_inferior_hook): Use the above two functions. * darwin-nat.c (darwin_execvp): Renames retval to res. (darwin_read_write_inferior): Update comment. (darwin_read_dyld_info): New function. (darwin_xfer_partial): Handle DYLD_INFO.
2011-09-27 Add return address collection for tracepoints.Stan Shebs15-4/+250
* tracepoint.c (encode_actions_1): Add case for $_ret. (validate_actionline): Check for $_ret. (trace_dump_actions): Ditto. * ax-gdb.h (gen_trace_for_return_address): Declare. * ax-gdb.c: Include arch-utils.h. (gen_trace_for_return_address): New function. (agent_command): Add return address special case. * amd64-tdep.c: Include ax.h and ax-gdb.h. (amd64_gen_return_address): New function. (amd64_init_abi): Call it. * i386-tdep.c: Include ax.h and ax-gdb.h. (i386_gen_return_address): New function. (i386_init_abi): Call it. * arch-utils.h (default_gen_return_address): Declare. * arch-utils.c (default_gen_return_address): New function. * gdbarch.sh (gen_return_address): New method. * gdbarch.h, gdbarch.c: Regenerate. * gdb.texinfo (Tracepoint Action Lists): Document $_ret. * gdb.trace/collection.exp: Test collection of $_ret.
2011-09-272011-09-27 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-61/+83
* od-xcoff.c (dump_xcoff32_aout_header): Remove some gettext macros. (dump_xcoff32_sections_header): Likewise. (dump_xcoff32_symbols, dump_xcoff32_relocs): Likewise. (dump_xcoff32_lineno, dump_xcoff32_loader): Likewise. (dump_xcoff32_except): Likewise. (dump_xcoff32_typchk, dump_xcoff32_tbtags): Likewise.
2011-09-272011-09-27 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+8
* readelf.c (print_ia64_vms_note): Fix xgettext warnings.
2011-09-27opcodes/David S. Miller5-3/+13
* sparc-opc.c (sparc_opcodes): Fix random instruction to write to a float instead of an integer register. gas/testsuite/ * gas/sparc/hpcvis3.s: Update to use float reg for random insn. * gas/sparc/hpcvis3.d: Likewise.
2011-09-27merge from gccDJ Delorie1-2/+9
2011-09-27daily updateAlan Modra1-1/+1
2011-09-27*** empty log message ***gdbadmin1-1/+1
2011-09-26 * gold/gold.cc (queue_initial_tasks): Move option checks ...Cary Coutant3-36/+56
* gold/options.cc (General_options::finalize): ... to here. Disable some options; make others fatal.
2011-09-26merge from gccDJ Delorie2-9/+3
2011-09-26include/ChangeLogCary Coutant7-19/+113
gcc PR lto/47247 * plugin-api.h (enum ld_plugin_symbol_resolution): Add LDPR_PREVAILING_DEF_IRONLY_EXP. (enum ld_plugin_tag): Add LDPT_GET_SYMBOLS_V2. gold/ChangeLog gcc PR lto/47247 * plugin.cc (get_symbols_v2): New function. (Plugin::load): Add LDPT_GET_SYMBOLS_V2. (is_referenced_from_outside): New function. (Pluginobj::get_symbol_resolution_info): Add version parameter, return LDPR_PREVAILING_DEF_IRONLY_EXP when using new version. (get_symbols): Pass version parameter. (get_symbols_v2): New function. * plugin.h (Pluginobj::get_symbol_resolution_info): Add version parameter. * testsuite/plugin_test.c (get_symbols_v2): New static variable. (onload): Add LDPT_GET_SYMBOLS_V2. (all_symbols_read_hook): Use get_symbols_v2; check for LDPR_PREVAILING_DEF_IRONLY_EXP. * testsuite/plugin_test_3.sh: Update expected results.
2011-09-26Add sparc integer multiply-add instructions.David S. Miller6-0/+29
opcodes/ * sparc-opc.c (sparc_opcodes): Add integer multiply-add instructions. gas/testsuite/ * gas/sparc/ima.d: New test. * gas/sparc/ima.s: New test source. * gas/sparc/sparc.exp: Run new test.
2011-09-26*** empty log message ***gdbadmin1-1/+1
2011-09-26daily updateAlan Modra1-1/+1
2011-09-25daily updateAlan Modra1-1/+1
2011-09-25*** empty log message ***gdbadmin1-1/+1
2011-09-24daily updateAlan Modra1-1/+1
2011-09-24*** empty log message ***gdbadmin1-1/+1
2011-09-23merge from gccDJ Delorie5-4/+120
2011-09-23merge from gccDJ Delorie2-4/+11