aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-16 * gas/all/redef3.d: Don't run on arc.Alan Modra3-6/+11
* gas/i386/i386.exp: Don't run intel-got32 on linuxaout. Move x86_64 mingw exclusions to equivalent elf only block of tests.
2010-09-16 * ld-elf/group3b.d: Disable for generic linker targets.Alan Modra7-12/+25
* ld-elf/linkonce2.d: Likewise. * ld-scripts/empty-address-2a.d: Disable for frv and aout,oldld. * ld-scripts/empty-address-2b.d: Likewise. * ld-scripts/rgn-at5.s: Don't use .word. * ld-scripts/rgn-at5.d: Update.
2010-09-16bfd/Alan Modra7-22/+33
* elf.c (bfd_elf_get_default_section_type): Don't test SEC_NEVER_LOAD. * elflink.c (elf_link_input_bfd): Likewise. ld/ * ld.texinfo (NOLOAD): Do not erroneously state that contents will appear in output file. * ldlang.c (lang_add_section): Clear SEC_HAS_CONTENTS on noload unless SEC_COFF_SHARED_LIBRARY. (map_input_to_output_sections): Don't set SEC_HAS_CONTENTS for noload output sections. (lang_size_sections_1): Don't test SEC_NEVER_LOAD when deciding to update dot in region. Ditto when setting SEC_ALLOC if dot advanced due to assignment. * ldwrite.c (build_link_order): Don't test SEC_NEVER_LOAD.
2010-09-16*** empty log message ***gdbadmin1-1/+1
2010-09-16daily updateAlan Modra1-1/+1
2010-09-15gdb/Jan Kratochvil2-1/+6
* MAINTAINERS (GLOBAL MAINTAINERS) <Jan Kratochvil>: Move the entry to keep the list in alphabetical order. Use longer e-mail address.
2010-09-15 * MAINTAINERS (GLOBAL MAINTAINERS): Add Jan Kratochvil.Tom Tromey2-0/+5
2010-09-15 * charset.c (iconv_open): New define.Tom Tromey3-15/+65
(iconv): Likewise. (iconv_close): Likewise. (phony_iconv_open): Add "phony_" prefix. (phony_iconv_close): Likewise. (phony_iconv): Likewise. * gdb_wchar.h: Check _LIBICONV_VERSION, __STDC_ISO_10646__. Change how INTERMEDIATE_ENCODING is defined.
2010-09-15Fix intendKai Tietz1-2/+2
2010-09-15ChangeLog gasKai Tietz6-16/+113
2010-09-15 Kai Tietz <kai.tietz@onevision.com> * config/obj-coff-seh.c (seh_validate_seg): New funtion. (obj_coff_seh_endproc): Add check for segment. (obj_coff_seh_endprologue): Likewise. (obj_coff_seh_pushreg): Likewise. (obj_coff_seh_pushframe): Likewise. (obj_coff_seh_save): Likewise. (obj_coff_seh_setframe): Likewise. ChangeLog gas/testsuite 2010-09-15 Kai Tietz <kai.tietz@onevision.com> * gas/pe/pe.exp: Add new test. * gas/pe/seh-x64-err-1.l: New. * gas/pe/seh-x64-err-1.s: New.
2010-09-15ChangeLog gasKai Tietz11-27/+765
2010-09-15 Kai Tietz <kai.tietz@onevision.com> * config/obj-coff-seh.h (seh_context): New member code_seg. * config/obj-coff-seh.c: Implementing xdata/pdata section cloning for link-once code-segment. ChangeLog ld 2010-09-15 Kai Tietz <kai.tietz@onevision.com> * scripttempl/pep.sc: Add .xdata segment and put into .pdata all segments beginning with .pdata. ChangeLog gas/testsuite 2010-09-15 Kai Tietz <kai.tietz@onevision.com> * gas/pe/pe.exp: Add peseh-x64-4,5,6 tests. * gas/pe/peseh-x64-4.s: New. * gas/pe/peseh-x64-4.d: New. * gas/pe/peseh-x64-5.d: New. * gas/pe/peseh-x64-6.d: New.
2010-09-152010-09-15 Paul Bolle <pebolle@tiscali.nl>Tom Tromey2-1/+6
* gdb.texinfo (Character Sets): Correctly reference host-charset in example.
2010-09-15 * dwarf2read.c (struct die_info): Fix comment.Doug Evans2-2/+5
2010-09-15 * incremental.cc (Output_section_incremental_inputs::write_info_blocks):Cary Coutant2-0/+7
Resolve forwarding symbols.
2010-09-152010-09-15 Doug Kwan <dougkwan@google.com>Doug Kwan7-1/+26
* gold/testsuite/script_test_3.t: Add ARM special sections. * gold/testsuite/script_test_4.t: Same. * gold/testsuite/script_test_5.t: Same. * gold/testsuite/script_test_6.t: Same. * gold/testsuite/script_test_7.t: Same. * gold/testsuite/script_test_7.t: Same. * gold/testsuite/thumb_blx_out_of_range.s: Fix instruction alignment.
2010-09-152010-09-15 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-76/+129
* pei-x86_64.c (pex64_get_unwind_info): Reorgnized. (pex64_get_scope_entry): Removed. (find_next_xdata_or_end): New helper. (pex64_dump_xdata): Reworked. (pex64_bfd_print_pdata): Add checking for valid pdata sorting and values. Reworked output.
2010-09-15Handle NULL iostream in bfd_plugin_object_p.H.J. Lu2-10/+20
2010-09-15 H.J. Lu <hongjiu.lu@intel.com> PR binutils/12004 * plugin.c (bfd_plugin_object_p): Handle NULL iostream.
2010-09-15Pass "plugin" as target for "ar --plugin" when opening a BFD file.H.J. Lu4-23/+55
2010-09-15 H.J. Lu <hongjiu.lu@intel.com> * ar.c (plugin_target): New. (main): Set plugin_target to "plugin" for --plugin. (open_inarch): Initialize target to plugin_target. (replace_members): Pass plugin_target to ar_emul_replace and ar_emul_append. * binemul.h (ar_emul_append): Add a target argument. (ar_emul_default_append): Likewise. (ar_emul_replace): Likewise. (ar_emul_default_replace): Likewise. (bin_emulation_xfer_struct): Add a target argument to ar_append and ar_replace. * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr. (do_ar_emul_default_append): Likewise. (ar_emul_default_append): Likewise. (ar_emul_replace): Likewise. (ar_emul_default_replace): Likewise.
2010-09-15 PR 4606Alan Modra2-3/+8
* gcore.c (gcore_create_callback): Clear SEC_HAS_CONTENTS rather than setting SEC_NEVER_LOAD on sections that need not be copied.
2010-09-15*** empty log message ***gdbadmin1-1/+1
2010-09-15daily updateAlan Modra1-1/+1
2010-09-14 opcodes/Maciej W. Rozycki7-0/+104
* mips-opc.c (mips_builtin_opcodes): Add "sync_acquire", "sync_mb", "sync_release", "sync_rmb" and "sync_wmb". gas/testsuite/ * gas/mips/mips32r2-sync.d: New test for MIPS32r2 "sync" instruction variants. * gas/mips/octeon@mips32r2-sync.d: Likewise, Octeon version. * gas/mips/mips32r2-sync.s: Source for the new test. * gas/mips/mips.exp: Run the new test.
2010-09-14 * psympriv.h (add_psymbol_to_list, init_psymbol_list)Tom Tromey4-57/+64
(start_psymtab_common, allocate_psymtab, discard_psymtab): Declare. * symfile.h (extend_psymbol_list): Remove. (add_psymbol_to_list, init_psymbol_list, start_psymtab_common) (allocate_psymtab, discard_psymtab): Move to psympriv.h. * psymtab.c (extend_psymbol_list): Move earlier. Now static.
2010-09-14 * x86_64.cc (Target_x86_64::saw_tls_block_reloc_): Remove member.Cary Coutant2-32/+47
(Target_x86_64::Relocate::relocate_tls): Replace check for saw_tls_block_reloc_ with test for executable section.
2010-09-14gdb/Jan Kratochvil2-4/+8
* dwarf2read.c (dw2_map_ada_symtabs): Remove the internal_error. Update the comment.
2010-09-142010-09-14 Kai Tietz <kai.tietz@onevision.com>Kai Tietz3-6/+10
* pe-x86_64.c (COFF_SECTION_ALIGNMENT_ENTRIES): Make .rdata, .data, and .text partial matched section names. * pei-x86_64.c: Likewise.
2010-09-142010-09-14 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-0/+42
* peXXigen.c (sort_x64_pdata): New helper. (_bfd_XXi_final_link_postscript): Do pdata sorting.
2010-09-14gdbTom Tromey4-7/+15
PR symtab/8399: * dwarf2loc.c (locexpr_describe_location_piece): Don't call error for unrecognized frame base expression. gdb/testsuite PR symtab/8399: * gdb.threads/tls.exp: Remove kfail. Update expected output.
2010-09-14gdbTom Tromey5-21/+31
PR exp/11803: * value.c (value_static_field): Use value_of_variable. gdb/testsuite PR exp/11803: * gdb.threads/tls.exp: Use C++. (check_thread_local): Use K::another_thread_local. * gdb.threads/tls.c (class K): New. (another_thread_local): Now a member of K. (spin): Update. No longer K&R C.
2010-09-14 * doc/c-arm.texi: Document -mcpu=cortex-m4.Jie Zhang2-0/+5
2010-09-14 * m32r-rom.c: Replace winsock.h with winsock2.h header.Pierre Muller3-2/+7
* remote-m32r-sdi.c: Replace winsock.h by winsock2.h.
2010-09-14daily updateAlan Modra1-1/+1
2010-09-14*** empty log message ***gdbadmin1-1/+1
2010-09-13Fix PR 11992: C++ 'this' scope sometimes does not workSami Wagiaalla5-0/+37
2010-09-13 Sami Wagiaalla <swagiaal@redhat.com> PR symtab/11992: * c-exp.y (classify_name): Check is_a_member_of_this before returning UNKNOWN_CPP_NAME. 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/koenig.cc: created class for testing member lookup. * gdb.cp/koenig.exp: Added test for member lookup.
2010-09-13[NEWS] Announce gdbserver support for x86-lynxosJoel Brobecker2-1/+7
This patch adjusts the NEWS entry for the LynxOS gdbserver to include x86-lynxos to the list of supported platforms. gdb/ChangeLog: * NEWS: Add x86-lynxos to the list of platforms supported by gdbserver.
2010-09-13gdb/testsuite/Jan Kratochvil2-2/+8
Fix false FAILs on sourcetree topdir directory containing "kill". * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the source line matching regexp.
2010-09-13Add support for x86 LynxOSJoel Brobecker3-0/+328
This patch adds support for x86 LynxOS (tested on LynxOS 5.0). gdb/gdbserver/ChangeLog: * lynx-i386-low.c: New file. * configure.srv: Add handling of i[34567]86-*-lynxos* targets.
2010-09-13[NEWS] Announce support for PowerPC LynxOS 5.x.Joel Brobecker2-1/+5
This adjusts the news entry about ppc-lynxos to add version 5.x of the OS to the list of supported versions... gdb/ChangeLog: * NEWS: Announce GDBserver support for version 5.x of ppc-lynxos.
2010-09-13[LynxOS] Remove handling of PTRACE_* values removed in Lynx5.Joel Brobecker2-40/+5
Some of the PTRACE_ macros/values were removed in LynxOS 5.x. Since we have not use them so far, the chances that we will use them one day are very small. So I decided to delete them. gdb/gdbserver/ChangeLog: * lynx-low.c (ptrace_request_to_str): Remove handling for request values that have been removed in LynxOS 5.x.
2010-09-13[LynxOS] Include sys/ptrace.h instead of ptrace.h.Joel Brobecker3-2/+7
This is one of the changes needed in order to build gdbserver on LynxOS 5.x. Really interesting: On LynxOS 4.x, there is a #warning when sys/ptrace.h is used (explaining that ptrace.h will be used instead), whereas this file was removed from LynxOS 5.x. The contents of sys/ptrace.h on 4.x (or at least the meat of it): #if defined(__GNUC__) || defined(__GNUG__) #if !defined(__NO_INCLUDE_WARN__) #warning Using <ptrace.h> instead of <sys/ptrace.h> #endif /* defined(__NO_INCLUDE_WARN__) */ #endif /* defined(__GNUC__) || defined(__GNUG__) */ #include <ptrace.h> The fix I went for, for now, is to just include <sys/ptrace.h> unconditionally. I could have done some configury, but we already have to build with -D__NO_INCLUDE_WARN__ to avoid the warnings anyway, and that's unvoidable, due to system includes themselves including the "wrong" header file. Since <sys/ptrace.h> seems to be the choice that was made for LynxOS, and since it works to include it on LynxOS 4.x, I think that's the simplest solution. gdb/gdbserver/ChangeLog: * lynx-low.c, lynx-ppc-low.c: Include <sys/ptrace.h> instead of <ptrace.h>
2010-09-13 * gdb.texinfo (GDB/MI Stack Manipulation) <-stack-list-frames>:Tom Tromey2-0/+10
Document "fullname" and "from".
2010-09-13 * Makefile.in (HFILES_NO_SRCDIR): Add progspace.h.Tom Tromey2-1/+5
2010-09-13Set 256bit vector type name to builtin_type_vec256i.H.J. Lu2-1/+6
2010-09-13 H.J. Lu <hongjiu.lu@intel.com> * i386-tdep.c (i386_ymm_type): Set type name to builtin_type_vec256i.
2010-09-132010-09-13 Kai Tietz <kai.tietz@onevision.com>Kai Tietz8-0/+114
* gas/pe/pe.exp: Add x64 SEH tests. * gas/pe/peseh-x64.s: New. * gas/pe/peseh-x64.d: New. * gas/pe/peseh-x64-2.s: New. * gas/pe/peseh-x64-2.d: New. * gas/pe/peseh-x64-3.s: New. * gas/pe/peseh-x64-3.d: New.
2010-09-13*** empty log message ***gdbadmin1-1/+1
2010-09-13daily updateAlan Modra1-1/+1
2010-09-122010-09-12 Michael Snyder <msnyder@vmware.com>Michael Snyder2-3/+7
* i386-tdep.c (i386_gdbarch_init): Fix typo in comments.
2010-09-12 * symtab.h (Symbol::needs_dynamic_reloc): Non-PIC calls fromCary Coutant4-4/+44
position-independent executables to shared libraries need dynamic relocations. (Symbol::may_need_copy_reloc): Do not generate COPY relocs in position-independent executables. * testsuite/Makefile.am (two_file_mixed_pie_test): New test. * testsuite/Makefile.in: Regenerate.
2010-09-12Fix typo in comments.H.J. Lu2-3/+7
2010-09-12 H.J. Lu <hongjiu.lu@intel.com> * i386-tdep.c (i386_gdbarch_init): Fix typo in comments.
2010-09-12*** empty log message ***gdbadmin1-1/+1