aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-04Don't pass -fvtable-gc to GCC 3.4.0 or above.H.J. Lu2-2/+9
2010-12-04 H.J. Lu <hongjiu.lu@intel.com> * ld-selective/selective.exp: Don't pass -fvtable-gc to GCC 3.4.0 or above.
2010-12-04Replace -export-dynamic with -Wl,-export-dynamic.H.J. Lu2-3/+8
2010-12-04 H.J. Lu <hongjiu.lu@intel.com> * ld-elfvers/vers.exp: Replace -export-dynamic with -Wl,-export-dynamic.
2010-12-04bfd: install plugin-api.h as neededMike Frysinger3-3/+15
Since people need plugin-api.h in order to build linker plugins, install the header with the other library headers when plugin support is enabled. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-04 PR ld/12277Alan Modra2-18/+33
* elflink.c (elf_link_output_extsym): Set bfd_error on symbol and section errors. Allow better translation of error messages.
2010-12-04 * ldlang.c (lang_size_sections_1): Align lma using same alignmentAlan Modra2-10/+14
as for vma.
2010-12-04 * configure.tgt: Accept microblaze*-*-linux* for linux targetMasaki Muranaka2-2/+7
and microblaze*-*-* for as target.
2010-12-04* Makefile.in: Use CC_FOR_BUILD to build opc2c.Masaki Muranaka2-3/+12
2010-12-04 PR gas/12282Maciej W. Rozycki2-1/+7
* expr.c (expr_build_dot): Make a clone of the symbol to return if needed.
2010-12-04*** empty log message ***gdbadmin1-1/+1
2010-12-03daily updateAlan Modra1-1/+1
2010-12-03Fix a typo in comments.H.J. Lu2-2/+5
2010-12-03 H.J. Lu <hongjiu.lu@intel.com> * lexsup.c (ld_options): Fix a typo in comments.
2010-12-03 * dwarf.c: #include "bfd_stdint.h".Doug Evans6-8/+162
(do_gdb_index): New global. (display_gdb_index): New function. (dwarf_select_sections_by_names) Add "gdb_index". (dwarf_select_sections_all): Set do_gdb_index. (debug_displays): Add .gdb_index. * dwarf.h (do_gdb_index): Declare. * objdump.c (usage): Add gdb_index. * readelf.c (usage): Add gdb_index. (process_section_headers): Process ".gdb_index". * doc/binutils.texi (readelf): Document gdb_index dump. (objdump): Ditto.
2010-12-03*** empty log message ***gdbadmin1-1/+1
2010-12-02 * mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.Dave Korn3-4/+15
(BOOT_LDFLAGS): Add matching stack size flag. * mh-mingw (LDFLAGS): Likewise. (BOOT_LDFLAGS): Likewise.
2010-12-02daily updateAlan Modra1-1/+1
2010-12-022010-11-29 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>Michael Snyder6-24/+45
* gdb.base/callfuncs.exp: Test for skip_float_tests. * gdb.base/call-sc.exp: Ditto. * gdb.base/finish.exp: Ditto. * gdb.base/return.exp: Ditto. * gdb.base/return2.exp: Ditto.
2010-12-02 * linespec.c (find_method): Move name canonicalization outsideKeith Seitz2-11/+18
the loop. Be paranoid and use a cleanup.
2010-12-022010-12-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+19
* COPYING.NEWLIB: Add National Semiconductor notice.
2010-12-02bfd/Richard Sandiford2-109/+98
* elf32-arm.c (elf32_arm_link_hash_table): Remove sgot, sgotplt, srelgot, splt, srelplt. (create_got_section, elf32_arm_link_hash_table_create): Don't set them. (elf32_arm_create_dynamic_sections): Likewise. Use htab->root fields instead. (arm_type_of_stub): Use the root fields instead of the removed ones. (cortex_a8_erratum_scan, elf32_arm_size_stubs): Likewise. (bfd_elf32_arm_process_before_allocation): Likewise. (elf32_arm_check_relocs, allocate_dynrelocs): Likewise. (elf32_arm_size_dynamic_sections): Likewise. (elf32_arm_output_arch_local_syms): Likewise. (elf32_arm_final_link_relocate): Set sgot, splt and srelgot from the htab fields instead of looking them up by name. Consistently use these local variables instead of htab fields. (elf32_arm_finish_dynamic_symbol): Likewise sgot, splt and srel. Use srelbss instead of looking it up by name. (elf32_arm_finish_dynamic_sections): Use sgotplt, splt and srelplt instead of looking up the symbols by name. Use the root fields instead of the removed ones.
2010-12-02bfd/Richard Sandiford2-71/+58
* elf32-arm.c (elf32_arm_relocs_copied): Delete. (elf32_arm_link_hash_entry): Replace relocs_copied with dyn_relocs. (elf32_arm_link_hash_newfunc): Update accordingly. (elf32_arm_copy_indirect_symbol, elf32_arm_gc_sweep_hook): Likewise. (elf32_arm_check_relocs, allocate_dynrelocs): Likewise. (elf32_arm_readonly_dynrelocs): Likewise. (elf32_arm_size_dynamic_sections): Likewise.
2010-12-02gas/Richard Sandiford10-4/+308
* symbols.c (S_FORCE_RELOC): Return true for indirect functions even if !strict. * expr.c (operand): Don't convert absolute symbols to constants if S_FORCE_RELOC is true. (expr): Only reduce subtractions between different symbols if S_FORCE_RELOC is false for both of them. * write.c (fixup_segment): Don't remove symbols if S_FORCE_RELOC is true for them, regardless of their segment. gas/testsuite/ * gas/i386/ifunc-2.s, gas/i386/ifunc-2.l: New test. * gas/i386/ifunc-3.s, gas/i386/ifunc-3.d: Likeise. * gas/i386/i386.exp: Run them.
2010-12-02* pdp11.c (aout_link_add_symbols): Ignore debug symbols.Paul Koning2-1/+7
2010-12-02Break long lines.H.J. Lu1-4/+6
2010-12-02Re-indent plugin.h.H.J. Lu2-6/+10
2010-12-01 H.J. Lu <hongjiu.lu@intel.com> * plugin.h: Re-indent.
2010-12-02*** empty log message ***gdbadmin1-1/+1
2010-12-01daily updateAlan Modra1-1/+1
2010-12-01 * symbols.h (dot_symbol): New declaration.Maciej W. Rozycki6-3/+43
(dot_symbol_init): New prototype. * symbols.c (dot_symbol): New variable. (symbol_clone): Assert it's not dot_symbol being cloned. (dot_symbol_init): New function. (symbol_clone_if_forward_ref): Create a new temporary symbol when trying to clone dot_symbol. * expr.c (current_location): Refer to dot_symbol instead of making a new temporary symbol. * read.c (read_a_source_file): Update dot_symbol as we go. * as.c (main): Call dot_symbol_init.
2010-12-01 * symbols.c (symbol_clone_if_forward_ref): Don't limit cloningMaciej W. Rozycki3-4/+21
to expr_section symbols; clone all equated symbols. Clear sy_resolving of the cloned copy. * expr.c (operand): Only clone equated symbols on a final (i.e. non-equated) reference.
2010-12-01 * config/tc-mips.c (md_convert_frag): Remove a call toMaciej W. Rozycki2-2/+7
S_GET_VALUE and use the result of resolve_symbol_value as the value of the symbol processed in MIPS16 relaxation.
2010-12-01 * dwarf_reader.h (class Sized_dwarf_line_info): AddIan Lance Taylor5-8/+54
track_relocs_type_ field. * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info): Set track_relocs_type_. (Sized_dwarf_line_info::process_one_opcode): Ignore the section contents when using RELA relocs. (Sized_dwarf_line_info::read_relocs): Add the reloc addend to reloc_map_. * reloc.cc (Track_relocs::next_addend): New function. * reloc.h (class Track_relocs): Declare next_addend.
2010-12-01 * dwarf2read.c (save_gdb_index_command): Add comment.Doug Evans2-0/+5
2010-12-01 * testsuite/icf_virtual_function_folding_test.cc (class Bar): AddIan Lance Taylor2-0/+6
virtual destructor.
2010-12-01 * README: Update compilers known to work and fail.Ian Lance Taylor2-2/+6
2010-12-01 * valops.c (value_assign): Returned value is never lazy. If aUlrich Weigand3-9/+32
C++ class type is returned, fix incorrect enclosing type / embedded offset. If internal variable is returned, allocate new internalvar value using value_of_internalvar. * NEWS: Document changes in behavior of "print x = 0" and similar expressions.
2010-12-012010-12-01 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-0/+22
PR binutils/11065 * dlltool.c (dll_name_set_by_exp_name): New variable. (def_name): Allow setting of dll_name by .def file. (def_library): Likewise. (main): Set dll_name_set_by_exp_name, if dll_name is set indirect by exp_name.
2010-12-01*** empty log message ***gdbadmin1-1/+1
2010-11-30daily updateAlan Modra1-1/+1
2010-11-30 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.Doug Evans11-279/+256
(gdb_expect_list): Fix spelling errors in comments. * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of send_gdb/gdb_expect_list where applicable. * gdb.base/call-ar-st.exp: Ditto. * gdb.base/funcargs.exp: Ditto. * gdb.base/gcore.exp: Ditto. * gdb.base/page.exp: Ditto. * gdb.base/sigaltstack.exp: Ditto. * gdb.base/siginfo.exp: Ditto. * gdb.base/sigstep.exp: Ditto. * gdb.base/trace-commands.exp: Ditto.
2010-11-30 * ld/testsuite/ld-scripts/script.exp: Remove full path from REGION_ALIAS testMatthew Gretton-Dann2-2/+8
names.
2010-11-30Add sparc64-rtems.Alan Modra6-3/+17
2010-11-30*** empty log message ***gdbadmin1-1/+1
2010-11-29 * python/lib/gdb/printing.py (register_pretty_printer): ChangeDoug Evans7-17/+41
printer-name:subprinter-name to printer-name;subprinter-name. * python/lib/gdb/command/pretty_printers.py (parse_printer_regexps): Ditto. (InfoPrettyPrinter, EnablePrettyPrinter, DisablePrettyPrinter): Ditto. doc/ * gdb.texinfo (Pretty-Printer Introduction): Change printer-name:subprinter-name to printer-name;subprinter-name. testsuite/ * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to printer-name;subprinter-name.
2010-11-29daily updateAlan Modra1-1/+1
2010-11-29gdbTom Tromey20-50/+1583
* opencl-lang.c (lval_func_check_synthetic_pointer): New function. * value.h (struct lval_funcs) <indirect, check_synthetic_pointer>: New fields. (value_bits_synthetic_pointer): Declare. * value.c (value_bits_synthetic_pointer): New function. * valprint.c (valprint_check_validity): Handle synthetic pointers. * valops.c (value_ind): Use new 'indirect' lval_funcs method. * valarith.c (value_ptradd): Use set_value_component_location. * p-valprint.c (pascal_object_print_value_fields): Handle synthetic pointers. * jv-valprint.c (java_print_value_fields): Handle synthetic pointers. * dwarf2read.c (dwarf_stack_op_name): Add DW_OP_GNU_implicit_pointer. (dwarf2_fetch_die_location_block): Add get_frame_pc, baton arguments. Handle location lists. (fill_in_loclist_baton): New function. (dwarf2_symbol_mark_computed): Use it. * dwarf2loc.h (dwarf2_find_location_expression): Declare. (dwarf2_fetch_die_location_block): Add get_frame_pc, baton arguments. * dwarf2loc.c (dwarf2_find_location_expression): Rename from find_location_expression. No longer static. Update all callers. (dwarf_expr_frame_pc): New function. (per_cu_dwarf_call): Add get_frame_pc, baton arguments. Update all callers. (struct piece_closure) <per_cu>: New field. (allocate_piece_closure): Add per_cu argument. (read_pieced_value): Handle DWARF_VALUE_IMPLICIT_POINTER. (check_pieced_value_bits): Remove validity argument, add check_for argument. Handle DWARF_VALUE_IMPLICIT_POINTER. (check_pieced_value_validity, check_pieced_value_invalid): Update. (check_pieced_synthetic_pointer): New function. (get_frame_address_in_block_wrapper): New function. (indirect_pieced_value): New function. (pieced_value_funcs): Update. (invalid_synthetic_pointer): New function. (dwarf2_evaluate_loc_desc_full): Rename from dwarf2_evaluate_loc_desc. Add byte_offset argument. (dwarf2_evaluate_loc_desc): Rewrite. (dwarf2_loc_desc_needs_frame): Set new field on context. (get_ax_pc): New function. (disassemble_dwarf_expression): Handle DW_OP_GNU_implicit_pointer. * dwarf2expr.h (enum dwarf_value_location) <DWARF_VALUE_IMPLICIT_POINTER>: New constant. (struct dwarf_expr_context) <get_frame_pc>: New field. (struct dwarf_expr_piece) <v.ptr>: New field. * dwarf2expr.c (add_piece): Handle DWARF_VALUE_IMPLICIT_POINTER. (execute_stack_op): Handle DW_OP_GNU_implicit_pointer. * dwarf2-frame.c (no_get_frame_pc): New function. (execute_stack_op): Set new field on context. * cp-valprint.c (cp_print_value_fields): Handle synthetic pointers. gdb/testsuite * gdb.dwarf2/implptr.exp: New file. * gdb.dwarf2/implptr.c: New file. * gdb.dwarf2/implptr.S: New file.
2010-11-29merge from gccDJ Delorie4-6/+11
2010-11-292010-11-29 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon6-0/+66
PR python/12199 * python/py-breakpoint.c (bppy_delete_breakpoint): New function. 2010-11-29 Phil Muldoon <pmuldoon@redhat.com> PR python/12199 * gdb.python/py-breakpoint.exp: Test the delete method. 2010-11-29 Phil Muldoon <pmuldoon@redhat.com> PR python/12199 * gdb.texinfo (Breakpoints In Python): Document "delete" method.
2010-11-29* configure.ac: Move comment to remove extra space in last argumentAndreas Schwab2-1/+7
of GCC_TARGET_TOOL.
2010-11-29*** empty log message ***gdbadmin1-1/+1
2010-11-28daily updateAlan Modra1-1/+1
2010-11-28gdb/Jan Kratochvil8-32/+163
Fix step_resume_breakpoint unsaved during an infcall. * gdbthread.h (struct thread_control_state): Move here field step_resume_breakpoint ... (struct thread_info): ... from here. * infrun.c (save_infcall_control_state): Reset control.step_resume_breakpoint to NULL. (restore_infcall_control_state, discard_infcall_control_state): Delete control.step_resume_breakpoint. * arm-linux-tdep.c, infrun.c, thread.c: Update all the references to the moved field. gdb/testsuite/ Fix step_resume_breakpoint unsaved during an infcall. * gdb.base/step-resume-infcall.exp: New file. * gdb.base/step-resume-infcall.c: New file.