public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2011-01-25 12:54 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2011-01-25 12:54 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  cb967e63703e837b28a48cb944c00f303bb535d2 (commit)
       via  916481a3b2b859c4fabd3ffc5005bee15a611d6d (commit)
       via  a40f3cdab6de0457290b72995f3ab5790735b776 (commit)
       via  25ff0cbe0ffc4f5161388edf29a3393bd36337bd (commit)
       via  06d60dbb3ec33298888c8107205064ef833d84a0 (commit)
       via  5f6f9139e39b1e2b926f88b884f998b733053e5f (commit)
       via  ff1c7e2d8dadc64b58319e548f50ff2d3a43b79c (commit)
       via  d1a96080833408808c09bdb6c9263b9abe27ac39 (commit)
       via  7f75bec967e52b1728936a4942e633a459b32202 (commit)
       via  f0a59e40849fe884f59e27868acc4a6b3d53956f (commit)
       via  eec8cd4c7db8c8a249a159b5e6694ff3e7913133 (commit)
       via  bc164ebe2a8cc9ee4f3831ffece97ddc9aa73439 (commit)
       via  b8ab6989f1a3bf5ee737b1ff6752772474c46dcd (commit)
       via  cb242295d1739b8ccb64e4edb9fb66d253d44c16 (commit)
       via  eaa4eac3f2b0b5b4364b7946d6d134ee618b0588 (commit)
       via  b5dd4e100992d41febd4276476a5aad99d1355f0 (commit)
       via  90a763964dba5318d091dc839bc139ba19bdd703 (commit)
       via  406f217393fa9f9cd68c600ce672ad9808da69bf (commit)
       via  7142fa78824eaeb58b8276aeda013c300def656f (commit)
       via  f5e248ca1da7de9a570423cb568b79e50ecdbbd9 (commit)
       via  17bbc3495ddc9adff2fbc2d902a4511ef50d9b8a (commit)
       via  3ee1ceb823158a147782c07543457b39fffb4e88 (commit)
       via  a6c859acc211788f210ce8505afa9d75b71f981e (commit)
       via  5660414653f6f44057a2ad8aab70d70b863376e5 (commit)
       via  2a7dda4a72a710c38715f40663cb6e7308a1203b (commit)
       via  19d48d461fee68e8dfa81f2fb2579182f432789c (commit)
       via  b14ab01fef68b19e497f0551a11584850c1a475e (commit)
       via  783c9fc7bfd1b52ebe9a3f983c70e0405c7f76d7 (commit)
       via  1db76bea462656feddb14384468b1ea608f47769 (commit)
       via  5bfcc1f7c5a8bd08ed8b12f0dd36f0bfd199918b (commit)
       via  8e89a9a6dbd26afab1a3d8aa6bd36da38755ea04 (commit)
       via  a76d6701cc58269fa7ef5e3c388b3bc697f4d9a7 (commit)
       via  f3afb768df121f0f44d56c373b3c042a101e1bb7 (commit)
       via  2018673bc70edbc008000fa809f9b64343b8f337 (commit)
       via  be02c20dedf78058576c219353bb54b84da9617b (commit)
       via  b6100e6b9fb664d688414a575523316b07e5e3a4 (commit)
       via  0169803b39156cc778373af253395e372a66aeb7 (commit)
       via  42294ab40a733dbca9258929d0a6ec72e3059fbc (commit)
       via  797407ac8fed56f60655bce2083f199296e1f5f4 (commit)
       via  ab3d3657a25c9555d1462e569bde72066f866a82 (commit)
       via  70891828c8385f7d7eca68d063ee3e69e3f77141 (commit)
       via  35694c442ca814c1454dccbb7c202d313880d2f3 (commit)
       via  e10622a6c9918ffc2be5a69897d4604999c8eb1a (commit)
       via  039d6a9cc665580542d420dda3303792d25bcc75 (commit)
       via  4cae3afdcb74147064e2c7193671d6c825ad0afd (commit)
       via  4ee4798866cca547cbcccd2768a164d1cd154b5f (commit)
       via  a285ca111a1987a92c657dcc9ef9d5c506b6ddd9 (commit)
      from  0dd53dda9fc66ec839c7b83abdb6c648573ae90b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit cb967e63703e837b28a48cb944c00f303bb535d2
Merge: 0dd53dd 916481a
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Tue Jan 25 12:54:07 2011 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   14 +
 bfd/ChangeLog                                      |   33 +
 bfd/coffcode.h                                     |    2 +-
 bfd/elf32-arm.c                                    |   24 +-
 bfd/elf32-rx.c                                     |    1 +
 bfd/elf64-x86-64.c                                 |    3 +
 bfd/elfxx-ia64.c                                   |   10 +-
 bfd/elfxx-mips.c                                   |    7 +-
 bfd/version.h                                      |    2 +-
 bfd/vms-alpha.c                                    |    2 +-
 configure                                          |   85 +-
 configure.ac                                       |  170 +-
 gdb/ChangeLog                                      |  200 +
 gdb/Makefile.in                                    |    2 +-
 gdb/NEWS                                           |   15 +
 gdb/ada-valprint.c                                 |  197 +-
 gdb/c-valprint.c                                   |    7 +-
 gdb/cli/cli-cmds.c                                 |   26 +-
 gdb/configure.tgt                                  |    5 +
 gdb/d-valprint.c                                   |    8 +-
 gdb/doc/ChangeLog                                  |   12 +
 gdb/doc/gdb.texinfo                                |  107 +-
 gdb/f-valprint.c                                   |   75 +-
 gdb/gdb_regex.h                                    |    4 +
 gdb/gdbserver/ChangeLog                            |   21 +
 gdb/gdbserver/remote-utils.c                       |   14 +-
 gdb/gdbserver/server.c                             |  794 ++--
 gdb/gdbserver/server.h                             |    2 +-
 gdb/gdbthread.h                                    |    4 +
 gdb/h8300-tdep.c                                   |    5 +-
 gdb/inflow.c                                       |   36 +
 gdb/jv-valprint.c                                  |   42 +-
 gdb/linux-nat.c                                    |   38 +
 gdb/m2-valprint.c                                  |    4 +-
 gdb/memory-map.c                                   |   23 +-
 gdb/osdata.c                                       |   22 +-
 gdb/p-lang.h                                       |    1 +
 gdb/p-valprint.c                                   |   48 +-
 gdb/python/py-infthread.c                          |   59 +
 gdb/regcache.c                                     |   87 +-
 gdb/regcache.h                                     |    1 -
 gdb/remote-fileio.c                                |   76 +-
 gdb/remote.c                                       |  113 +-
 gdb/remote.h                                       |    5 -
 gdb/rs6000-tdep.c                                  |    9 +-
 gdb/solib-target.c                                 |   24 +-
 gdb/target.c                                       |   18 +
 gdb/target.h                                       |    6 +
 gdb/testsuite/ChangeLog                            |   68 +
 gdb/testsuite/gdb.asm/asm-source.exp               |    5 +-
 gdb/testsuite/gdb.base/dup-sect.exp                |    3 +-
 gdb/testsuite/gdb.base/printcmds.c                 |   22 +
 gdb/testsuite/gdb.base/printcmds.exp               |   13 +
 gdb/testsuite/gdb.dwarf2/callframecfa.exp          |    9 +-
 gdb/testsuite/gdb.dwarf2/dup-psym.exp              |    8 +-
 gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.exp      |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-anonymous-func.exp    |    9 +-
 .../gdb.dwarf2/dw2-bad-parameter-type.exp          |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-basic.exp             |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-compressed.exp        |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-const.exp             |    9 +-
 .../gdb.dwarf2/dw2-cp-infcall-ref-static.exp       |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-cu-size.exp           |    9 +-
 .../gdb.dwarf2/dw2-double-set-die-type.exp         |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-empty-namespace.exp   |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-filename.exp          |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-inheritance.exp       |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp      |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-intercu.exp           |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-intermix.exp          |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-modula2-self-type.exp |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-noloc.exp             |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-op-call.exp           |   11 +-
 gdb/testsuite/gdb.dwarf2/dw2-producer.exp          |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges.exp            |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.exp |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.exp    |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-strp.exp              |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-unresolved.exp        |    9 +-
 gdb/testsuite/gdb.dwarf2/implptr.exp               |    9 +-
 gdb/testsuite/gdb.dwarf2/mac-fileno.exp            |    9 +-
 gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.exp |    9 +-
 gdb/testsuite/gdb.dwarf2/pieces.exp                |   10 +-
 gdb/testsuite/gdb.dwarf2/pr11465.exp               |    9 +-
 gdb/testsuite/gdb.dwarf2/valop.exp                 |    9 +-
 gdb/testsuite/gdb.dwarf2/watch-notconst.exp        |    9 +-
 gdb/testsuite/gdb.mi/dw2-ref-missing-frame.exp     |    9 +-
 gdb/testsuite/gdb.python/py-infthread.exp          |   11 +
 gdb/testsuite/gdb.python/py-section-script.exp     |    3 +-
 gdb/testsuite/gdb.threads/manythreads.exp          |    3 +
 gdb/testsuite/gdb.xml/tdesc-regs.exp               |    5 +-
 .../watch-notconst.exp => lib/dwarf.exp}           |   38 +-
 gdb/testsuite/lib/opencl.exp                       |    2 +-
 gdb/thread.c                                       |   71 +-
 gdb/top.c                                          |   38 -
 gdb/utils.c                                        |   32 +
 gdb/valprint.c                                     |   17 +-
 gdb/valprint.h                                     |    2 +-
 gdb/version.in                                     |    2 +-
 gdb/xml-support.c                                  |   47 +-
 gdb/xml-support.h                                  |   12 +
 gdb/xml-syscall.c                                  |    8 +-
 gdb/xml-tdesc.c                                    |    7 +-
 opcodes/ChangeLog                                  |   34 +
 opcodes/i386-dis.c                                 |   64 +-
 opcodes/i386-gen.c                                 |    3 +
 opcodes/i386-init.h                                |  135 +-
 opcodes/i386-opc.h                                 |    3 +
 opcodes/i386-opc.tbl                               |   12 +
 opcodes/i386-tbl.h                                 | 5091 ++++++++++----------
 opcodes/ppc-opc.c                                  |    7 +-
 111 files changed, 4661 insertions(+), 3868 deletions(-)
 copy gdb/testsuite/{gdb.dwarf2/watch-notconst.exp => lib/dwarf.exp} (50%)

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index aeb360f..30aa6ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2011-01-21  Andreas Schwab  <schwab@redhat.com>
+
+	Sync from GCC:
+
+	2011-01-21  Andreas Schwab  <schwab@redhat.com>
+
+	* configure.ac: Use AS_HELP_STRING throughout.
+	* configure: Regenerate.
+
+	2011-01-18  Jie Zhang  <jie.zhang@analog.com>
+
+	* configure.ac (bfin-*-*): Remove gdb from noconfigdirs.
+	* configure: Regenerate.
+
 2010-12-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
 	* ltmain.sh (relink): Use absolute path when hardcoding with -L.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 00ff8ff..9bbd329 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,36 @@
+2011-01-22  Richard Sandiford  <rdsandiford@googlemail.com>
+
+	* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Ignore
+	common sections too.
+
+2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_backend_want_plt_sym): Redefine to 0 after
+	Solaris target.
+
+2011-01-18  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	Fix compilation for mingw64.
+	* coffcode.h (coff_slurp_symbol_table): Add intptr_t intermediate
+	typecast to avoid warning.
+	* elf32-rx.c: Add "bfd_stdint.h" include required for int32_t type
+	usage.
+	* elfxx-ia64.c (elfNN_ia64_relax_br): Use intptr_t typeacast instead
+	of long for pointer to avoid warning.
+	(elfNN_ia64_relax_brl): Idem.
+	(elfNN_ia64_install_value): Idem.
+	* vms-alpha.c (_bfd_vms_slurp_etir): Idem.
+
+2011-01-17  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf32-arm.c (elf32_arm_check_relocs): Check needs_plt rather than
+	h->needs_plt when deciding whether to record a possible dynamic reloc.
+
+2011-01-17  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf32-arm.c (elf32_arm_gc_sweep_hook): Remove all registered
+	dynamic relocs for the removed section.
+
 2011-01-15  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* elf64-x86-64.c (elf_x86_64_check_relocs): Check invalid x32
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 70f9851..5500f01 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -4852,7 +4852,7 @@ coff_slurp_symbol_table (bfd * abfd)
 		 to the symbol instead of the index.  FIXME: This
 		 should use a union.  */
 	      src->u.syment.n_value =
-		(long) (native_symbols + src->u.syment.n_value);
+		(long) (intptr_t) (native_symbols + src->u.syment.n_value);
 	      dst->symbol.value = src->u.syment.n_value;
 	      src->fix_value = 1;
 	      break;
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 6fdd500..54001a3 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -11277,21 +11277,13 @@ elf32_arm_gc_sweep_hook (bfd *                     abfd,
 		    eh->plt_thumb_refcount--;
 		}
 
-	      if (r_type == R_ARM_ABS32
-		  || r_type == R_ARM_REL32
-                  || r_type == R_ARM_ABS32_NOI
-                  || r_type == R_ARM_REL32_NOI)
-		for (pp = &eh->dyn_relocs; (p = *pp) != NULL; pp = &p->next)
-		  if (p->sec == sec)
-		    {
-		      p->count -= 1;
-		      if (ELF32_R_TYPE (rel->r_info) == R_ARM_REL32
-			  || ELF32_R_TYPE (rel->r_info) == R_ARM_REL32_NOI)
-			p->pc_count -= 1;
-		      if (p->count == 0)
-			*pp = p->next;
-		      break;
-		    }
+	      for (pp = &eh->dyn_relocs; (p = *pp) != NULL; pp = &p->next)
+		if (p->sec == sec)
+		  {
+		    /* Everything must go for SEC.  */
+		    *pp = p->next;
+		    break;
+		  }
 	    }
 	  break;
 
@@ -11584,7 +11576,7 @@ elf32_arm_check_relocs (bfd *abfd, struct bfd_link_info *info,
 	    if ((info->shared || htab->root.is_relocatable_executable)
 		&& (sec->flags & SEC_ALLOC) != 0
 		&& ((r_type == R_ARM_ABS32 || r_type == R_ARM_ABS32_NOI)
-		    || (h != NULL && ! h->needs_plt
+		    || (h != NULL && ! needs_plt
 			&& (! info->symbolic || ! h->def_regular))))
 	      {
 		struct elf_dyn_relocs *p, **head;
diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c
index 7855d5e..0a5e12c 100644
--- a/bfd/elf32-rx.c
+++ b/bfd/elf32-rx.c
@@ -20,6 +20,7 @@
 
 #include "sysdep.h"
 #include "bfd.h"
+#include "bfd_stdint.h"
 #include "libbfd.h"
 #include "elf-bfd.h"
 #include "elf/rx.h"
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 9a3959a..343abce 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -4719,6 +4719,9 @@ elf64_l1om_elf_object_p (bfd *abfd)
 #undef  elf_backend_post_process_headers
 #undef  elf_backend_static_tls_alignment
 
+#undef elf_backend_want_plt_sym
+#define elf_backend_want_plt_sym	    0
+
 #include "elf64-target.h"
 
 /* FreeBSD L1OM support.  */
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index d42ad89..26e5919 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -636,7 +636,7 @@ elfNN_ia64_relax_br (bfd_byte *contents, bfd_vma off)
   bfd_byte *hit_addr;
 
   hit_addr = (bfd_byte *) (contents + off);
-  br_slot = (long) hit_addr & 0x3;
+  br_slot = (intptr_t) hit_addr & 0x3;
   hit_addr -= br_slot;
   t0 = bfd_getl64 (hit_addr + 0);
   t1 = bfd_getl64 (hit_addr + 8);
@@ -738,7 +738,7 @@ elfNN_ia64_relax_brl (bfd_byte *contents, bfd_vma off)
   bfd_vma t0, t1, i0, i1, i2;
 
   hit_addr = (bfd_byte *) (contents + off);
-  hit_addr -= (long) hit_addr & 0x3;
+  hit_addr -= (intptr_t) hit_addr & 0x3;
   t0 = bfd_getl64 (hit_addr);
   t1 = bfd_getl64 (hit_addr + 8);
 
@@ -3874,7 +3874,7 @@ elfNN_ia64_install_value (bfd_byte *hit_addr, bfd_vma v,
   switch (opnd)
     {
     case IA64_OPND_IMMU64:
-      hit_addr -= (long) hit_addr & 0x3;
+      hit_addr -= (intptr_t) hit_addr & 0x3;
       t0 = bfd_getl64 (hit_addr);
       t1 = bfd_getl64 (hit_addr + 8);
 
@@ -3903,7 +3903,7 @@ elfNN_ia64_install_value (bfd_byte *hit_addr, bfd_vma v,
       break;
 
     case IA64_OPND_TGT64:
-      hit_addr -= (long) hit_addr & 0x3;
+      hit_addr -= (intptr_t) hit_addr & 0x3;
       t0 = bfd_getl64 (hit_addr);
       t1 = bfd_getl64 (hit_addr + 8);
 
@@ -3928,7 +3928,7 @@ elfNN_ia64_install_value (bfd_byte *hit_addr, bfd_vma v,
       break;
 
     default:
-      switch ((long) hit_addr & 0x3)
+      switch ((intptr_t) hit_addr & 0x3)
 	{
 	case 0: shift =  5; break;
 	case 1: shift = 14; hit_addr += 3; break;
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index dcf6a9e..d5e99bb 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -12597,8 +12597,11 @@ _bfd_mips_elf_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
   for (sec = ibfd->sections; sec != NULL; sec = sec->next)
     {
       /* Ignore synthetic sections and empty .text, .data and .bss sections
-	  which are automatically generated by gas.  */
-      if (strcmp (sec->name, ".reginfo")
+	 which are automatically generated by gas.  Also ignore fake
+	 (s)common sections, since merely defining a common symbol does
+	 not affect compatibility.  */
+      if ((sec->flags & SEC_IS_COMMON) == 0
+	  && strcmp (sec->name, ".reginfo")
 	  && strcmp (sec->name, ".mdebug")
 	  && (sec->size != 0
 	      || (strcmp (sec->name, ".text")
diff --git a/bfd/version.h b/bfd/version.h
index df12f23..14ba307 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110117
+#define BFD_VERSION_DATE 20110125
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c
index 309c3a2..322de62 100644
--- a/bfd/vms-alpha.c
+++ b/bfd/vms-alpha.c
@@ -1709,7 +1709,7 @@ _bfd_vms_slurp_etir (bfd *abfd, struct bfd_link_info *info)
 #if VMS_DEBUG
       _bfd_vms_debug (4, "etir: %s(%d)\n",
                       _bfd_vms_etir_name (cmd), cmd);
-      _bfd_hexdump (8, ptr, cmd_length - 4, (long) ptr);
+      _bfd_hexdump (8, ptr, cmd_length - 4, (intptr_t) ptr);
 #endif
 
       switch (cmd)
diff --git a/configure b/configure
index 5e469f4..bc408db 100755
--- a/configure
+++ b/configure
@@ -1454,69 +1454,76 @@ Optional Features:
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   --enable-gold[=ARG]     build gold [ARG={default,yes,no}]
-  --enable-ld[=ARG]     build ld [ARG={default,yes,no}]
+  --enable-ld[=ARG]       build ld [ARG={default,yes,no}]
   --disable-libquadmath   do not build libquadmath directory
   --disable-libquadmath-support
                           disable libquadmath support for Fortran
   --enable-libada         build libada directory
   --enable-libssp         build libssp directory
   --enable-build-with-cxx build with C++ compiler instead of C compiler
-  --disable-ppl-version-check    disable check for PPL version
+  --disable-ppl-version-check
+                          disable check for PPL version
   --enable-cloog-backend[=BACKEND]
                           set the CLooG BACKEND used to either isl, ppl or
                           ppl-legacy (default)
   --disable-cloog-version-check
                           disable check for CLooG version
   --enable-lto            enable link time optimization support
-  --enable-stage1-languages[=all]   choose additional languages to build during
-                          stage1.  Mostly useful for compiler development.
-  --enable-objc-gc        enable use of Boehm's garbage collector with the
-                          GNU Objective-C runtime
+  --enable-stage1-languages[=all]
+                          choose additional languages to build during stage1.
+                          Mostly useful for compiler development
+  --enable-objc-gc        enable use of Boehm's garbage collector with the GNU
+                          Objective-C runtime
   --enable-bootstrap      enable bootstrapping [yes if native build]
   --enable-serial-[{host,target,build}-]configure
-                          force sequential configuration of
-                          sub-packages for the host, target or build
-                          machine, or all sub-packages
-  --enable-maintainer-mode enable make rules and dependencies not useful
-                          (and sometimes confusing) to the casual installer
-  --enable-stage1-checking[=all]   choose additional checking for stage1
-                          of the compiler
+                          force sequential configuration of sub-packages for
+                          the host, target or build machine, or all
+                          sub-packages
+  --enable-maintainer-mode
+                          enable make rules and dependencies not useful (and
+                          sometimes confusing) to the casual installer
+  --enable-stage1-checking[=all]
+                          choose additional checking for stage1 of the
+                          compiler
   --enable-werror         enable -Werror in bootstrap stage2 and later
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --with-build-libsubdir=DIR  Directory where to find libraries for build system
-  --with-mpc=PATH        specify prefix directory for installed MPC package.
-                          Equivalent to --with-mpc-include=PATH/include
-                          plus --with-mpc-lib=PATH/lib
-  --with-mpc-include=PATH
-                          specify directory for installed MPC include files
-  --with-mpc-lib=PATH    specify directory for the installed MPC library
+  --with-mpc=PATH         specify prefix directory for installed MPC package.
+                          Equivalent to --with-mpc-include=PATH/include plus
+                          --with-mpc-lib=PATH/lib
+  --with-mpc-include=PATH specify directory for installed MPC include files
+  --with-mpc-lib=PATH     specify directory for the installed MPC library
   --with-mpfr-dir=PATH    this option has been REMOVED
   --with-mpfr=PATH        specify prefix directory for installed MPFR package.
-                          Equivalent to --with-mpfr-include=PATH/include
-                          plus --with-mpfr-lib=PATH/lib
+                          Equivalent to --with-mpfr-include=PATH/include plus
+                          --with-mpfr-lib=PATH/lib
   --with-mpfr-include=PATH
                           specify directory for installed MPFR include files
   --with-mpfr-lib=PATH    specify directory for the installed MPFR library
   --with-gmp-dir=PATH     this option has been REMOVED
-  --with-gmp=PATH         specify prefix directory for the installed GMP package.
-                          Equivalent to --with-gmp-include=PATH/include
-                          plus --with-gmp-lib=PATH/lib
+  --with-gmp=PATH         specify prefix directory for the installed GMP
+                          package. Equivalent to
+                          --with-gmp-include=PATH/include plus
+                          --with-gmp-lib=PATH/lib
   --with-gmp-include=PATH specify directory for installed GMP include files
   --with-gmp-lib=PATH     specify directory for the installed GMP library
-  --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
-                          when linking with PPL
-  --with-stage1-ldflags=FLAGS Linker flags for stage1
-  -with-stage1-libs=LIBS      Libraries for stage1
-  --with-boot-libs=LIBS     Libraries for stage2 and later
-  --with-boot-ldflags=FLAGS Linker flags for stage2 and later
-  --with-ppl=PATH         Specify prefix directory for the installed PPL package
-                          Equivalent to --with-ppl-include=PATH/include
-                          plus --with-ppl-lib=PATH/lib
-  --with-ppl-include=PATH Specify directory for installed PPL include files
-  --with-ppl-lib=PATH     Specify the directory for the installed PPL library
+  --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
+                          linking with PPL
+  --with-stage1-ldflags=FLAGS
+                          linker flags for stage1
+  --with-stage1-libs=LIBS libraries for stage1
+  --with-boot-libs=LIBS   libraries for stage2 and later
+  --with-boot-ldflags=FLAGS
+                          linker flags for stage2 and later
+  --with-ppl=PATH         specify prefix directory for the installed PPL
+                          package. Equivalent to
+                          --with-ppl-include=PATH/include plus
+                          --with-ppl-lib=PATH/lib
+  --with-ppl-include=PATH specify directory for installed PPL include files
+  --with-ppl-lib=PATH     specify directory for the installed PPL library
   --with-cloog=PATH       Specify prefix directory for the installed CLooG-PPL
                           package. Equivalent to
                           --with-cloog-include=PATH/include plus
@@ -1528,9 +1535,9 @@ Optional Packages:
   --with-build-sysroot=SYSROOT
                           use sysroot as the system root during the build
   --with-debug-prefix-map='A=B C=D ...'
-                             map A to B, C to D ... in debug information
---with-build-config='NAME NAME2...'
-                          Use config/NAME.mk build configuration
+                          map A to B, C to D ... in debug information
+  --with-build-config='NAME NAME2...'
+                          use config/NAME.mk build configuration
   --with-build-time-tools=PATH
                           use given path to find target tools during the build
 
@@ -3260,7 +3267,7 @@ case "${target}" in
     ;;
   bfin-*-*)
     unsupported_languages="$unsupported_languages java"
-    noconfigdirs="$noconfigdirs target-boehm-gc gdb"
+    noconfigdirs="$noconfigdirs target-boehm-gc"
     if test x${is_cross_compiler} != xno ; then
       target_configdirs="${target_configdirs} target-bsp target-cygmon"
     fi
diff --git a/configure.ac b/configure.ac
index c7a86e2..1227054 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-#   2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+#   2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
 #   Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify it
@@ -344,7 +344,8 @@ esac
 
 default_ld=
 AC_ARG_ENABLE(gold,
-[[  --enable-gold[=ARG]     build gold [ARG={default,yes,no}]]],
+[AS_HELP_STRING([[--enable-gold[=ARG]]],
+		[build gold @<:@ARG={default,yes,no}@:>@])],
 ENABLE_GOLD=$enableval,
 ENABLE_GOLD=no)
 case "${ENABLE_GOLD}" in
@@ -385,7 +386,8 @@ case "${ENABLE_GOLD}" in
 esac
 
 AC_ARG_ENABLE(ld,
-[[  --enable-ld[=ARG]     build ld [ARG={default,yes,no}]]],
+[AS_HELP_STRING([[--enable-ld[=ARG]]],
+		[build ld @<:@ARG={default,yes,no}@:>@])],
 ENABLE_LD=$enableval,
 ENABLE_LD=yes)
 
@@ -480,7 +482,7 @@ fi
 
 
 AC_ARG_ENABLE(libada,
-[  --enable-libada         build libada directory],
+[AS_HELP_STRING([--enable-libada], [build libada directory])],
 ENABLE_LIBADA=$enableval,
 ENABLE_LIBADA=yes)
 if test "${ENABLE_LIBADA}" != "yes" ; then
@@ -488,7 +490,7 @@ if test "${ENABLE_LIBADA}" != "yes" ; then
 fi
 
 AC_ARG_ENABLE(libssp,
-[  --enable-libssp         build libssp directory],
+[AS_HELP_STRING([--enable-libssp], [build libssp directory])],
 ENABLE_LIBSSP=$enableval,
 ENABLE_LIBSSP=yes)
 
@@ -711,7 +713,7 @@ case "${target}" in
     ;;
   bfin-*-*)
     unsupported_languages="$unsupported_languages java"
-    noconfigdirs="$noconfigdirs target-boehm-gc gdb"
+    noconfigdirs="$noconfigdirs target-boehm-gc"
     if test x${is_cross_compiler} != xno ; then
       target_configdirs="${target_configdirs} target-bsp target-cygmon"
     fi
@@ -1320,7 +1322,8 @@ ACX_PROG_CMP_IGNORE_INITIAL
 
 # See if we are building gcc with C++.
 AC_ARG_ENABLE(build-with-cxx,
-[  --enable-build-with-cxx build with C++ compiler instead of C compiler],
+[AS_HELP_STRING([--enable-build-with-cxx],
+		[build with C++ compiler instead of C compiler])],
 ENABLE_BUILD_WITH_CXX=$enableval,
 ENABLE_BUILD_WITH_CXX=no)
 
@@ -1334,12 +1337,17 @@ have_gmp=no
 
 # Specify a location for mpc
 # check for this first so it ends up on the link line before mpfr.
-AC_ARG_WITH(mpc, [  --with-mpc=PATH        specify prefix directory for installed MPC package.
-                          Equivalent to --with-mpc-include=PATH/include
-                          plus --with-mpc-lib=PATH/lib])
-AC_ARG_WITH(mpc-include, [  --with-mpc-include=PATH
-                          specify directory for installed MPC include files])
-AC_ARG_WITH(mpc-lib, [  --with-mpc-lib=PATH    specify directory for the installed MPC library])
+AC_ARG_WITH(mpc,
+[AS_HELP_STRING([--with-mpc=PATH],
+		[specify prefix directory for installed MPC package.
+		 Equivalent to --with-mpc-include=PATH/include
+		 plus --with-mpc-lib=PATH/lib])])
+AC_ARG_WITH(mpc-include,
+[AS_HELP_STRING([--with-mpc-include=PATH],
+		[specify directory for installed MPC include files])])
+AC_ARG_WITH(mpc-lib,
+[AS_HELP_STRING([--with-mpc-lib=PATH],
+		[specify directory for the installed MPC library])])
 
 if test "x$with_mpc" != x; then
   gmplibs="-L$with_mpc/lib $gmplibs"
@@ -1363,16 +1371,22 @@ fi
 
 # Specify a location for mpfr
 # check for this first so it ends up on the link line before gmp.
-AC_ARG_WITH(mpfr-dir, [  --with-mpfr-dir=PATH    this option has been REMOVED],
-  AC_MSG_ERROR([The --with-mpfr-dir=PATH option has been removed.
-Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH]))
-
-AC_ARG_WITH(mpfr, [  --with-mpfr=PATH        specify prefix directory for installed MPFR package.
-                          Equivalent to --with-mpfr-include=PATH/include
-                          plus --with-mpfr-lib=PATH/lib])
-AC_ARG_WITH(mpfr-include, [  --with-mpfr-include=PATH
-                          specify directory for installed MPFR include files])
-AC_ARG_WITH(mpfr-lib, [  --with-mpfr-lib=PATH    specify directory for the installed MPFR library])
+AC_ARG_WITH(mpfr-dir,
+[AS_HELP_STRING([--with-mpfr-dir=PATH], [this option has been REMOVED])],
+[AC_MSG_ERROR([The --with-mpfr-dir=PATH option has been removed.
+Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH])])
+
+AC_ARG_WITH(mpfr,
+[AS_HELP_STRING([--with-mpfr=PATH],
+		[specify prefix directory for installed MPFR package.
+		 Equivalent to --with-mpfr-include=PATH/include
+		 plus --with-mpfr-lib=PATH/lib])])
+AC_ARG_WITH(mpfr-include,
+[AS_HELP_STRING([--with-mpfr-include=PATH],
+		[specify directory for installed MPFR include files])])
+AC_ARG_WITH(mpfr-lib,
+[AS_HELP_STRING([--with-mpfr-lib=PATH],
+		[specify directory for the installed MPFR library])])
 
 if test "x$with_mpfr" != x; then
   gmplibs="-L$with_mpfr/lib $gmplibs"
@@ -1396,15 +1410,22 @@ if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/m
 fi
 


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2011-03-16  9:40 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2011-03-16  9:40 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  70e29bbf6806137ae5ceeb909972a562705a0a69 (commit)
       via  994eb44d6706f6fd03c26cf4ea53a3e59406da45 (commit)
       via  f8a14bb9b1a07a5b2ed498d53fc1f2b9e3877643 (commit)
       via  553322f596f0d94e47d54c185d3d58007dc5e3bc (commit)
       via  c695bf2d9e45077584c648925b2f213f40c87669 (commit)
       via  fb4c421cf68863046781cd9f70499b2c02c47fc0 (commit)
       via  3f7dcbfdae07840c89cd55e1a49348d1c6a187ea (commit)
       via  fe463b4c6e9c0a288ab586f84526b7a12f60806c (commit)
       via  2ee1ea9c534369870d4043bb3e8d4f81a594452d (commit)
       via  1c568374181fd7b1172561ce8d1a882d9fe0921c (commit)
       via  52c4c65117f334eaffd728d7652a66fc9c8ee763 (commit)
       via  7196c5630d1f71b9428ed1245dbb1fb4f7c4cbc1 (commit)
       via  894e4cb17dcec5279d6a634d4396194839aaa372 (commit)
       via  164fe3906c67abc7cd79f0f6840ba936be25c5c8 (commit)
       via  4f8d91f8d1fd48824ddb6bcfa99b56c19ce5ad15 (commit)
       via  460390c42916c9e4615c308a28571377408b0de6 (commit)
       via  42ca845af2fa8a1f179d962f8d6b6f1eb1f785de (commit)
       via  47f7bb8721a67744f6c986221fdcdb5daab55465 (commit)
       via  7913e35d72358f84d0d8e77bac6d2c21e3eb4621 (commit)
       via  83e6f766ec3a2aa165aaf173b6487d1e0107ca2c (commit)
       via  80c402fb208e60fcffd08e109f7af198b50aaa0f (commit)
       via  c61443c395556911f937205e2c84ded4bb88322c (commit)
       via  226a5ce35f72865c694f56064842a6d57ac41012 (commit)
       via  feaab51570a27b7db02de928a3fe9031259e8c6e (commit)
       via  29b21c5eceb36bf1ae27f5f577f778e3363605cc (commit)
       via  ca69ef3f8024128be3533d8e3cf8239492073f5a (commit)
       via  455c3aca4b6b03f634056d3a16c187fc6e8c09e8 (commit)
       via  e5f750ae15043bf77b43f97e671d5040727b62c9 (commit)
       via  41fdb83804a11830e523ed560848cc055b4c5d24 (commit)
       via  672e9778c4d126b3f1ea2f4887a9058b8247c53f (commit)
       via  047b8af30d3ee8ce5b3dd71614c890ed838c6d90 (commit)
       via  18d6612f9ede60d9005d376cf8863a79d6a4927d (commit)
       via  905780afb93a580aa026db6f175bfc35a368ebf7 (commit)
       via  57da298c38bfd8b645dc1c00d3ec4cd3f69771f8 (commit)
       via  033b423fc13651dbe731e940a75625f110b6f1af (commit)
       via  72110da1991252e2d5c932a4ab7e759bf217a840 (commit)
       via  4f7d3c58b92b745b134af53ab6f407eabf05ee09 (commit)
       via  2fcd95c2f73b1164222c883425bfaa9e2133e27b (commit)
       via  4e7c740caea25377077e2abac519b2218504a061 (commit)
       via  e7599069219ebd317796e0a9be4ffb9a99022c9d (commit)
       via  08a0cf0bb898103012c7f7e28614479ef718c467 (commit)
       via  7618068ba04d961d651a43a827e4a60a5a34f6ea (commit)
       via  53e61d086c25aed0625b1927ae8d48351b6d7a54 (commit)
       via  ba5bc1a44b71a09bc3f0e62db71364d186cfccd2 (commit)
       via  deb989899834b7e0e9e6911b5f25f60cfd46def3 (commit)
       via  b676ed482aa8b0010297535f542ea9bfd0118660 (commit)
       via  0ca05af73ed3e5aa9e1ca541d068c75a251aaa56 (commit)
       via  072aee2013b4b0c72047dc4d1d2a15d62c8b01d1 (commit)
       via  4dd51a525ac7a42f9773a24206ffb0fb0b286365 (commit)
       via  3435a0f49e351017f9034e78795d0337f832ac01 (commit)
       via  5821c335682e0d2fa54ae0caeb7b0001b4353e54 (commit)
       via  fe2a89c8c8934dd8e69345053ae00f44a4876744 (commit)
       via  c6aa8396030636997caf33b25ab2bb4451dd78bb (commit)
       via  9c52908f1c8ae744c247a31c8c0e1196b566ddb4 (commit)
       via  92ba12591c77e99ba23ced5e7f103d4ea99d12fa (commit)
       via  68dc42288e8d645a377264a43ca769224654cc86 (commit)
       via  b1be39511668ba28a7508c470b4c6c1283bd3b4f (commit)
       via  fbc5c4d1360aac0959fbb6627cf4c32647773047 (commit)
       via  3a6388ddbc1d9128e7ae59f189de81417a9567af (commit)
      from  d0f53df3b579f1eac0232146e07e6fefc9ac39e8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 70e29bbf6806137ae5ceeb909972a562705a0a69
Merge: d0f53df 994eb44
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Wed Mar 16 09:40:01 2011 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                      |  179 ++
 bfd/bfd-in2.h                                      |    3 +
 bfd/elf-bfd.h                                      |    3 +
 bfd/elf.c                                          |   12 +-
 bfd/elf32-arm.c                                    | 2257 +++++++++++++-------
 bfd/elf32-i370.c                                   |    1 +
 bfd/elf32-sh-symbian.c                             |    1 +
 bfd/elf64-sparc.c                                  |    1 +
 bfd/elfcode.h                                      |    1 +
 bfd/elflink.c                                      |    8 +
 bfd/elfxx-sparc.c                                  |    1 +
 bfd/reloc.c                                        |    5 +
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |  147 ++-
 gdb/MAINTAINERS                                    |    3 +-
 gdb/NEWS                                           |   14 +-
 gdb/breakpoint.c                                   |    2 +-
 gdb/dbxread.c                                      |    1 +
 gdb/doc/ChangeLog                                  |   11 +
 gdb/doc/gdb.texinfo                                |   16 +-
 gdb/dwarf2loc.c                                    |    8 +-
 gdb/dwarf2read.c                                   |   51 +-
 gdb/f-exp.y                                        |    4 +-
 gdb/frame.c                                        |    2 +
 gdb/gdbserver/ChangeLog                            |   23 +
 gdb/gdbserver/hostio.c                             |    3 +-
 gdb/hppa-tdep.h                                    |    3 +-
 gdb/infcall.c                                      |   16 +-
 gdb/inferior.h                                     |    3 +-
 gdb/m2-exp.y                                       |    2 +-
 gdb/mep-tdep.c                                     |   12 +-
 gdb/objc-exp.y                                     |   14 +-
 gdb/objc-lang.c                                    |    7 +
 gdb/p-exp.y                                        |   99 +-
 gdb/p-lang.c                                       |    6 +-
 gdb/p-lang.h                                       |    2 +-
 gdb/p-valprint.c                                   |    6 +-
 gdb/ppc-sysv-tdep.c                                |   56 +-
 gdb/printcmd.c                                     |  148 +-
 gdb/python/py-evts.c                               |    2 +-
 gdb/python/py-prettyprint.c                        |    2 +-
 gdb/python/py-stopevent.h                          |    6 +-
 gdb/remote.c                                       |    2 +-
 gdb/solib-pa64.c                                   |    4 +-
 gdb/stabsread.c                                    |    6 +
 gdb/testsuite/ChangeLog                            |   29 +
 gdb/testsuite/gdb.arch/altivec-abi.exp             |   27 +-
 gdb/testsuite/gdb.base/jit-main.c                  |   13 +
 gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.S      |   82 +
 gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.exp    |   40 +
 gdb/testsuite/gdb.dwarf2/pr11465.S                 |   17 +-
 gdb/testsuite/lib/gdb.exp                          |    5 +-
 gdb/tracepoint.c                                   |    2 +-
 gdb/varobj.c                                       |    5 +-
 gdb/varobj.h                                       |    4 +-
 gdb/version.in                                     |    2 +-
 include/ChangeLog                                  |    9 +
 include/dwarf2.h                                   |   23 +-
 include/elf/ChangeLog                              |   10 +
 include/elf/arm.h                                  |   11 +
 include/elf/internal.h                             |    1 +
 opcodes/ChangeLog                                  |   10 +
 opcodes/arm-dis.c                                  |   11 +-
 sim/bfin/ChangeLog                                 |   97 +
 sim/bfin/Makefile.in                               |    4 +-
 sim/bfin/bfin-sim.c                                |  177 ++-
 sim/bfin/bfroms/bf50x-0.0.h                        |    3 +-
 sim/bfin/bfroms/bf51x-0.0.h                        |    3 +-
 sim/bfin/bfroms/bf51x-0.1.h                        |    3 +-
 sim/bfin/bfroms/bf51x-0.2.h                        |    3 +-
 sim/bfin/bfroms/bf526-0.0.h                        |    3 +-
 sim/bfin/bfroms/bf526-0.1.h                        |    3 +-
 sim/bfin/bfroms/bf527-0.0.h                        |    3 +-
 sim/bfin/bfroms/bf527-0.1.h                        |    3 +-
 sim/bfin/bfroms/bf527-0.2.h                        |    3 +-
 sim/bfin/bfroms/bf533-0.1.h                        |    3 +-
 sim/bfin/bfroms/bf533-0.2.h                        |    3 +-
 sim/bfin/bfroms/bf533-0.3.h                        |    3 +-
 sim/bfin/bfroms/bf537-0.0.h                        |    3 +-
 sim/bfin/bfroms/bf537-0.1.h                        |    3 +-
 sim/bfin/bfroms/bf537-0.3.h                        |    3 +-
 sim/bfin/bfroms/bf538-0.0.h                        |    3 +-
 sim/bfin/bfroms/bf54x-0.0.h                        |    3 +-
 sim/bfin/bfroms/bf54x-0.1.h                        |    3 +-
 sim/bfin/bfroms/bf54x-0.2.h                        |    3 +-
 sim/bfin/bfroms/bf54x_l1-0.0.h                     |    3 +-
 sim/bfin/bfroms/bf54x_l1-0.1.h                     |    3 +-
 sim/bfin/bfroms/bf54x_l1-0.2.h                     |    3 +-
 sim/bfin/bfroms/bf561-0.5.h                        |    3 +-
 sim/bfin/bfroms/bf59x-0.0.h                        |    3 +-
 sim/bfin/bfroms/bf59x_l1-0.1.h                     |    3 +-
 sim/bfin/configure                                 |    1 +
 sim/bfin/configure.ac                              |    1 +
 sim/bfin/dv-bfin_cec.c                             |   12 +-
 sim/bfin/dv-bfin_ctimer.c                          |    9 +-
 sim/bfin/dv-bfin_dma.c                             |    9 +-
 sim/bfin/dv-bfin_dmac.c                            |   75 +-
 sim/bfin/dv-bfin_ebiu_amc.c                        |   12 +-
 sim/bfin/dv-bfin_ebiu_ddrc.c                       |    6 +-
 sim/bfin/dv-bfin_ebiu_sdc.c                        |    6 +-
 sim/bfin/dv-bfin_emac.c                            |    9 +-
 sim/bfin/dv-bfin_eppi.c                            |    9 +-
 sim/bfin/dv-bfin_evt.c                             |    6 +-
 sim/bfin/dv-bfin_gpio.c                            |  287 +++
 .../py-stopevent.h => sim/bfin/dv-bfin_gpio.h      |   28 +-
 sim/bfin/dv-bfin_gptimer.c                         |    9 +-
 sim/bfin/dv-bfin_jtag.c                            |    6 +-
 sim/bfin/dv-bfin_mmu.c                             |    6 +-
 sim/bfin/dv-bfin_nfc.c                             |    9 +-
 sim/bfin/dv-bfin_otp.c                             |    6 +-
 sim/bfin/dv-bfin_pll.c                             |    9 +-
 sim/bfin/dv-bfin_ppi.c                             |    9 +-
 sim/bfin/dv-bfin_rtc.c                             |    9 +-
 sim/bfin/dv-bfin_sic.c                             |   42 +-
 sim/bfin/dv-bfin_spi.c                             |    9 +-
 sim/bfin/dv-bfin_trace.c                           |    6 +-
 sim/bfin/dv-bfin_twi.c                             |    9 +-
 sim/bfin/dv-bfin_uart.c                            |    9 +-
 sim/bfin/dv-bfin_uart2.c                           |    9 +-
 sim/bfin/dv-bfin_wdog.c                            |    9 +-
 sim/bfin/dv-bfin_wp.c                              |    6 +-
 sim/bfin/dv-eth_phy.c                              |    6 +-
 sim/bfin/gui.c                                     |   18 +-
 sim/bfin/linux-fixed-code.h                        |    3 +-
 sim/bfin/linux-targ-map.h                          |   12 +-
 sim/bfin/machs.c                                   |  197 ++-
 sim/common/ChangeLog                               |   12 +
 sim/common/callback.c                              |   38 +-
 sim/common/cgen-engine.h                           |    4 +-
 sim/common/dv-core.c                               |    6 +-
 sim/common/dv-glue.c                               |   24 +-
 sim/common/dv-pal.c                                |   18 +-
 sim/common/hw-base.c                               |    8 +-
 sim/common/hw-device.c                             |    2 +-
 sim/common/hw-device.h                             |    2 +-
 sim/common/hw-handles.c                            |    6 +-
 sim/common/hw-instances.c                          |    2 +-
 sim/common/hw-ports.c                              |    2 +-
 sim/common/hw-ports.h                              |    6 +-
 sim/common/hw-properties.c                         |   60 +-
 sim/common/hw-tree.c                               |   98 +-
 sim/common/nrun.c                                  |   20 +-
 sim/common/run-sim.h                               |    2 +-
 sim/common/run.c                                   |    2 +-
 sim/common/sim-alu.h                               |   18 +-
 sim/common/sim-assert.h                            |    2 +-
 sim/common/sim-base.h                              |    2 +-
 sim/common/sim-basics.h                            |    2 +-
 sim/common/sim-config.c                            |   26 +-
 sim/common/sim-core.c                              |   18 +-
 sim/common/sim-core.h                              |    2 +-
 sim/common/sim-engine.h                            |    2 +-
 sim/common/sim-events.c                            |   34 +-
 sim/common/sim-events.h                            |    2 +-
 sim/common/sim-fpu.c                               |   58 +-
 sim/common/sim-hw.c                                |   12 +-
 sim/common/sim-inline.h                            |    6 +-
 sim/common/sim-load.c                              |    8 +-
 sim/common/sim-memopt.c                            |    8 +-
 sim/common/sim-n-core.h                            |    4 +-
 sim/common/sim-options.c                           |   10 +-
 sim/common/sim-profile.c                           |    8 +-
 sim/common/sim-signal.c                            |    2 +-
 sim/common/sim-trace.c                             |   26 +-
 sim/common/sim-trace.h                             |    6 +-
 sim/common/sim-utils.c                             |    6 +-
 sim/common/sim-watch.c                             |   16 +-
 sim/common/syscall.c                               |    2 +-
 168 files changed, 3646 insertions(+), 1623 deletions(-)
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.exp
 create mode 100644 sim/bfin/ChangeLog
 create mode 100644 sim/bfin/dv-bfin_gpio.c
 copy gdb/python/py-stopevent.h => sim/bfin/dv-bfin_gpio.h (51%)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b2b65b8..a1131c8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,182 @@
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* reloc.c (BFD_RELOC_ARM_IRELATIVE): New relocation.
+	* bfd-in2.h: Regenerate.
+	* elf32-arm.c (elf32_arm_howto_table_2): Rename existing definition
+	to elf32_arm_howto_table_3 and replace with a single R_ARM_IRELATIVE
+	entry.
+	(elf32_arm_howto_from_type): Update accordingly.
+	(elf32_arm_reloc_map): Map BFD_RELOC_ARM_IRELATIVE to R_ARM_IRELATIVE.
+	(elf32_arm_reloc_name_lookup): Handle elf32_arm_howto_table_3.
+	(arm_plt_info): New structure, split out from elf32_arm_link_hash_entry
+	with an extra noncall_refcount field.
+	(arm_local_iplt_info): New structure.
+	(elf_arm_obj_tdata): Add local_iplt.
+	(elf32_arm_local_iplt): New accessor macro.
+	(elf32_arm_link_hash_entry): Replace plt_thumb_refcount,
+	plt_maybe_thumb_refcount and plt_got_offset with an arm_plt_info.
+	Change tls_type to a bitfield and add is_iplt.
+	(elf32_arm_link_hash_newfunc): Update accordingly.
+	(elf32_arm_allocate_local_sym_info): New function.
+	(elf32_arm_create_local_iplt): Likewise.
+	(elf32_arm_get_plt_info): Likewise.
+	(elf32_arm_plt_needs_thumb_stub_p): Likewise.
+	(elf32_arm_get_local_dynreloc_list): Likewise.
+	(create_ifunc_sections): Likewise.
+	(elf32_arm_copy_indirect_symbol): Update after the changes to
+	elf32_arm_link_hash_entry.  Assert the is_iplt has not yet been set.
+	(arm_type_of_stub): Add an st_type argument.  Use elf32_arm_get_plt_info
+	to get PLT information.  Assert that all STT_GNU_IFUNC references
+	are turned into PLT references.
+	(arm_build_one_stub): Pass the symbol type to
+	elf32_arm_final_link_relocate.
+	(elf32_arm_size_stubs): Pass the symbol type to arm_type_of_stub.
+	(elf32_arm_allocate_irelocs): New function.
+	(elf32_arm_add_dynreloc): In static objects, use .rel.iplt for
+	all R_ARM_IRELATIVE.
+	(elf32_arm_allocate_plt_entry): New function.
+	(elf32_arm_populate_plt_entry): Likewise.
+	(elf32_arm_final_link_relocate): Add an st_type parameter.
+	Set srelgot to null for static objects.  Use separate variables
+	to record which st_value and st_type should be used when generating
+	a dynamic relocation.  Use elf32_arm_get_plt_info to find the
+	symbol's PLT information, setting has_iplt_entry, splt,
+	plt_offset and gotplt_offset accordingly.  Check whether
+	STT_GNU_IFUNC symbols should resolve to an .iplt entry, and change
+	the relocation target accordingly.  Broaden assert to include
+	.iplts.  Don't set sreloc for static relocations.  Assert that
+	we only generate dynamic R_ARM_RELATIVE relocations for R_ARM_ABS32
+	and R_ARM_ABS32_NOI.  Generate R_ARM_IRELATIVE relocations instead
+	of R_ARM_RELATIVE relocations if the target is an STT_GNU_IFUNC
+	symbol.  Pass the symbol type to arm_type_of_stub.  Conditionally
+	resolve GOT references to the .igot.plt entry.
+	(elf32_arm_relocate_section): Update the call to
+	elf32_arm_final_link_relocate.
+	(elf32_arm_gc_sweep_hook): Use elf32_arm_get_plt_info to get PLT
+	information.  Treat R_ARM_REL32 and R_ARM_REL32_NOI as call
+	relocations in shared libraries and relocatable executables.
+	Count non-call PLT references.  Use elf32_arm_get_local_dynreloc_list
+	to get the list of dynamic relocations for a local symbol.
+	(elf32_arm_check_relocs): Always create ifunc sections.  Set isym
+	at the same time as setting h.  Use elf32_arm_allocate_local_sym_info
+	to allocate local symbol information.  Treat R_ARM_REL32 and
+	R_ARM_REL32_NOI as call relocations in shared libraries and
+	relocatable executables.  Record PLT information for local
+	STT_GNU_IFUNC functions as well as global functions.   Count
+	non-call PLT references.  Use elf32_arm_get_local_dynreloc_list
+	to get the list of dynamic relocations for a local symbol.
+	(elf32_arm_adjust_dynamic_symbol): Handle STT_GNU_IFUNC symbols.
+	Don't remove STT_GNU_IFUNC PLTs unless all references have been
+	removed.  Update after the changes to elf32_arm_link_hash_entry.
+	(allocate_dynrelocs_for_symbol): Decide whether STT_GNU_IFUNC PLT
+	entries should live in .plt or .iplt.  Check whether the .igot.plt
+	and .got entries can be combined.  Use elf32_arm_allocate_plt_entry
+	to allocate .plt and .(i)got.plt entries.  Detect which .got
+	entries will need R_ARM_IRELATIVE relocations and use
+	elf32_arm_allocate_irelocs to allocate them.  Likewise other
+	non-.got dynamic relocations.
+	(elf32_arm_size_dynamic_sections): Allocate .iplt, .igot.plt
+	and dynamic relocations for local STT_GNU_IFUNC symbols.
+	Check whether the .igot.plt and .got entries can be combined.
+	Detect which .got entries will need R_ARM_IRELATIVE relocations
+	and use elf32_arm_allocate_irelocs to allocate them.  Use stashed
+	section pointers intead of strcmp checks.  Handle iplt and igotplt.
+	(elf32_arm_finish_dynamic_symbol): Use elf32_arm_populate_plt_entry
+	to fill in .plt, .got.plt and .rel(a).plt entries.  Point
+	STT_GNU_IFUNC symbols at an .iplt entry if non-call relocations
+	resolve to it.
+	(elf32_arm_output_plt_map_1): New function, split out from
+	elf32_arm_output_plt_map.  Handle .iplt entries.  Use
+	elf32_arm_plt_needs_thumb_stub_p.
+	(elf32_arm_output_plt_map): Call it.
+	(elf32_arm_output_arch_local_syms): Add mapping symbols for
+	local .iplt entries.
+	(elf32_arm_swap_symbol_in): Handle Thumb STT_GNU_IFUNC symbols.
+	(elf32_arm_swap_symbol_out): Likewise.
+	(elf32_arm_add_symbol_hook): New function.
+	(elf_backend_add_symbol_hook): Define for all targets.
+
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf-bfd.h (elf_link_hash_entry): Add target_internal.
+	* elf.c (swap_out_syms): Set st_target_internal for each
+	Elf_Internal_Sym.
+	* elfcode.h (elf_swap_symbol_in): Likewise.
+	* elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise.
+	* elf32-sh-symbian.c (sh_symbian_relocate_section): Likewise.
+	* elf64-sparc.c (elf64_sparc_output_arch_syms): Likewise.
+	* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Likewise.
+	* elflink.c (elf_link_output_extsym): Likewise.
+	(bfd_elf_final_link): Likewise.
+	(elf_link_add_object_symbols): Copy st_target_internal
+	to the hash table if we see a definition.
+	(_bfd_elf_copy_link_hash_symbol_type): Copy target_internal.
+	* elf32-arm.c (elf32_arm_stub_hash_entry): Replace st_type with
+	a branch_type field.
+	(a8_erratum_fix, a8_erratum_reloc): Likewise.
+	(arm_type_of_stub): Replace actual_st_type with an
+	actual_branch_type parameter.
+	(arm_build_one_stub): Use branch types rather than st_types to
+	determine the type of branch.
+	(cortex_a8_erratum_scan): Likewise.
+	(elf32_arm_size_stubs): Likewise.
+	(bfd_elf32_arm_process_before_allocation): Likewise.
+	(allocate_dynrelocs_for_symbol): Likewise.
+	(elf32_arm_finish_dynamic_sections): Likewise.
+	(elf32_arm_final_link_relocate): Replace sym_flags parameter with
+	a branch_type parameter.
+	(elf32_arm_relocate_section): Update call accordingly.
+	(elf32_arm_adjust_dynamic_symbol): Don't check STT_ARM_TFUNC.
+	(elf32_arm_output_map_sym): Initialize st_target_internal.
+	(elf32_arm_output_stub_sym): Likewise.
+	(elf32_arm_symbol_processing): Delete.
+	(elf32_arm_swap_symbol_in): Convert STT_ARM_TFUNCs into STT_FUNCs.
+	Use st_target_internal to record the branch type.
+	(elf32_arm_swap_symbol_out): Use st_target_internal to test for
+	Thumb functions.
+	(elf32_arm_is_function_type): Delete.
+	(elf_backend_symbol_processing): Likewise.
+	(elf_backend_is_function_type): Likewise.
+
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf32-arm.c (elf32_arm_check_relocs): Always assign a dynobj.
+	(elf32_arm_finish_dynamic_sections): Move sgot != NULL assertion
+	into the PLT block.
+
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf32-arm.c (elf32_arm_check_relocs): Use call_reloc_p,
+	may_need_local_target_p and may_become_dynamic_p to classify
+	the relocation type.  Don't check info->symbolic or h->def_regular
+	when deciding whether to record a potential dynamic reloc.
+	Don't treat potential dynamic relocs as PLT references.
+	(elf32_arm_gc_sweep_hook): Update to match.  Assert that we don't
+	try to make the PLT reference count go negative.
+
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf32-arm.c (elf32_arm_final_link_relocate): Always fill in the
+	GOT entry here, rather than leaving it to finish_dynamic_symbol.
+	Only create a dynamic relocation for local references if
+	info->shared.
+	(allocate_dynrelocs_for_symbol): Update dynamic relocation
+	allocation accordingly.
+	(elf32_arm_finish_dynamic_symbol): Don't initialise the GOT entry here.
+
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf32-arm.c (elf32_arm_allocate_dynrelocs): New function.
+	(elf32_arm_add_dynreloc): Likewise.
+	(elf32_arm_adjust_dynamic_symbol): Use elf32_arm_allocate_dynrelocs
+	to allocate dynamic relocations.
+	(elf32_arm_size_dynamic_sections): Likewise.
+	(allocate_dynrelocs): Likewise.  Rename to
+	allocate_dynrelocs_for_symbol.
+	(elf32_arm_final_link_relocate): Use elf32_arm_add_dynreloc to
+	create dynamic relocations.
+	(elf32_arm_finish_dynamic_symbol): Likewise.
+
 2011-03-12  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 84fc75d..5f3a31f 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -3186,6 +3186,9 @@ pc-relative or some form of GOT-indirect relocation.  */
 /* Annotation of BX instructions.  */
   BFD_RELOC_ARM_V4BX,
 
+/* ARM support for STT_GNU_IFUNC.  */
+  BFD_RELOC_ARM_IRELATIVE,
+
 /* These relocs are only used within the ARM assembler.  They are not
 (at present) written to any object files.  */
   BFD_RELOC_ARM_IMMEDIATE,
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index cc83588..21ec38f 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -153,6 +153,9 @@ struct elf_link_hash_entry
   /* Symbol st_other value, symbol visibility.  */
   unsigned int other : 8;
 
+  /* The symbol's st_target_internal value (see Elf_Internal_Sym).  */
+  unsigned int target_internal : 8;
+
   /* Symbol is referenced by a non-shared object (other than the object
      in which it is defined).  */
   unsigned int ref_regular : 1;
diff --git a/bfd/elf.c b/bfd/elf.c
index c77dced..f69abf2 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -6542,6 +6542,7 @@ swap_out_syms (bfd *abfd,
     sym.st_info = 0;
     sym.st_other = 0;
     sym.st_shndx = SHN_UNDEF;
+    sym.st_target_internal = 0;
     bed->s->swap_symbol_out (abfd, &sym, outbound_syms, outbound_shndx);
     outbound_syms += bed->s->sizeof_sym;
     if (outbound_shndx != NULL)
@@ -6741,9 +6742,16 @@ Unable to find equivalent output section for symbol '%s' from section '%s'"),
 	}
 
       if (type_ptr != NULL)
-	sym.st_other = type_ptr->internal_elf_sym.st_other;
+	{
+	  sym.st_other = type_ptr->internal_elf_sym.st_other;
+	  sym.st_target_internal
+	    = type_ptr->internal_elf_sym.st_target_internal;
+	}
       else
-	sym.st_other = 0;
+	{
+	  sym.st_other = 0;
+	  sym.st_target_internal = 0;
+	}
 
       bed->s->swap_symbol_out (abfd, &sym, outbound_syms, outbound_shndx);
       outbound_syms += bed->s->sizeof_sym;
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 54001a3..6b69fd6 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -1651,6 +1651,7 @@ static reloc_howto_type elf32_arm_howto_table_1[] =
 	 0x00000fff,		/* dst_mask */
 	 FALSE),		/* pcrel_offset */
 
+  /* 112-127 private relocations.  */
   EMPTY_HOWTO (112),
   EMPTY_HOWTO (113),
   EMPTY_HOWTO (114),
@@ -1667,6 +1668,8 @@ static reloc_howto_type elf32_arm_howto_table_1[] =
   EMPTY_HOWTO (125),
   EMPTY_HOWTO (126),
   EMPTY_HOWTO (127),
+
+  /* R_ARM_ME_TOO, obsolete.  */
   EMPTY_HOWTO (128),
 
   HOWTO (R_ARM_THM_TLS_DESCSEQ,	/* type */
@@ -1684,13 +1687,26 @@ static reloc_howto_type elf32_arm_howto_table_1[] =
 	 FALSE),		/* pcrel_offset */
 };
 
-/* 112-127 private relocations
-   128 R_ARM_ME_TOO, obsolete
-   129-255 unallocated in AAELF.
-
-   249-255 extended, currently unused, relocations:  */
+/* 160 onwards: */
+static reloc_howto_type elf32_arm_howto_table_2[1] =
+{
+  HOWTO (R_ARM_IRELATIVE,	/* type */
+         0,                     /* rightshift */
+         2,                     /* size (0 = byte, 1 = short, 2 = long) */
+         32,                    /* bitsize */
+         FALSE,                 /* pc_relative */
+         0,                     /* bitpos */
+         complain_overflow_bitfield,/* complain_on_overflow */
+         bfd_elf_generic_reloc, /* special_function */
+         "R_ARM_IRELATIVE",	/* name */
+         TRUE,			/* partial_inplace */
+         0xffffffff,		/* src_mask */
+         0xffffffff,		/* dst_mask */
+         FALSE)			/* pcrel_offset */
+};
 
-static reloc_howto_type elf32_arm_howto_table_2[4] =
+/* 249-255 extended, currently unused, relocations:  */
+static reloc_howto_type elf32_arm_howto_table_3[4] =
 {
   HOWTO (R_ARM_RREL32,		/* type */
 	 0,			/* rightshift */
@@ -1755,9 +1771,12 @@ elf32_arm_howto_from_type (unsigned int r_type)
   if (r_type < ARRAY_SIZE (elf32_arm_howto_table_1))
     return &elf32_arm_howto_table_1[r_type];
 
+  if (r_type == R_ARM_IRELATIVE)
+    return &elf32_arm_howto_table_2[r_type - R_ARM_IRELATIVE];
+
   if (r_type >= R_ARM_RREL32
-      && r_type < R_ARM_RREL32 + ARRAY_SIZE (elf32_arm_howto_table_2))
-    return &elf32_arm_howto_table_2[r_type - R_ARM_RREL32];
+      && r_type < R_ARM_RREL32 + ARRAY_SIZE (elf32_arm_howto_table_3))
+    return &elf32_arm_howto_table_3[r_type - R_ARM_RREL32];
 
   return NULL;
 }
@@ -1827,6 +1846,7 @@ static const struct elf32_arm_reloc_map elf32_arm_reloc_map[] =
     {BFD_RELOC_ARM_TLS_TPOFF32,      R_ARM_TLS_TPOFF32},
     {BFD_RELOC_ARM_TLS_IE32,         R_ARM_TLS_IE32},
     {BFD_RELOC_ARM_TLS_LE32,         R_ARM_TLS_LE32},
+    {BFD_RELOC_ARM_IRELATIVE,        R_ARM_IRELATIVE},
     {BFD_RELOC_VTABLE_INHERIT,	     R_ARM_GNU_VTINHERIT},
     {BFD_RELOC_VTABLE_ENTRY,	     R_ARM_GNU_VTENTRY},
     {BFD_RELOC_ARM_MOVW,	     R_ARM_MOVW_ABS_NC},
@@ -1897,6 +1917,11 @@ elf32_arm_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED,
 	&& strcasecmp (elf32_arm_howto_table_2[i].name, r_name) == 0)
       return &elf32_arm_howto_table_2[i];
 
+  for (i = 0; i < ARRAY_SIZE (elf32_arm_howto_table_3); i++)
+    if (elf32_arm_howto_table_3[i].name != NULL
+	&& strcasecmp (elf32_arm_howto_table_3[i].name, r_name) == 0)
+      return &elf32_arm_howto_table_3[i];
+
   return NULL;
 }
 
@@ -2410,8 +2435,8 @@ struct elf32_arm_stub_hash_entry
   /* The symbol table entry, if any, that this was derived from.  */
   struct elf32_arm_link_hash_entry *h;
 
-  /* Destination symbol type (STT_ARM_TFUNC, ...) */
-  unsigned char st_type;
+  /* Type of branch.  */
+  enum arm_st_branch_type branch_type;
 
   /* Where this stub is being called from, or, in the case of combined
      stub sections, the first input section in the group.  */
@@ -2531,7 +2556,7 @@ struct a8_erratum_fix {
   unsigned long orig_insn;
   char *stub_name;
   enum elf32_arm_stub_type stub_type;
-  int st_type;
+  enum arm_st_branch_type branch_type;
 };
 
 /* A table of relocs applied to branches which might trigger Cortex-A8
@@ -2543,13 +2568,51 @@ struct a8_erratum_reloc {
   struct elf32_arm_link_hash_entry *hash;
   const char *sym_name;
   unsigned int r_type;
-  unsigned char st_type;
+  enum arm_st_branch_type branch_type;
   bfd_boolean non_a8_stub;
 };
 
 /* The size of the thread control block.  */
 #define TCB_SIZE	8
 
+/* ARM-specific information about a PLT entry, over and above the usual
+   gotplt_union.  */
+struct arm_plt_info {
+  /* We reference count Thumb references to a PLT entry separately,
+     so that we can emit the Thumb trampoline only if needed.  */
+  bfd_signed_vma thumb_refcount;
+
+  /* Some references from Thumb code may be eliminated by BL->BLX
+     conversion, so record them separately.  */
+  bfd_signed_vma maybe_thumb_refcount;
+
+  /* How many of the recorded PLT accesses were from non-call relocations.
+     This information is useful when deciding whether anything takes the
+     address of an STT_GNU_IFUNC PLT.  A value of 0 means that all
+     non-call references to the function should resolve directly to the
+     real runtime target.  */
+  unsigned int noncall_refcount;
+
+  /* Since PLT entries have variable size if the Thumb prologue is
+     used, we need to record the index into .got.plt instead of
+     recomputing it from the PLT offset.  */
+  bfd_signed_vma got_offset;
+};
+
+/* Information about an .iplt entry for a local STT_GNU_IFUNC symbol.  */
+struct arm_local_iplt_info {
+  /* The information that is usually found in the generic ELF part of
+     the hash table entry.  */
+  union gotplt_union root;
+
+  /* The information that is usually found in the ARM-specific part of
+     the hash table entry.  */
+  struct arm_plt_info arm;
+
+  /* A list of all potential dynamic relocations against this symbol.  */
+  struct elf_dyn_relocs *dyn_relocs;
+};
+
 struct elf_arm_obj_tdata
 {
   struct elf_obj_tdata root;
@@ -2560,6 +2623,9 @@ struct elf_arm_obj_tdata
   /* GOTPLT entries for TLS descriptors.  */
   bfd_vma *local_tlsdesc_gotent;
 
+  /* Information for local symbols that need entries in .iplt.  */
+  struct arm_local_iplt_info **local_iplt;
+
   /* Zero to warn when linking objects with incompatible enum sizes.  */
   int no_enum_size_warning;
 
@@ -2576,6 +2642,9 @@ struct elf_arm_obj_tdata
 #define elf32_arm_local_tlsdesc_gotent(bfd) \
   (elf_arm_tdata (bfd)->local_tlsdesc_gotent)
 
+#define elf32_arm_local_iplt(bfd) \
+  (elf_arm_tdata (bfd)->local_iplt)
+
 #define is_arm_elf(bfd) \
   (bfd_get_flavour (bfd) == bfd_target_elf_flavour \
    && elf_tdata (bfd) != NULL \
@@ -2598,18 +2667,8 @@ struct elf32_arm_link_hash_entry
     /* Track dynamic relocs copied for this symbol.  */
     struct elf_dyn_relocs *dyn_relocs;
 
-    /* We reference count Thumb references to a PLT entry separately,
-       so that we can emit the Thumb trampoline only if needed.  */
-    bfd_signed_vma plt_thumb_refcount;
-
-    /* Some references from Thumb code may be eliminated by BL->BLX
-       conversion, so record them separately.  */
-    bfd_signed_vma plt_maybe_thumb_refcount;
-
-    /* Since PLT entries have variable size if the Thumb prologue is
-       used, we need to record the index into .got.plt instead of
-       recomputing it from the PLT offset.  */
-    bfd_signed_vma plt_got_offset;
+    /* ARM-specific PLT information.  */
+    struct arm_plt_info plt;
 
 #define GOT_UNKNOWN	0
 #define GOT_NORMAL	1
@@ -2617,7 +2676,12 @@ struct elf32_arm_link_hash_entry
 #define GOT_TLS_IE	4
 #define GOT_TLS_GDESC	8
 #define GOT_TLS_GD_ANY_P(type)	((type & GOT_TLS_GD) || (type & GOT_TLS_GDESC))
-    unsigned char tls_type;
+    unsigned int tls_type : 8;
+
+    /* True if the symbol's PLT entry is in .iplt rather than .plt.  */
+    unsigned int is_iplt : 1;
+
+    unsigned int unused : 23;
 
     /* Offset of the GOTPLT entry reserved for the TLS descriptor,
        starting at the end of the jump table.  */
@@ -2833,9 +2897,11 @@ elf32_arm_link_hash_newfunc (struct bfd_hash_entry * entry,
       ret->dyn_relocs = NULL;
       ret->tls_type = GOT_UNKNOWN;
       ret->tlsdesc_got = (bfd_vma) -1;
-      ret->plt_thumb_refcount = 0;
-      ret->plt_maybe_thumb_refcount = 0;
-      ret->plt_got_offset = -1;
+      ret->plt.thumb_refcount = 0;
+      ret->plt.maybe_thumb_refcount = 0;
+      ret->plt.noncall_refcount = 0;
+      ret->plt.got_offset = -1;
+      ret->is_iplt = FALSE;
       ret->export_glue = NULL;
 
       ret->stub_cache = NULL;
@@ -2844,6 +2910,142 @@ elf32_arm_link_hash_newfunc (struct bfd_hash_entry * entry,
   return (struct bfd_hash_entry *) ret;
 }
 
+/* Ensure that we have allocated bookkeeping structures for ABFD's local
+   symbols.  */
+
+static bfd_boolean
+elf32_arm_allocate_local_sym_info (bfd *abfd)
+{
+  if (elf_local_got_refcounts (abfd) == NULL)
+    {
+      bfd_size_type num_syms;
+      bfd_size_type size;
+      char *data;
+
+      num_syms = elf_tdata (abfd)->symtab_hdr.sh_info;
+      size = num_syms * (sizeof (bfd_signed_vma)
+			 + sizeof (struct arm_local_iplt_info *)
+			 + sizeof (bfd_vma)
+			 + sizeof (char));
+      data = bfd_zalloc (abfd, size);


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2011-03-13 19:24 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2011-03-13 19:24 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  347237ef673818673265bcc7e29a90ec5b2960a9 (commit)
       via  305a094f4235b6d99d5ce442a9bd188b2b89e075 (commit)
       via  9476cf7e394456927839e43ae4a1e0cbea9e4a25 (commit)
       via  d8ea9eacb9258d15e79bf00e76a948dbb7bc7cb5 (commit)
       via  9dcb8e0632bcc97d37bfb715c73801e80857f24c (commit)
       via  f07617b8397d62f1ee213375023fe66c6211fcd2 (commit)
       via  7938ea98e7dfc9f097ddca2a00995bb63b9d3c0a (commit)
       via  d95e9d653e9cb1b8f28a51d2c013ed1e51e6b6cd (commit)
       via  ef818b5c73efe9d48f4558ac90913a0745823e95 (commit)
       via  5c439c8fa83e95f4764916bb388cac87ca9875e5 (commit)
       via  1db172720a8ab5d5b200d54f91f8fbced3b368c1 (commit)
       via  66c348ceaf0b341e197409ce9bdeeff11b640a7a (commit)
       via  04ca31faf3b4e585faf62cfaacf1ff8933d99eb5 (commit)
       via  83364dc218693a094ec124bf0f51a37f98940c1e (commit)
       via  3dc0169a584b1abe0e305d4796d1468a30c022dc (commit)
       via  d4018825f8a4b26bd6570a405728a44b346f088d (commit)
       via  2046556ddd4abbea4a48c9f13ab1d89f04759729 (commit)
       via  cf6f414eb6d93a020bf9cff7523968658d3354a4 (commit)
       via  27bbdd2c2f3184c65ff4f70a53e73d37c8d7629f (commit)
       via  6944a0b66d9d0d5e62ace92d3ff14b5346c405f6 (commit)
       via  bcc86a87cb9612c435d8acb0341043a58f6effa2 (commit)
       via  1bdccc78b538112997e68726686c31f0dce98910 (commit)
       via  81bc1f63ce74e97ed39a2989f5acbcf64a8d2178 (commit)
       via  6fca94e1bdda6b44341bc4339ee25839e009bfee (commit)
       via  8e93f045c49f403430122a522e4d8fe984fbd2ef (commit)
       via  ec6a4e268a7bf051102bcc61e4f65db722acdc8b (commit)
       via  df28cccbad3fed82bc6790c857d57c3b9132fc10 (commit)
       via  bed8a9915b7be1d42ae022c351683ea9e0006bde (commit)
       via  009e307e0442527da3cd3f56aea57ed71dbb13a4 (commit)
       via  eaef522a1517032273ecb900de3e39a7fe9058d3 (commit)
       via  4e7de6e6217c63924cca11d1d6f3238fb2d950f3 (commit)
       via  7aa8a6ea9844ece84a11b609ed291cdf709d5feb (commit)
       via  4c1efb574a0bc6869c6ee3175dc6483e5ae8d977 (commit)
       via  a0706100b6a4ad3f64aa078d6a7f442a345d55c4 (commit)
       via  00a404ad22c3af88339a0a3eede3baef67684a9d (commit)
       via  fd0957bb08a8e50cfdef85278d7135565c69e7fa (commit)
       via  a5d989e3c090498d0f5221bfd58894f66fd56bf8 (commit)
      from  aa32708bbb3283f5816e25b5a05e347323d3ced3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 347237ef673818673265bcc7e29a90ec5b2960a9
Merge: aa32708 305a094
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Sun Mar 13 19:23:51 2011 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                  |   24 ++-
 bfd/elf64-ppc.c                                |   91 ++++++-
 bfd/elf64-x86-64.c                             |   84 +++++--
 bfd/version.h                                  |    2 +-
 gdb/ChangeLog                                  |  150 ++++++++++-
 gdb/arm-tdep.c                                 |    3 -
 gdb/breakpoint.c                               |   90 ++++---
 gdb/breakpoint.h                               |   10 +-
 gdb/cli/cli-decode.c                           |    8 +-
 gdb/cli/cli-decode.h                           |    3 +
 gdb/cli/cli-utils.c                            |   64 +++--
 gdb/cli/cli-utils.h                            |   40 +++-
 gdb/common/aclocal.m4                          |   68 -----
 gdb/completer.c                                |    4 +-
 gdb/doc/ChangeLog                              |    5 +
 gdb/doc/gdb.texinfo                            |   16 ++
 gdb/event-loop.c                               |    2 +
 gdb/fbsd-nat.c                                 |    2 +-
 gdb/gdbserver/ChangeLog                        |    5 +
 gdb/gdbserver/Makefile.in                      |    1 -
 gdb/gdbserver/server.c                         |    4 +-
 gdb/gdbserver/tracepoint.c                     |   15 +-
 gdb/inferior.c                                 |   18 +-
 gdb/memattr.c                                  |   37 ++-
 gdb/printcmd.c                                 |   12 +-
 gdb/python/py-breakpoint.c                     |    8 +-
 gdb/python/py-param.c                          |  265 +++++++++++++++----
 gdb/reverse.c                                  |   21 +-
 gdb/testsuite/ChangeLog                        |   14 +
 gdb/testsuite/gdb.base/solib-weak.exp          |    2 +-
 gdb/testsuite/gdb.python/py-parameter.exp      |  119 +++++++--
 gdb/testsuite/gdb.python/py-section-script.exp |   11 +-
 gdb/thread.c                                   |    7 +-
 gdb/top.c                                      |    1 +
 gdb/tracepoint.c                               |    2 +-
 gdb/version.in                                 |    2 +-
 gdb/xtensa-tdep.c                              |  336 +++++++++++++++---------
 include/elf/ChangeLog                          |    4 +
 include/elf/common.h                           |    2 +-
 39 files changed, 1099 insertions(+), 453 deletions(-)
 delete mode 100644 gdb/common/aclocal.m4

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 31613e8..b2b65b8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,23 @@
+2011-03-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
+	x32 GD->IE and GD->LE transitions.
+	(elf_x86_64_relocate_section): Supprt TLS x32 GD->IE, GD->LE
+	and LD->LE transitions.
+
+2011-03-10  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_relocate_section): Provide section/offset
+	for LO_DS error message and correct multiple.
+
+2011-03-10  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (bfd_elf64_bfd_link_just_syms): Define.
+	(ppc64_elf_link_just_syms): New function.
+	(opd_entry_value): Don't assume big-endian host.
+	(get_r2off): New function.
+	(ppc_build_one_stub, ppc_size_one_stub): Use it here.
+
 2011-03-06  Michael Snyder  <msnyder@vmware.com>
 
 	* compress.c (bfd_compress_section_contents): Check for out of mem.
@@ -33,8 +53,8 @@
 
 2011-03-02  Bernd Schmidt  <bernds@codesourcery.com>
 
-        * elflink.c (is_reloc_section): Remove function.
-        (get_dynamic_reloc_section_name): Construct string manually.
+	* elflink.c (is_reloc_section): Remove function.
+	(get_dynamic_reloc_section_name): Construct string manually.
 
 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
 
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 856c68a..f17402f 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -79,12 +79,13 @@ static bfd_vma opd_entry_value
 
 #define bfd_elf64_mkobject		      ppc64_elf_mkobject
 #define bfd_elf64_bfd_reloc_type_lookup	      ppc64_elf_reloc_type_lookup
-#define bfd_elf64_bfd_reloc_name_lookup ppc64_elf_reloc_name_lookup
+#define bfd_elf64_bfd_reloc_name_lookup	      ppc64_elf_reloc_name_lookup
 #define bfd_elf64_bfd_merge_private_bfd_data  ppc64_elf_merge_private_bfd_data
 #define bfd_elf64_new_section_hook	      ppc64_elf_new_section_hook
 #define bfd_elf64_bfd_link_hash_table_create  ppc64_elf_link_hash_table_create
 #define bfd_elf64_bfd_link_hash_table_free    ppc64_elf_link_hash_table_free
 #define bfd_elf64_get_synthetic_symtab	      ppc64_elf_get_synthetic_symtab
+#define bfd_elf64_bfd_link_just_syms	      ppc64_elf_link_just_syms
 
 #define elf_backend_object_p		      ppc64_elf_object_p
 #define elf_backend_grok_prstatus	      ppc64_elf_grok_prstatus
@@ -4745,6 +4746,25 @@ ppc64_elf_as_needed_cleanup (bfd *ibfd ATTRIBUTE_UNUSED,
   return TRUE;
 }
 
+/* If --just-symbols against a final linked binary, then assume we need
+   toc adjusting stubs when calling functions defined there.  */
+
+static void
+ppc64_elf_link_just_syms (asection *sec, struct bfd_link_info *info)
+{
+  if ((sec->flags & SEC_CODE) != 0
+      && (sec->owner->flags & (EXEC_P | DYNAMIC)) != 0
+      && is_ppc64_elf (sec->owner))
+    {
+      asection *got = bfd_get_section_by_name (sec->owner, ".got");
+      if (got != NULL
+	  && got->size >= elf_backend_got_header_size
+	  && bfd_get_section_by_name (sec->owner, ".opd") != NULL)
+	sec->has_toc_reloc = 1;
+    }
+  _bfd_elf_link_just_syms (sec, info);
+}
+
 static struct plt_entry **
 update_local_sym_info (bfd *abfd, Elf_Internal_Shdr *symtab_hdr,
 		       unsigned long r_symndx, bfd_vma r_addend, int tls_type)
@@ -5465,9 +5485,12 @@ opd_entry_value (asection *opd_sec,
   /* No relocs implies we are linking a --just-symbols object.  */
   if (opd_sec->reloc_count == 0)
     {
-      if (!bfd_get_section_contents (opd_bfd, opd_sec, &val, offset, 8))
+      char buf[8];
+
+      if (!bfd_get_section_contents (opd_bfd, opd_sec, buf, offset, 8))
 	return (bfd_vma) -1;
 
+      val = bfd_get_64 (opd_bfd, buf);
       if (code_sec != NULL)
 	{
 	  asection *sec, *likely = NULL;
@@ -9401,6 +9424,37 @@ get_relocs (asection *sec, int count)
   return relocs;
 }
 
+static bfd_vma
+get_r2off (struct ppc_link_hash_table *htab,
+	   struct ppc_stub_hash_entry *stub_entry)
+{
+  bfd_vma r2off = htab->stub_group[stub_entry->target_section->id].toc_off;
+
+  if (r2off == 0)
+    {
+      /* Support linking -R objects.  Get the toc pointer from the
+	 opd entry.  */
+      char buf[8];
+      asection *opd = stub_entry->h->elf.root.u.def.section;
+      bfd_vma opd_off = stub_entry->h->elf.root.u.def.value;
+
+      if (strcmp (opd->name, ".opd") != 0
+	  || opd->reloc_count != 0)
+	{
+	  (*_bfd_error_handler) (_("cannot find opd entry toc for %s"),
+				 stub_entry->h->elf.root.root.string);
+	  bfd_set_error (bfd_error_bad_value);
+	  return 0;
+	}
+      if (!bfd_get_section_contents (opd->owner, opd, buf, opd_off + 8, 8))
+	return 0;
+      r2off = bfd_get_64 (opd->owner, buf);
+      r2off -= elf_gp (stub_entry->id_sec->output_section->owner);
+    }
+  r2off -= htab->stub_group[stub_entry->id_sec->id].toc_off;
+  return r2off;
+}
+
 static bfd_boolean
 ppc_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg)
 {
@@ -9445,10 +9499,13 @@ ppc_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg)
       size = 4;
       if (stub_entry->stub_type == ppc_stub_long_branch_r2off)
 	{
-	  bfd_vma r2off;
+	  bfd_vma r2off = get_r2off (htab, stub_entry);
 
-	  r2off = (htab->stub_group[stub_entry->target_section->id].toc_off
-		   - htab->stub_group[stub_entry->id_sec->id].toc_off);
+	  if (r2off == 0)
+	    {
+	      htab->stub_error = TRUE;
+	      return FALSE;
+	    }
 	  bfd_put_32 (htab->stub_bfd, STD_R2_40R1, loc);
 	  loc += 4;
 	  size = 12;
@@ -9632,10 +9689,14 @@ ppc_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg)
 	}
       else
 	{
-	  bfd_vma r2off;
+	  bfd_vma r2off = get_r2off (htab, stub_entry);
+
+	  if (r2off == 0)
+	    {
+	      htab->stub_error = TRUE;
+	      return FALSE;
+	    }
 
-	  r2off = (htab->stub_group[stub_entry->target_section->id].toc_off
-		   - htab->stub_group[stub_entry->id_sec->id].toc_off);
 	  bfd_put_32 (htab->stub_bfd, STD_R2_40R1, loc);
 	  loc += 4;
 	  size = 20;
@@ -9875,8 +9936,12 @@ ppc_size_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg)
       size = 4;
       if (stub_entry->stub_type == ppc_stub_long_branch_r2off)
 	{
-	  r2off = (htab->stub_group[stub_entry->target_section->id].toc_off
-		   - htab->stub_group[stub_entry->id_sec->id].toc_off);
+	  r2off = get_r2off (htab, stub_entry);
+	  if (r2off == 0)
+	    {
+	      htab->stub_error = TRUE;
+	      return FALSE;
+	    }
 	  size = 12;
 	  if (PPC_HA (r2off) != 0)
 	    size = 16;
@@ -11590,7 +11655,7 @@ ppc64_elf_relocate_section (bfd *output_bfd,
       bfd_boolean unresolved_reloc;
       bfd_boolean warned;
       unsigned int insn;
-      bfd_vma mask;
+      unsigned int mask;
       struct ppc_stub_hash_entry *stub_entry;
       bfd_vma max_br_offset;
       bfd_vma from;
@@ -13126,8 +13191,8 @@ ppc64_elf_relocate_section (bfd *output_bfd,
 	  if (((relocation + addend) & mask) != 0)
 	    {
 	      (*_bfd_error_handler)
-		(_("%B: error: relocation %s not a multiple of %d"),
-		 input_bfd,
+		(_("%B(%A+0x%lx): error: %s not a multiple of %u"),
+		 input_bfd, input_section, (long) rel->r_offset,
 		 ppc64_elf_howto_table[r_type]->name,
 		 mask + 1);
 	      bfd_set_error (bfd_error_bad_value);
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index c26c40b..927b3ed 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -865,18 +865,34 @@ elf_x86_64_check_tls_transition (bfd *abfd,
 
       if (r_type == R_X86_64_TLSGD)
 	{
-	  /* Check transition from GD access model.  Only
+	  /* Check transition from GD access model.  For 64bit, only
 		.byte 0x66; leaq foo@tlsgd(%rip), %rdi
 		.word 0x6666; rex64; call __tls_get_addr
+	     can transit to different access model.  For 32bit, only
+		leaq foo@tlsgd(%rip), %rdi
+		.word 0x6666; rex64; call __tls_get_addr
 	     can transit to different access model.  */
 
-	  static x86_64_opcode32 leaq = { { 0x66, 0x48, 0x8d, 0x3d } },
-				 call = { { 0x66, 0x66, 0x48, 0xe8 } };
-	  if (offset < 4
-	      || (offset + 12) > sec->size
-	      || bfd_get_32 (abfd, contents + offset - 4) != leaq.i
+	  static x86_64_opcode32 call = { { 0x66, 0x66, 0x48, 0xe8 } };
+	  if ((offset + 12) > sec->size
 	      || bfd_get_32 (abfd, contents + offset + 4) != call.i)
 	    return FALSE;
+
+	  if (ABI_64_P (abfd))
+	    {
+	      static x86_64_opcode32 leaq = { { 0x66, 0x48, 0x8d, 0x3d } };
+	      if (offset < 4
+		  || bfd_get_32 (abfd, contents + offset - 4) != leaq.i)
+		return FALSE;
+	    }
+	  else
+	    {
+	      static x86_64_opcode16 lea = { { 0x8d, 0x3d } };
+	      if (offset < 3
+		  || bfd_get_8 (abfd, contents + offset - 3) != 0x48
+		  || bfd_get_16 (abfd, contents + offset - 2) != lea.i)
+		return FALSE;
+	    }
 	}
       else
 	{
@@ -3434,15 +3450,26 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 
 	      if (ELF32_R_TYPE (rel->r_info) == R_X86_64_TLSGD)
 		{
-		  /* GD->LE transition.
+		  /* GD->LE transition.  For 64bit, change
 		     .byte 0x66; leaq foo@tlsgd(%rip), %rdi
 		     .word 0x6666; rex64; call __tls_get_addr
-		     Change it into:
+		     into:
 		     movq %fs:0, %rax
+		     leaq foo@tpoff(%rax), %rax
+		     For 32bit, change
+		     leaq foo@tlsgd(%rip), %rdi
+		     .word 0x6666; rex64; call __tls_get_addr
+		     into:
+		     movl %fs:0, %eax
 		     leaq foo@tpoff(%rax), %rax */
-		  memcpy (contents + roff - 4,
-			  "\x64\x48\x8b\x04\x25\0\0\0\0\x48\x8d\x80\0\0\0",
-			  16);
+		  if (ABI_64_P (output_bfd))
+		    memcpy (contents + roff - 4,
+			    "\x64\x48\x8b\x04\x25\0\0\0\0\x48\x8d\x80\0\0\0",
+			    16);
+		  else
+		    memcpy (contents + roff - 3,
+			    "\x64\x8b\x04\x25\0\0\0\0\x48\x8d\x80\0\0\0",
+			    15);
 		  bfd_put_32 (output_bfd,
 			      elf_x86_64_tpoff (info, relocation),
 			      contents + roff + 8);
@@ -3670,15 +3697,26 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 
 	      if (ELF32_R_TYPE (rel->r_info) == R_X86_64_TLSGD)
 		{
-		  /* GD->IE transition.
+		  /* GD->IE transition.  For 64bit, change
 		     .byte 0x66; leaq foo@tlsgd(%rip), %rdi
 		     .word 0x6666; rex64; call __tls_get_addr@plt
-		     Change it into:
+		     into:
 		     movq %fs:0, %rax
+		     addq foo@gottpoff(%rip), %rax
+		     For 32bit, change
+		     leaq foo@tlsgd(%rip), %rdi
+		     .word 0x6666; rex64; call __tls_get_addr@plt
+		     into:
+		     movl %fs:0, %eax
 		     addq foo@gottpoff(%rip), %rax */
-		  memcpy (contents + roff - 4,
-			  "\x64\x48\x8b\x04\x25\0\0\0\0\x48\x03\x05\0\0\0",
-			  16);
+		  if (ABI_64_P (output_bfd))
+		    memcpy (contents + roff - 4,
+			    "\x64\x48\x8b\x04\x25\0\0\0\0\x48\x03\x05\0\0\0",
+			    16);
+		  else
+		    memcpy (contents + roff - 3,
+			    "\x64\x8b\x04\x25\0\0\0\0\x48\x03\x05\0\0\0",
+			    15);
 
 		  relocation = (htab->elf.sgot->output_section->vma
 				+ htab->elf.sgot->output_offset + off
@@ -3747,12 +3785,18 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 	    {
 	      /* LD->LE transition:
 		 leaq foo@tlsld(%rip), %rdi; call __tls_get_addr.
-		 We change it into:
-		 .word 0x6666; .byte 0x66; movl %fs:0, %rax.  */
+		 For 64bit, we change it into:
+		 .word 0x6666; .byte 0x66; movq %fs:0, %rax.
+		 For 32bit, we change it into:
+		 nopl 0x0(%rax); movl %fs:0, %eax.  */
 
 	      BFD_ASSERT (r_type == R_X86_64_TPOFF32);
-	      memcpy (contents + rel->r_offset - 3,
-		      "\x66\x66\x66\x64\x48\x8b\x04\x25\0\0\0", 12);
+	      if (ABI_64_P (output_bfd))
+		memcpy (contents + rel->r_offset - 3,
+			"\x66\x66\x66\x64\x48\x8b\x04\x25\0\0\0", 12);
+	      else
+		memcpy (contents + rel->r_offset - 3,
+			"\x0f\x1f\x40\x00\x64\x8b\x04\x25\0\0\0", 12);
 	      /* Skip R_X86_64_PC32/R_X86_64_PLT32.  */
 	      rel++;
 	      continue;
diff --git a/bfd/version.h b/bfd/version.h
index fa3bbd0..624b9f9 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110309
+#define BFD_VERSION_DATE 20110313
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c6472e8..cb5bb35 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,127 @@
+2011-03-11  Michael Snyder  <msnyder@vmware.com>
+
+	* cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define.
+	* cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS.
+	(lookup_cmd): Test for CMD_LIST_AMBIGUOUS.
+	* completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS.
+	* top.c (set_verbose): Use CMD_LIST_AMBIGUOUS.
+
+	* event-loop-c (delete_async_signal_handler): Assert prev_ptr.
+	(delete_async_event_handler): Ditto.
+
+	* python/py-breakpoint.c (bppy_set_condition): Stop memory leak.
+
+	* python/py-breakpoint.c (bppy_get_commands): Fix memory leak.
+
+	* top.c (set_verbose): Assert showcmd was found.
+
+2011-03-11  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (warning_once): Correct style issues.
+
+2011-03-11  Yao Qi  <yao@codesourcery.com>
+
+	* arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.
+
+2011-03-11  Andreas Schwab  <schwab@redhat.com>
+
+	* common/aclocal.m4: Remove.
+
+2011-03-10  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (windowing_enabled): Remove inline attribute.
+	(xtensa_write_register, xtensa_read_register): Likewise.
+	(xtensa_hextochar): Removed.
+	(xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code.
+
+2011-03-10  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (xtensa_c0reg_t): Update comments.
+	(xtensa_call0_frame_cache_t): Update comments.  New fields added.
+	(xtensa_alloc_frame_cache): Add initialization for new fields.
+	(xtensa_frame_cache): Change the way how call0_frame_cache () is called.
+	(warning_once): New function.
+	(xtensa_insn_kind): New item c0opc_and.
+	(call0_classify_opcode): Add the case for AND instruction.
+	(call0_track_op): Change arguments.  New local variable litbase.
+	Add the case to handle c0opc_and.  Update algorithms for c0opc_mov,
+	c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments
+	in the prologue.
+	Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu.
+	(call0_analyze_prologue): Update the comments.  Change arguments.
+	Add the variety of updates to handle extended prologues, which now can
+	conduct dynamic stack adjustments.
+	(call0_frame_cache): Likewise.
+	(xtensa_skip_prologue): Update call0_analyze_prologue () function call.
+	(xtensa_gdbarch_init): Initialize xtensa_session_once_reported.
+
+2011-03-10  Michael Snyder  <msnyder@vmware.com>
+
+	* tracepoint.c (cmd_qtv): Discard unused value 'packet'.
+	(cmd_qtframe): Ditto.
+	(cmd_qtbuffer): Ditto.
+	(cmd_bigqtbuffer): Ditto.
+
+	* gdbserver/tracepoint.c (tracepoint_finish_step): Fix
+	loop variable.
+
+	* gdbserver/server.c (handle_v_run): Free alloced buffer on early
+	return.
+
+2011-03-10  Tom Tromey  <tromey@redhat.com>
+
+	* tracepoint.c (trace_actions_command): Update.
+	* thread.c (thread_apply_command): Update.
+	* reverse.c (delete_bookmark_command): Update.
+	(bookmarks_info): Update.
+	* printcmd.c (undisplay_command): Update.
+	* memattr.c (mem_enable_command): Update.
+	(mem_disable_command): Update.
+	(mem_delete_command): Update.
+	* inferior.c (detach_inferior_command): Update.
+	(kill_inferior_command): Update.
+	(remove_inferior_command): Update.
+	* cli/cli-utils.h (struct get_number_or_range_state): New.
+	(init_number_or_range): Declare.
+	(get_number_or_range): Update.
+	* cli/cli-utils.c (init_number_or_range): New function.
+	(get_number_or_range): Change 'pp' parameter to 'state'.  Remove
+	static variables.
+	(number_is_in_list): Update.
+	* breakpoint.h (get_tracepoint_by_number): Update.
+	* breakpoint.c (map_breakpoint_numbers): Update for change to
+	get_number_or_range.
+	(find_location_by_number): Use get_number, not
+	get_number_or_range.
+	(trace_pass_set_count): New function.
+	(trace_pass_command): Update for change to get_number_or_range.
+	Rework loop logic.
+	(get_tracepoint_by_number): Remove 'multi_p' parameter; add
+	'state' parameter.
+
+2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* python/py-param.c (add_setshow_generic): Add set/show callback
+	parameters.  Register Python object context.
+	(get_show_value): New function.
+	(get_set_value): New function.
+	(call_doc_function): New function.
+	(get_doc_string): Move behind get_show_value/get_set_value.
+
+2011-03-10  Andreas Tobler  <andreast-list@fgznet.ch>
+
+	* fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.
+
+2011-03-09  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (xtensa_read_register): Add comment.
+	(xtensa_write_register): Likewise.
+	(xtensa_hextochar): Add comment and update to match coding conventions.
+	(xtensa_frame_cache, xtensa_return_value): Follow coding conventions.
+	(execute_l32e, execute_s32e, execute_code): Update comments.
+	(xtensa_exception_handler_t): Update to match coding conventions.
+	(xtensa_insn_kind): Likewise.
+
 2011-03-09  Michael Snyder  <msnyder@vmware.com>
 
 	* mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak.
@@ -394,7 +518,7 @@
 
 	* mdebugread.c (parse_partial_symbols): Fix indent.
 
-	* gdbserver/linux-arm-low.c (arm_arch_setup): Replace malloc 
+	* gdbserver/linux-arm-low.c (arm_arch_setup): Replace malloc
 	with xmalloc.
 
 	* target-descriptions.c (tdesc_gdb_type): No need to call
@@ -406,7 +530,7 @@
 
 	* utils.c (parse_escape): Escape the escape char.
 
-	* python/py-inferior.c (build_inferior_list): Error out if 
+	* python/py-inferior.c (build_inferior_list): Error out if
 	PyList_Append fails.
 	(gdbpy_inferiors): Error out if build_inferior_list fails.
 
@@ -490,7 +614,7 @@
 


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2011-03-10 15:11 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2011-03-10 15:11 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  81d36efbe8718d9008bf4b1ea05838ff371c849e (commit)
       via  eda758390ec0bfb07d0bef4d1908d1d98ad75eb9 (commit)
       via  9862d4c58573fd4246b37695c67dc2c5b8193ec5 (commit)
       via  2e53e44e0cb91ff00728269ad125a3418605ee62 (commit)
       via  ab6369b0d22d96562d1f15b9755485f31d3a9222 (commit)
       via  d19a50e0bcc1bf4316e0df63d5f2ca1c2ea97c46 (commit)
       via  d14b65ef095e070c19a028facf85c4db75c4b667 (commit)
       via  029fb512f2fd983b7084a7278d2b1a3ff35c054e (commit)
       via  142db50201b1b1c69ebdc2dcdb1181cde1db3b08 (commit)
       via  7403e6b3f0f7d4c4f80703486f602ee5e2c9a3dd (commit)
       via  ced522c57802f46649858b0806fa92ff1707388a (commit)
       via  7c12a511f3c4438048a30e6349422c48a4d805a1 (commit)
       via  c605b1f257af096a6c70d339d4eac095da31d466 (commit)
       via  09754d64667f5ec959f76ca7db3de7a4e8446bd4 (commit)
       via  f9bde0f4211bd630d4d0aa196b1cb7f59679e9c6 (commit)
       via  21d4b6aaf60b144cccbd4be1d90f739f1e7c1491 (commit)
       via  727034a49af27bfc02ad16fff45dd246780da779 (commit)
       via  74b5d5fa3979c6484694cecc2110ec241362a80d (commit)
       via  63fad560276d7cf2d64b9b39d92d91d888f6d9b7 (commit)
       via  dd42de82161332ffe79d44f74c951f4c2b8988e6 (commit)
       via  3235fb4a49d2ca8b7bb8e87766c75464ef9f60e1 (commit)
       via  9e77697f31fb2d3c177875a37b441fef46f02fe1 (commit)
       via  137ec8749ab129f4e1986f4f7cd22094705f20da (commit)
       via  c6d83c5f92852cbc86baf79e4d0a400de5cafad7 (commit)
       via  91abe80f701d38f24eb9fb4118bd842c315605f9 (commit)
       via  ad726b2e37bf67fc1545b496310c62dab216fa86 (commit)
       via  ce7aa233c596554237c08fdb4667563908c28685 (commit)
       via  a8a24381ad7d678a1407c5aac0119fe6f2bb44d5 (commit)
       via  26beb4ff92e886ed8f3b7e72a9578d97861cce6c (commit)
       via  2493a1c3a1d73b5f38205f65ece3fa27ab25932e (commit)
       via  e195a4ceb1ab452b27fc9564338fccc20f878bf1 (commit)
       via  c6e18bb82bf2c38c32a676961cd318dd92def2e9 (commit)
       via  7e5e52fb6509b772d8e8d9ffb18c91f7b9e9c0ac (commit)
       via  fb4eb6f59b41b325cc55c79ef7f621832d404b96 (commit)
       via  4a8232486713495005ddb6a5a55852ef700d75c6 (commit)
       via  e3e944cf879ee5f1b73091d21f1519b0f29bc15c (commit)
       via  1e487dd491198f245f53f4a912fe09293d7cc50c (commit)
       via  c102e38a31fbf19b82193e5da19f05136c67f2ba (commit)
       via  e519d312866adab5a38c2ddf6cd6c19a9c8e9025 (commit)
       via  86eea50bade7cf59f53b9b9b44c928962e8c3c33 (commit)
       via  865acd2c34063108064d99db373473e8f6d83ce4 (commit)
       via  a175fb966a6b301b97b11f5906ec0e52a1c4baf7 (commit)
       via  67f954c319369009fa2f4262ec07bca10589f964 (commit)
       via  ee34b00175d8e9ba4d2f5fd3c92e9759bb4458b9 (commit)
       via  528e3f0dd8575f77fd686822ca9762a68b792da6 (commit)
       via  9a5782ef78308aca91b7cb1629aa10189c1fc52d (commit)
       via  1c84b4e7ca1cf3aedc94dd3a0d20184691f32fa9 (commit)
       via  128551d755e7bf034db311e280d88f3e8a042769 (commit)
       via  197423bc2e1280911452b2066ed7acf35e6a0c71 (commit)
      from  30a9c263e61fa56df113230d5ef06775edc38e85 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 81d36efbe8718d9008bf4b1ea05838ff371c849e
Merge: 30a9c26 eda7583
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Thu Mar 10 15:11:00 2011 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |  264 ++
 gdb/Makefile.in                                    |   28 +-
 gdb/ada-lang.c                                     |    3 +-
 gdb/ada-valprint.c                                 |   20 +-
 gdb/arm-linux-tdep.c                               |    5 +-
 gdb/arm-tdep.c                                     |  162 +-
 gdb/arm-tdep.h                                     |    3 +-
 gdb/cli/cli-cmds.c                                 |    7 +-
 gdb/coffread.c                                     |   16 +-
 gdb/common/Makefile.in                             |  115 -
 gdb/common/configure                               | 4115 --------------------
 gdb/common/configure.ac                            |   74 -
 gdb/configure                                      |    3 -
 gdb/configure.ac                                   |    1 -
 gdb/dbxread.c                                      |    1 +
 gdb/dwarf2loc.c                                    |    1 +
 gdb/dwarf2read.c                                   |    1 -
 gdb/elfread.c                                      |   56 +-
 gdb/fbsd-nat.c                                     |    2 +-
 gdb/frame.c                                        |    8 +
 gdb/frame.h                                        |    3 +
 gdb/gdbserver/ChangeLog                            |   24 +
 gdb/gdbserver/Makefile.in                          |   61 +-
 gdb/gdbserver/configure                            |   93 -
 gdb/gdbserver/configure.ac                         |    1 -
 gdb/gdbserver/remote-utils.c                       |    2 +-
 gdb/gdbserver/tracepoint.c                         |    2 +-
 gdb/i386-tdep.c                                    |   62 +-
 gdb/inferior.c                                     |   14 +-
 gdb/infrun.c                                       |   17 +-
 gdb/linux-fork.c                                   |    9 +-
 gdb/linux-nat.c                                    |    2 +-
 gdb/machoread.c                                    |    1 +
 gdb/main.c                                         |   13 +-
 gdb/mi/mi-cmd-disas.c                              |    4 +
 gdb/mi/mi-cmd-env.c                                |    1 +
 gdb/minsyms.c                                      |    7 +-
 gdb/mipsread.c                                     |    1 +
 gdb/nto-tdep.c                                     |   11 +-
 gdb/objc-lang.c                                    |   10 +-
 gdb/objfiles.c                                     |    9 +-
 gdb/objfiles.h                                     |    5 +
 gdb/procfs.c                                       |    2 +-
 gdb/psympriv.h                                     |    6 -
 gdb/psymtab.c                                      |   88 +-
 gdb/psymtab.h                                      |    8 +
 gdb/record.c                                       |    4 +-
 gdb/remote-m32r-sdi.c                              |   10 +-
 gdb/remote.c                                       |   11 +-
 gdb/ser-unix.c                                     |    5 +-
 gdb/somread.c                                      |    1 +
 gdb/symfile.c                                      |   26 +-
 gdb/symfile.h                                      |   13 +-
 gdb/target.c                                       |   66 +-
 gdb/target.h                                       |   14 +-
 gdb/testsuite/ChangeLog                            |  109 +
 gdb/testsuite/Makefile.in                          |    4 +
 gdb/testsuite/gdb.ada/catch_ex.exp                 |    2 +-
 gdb/testsuite/gdb.ada/tasks.exp                    |    5 +-
 gdb/testsuite/gdb.arch/ppc-dfp.exp                 |    2 +-
 gdb/testsuite/gdb.base/a2-run.exp                  |   18 +-
 gdb/testsuite/gdb.base/attach.exp                  |    4 +-
 gdb/testsuite/gdb.base/bang.exp                    |    2 +-
 gdb/testsuite/gdb.base/break-interp.exp            |    4 +-
 gdb/testsuite/gdb.base/call-signal-resume.exp      |    2 +-
 gdb/testsuite/gdb.base/catch-syscall.exp           |    5 +-
 gdb/testsuite/gdb.base/checkpoint.exp              |   10 +-
 gdb/testsuite/gdb.base/chng-syms.exp               |    2 +-
 gdb/testsuite/gdb.base/ending-run.exp              |    8 +-
 gdb/testsuite/gdb.base/exe-lock.exp                |    4 +-
 gdb/testsuite/gdb.base/gdb1555.exp                 |    2 +-
 gdb/testsuite/gdb.base/interrupt.exp               |    2 +-
 gdb/testsuite/gdb.base/langs.exp                   |    8 +-
 gdb/testsuite/gdb.base/memattr.exp                 |   80 +-
 gdb/testsuite/gdb.base/reread.exp                  |    3 +-
 gdb/testsuite/gdb.base/shlib-call.exp              |    4 +-
 gdb/testsuite/gdb.base/siginfo.exp                 |    2 +-
 gdb/testsuite/gdb.base/sigstep.exp                 |   10 +-
 gdb/testsuite/gdb.base/step-test.exp               |    2 +-
 gdb/testsuite/gdb.base/term.exp                    |    2 +-
 gdb/testsuite/gdb.cell/fork.exp                    |    3 +-
 gdb/testsuite/gdb.cp/annota2.exp                   |    2 +-
 gdb/testsuite/gdb.cp/annota3.exp                   |    8 +-
 gdb/testsuite/gdb.cp/mb-inline.exp                 |    4 +-
 gdb/testsuite/gdb.cp/mb-templates.exp              |    2 +-
 gdb/testsuite/gdb.cp/method.exp                    |    4 +-
 gdb/testsuite/gdb.hp/gdb.defects/solib-d.exp       |    4 +-
 gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp       |    4 +-
 gdb/testsuite/gdb.hp/gdb.objdbg/objdbg02.exp       |    4 +-
 gdb/testsuite/gdb.python/py-prettyprint.exp        |    2 +-
 gdb/testsuite/gdb.server/ext-run.exp               |    5 +
 gdb/testsuite/gdb.threads/execl.exp                |    3 +-
 .../gdb.threads/interrupted-hand-call.exp          |    3 +-
 gdb/testsuite/gdb.threads/print-threads.exp        |    4 +-
 gdb/testsuite/gdb.threads/step.exp                 |    6 +-
 .../gdb.threads/thread-unwindonsignal.exp          |    3 +-
 gdb/testsuite/gdb.threads/tls.exp                  |    2 +-
 gdb/testsuite/gdb.trace/report.exp                 |   20 +-
 gdb/testsuite/lib/cell.exp                         |    6 +-
 gdb/testsuite/lib/gdb.exp                          |   52 +-
 gdb/testsuite/lib/mi-support.exp                   |    3 +-
 gdb/testsuite/lib/opencl.exp                       |    5 +-
 gdb/thread.c                                       |   16 +-
 gdb/tui/tui-io.c                                   |   22 +-
 gdb/version.in                                     |    2 +-
 gdb/xcoffread.c                                    |    1 +
 gdb/xtensa-tdep.c                                  |  552 +++-
 gdb/xtensa-tdep.h                                  |    2 +-
 109 files changed, 1572 insertions(+), 4961 deletions(-)
 delete mode 100644 gdb/common/Makefile.in
 delete mode 100755 gdb/common/configure
 delete mode 100644 gdb/common/configure.ac

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 6765a93..fa3bbd0 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110307
+#define BFD_VERSION_DATE 20110309
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4887026..c6472e8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,267 @@
+2011-03-09  Michael Snyder  <msnyder@vmware.com>
+
+	* mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak.
+
+2011-03-09  Pedro Alves  <pedro@codesourcery.com>
+
+	* nto-tdep.c (nto_find_and_open_solib): Constify local `base'.
+
+2011-03-09  Tom Tromey  <tromey@redhat.com>
+
+	* thread.c (restore_selected_frame): Handle frame_level == -1.
+	(make_cleanup_restore_current_thread): Use
+	get_selected_frame_if_set.
+	* frame.h (get_selected_frame_if_set): Declare.
+	* frame.c (get_selected_frame_if_set): New function.
+
+2011-03-09  Pedro Alves  <pedro@codesourcery.com>
+
+	* cli/cli-cmds.c (shell_escape): Use lbasename.
+	* coffread.c (coff_start_symtab): Constify parameter.
+	(complete_symtab): Constify `name' parameter.
+	(coff_symtab_read): Constify `filestring' local.
+	(coff_getfilename): Constify return and `result' local.
+	Use lbasename.
+	* fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename.
+	* linux-fork.c (info_checkpoints_command): Use lbasename.
+	* linux-nat.c (linux_nat_make_corefile_notes): Use lbasename.
+	* minsyms.c (lookup_minimal_symbol): Use lbasename.
+	* nto-tdep.c (nto_find_and_open_solib): Use lbasename.
+	* procfs.c (procfs_make_note_section): Use lbasename.
+	* tui/tui-io.c (printable_part): Constity return and parameter.
+	Use lbasename.
+	(print_filename): Constify parameters, and local `s'.
+	(tui_rl_display_match_list): Constify local `temp'.
+
+2011-03-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Revert:
+	2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+	Fix DWARF-3+ DW_AT_accessibility default assumption.
+	* dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
+	cu->header.version >= 3.
+
+2011-03-09  Yao Qi  <yao@codesourcery.com>
+
+	* common/Makefile.in: Remove.
+	* common/configure: Remove.
+	* common/configure.ac: Remove.
+
+2011-03-09  Yao Qi  <yao@codesourcery.com>
+
+	Revert:
+	2011-02-11  Yao Qi  <yao@codesourcery.com>
+
+	* common/Makefile.in: Add copyright header.
+
+	2011-02-11  Yao Qi  <yao@codesourcery.com>
+
+	* Makefile.in: Remove signals.o from COMMON_OBS.  Link
+	libcommon.a.
+	* configure.ac: Add common to sub dir.
+	* configure: Regenerate.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (call0_ret): New function.
+	(xtensa_skip_prologue): Speed up analysis.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers
+	while executing MI command -data-list-changed-registers.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (xtensa_read_register): New function.
+	(xtensa_write_register): New function.
+	(xtensa_find_register_by_name): New function.
+	(xtensa_windowed_frame_cache): Update comments in type description.
+	(xtensa_frame_cache): Likewise.
+	(xtensa_window_interrupt_insn): New function.
+	(xtensa_frame_cache): Add analysis for Xtensa Window Exception frames.
+	(xtensa_insn_kind): Add new instructions.
+	(rwx_special_register): New function.
+	(call0_classify_opcode): Add new instructions to the analysis.
+	(a0_saved, a7_saved, a11_saved): New variables.
+	(a0_was_saved, a7_was_saved, a11_was_saved): New variables.
+	(execute_l32e): New function.
+	(execute_s32e): New function.
+	(xtensa_exception_handler_t): New type.
+	(execute_code): New function.
+	(xtensa_window_interrupt_frame_cache): New function to conduct frame
+	analysis for Xtensa Window Exception handlers.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (TX_PS): New.
+	(windowing_enabled): Update to count for Call0 ABI.
+	(xtensa_hextochar): New.
+	(xtensa_init_reggroups): Make algorithm generic.
+	(xtensa_frame_cache): Use TX_PS on Tiny Xtensa.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): Update.
+
+2011-03-08  Michael Snyder  <msnyder@vmware.com>
+
+	* i386-tdep.c (i386_follow_jump): Check return value of
+	target_read_memory.
+	(i386_analyze_struct_return): Ditto.
+	(i386_skip_probe): Ditto.
+	(i386_match_insn): Ditto.
+	(i386_skip_noop): Ditto.
+	(i386_analyze_frame_setup): Ditto.
+	(i386_analyze_register_saves): Ditto.
+	(i386_skip_prologue): Ditto.
+	(i386_skip_main_prologue): Ditto.
+
+	* target.c (read_whatever_is_readable): Fix memory leak.
+
+	* i386-tdep.c (i386_process_record): Document fall through.
+
+2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Fix DWARF-3+ DW_AT_accessibility default assumption.
+	* dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
+	cu->header.version >= 3.
+
+2011-03-08  Pedro Alves  <pedro@codesourcery.com>
+
+	* remote.c (remote_check_symbols): Skip if the target has no
+	execution.
+
+2011-03-08  Joel Brobecker  <brobecker@adacore.com>
+
+	* target.c (read_whatever_is_readable): Reformat comment,
+	with a minor typo fix. Minor reformatting of the code.
+
+2011-03-08  Yao Qi  <yao@codesourcery.com>
+
+	* arm-tdep.c: Remove prototype declaration displaced_in_arm_mode.
+	(displaced_read_reg): Add `dsc' parameter, remove `from' parameter.
+	Use cached result instead of calling displaced_in_arm_mode again.
+	(branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter.
+	(displaced_write_reg, copy_preload, copy_preload_reg): Callers update.
+	(cleanup_copro_load_store, copy_copro_load_store): Likewise.
+	(cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise.
+	(cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise.
+	(copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise.
+	(copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise.
+	(cleanup_block_load_all, cleanup_block_store_pc): Likewise.
+	(cleanup_block_load_pc, copy_block_xfer): Likewise.
+	* arm-linux-tdep.c (arm_linux_copy_svc): Callers update.
+	(arm_catch_kernel_helper_return): Likewise.
+	* gdb/arm-tdep.h : Update function declarations.
+
+2011-03-07  Michael Snyder  <msnyder@vmware.com>
+
+	* dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null.
+
+	* ser-unix.c (hardwire_get_tty_state): Stop memory leak.
+
+	* mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment.
+
+	* elfread.c (elf_symtab_read): Stop memory leak.
+
+	* main.c (captured_main): Fix memory leak.
+
+2011-03-07  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* ada-lang.c (compare_names): Call is_name_suffix with string1
+	instead of string2.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+	* xcoffread.c (xcoff_sym_fns): Update.
+	* symfile.h (struct sym_fns) <sym_read_psymbols>: New field.
+	(enum symfile_add_flags) <SYMFILE_NO_READ>: New constant.
+	* symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ.
+	(symbol_file_add_with_addrs_or_offsets): Likewise.
+	(reread_symbols): Handle OBJF_PSYMTABS_READ.
+	* somread.c (som_sym_fns): Update.
+	* psymtab.h (require_partial_symbols): Declare.
+	* psymtab.c (require_partial_symbols): New function.
+	(ALL_OBJFILE_PSYMTABS_REQUIRED): New macro.
+	(ALL_OBJFILE_PSYMTABS): Undef.
+	(ALL_PSYMTABS): Move from psympriv.h.
+	(lookup_partial_symtab, find_pc_sect_psymtab)
+	(lookup_symbol_aux_psymtabs, relocate_psymtabs)
+	(find_last_source_symtab_from_partial)
+	(forget_cached_source_info_partial)
+	(print_psymtab_stats_for_objfile, read_symtabs_for_function)
+	(expand_partial_symbol_tables, read_psymtabs_with_filename)
+	(map_symbol_names_psymtab, map_symbol_filenames_psymtab)
+	(find_symbol_file_from_partial, map_matching_symbols_psymtab)
+	(expand_symtabs_matching_via_partial, maintenance_info_psymtabs):
+	Use ALL_OBJFILE_PSYMTABS_REQUIRED.
+	* psympriv.h (ALL_PSYMTABS): Move to psymtab.c.
+	* objfiles.h (OBJF_PSYMTABS_READ): New macro.
+	* objfiles.c (objfile_has_partial_symbols): Handle lazily-read
+	psymtabs.
+	* mipsread.c (ecoff_sym_fns): Update.
+	* machoread.c (macho_sym_fns): Update.
+	* elfread.c (elf_symfile_read): Set up for lazy psymtab reading.
+	(read_psyms): New function.
+	(elf_sym_fns, elf_sym_fns_gdb_index): Update.
+	(elf_sym_fns_lazy_psyms): New global.
+	* dwarf2read.c (dwarf2_initialize_objfile): Don't call
+	dwarf2_build_psymtabs.
+	* dbxread.c (aout_sym_fns): Update.
+	* coffread.c (coff_sym_fns): Update.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+	* infrun.c (print_exited_reason): Include inferior id and pid in
+	message.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+	* target.h (struct target_ops) <to_has_execution>: Add ptid_t
+	parameter.
+	(target_has_execution_1): Update.
+	(target_has_execution_current): Declare.
+	(target_has_execution): Call target_has_execution_current.
+	(default_child_has_execution): Update.
+	* target.c (default_child_has_execution): Add 'the_ptid'
+	parameter.
+	(target_has_execution_1): Likewise.
+	(target_has_execution_current): New function.
+	(add_target): Update.
+	(init_dummy_target): Update.
+	* remote-m32r-sdi.c (m32r_has_execution): New function.
+	(init_m32r_ops): Use it.
+	* record.c (record_core_has_execution): Now static.  Add
+	'the_ptid' parameter.
+	* inferior.c (have_live_inferiors): Don't save current thread.
+	Use target_has_execution_1.
+
+2011-03-07  Yao Qi  <yao@codesourcery.com>
+
+	* Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4.
+
+2011-03-07  Joel Brobecker  <brobecker@adacore.com>
+
+	* elfread.c (elf_symtab_read): Minor reformatting.
+
+2011-03-07  Joel Brobecker  <brobecker@adacore.com>
+
+	* objc-lang.c (selectors_info): Minor reformatting.
+
+2011-03-07  Joel Brobecker  <brobecker@adacore.com>
+
+	* ada-lang.c (compare_names): Add FALLTHROUGH comment.
+
+2011-03-07  Joel Brobecker  <brobecker@adacore.com>
+	    Michael Snyder  <msnyder@vmware.com>
+
+	* ada-valprint.c (ada_val_print_array): Move the declaration of
+	"byte_order" and "elttype" inside the block where these variables
+	are actually used.  Remove some special handling for the case
+	where "elttype" and "eltlen" are null.  Replace by a comment
+	and a couple of assertion checks.
+
 2011-03-05  Michael Snyder  <msnyder@vmware.com>
 
 	* source.c (add_path): Replace semicolon at end of block.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 00d624f..489b1e9 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -88,8 +88,6 @@ DEPMODE = @CCDEPMODE@
 DEPDIR = @DEPDIR@
 depcomp = $(SHELL) $(srcdir)/../depcomp
 
-PWD_COMMAND = $${PWDCMD-pwd}
-
 # Note that these are overridden by GNU make-specific code below if
 # GNU make is used.  The overrides implement dependency tracking.
 COMPILE.pre = $(CC)
@@ -142,10 +140,6 @@ LIBDECNUMBER = $(LIBDECNUMBER_DIR)/libdecnumber.a
 LIBDECNUMBER_SRC = $(srcdir)/$(LIBDECNUMBER_DIR)
 LIBDECNUMBER_CFLAGS = -I$(LIBDECNUMBER_DIR) -I$(LIBDECNUMBER_SRC)
 
-LIBCOMMON_DIR = common
-LIBCOMMON = $(LIBCOMMON_DIR)/libcommon.a
-LIBCOMMON_SRC = $(srcdir)/$(LIBCOMMON_DIR)
-
 # Where is the READLINE library?  Typically in ../readline.
 READLINE_DIR = ../readline
 READLINE_SRC = $(srcdir)/$(READLINE_DIR)
@@ -473,10 +467,9 @@ INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_
 CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \
 	$(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ @PYTHON_LIBS@ \
 	$(LIBEXPAT) \
-	$(LIBIBERTY) $(WIN32LIBS) $(LIBGNU) $(LIBCOMMON)
+	$(LIBIBERTY) $(WIN32LIBS) $(LIBGNU)
 CDEPS = $(XM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \
-	$(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU) \
-        $(LIBCOMMON)
+	$(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU)
 
 ADD_FILES = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
 ADD_DEPS = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
@@ -861,6 +854,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
 	memattr.o mem-break.o target.o parse.o language.o buildsym.o \
 	findcmd.o \
 	std-regs.o \
+	signals.o \
 	exec.o reverse.o \
 	bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o \
 	dbxread.o coffread.o coff-pe-read.o \
@@ -903,7 +897,7 @@ CLEANDIRS = $(SUBDIRS) gnulib
 # This is used to force build failures in existing trees when
 # a new directory is added.
 # The format here is for the `case' shell command.
-REQUIRED_SUBDIRS = doc | testsuite | gnulib | data-directory | common
+REQUIRED_SUBDIRS = doc | testsuite | gnulib | data-directory
 
 # For now, shortcut the "configure GDB for fewer languages" stuff.
 YYFILES = c-exp.c \
@@ -1170,10 +1164,6 @@ all-lib: gnulib/Makefile
 	@$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=gnulib subdir_do
 .PHONY: all-lib
 
-# 
-$(LIBCOMMON): $(LIBCOMMON_DIR)/Makefile
-	@$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=common subdir_do
-
 # Convenience rule to handle recursion.
 .PHONY: all-data-directory
 all-data-directory: data-directory/Makefile
@@ -1330,7 +1320,6 @@ aclocal_m4_deps = \
 	gnulib/m4/include_next.m4 \
 	gnulib/m4/longlong.m4 \
 	gnulib/m4/memchr.m4 \
-	gnulib/m4/memcmp.m4 \
 	gnulib/m4/memmem.m4 \
 	gnulib/m4/onceonly_2_57.m4 \
 	gnulib/m4/stdint.m4 \
@@ -1913,6 +1902,15 @@ mi-common.o: $(srcdir)/mi/mi-common.c
 	$(COMPILE) $(srcdir)/mi/mi-common.c
 	$(POSTCOMPILE)
 
+# gdb/common/ dependencies
+#
+# Need to explicitly specify the compile rule as make will do nothing
+# or try to compile the object file into the sub-directory.
+
+signals.o: $(srcdir)/common/signals.c
+	$(COMPILE) $(srcdir)/common/signals.c
+	$(POSTCOMPILE)
+
 #
 # gdb/tui/ dependencies
 #
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index d0a1014..ed51ab0 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -4757,11 +4757,12 @@ compare_names (const char *string1, const char *string2)
     case '_':
       if (*string2 == '\0')
 	{
-	  if (is_name_suffix (string2))
+	  if (is_name_suffix (string1))
 	    return 0;
 	  else
 	    return -1;
 	}
+      /* FALLTHROUGH */
     default:
       if (*string2 == '(')
 	return strcmp_iw_ordered (string1, string2);
diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c
index 9381ecc..09266ce 100644
--- a/gdb/ada-valprint.c
+++ b/gdb/ada-valprint.c
@@ -605,25 +605,25 @@ ada_val_print_array (struct type *type, const gdb_byte *valaddr,
 		     const struct value *val,
 		     const struct value_print_options *options)
 {
-  enum bfd_endian byte_order = gdbarch_byte_order (get_type_arch (type));
-  struct type *elttype = TYPE_TARGET_TYPE (type);
   int result = 0;
 
   /* For an array of chars, print with string syntax.  */
   if (ada_is_string_type (type)
       && (options->format == 0 || options->format == 's'))
     {
+      enum bfd_endian byte_order = gdbarch_byte_order (get_type_arch (type));
+      struct type *elttype = TYPE_TARGET_TYPE (type);
       unsigned int eltlen;
       unsigned int len;
 
-      if (elttype == NULL)
-        eltlen = 0;
-      else
-        eltlen = TYPE_LENGTH (elttype);
-      if (eltlen == 0)
-        len = 0;
-      else
-        len = TYPE_LENGTH (type) / eltlen;
+      /* We know that ELTTYPE cannot possibly be null, because we found
+	 that TYPE is a string-like type.  Similarly, the size of ELTTYPE
+	 should also be non-null, since it's a character-like type.  */
+      gdb_assert (elttype != NULL);
+      gdb_assert (TYPE_LENGTH (elttype) != 0);
+
+      eltlen = TYPE_LENGTH (elttype);
+      len = TYPE_LENGTH (type) / eltlen;
 
       if (options->prettyprint_arrays)
         print_spaces_filtered (2 + 2 * recurse, stream);
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index f60ecc3..2f3109c 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -801,11 +801,10 @@ static int
 arm_linux_copy_svc (struct gdbarch *gdbarch, uint32_t insn, CORE_ADDR to,
 		    struct regcache *regs, struct displaced_step_closure *dsc)
 {
-  CORE_ADDR from = dsc->insn_addr;
   CORE_ADDR return_to = 0;
 
   struct frame_info *frame;
-  unsigned int svc_number = displaced_read_reg (regs, from, 7);
+  unsigned int svc_number = displaced_read_reg (regs, dsc, 7);
   int is_sigreturn = 0;
 
   if (debug_displaced)
@@ -918,7 +917,7 @@ arm_catch_kernel_helper_return (struct gdbarch *gdbarch, CORE_ADDR from,
      Insn: ldr pc, [r14, #4]
      Cleanup: r14 <- tmp[0], pc <- tmp[0].  */
 
-  dsc->tmp[0] = displaced_read_reg (regs, from, ARM_LR_REGNUM);
+  dsc->tmp[0] = displaced_read_reg (regs, dsc, ARM_LR_REGNUM);
   displaced_write_reg (regs, dsc, ARM_LR_REGNUM, (ULONGEST) to + 4,
 		       CANNOT_WRITE_PC);
   write_memory_unsigned_integer (to + 8, 4, byte_order, from);
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 2cf2eec..7796176 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -5111,16 +5111,16 @@ arm_adjust_breakpoint_address (struct gdbarch *gdbarch, CORE_ADDR bpaddr)
 /* NOP instruction (mov r0, r0).  */
 #define ARM_NOP				0xe1a00000
 
-static int displaced_in_arm_mode (struct regcache *regs);
-
 /* Helper for register reads for displaced stepping.  In particular, this
    returns the PC as it would be seen by the instruction at its original
    location.  */
 
 ULONGEST
-displaced_read_reg (struct regcache *regs, CORE_ADDR from, int regno)
+displaced_read_reg (struct regcache *regs, struct displaced_step_closure *dsc,
+		    int regno)
 {
   ULONGEST ret;
+  CORE_ADDR from = dsc->insn_addr;
 
   if (regno == ARM_PC_REGNUM)
     {
@@ -5130,7 +5130,7 @@ displaced_read_reg (struct regcache *regs, CORE_ADDR from, int regno)
 	 - When executing a Thumb instruction, PC reads as the address of the
 	 current instruction plus 4.  */
 
-      if (displaced_in_arm_mode (regs))
+      if (!dsc->is_thumb)
 	from += 8;
       else
 	from += 4;
@@ -5164,9 +5164,10 @@ displaced_in_arm_mode (struct regcache *regs)
 /* Write to the PC as from a branch instruction.  */
 
 static void
-branch_write_pc (struct regcache *regs, ULONGEST val)
+branch_write_pc (struct regcache *regs, struct displaced_step_closure *dsc,
+		 ULONGEST val)
 {
-  if (displaced_in_arm_mode (regs))
+  if (!dsc->is_thumb)
     /* Note: If bits 0/1 are set, this branch would be unpredictable for
        architecture versions < 6.  */


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2011-03-07  8:49 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2011-03-07  8:49 UTC (permalink / raw)
  To: archer-commits

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 63596 bytes --]

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  4a9147d74d8eecb3b3b7edb5aa61ec772c27838f (commit)
       via  990ed04e24edcb0c508fb6343eed8421c3fed988 (commit)
       via  34ea7968ce196d8b967e0b6f5ac75f043bb5d3db (commit)
       via  a5236f47cb82e12f4d1e5a4e7b219d75d5c7a916 (commit)
       via  6163b7829ab7403041ad4e4b0a2f0791dca1602e (commit)
       via  64cfa2f8a5b9c9b0e93034e358e3b4c364fb7fd8 (commit)
       via  dbf8a94cf0b4e1874969be8436b9474ccc3cba0f (commit)
       via  f8b0f11294d7f8d5cf7d1e494b46eadb55191c59 (commit)
       via  3a956f99ebac41f4066f6f238dbfc78483a211ed (commit)
       via  09848fc001acdf0661b735a6b8ab2772da8ec4e9 (commit)
       via  274454609d032a0a5ef054e2e61e0fd8805df295 (commit)
       via  b530550b8c6dde9a01b54832e393f63efbbe6051 (commit)
       via  cf1feff15b48fb9d83aa22317e18a5759c1f734b (commit)
       via  7d8a7543f4b30578d967c8e32b490ad25cfb38b8 (commit)
       via  895f6fcbf7bcce233840c5f1f262cd6e6ef5af57 (commit)
       via  73eb00f5435c4d7289c40f5ac19820b2099701e0 (commit)
       via  19d40f47fbfcfa70eb2658b5857b82725a3fb7aa (commit)
       via  a7a4525a6e65b4b75c879867600e5a639fb00cd3 (commit)
       via  76968cd942941b6020bffc90bb3f2318932c29a8 (commit)
       via  b37a4146f4df237f2231e091ef9d8111a4905518 (commit)
       via  c9b457b27759bcdb9fecd960957345d0d3c86064 (commit)
       via  a87a7f2c898ba901ffa25e6abd809f4397b60d1d (commit)
       via  ebd43e11859d3fee7f5b124798dc871c9a099825 (commit)
       via  12eaf82ccac1f4aa0d6c97c5d9b4773331153eb9 (commit)
       via  0cca6cb4318a8c65c6ab32dcb9f61ef6fbf71248 (commit)
       via  b6adc4bf9a851f22a3a848183d544233a1bb199a (commit)
       via  77c866e72368ad166cb9e9036346188741e274bd (commit)
       via  4434566b2eabcac263365d9a6cc8235f17301d2d (commit)
       via  13506d14f7186a874f6ac100dc89a98ade3ac0bb (commit)
       via  567449a00c676854c62ce5a729ba1437238c8357 (commit)
       via  f033fcb9b2e57511919fc0987fb3b7dd2662610e (commit)
       via  0fe72a953243d7f1b1f1c2d665936a7ffaad76d2 (commit)
       via  90e7e2bd6153028219b189bc2d9b8e862af8137e (commit)
       via  20348fce11f4efd2d177ac2c1e562deb8246bf37 (commit)
       via  daa59a3ec50fe82c2e8a51745c9e64f2e2424c29 (commit)
       via  df80e5624b8f6034af9686dedc52b576c4d8bd1f (commit)
       via  50ef7a70871caa838fe6fa4575fe931ced2e3cb2 (commit)
       via  efeda4c13365b964de92123df193723fa26e02c1 (commit)
       via  dbece6b30e561cf136d7505469315ba9489fbeab (commit)
       via  c2a77d08fbd7ad51be0c9c3bc8d3dee9ca9d62a5 (commit)
       via  55070178fae932e723555605f8bb07e530fb438e (commit)
       via  7b1eead1edd8cf6f2f0b6a063e1b208624c3f78c (commit)
       via  e216df5fdeb79ed3023629ec4ec113f2a376f67b (commit)
       via  ce67cacef161be2bfb564d30102895970c8fecbf (commit)
       via  d6cf8083cd1b9f34c4a4b0acb140a82e420c2858 (commit)
       via  7ae2da53bda15b472eac647d746de6809dde2750 (commit)
       via  b98f2737fc7aa43ea5a1e82805e488df2eb9c76f (commit)
       via  9fd44d9cc54a215430d02501df91cb26aeee0422 (commit)
       via  5dc548a3814fc4a197a52a1d5db98a2a13ad4304 (commit)
       via  236d899d77e6d8450f316d3e79b036870903ef86 (commit)
       via  35ae39fa95c12c2372e93001e1f17fb89cbef9dc (commit)
       via  ea9b5567eac6f8776ba55424b1cbac1cbec8b720 (commit)
       via  77704734b8d87e4aeaeb89740678ccf5789b6f66 (commit)
       via  7873ed2ce9db6a489626449d53fc45a10dadc0f6 (commit)
       via  d1703457aecbebcd9b3f93c99d7fc4600e55ee27 (commit)
       via  1711a09102f66a5af0f9694677034cecc2ea1694 (commit)
       via  232c22877d7bf70641ec15521bddb5ebcc7b6355 (commit)
       via  938e179b4dcd4169f1d382484b8d843447c045aa (commit)
       via  b3f7901d7fb661b8320af5fbdc60c9a25f451b22 (commit)
       via  8591831e402c0f1ff9b5ae3366b7cb3201d64762 (commit)
       via  904b297d1e06a0730bd85388658b72ef9641d91e (commit)
       via  7cf66615213dc3e66b97adbc783a84bdc494f329 (commit)
       via  027945ee45479b3a1df469981fe4c5d58bbb2ba0 (commit)
       via  56f50d1a90674128b17d952c5580ec2acce7f77b (commit)
       via  5c10c19b1ea641c512cf7c2ab7650f083b8c7501 (commit)
       via  40ceea553f50717898292ba68b9630978aa49147 (commit)
       via  d3290ce50f7f9ce0a391d88d1f2cbc992397e91c (commit)
       via  e2d44e19f97ffa06c7a7332ec2bcc860ef23e673 (commit)
       via  8712f6b3a7ed51bbbd99f0e820f566ac4528e7e6 (commit)
       via  2dba2ad3a38a563e8a7d28a4d1296dfab4955994 (commit)
       via  e4a866e5deacf2bf6cafcd462d41667e6fa032ca (commit)
       via  a3e4477602283c0e534ca49af0bf09b256a50bf0 (commit)
       via  8147ac0f74fb888fe6b66729c812c151307c7d5e (commit)
       via  27c6a7ace80352e27afa0fee7341809766a13d2e (commit)
       via  76fbea1ea7d8e78d12159d29415ffe1c1f70df62 (commit)
       via  896c70ff4495c636f6a8d5ec62532171fc995f35 (commit)
       via  9c4c7281a984ab95019192d462f864b123a2ad1c (commit)
       via  714ad9e033af3d06d35ef6ce937dabe55dfa968e (commit)
       via  0bfb840a31a370ce586953c254baaca97b9f46d9 (commit)
       via  b163c9501437a4f6632da009f33d8a2197918898 (commit)
       via  185d8b9ecf6ad00878a9e5bd147b88bd257da666 (commit)
       via  bc2fb752d086693dac4cf5ad0ec0ddb20fb0a173 (commit)
       via  083ad2b6bbab3514f395cddbabec2cd78a1d97da (commit)
       via  851ad17489934b63a1bd2f7e853362b9c452c60b (commit)
       via  b99e17372d6ff13344989ae6ca42018f3f841b69 (commit)
       via  599a69da541fa51f8aa370bb4b3c23fd57df3f9a (commit)
       via  ee92d7522f5402094ef0bd00adb12e1a48383e0a (commit)
       via  1620f3d8a92f0560deb3152d491f82e5020ac6ca (commit)
       via  9f251d2cc1260a969d74bb5af7c8da9ac88a7fc6 (commit)
       via  7fe4036ca49d8b56e20dca06b549fc172e988622 (commit)
       via  a48c58eda29c4f3883e31abef174d07fe438ffa6 (commit)
       via  75dd2c60feb420ddded746cf0a474116f71e3933 (commit)
       via  1f78c5a06d3028c9ec35d0b4694e5637f4dac492 (commit)
       via  8dd6af5bbf0050da8252ca047b1fb83e009f3aa7 (commit)
       via  2df9e44b5cbf60749dc200a3fd08c198602b84f0 (commit)
       via  0bf07cb790909a1eac146b28c7533aeeb389a64f (commit)
       via  a9fd35627defc77e0864835ebaa95785c0cb70b0 (commit)
       via  32ae5aedbc0a47689187febe7c5f40d660f91a59 (commit)
       via  7995dce02b043621f47a0c66f59736ec7680f5e7 (commit)
       via  afa6b8c846e6a3db1ca18c42a26d7ced07a10d7f (commit)
       via  6a0d06588da416c7f04a7ad1c2c54d0fa6274827 (commit)
       via  35986752ec17df5f88b1a123e8fe0047beb7ca31 (commit)
       via  eb68b71cf4c568b194f79acb2ab9fc0c1733b008 (commit)
       via  5e1f4fb9c743a46027bfa63c6fa3f92d0a087956 (commit)
       via  03819d4bd4ff37d538aa0a928d32570ddaad0d97 (commit)
       via  2a703092846f7572742e6bf7c8427e3aa9fe0bf7 (commit)
       via  e0677154001c5bba64fe988c4aca1c3bdc670949 (commit)
       via  736fab2e600de4c6b0956bc350bf9c6e52c4e549 (commit)
       via  e1805d140a1c3713beef932ae123a22fbe490feb (commit)
       via  e2e74595b709330baff98857221caafbea3bd4a8 (commit)
       via  1fa24e9d8a432c7b03ee53f21eec3397977dac5a (commit)
       via  33753101fec26b9e24032a1dc353c0cfe4fc2ed6 (commit)
       via  e81c6b73f804398744e85017b64808293d92bfca (commit)
       via  f9bbbacaf84c07c92a2a508c0d5a8874ab9f5264 (commit)
       via  04b9c732a99a2b716432a3016a8b52e81dba179a (commit)
       via  66328c61d23f35f5738ba1baa945e4cad9235828 (commit)
       via  a7920b13f9205c02b6439ad421d18c0349cac60b (commit)
       via  241480d8d37124c87d214ff03804422101d9e73e (commit)
       via  f53409968e3e2589da115cebb7beb6e51f69fe23 (commit)
       via  52c20dc91c671a38e2ab9162902d390108998f28 (commit)
       via  eb1a99a5e0ddc33ff30d899f9769e526ffe191e1 (commit)
       via  ea3a017f48b1df31039fc19db01d75ec18ce5ece (commit)
       via  1551b89a191ccb6be85ed229986aab13b0b2c29f (commit)
       via  9aa0d28f79691469c12aaf151b99911211317fac (commit)
       via  a8a0b9ac2053664cf98b67513644abafbedbd8ae (commit)
       via  b9b4fa36ec41efd5efea38d53173a52af9b9bb9a (commit)
       via  996fac49cd48aa95477dbff6af6628901820cc73 (commit)
       via  8669d7b6833e0fef879ceb8d609e7b4212ebb78c (commit)
       via  3087ad20ead8e985a76a47687e578f1d21cdb1d5 (commit)
       via  3ad6f2a23fb6bca83a15620b5be699ed31a1bab4 (commit)
       via  cc5fc8d50694b4777521c3e7a11a85273a3c5975 (commit)
       via  d9ff58d313f33045ae8b1f21c7bc0d96c97a1a22 (commit)
       via  3586cd62d53a78ecbb688fb56810775561d4a5a2 (commit)
       via  13f4062e5e1ee615ff47e374a838719d56a0cef6 (commit)
       via  6a15a69c81244da2c6f8fd5f4ffc7e87a184bfe5 (commit)
       via  d052d8d33df04414db151c7a56855753bdf05599 (commit)
       via  47d7480b3973a5a77fa506a90a3272bb0bc5fc5a (commit)
       via  d14717728494bff5a5a36a32a3f16220bb6a908e (commit)
       via  d6d4afc5c9848b575ed0f61793e38658a26079ce (commit)
       via  8163e682004e5283fb8960ebf25cd6920380bf81 (commit)
       via  136a659a10fc923b13f7777ef4f90efe477001bb (commit)
       via  bf15b55fc96fcb532198008ed6b7c418baf9551a (commit)
       via  f35e3245a84b118eed55accff8af8d0ccbc875d8 (commit)
       via  34f69fb21fdceec180c2d99de8497f98c0a3e265 (commit)
       via  67bcfd2d976bc3376ebd54a8fdee8b20a9327e4a (commit)
       via  619a112d11a2bedc255b476c68a0d84afdf90b1f (commit)
       via  fe18f823cbbd4fb90b5d2925210049f454e72f7c (commit)
       via  46025c82d31f8005411e7c76aeba604aa2cea79d (commit)
       via  36485ab775bc9a758b40b8e3e77e0690f79d49e0 (commit)
       via  925f5671e74998e94cd128e02179d48204b060dc (commit)
       via  5b39881a981dd133b652510eb58d9b1bbf246eab (commit)
       via  9bfdf5ff8abcbc5f783afab13370386b93efb870 (commit)
       via  8373e02d8e40d4891a9e72becc05025315a96353 (commit)
       via  96eade91d3a3f6078b077b1e7708ff21d2716e7c (commit)
       via  7c3bf4874f7876a006ab8960934a219535013776 (commit)
       via  79f30d2b834c4451e97d105b342dc6d666de7e3b (commit)
       via  eed62ddc2c7e01a344d7527ebd474cfaa6d96068 (commit)
       via  fa9d55580873e7ec9ceb6a2790d483aabb589564 (commit)
       via  9b8b1216a728746dbe6acc04a303b43e3d041a67 (commit)
       via  563f9f6b154c1835c701d8d3c62f39fa1a3c97ed (commit)
       via  8626115a2d9b6376c07a1612f2d3fe9b767154c0 (commit)
       via  a3646fa8681721a4ba45d63edddfe9c7c54c8da5 (commit)
       via  20a97700b7405ea6d02dcb8d177a32d0fbf0018f (commit)
       via  fcb8f7c2a37606c91ddc9d7d9e3d4aae5c013475 (commit)
       via  7de7ee7de60cb8acf6d169d9de07bbaa7e521b3b (commit)
       via  727b3aaa6c744f9a47c06ad1bb209a277d6eef8f (commit)
       via  7100bf93e68783adfd2acfb3ef08d790a184a1e5 (commit)
       via  50e29c8989697976181cce3f6553c989754c9558 (commit)
       via  18685360b67b7650126479b4d706d0d754ba55d7 (commit)
       via  c0b28a21dceb5456c7013edc02e241297c030376 (commit)
       via  6aadda0137bb63162fc19707fe498957396abdcb (commit)
       via  07cbcaf14a327d41054620c8585fe72d153bb963 (commit)
       via  e95a0a9bf0afe088816b1e49b66d952e9835c543 (commit)
       via  62daee5c00c23719d0a44763cdff443dca513724 (commit)
       via  909a65aeb53bbe576c8abfbdb8742a27f3b8667b (commit)
       via  d5fedb173c8c363032965b7cb775b63a26c428da (commit)
       via  cdeba9189bff3df4d9960272c6c1ba7bca8af10f (commit)
       via  cb10834ff424afe024318c1c52e815aed12a291f (commit)
       via  ab14e648ba43e1217e5d498d3bef6d74ce12a1fa (commit)
       via  fafaf13337f94d6ce6f7715e09f4962c5a82df8e (commit)
       via  1900c52efc5aaf6cfa6add566739e19f8ea751c0 (commit)
       via  a57264517ef09fb62650b948e01aa713d48c3910 (commit)
       via  8bd2ba073a541ead833dd6592f9ec48392e506a9 (commit)
       via  a22de9cabf43402474aff50ce67ae3a1c2e0302d (commit)
       via  1f60f2400bfb83a9137c2f44257a52e47b7a905d (commit)
       via  2aedcc54cddbb33428affc714fb8a51d4416edf6 (commit)
       via  a08216b23ef31e26a30d3f9e3d4070efda1ced41 (commit)
       via  4ef85c9f86bef0f0b5f50cb9e9a56aba6f168c21 (commit)
       via  164e31cf9dd1a90500f6199c06e31f788e1c3b79 (commit)
       via  dbc21176c80d4354e66be0fd9a2c492738748db9 (commit)
       via  74e82dd2d59e83f897823ddc27386e7b6e87d49c (commit)
       via  6a68075223aa5f972c828b58e2426540b4bfb6cc (commit)
       via  9760e7fbdb9421e66f92fa2bee8c733138434c0c (commit)
       via  35f19dab587ce780030a45bdd3f6f764ebe37a35 (commit)
       via  26053571995689ef0f9e52a0c7ab4eae6c8a54a4 (commit)
       via  1ee55999132376109286fac48d0ec22104707f59 (commit)
       via  5925580b02ae1688b69e332e3f78a67613ea5acf (commit)
       via  cc2f895000bfeeaec30512259b5476d59df65483 (commit)
       via  6190a1a50580965521964916a5b8b78ae2a8f118 (commit)
       via  4591fad33019e7455166b61b933de3372ed079cd (commit)
       via  59a865cca319154f174699f0f8092143ef8dcbce (commit)
       via  39db203b0ea39da014d2507a9687befecc5e7292 (commit)
       via  b4f1a6c2346e5326d310f3c50ef387ca5864557c (commit)
       via  7df6e4924ef035feff403e53ae46ecabef869af3 (commit)
       via  d937037301e40716bd65b32d0296d91824874bbd (commit)
       via  e20a9657c7974065308e491db26b45f18544a219 (commit)
       via  e6401d52cc93dad698d924a430ebdc1295851fba (commit)
       via  9edef16cec41bc434dbae109ddba50c4bebe1ff4 (commit)
       via  6eea50e56d1513d7bd3ce4b6fcef7b04655865d9 (commit)
       via  365d63b832aa8b2453ae06f0d683abb1cb41afa9 (commit)
       via  ffe0466834c4e5186560451ed14f8f8ce5d2b4b3 (commit)
       via  49001b4fddfcffcce7479969494f421af203fe6c (commit)
       via  8cbcaaf7074652836d7180d09a672217b8c7f830 (commit)
       via  7970371c5937ee3eba41b8fc72cde55bb5dab216 (commit)
       via  3aaec028253ae8efaab36e9d25cb1cd33aaf9ec3 (commit)
       via  fcbfed09c4cf9172c609ba576004ceccf6fb4240 (commit)
       via  f8328c019fa3d1289cba7638622f23f6a243ecb5 (commit)
       via  fee1c4201a04318909d343e5494a1d2be0537789 (commit)
       via  2e7b883f5e066072662904d0c17a6297655f3033 (commit)
       via  51663a8310713580f59e3a222bfe73e6096236dc (commit)
       via  8c12a273d73786c32a8a0dd2a3f8f352f8b687a6 (commit)
       via  f49c3f2f3973e0f6b0c639efff4120799ef4f647 (commit)
       via  745bf96b0bd2b2dc7dc6526e938de3713d4ae093 (commit)
       via  e19abaa89e01e07b3cb0cc16b822f232e39e415c (commit)
       via  30aedc58ccd6255776ad3831284f1e5b19d4e01b (commit)
       via  dd3f1356fc2e6ddae18b8b6546f1917044d69869 (commit)
       via  0c45489a6b7c9326056f264e12f9492e126ea51f (commit)
       via  4d92d16206a7d0b937a99e411f4736211b721170 (commit)
       via  a952e3efc0bfe5a411d1ab1d5cd9cd4481a018e3 (commit)
       via  516f41a9b45b2e850451281b99845e7d8715eb51 (commit)
       via  c2a331df48eb76888a60c8598ec85396089eed73 (commit)
       via  2b9e872152e4d85fd7a8dd15cd8375ada410c5d8 (commit)
       via  0bc3930dd359f4e7d15ef37e806d84719529a108 (commit)
       via  0b0b05ff3863e6c52f28c6d1a7ee29d49349eddd (commit)
       via  8124578162a4eb352cc0e837b7f62e0297a99b33 (commit)
      from  2f6525f547daca70cb9b9ef02809a1a69316a766 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 4a9147d74d8eecb3b3b7edb5aa61ec772c27838f
Merge: 2f6525f 990ed04
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Mar 7 08:49:00 2011 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   11 +
 bfd/ChangeLog                                      |   70 +
 bfd/aoutx.h                                        |    3 +-
 bfd/archive.c                                      |   75 +-
 bfd/coff-x86_64.c                                  |    2 +-
 bfd/compress.c                                     |    3 +
 bfd/corefile.c                                     |    2 +-
 bfd/dwarf2.c                                       |    2 +-
 bfd/elf32-bfin.c                                   |    6 +-
 bfd/elf32-frv.c                                    |    6 +-
 bfd/elf32-i386.c                                   |    2 +-
 bfd/elf32-m68k.c                                   |    7 +-
 bfd/elf32-spu.c                                    |    4 +-
 bfd/elf64-x86-64.c                                 |   53 +-
 bfd/elflink.c                                      |   37 +-
 bfd/plugin.c                                       |   22 +-
 bfd/syms.c                                         |    4 +-
 bfd/version.h                                      |    2 +-
 bfd/xcofflink.c                                    |    6 +-
 bfd/xtensa-isa.c                                   |    4 +-
 config/ChangeLog                                   |    6 +
 config/cloog.m4                                    |    2 +-
 config/override.m4                                 |    6 +
 configure                                          |  110 +-
 configure.ac                                       |   73 +-
 gdb/ChangeLog                                      |  673 +++
 gdb/Makefile.in                                    |   44 +-
 gdb/NEWS                                           |    2 +
 gdb/ada-exp.y                                      |    1 +
 gdb/ada-lang.c                                     |   10 +-
 gdb/amd64-linux-tdep.c                             |   37 +-
 gdb/arm-linux-nat.c                                |  580 ++
 gdb/arm-linux-tdep.c                               |   44 +-
 gdb/arm-tdep.c                                     |  116 +-
 gdb/arm-tdep.h                                     |   18 +
 gdb/ax-gdb.c                                       |   59 -
 gdb/ax-gdb.h                                       |    2 -
 gdb/ax-general.c                                   |   54 +-
 gdb/ax.h                                           |    2 -
 gdb/bfin-tdep.c                                    |    2 +
 gdb/breakpoint.c                                   |  516 +--
 gdb/breakpoint.h                                   |    4 -
 gdb/bsd-uthread.c                                  |    2 +-
 gdb/cli/cli-dump.c                                 |   21 +-
 gdb/cli/cli-dump.h                                 |    2 -
 gdb/cli/cli-utils.c                                |  228 +
 gdb/cli/cli-utils.h                                |   68 +
 gdb/coffread.c                                     |   12 +-
 gdb/common/Makefile.in                             |    7 +-
 gdb/common/ax.def                                  |    6 +-
 gdb/completer.c                                    |    8 +-
 gdb/configure.tgt                                  |    2 +
 gdb/corelow.c                                      |    2 +-
 gdb/cp-namespace.c                                 |    9 +-
 gdb/cp-support.c                                   |    2 +-
 gdb/cris-tdep.c                                    |    4 +-
 gdb/d-valprint.c                                   |   10 +-
 gdb/darwin-nat-info.c                              |    2 +-
 gdb/dbxread.c                                      |    7 +-
 gdb/doc/ChangeLog                                  |   40 +
 gdb/doc/agentexpr.texi                             |    7 -
 gdb/doc/gdb.texinfo                                |   99 +-
 gdb/dwarf2expr.c                                   |    3 +-
 gdb/dwarf2expr.h                                   |    2 +-
 gdb/dwarf2loc.c                                    |   32 +-
 gdb/dwarf2read.c                                   |   84 +-
 gdb/eval.c                                         |   27 +-
 gdb/event-top.c                                    |    4 +-
 gdb/expprint.c                                     |    2 +
 gdb/fbsd-nat.c                                     |    2 +-
 gdb/fbsd-nat.h                                     |    2 +-
 gdb/fork-child.c                                   |    7 +-
 gdb/frame-unwind.h                                 |    6 +-
 gdb/frame.h                                        |    4 +-
 gdb/gdbserver/ChangeLog                            |   62 +
 gdb/gdbserver/Makefile.in                          |   23 +-
 gdb/gdbserver/hostio.c                             |    5 +-
 gdb/gdbserver/i386-low.c                           |    1 +
 gdb/gdbserver/linux-amd64-ipa.c                    |    2 +-
 gdb/gdbserver/linux-arm-low.c                      |    2 +-
 gdb/gdbserver/linux-low.c                          |    3 +-
 gdb/gdbserver/server.c                             |    4 +-
 gdb/gdbserver/tracepoint.c                         |   44 -
 gdb/gdbserver/utils.c                              |   16 +-
 gdb/gdbthread.h                                    |    2 +-
 gdb/gdbtypes.h                                     |    2 +-
 gdb/hppa-hpux-tdep.c                               |    2 +-
 gdb/i386-linux-nat.c                               |    2 +-
 gdb/i386-nat.c                                     |    1 +
 gdb/i387-tdep.c                                    |   10 +-
 gdb/infcmd.c                                       |    6 +-
 gdb/inferior.c                                     |  137 +-
 gdb/inferior.h                                     |    8 +-
 gdb/inflow.c                                       |   18 +-
 gdb/infrun.c                                       |    1 -
 gdb/jv-lang.c                                      |    3 +-
 gdb/language.c                                     |    7 +-
 gdb/linespec.c                                     |   14 +-
 gdb/linux-fork.c                                   |    2 +-
 gdb/linux-nat.c                                    |   23 +-
 gdb/linux-record.c                                 |    2 +
 gdb/linux-tdep.c                                   |   12 +-
 gdb/linux-thread-db.c                              |    2 +-
 gdb/m2-lang.c                                      |    2 +-
 gdb/maint.c                                        |    1 +
 gdb/mdebugread.c                                   |    6 +-
 gdb/memattr.c                                      |   63 +-
 gdb/mi/mi-main.c                                   |   11 +-
 gdb/mips-tdep.c                                    |   20 +-
 gdb/nbsd-nat.c                                     |    2 +-
 gdb/nbsd-nat.h                                     |    2 +-
 gdb/objc-lang.c                                    |    6 +
 gdb/opencl-lang.c                                  |  206 +-
 gdb/p-valprint.c                                   |    2 +-
 gdb/parse.c                                        |    2 +-
 gdb/ppc-linux-nat.c                                |    4 +-
 gdb/ppc-linux-tdep.c                               |    4 +-
 gdb/printcmd.c                                     |   55 +-
 gdb/proc-service.c                                 |    1 +
 gdb/psymtab.c                                      |    4 +-
 gdb/python/py-block.c                              |    2 +-
 gdb/python/py-cmd.c                                |    3 +
 gdb/python/py-inferior.c                           |   10 +-
 gdb/python/py-param.c                              |    3 +-
 gdb/python/py-prettyprint.c                        |   18 +-
 gdb/python/py-symbol.c                             |   36 +-
 gdb/python/py-symtab.c                             |   14 +-
 gdb/python/py-utils.c                              |    1 -
 gdb/python/py-value.c                              |    5 +-
 gdb/python/python-internal.h                       |    3 +
 gdb/python/python.c                                |    6 +
 gdb/record.c                                       |    2 +-
 gdb/remote-fileio.c                                |    7 +-
 gdb/remote.c                                       |   17 +-
 gdb/reverse.c                                      |    1 +
 gdb/ser-base.c                                     |    7 +
 gdb/ser-base.h                                     |    2 +
 gdb/ser-go32.c                                     |   12 +
 gdb/ser-mingw.c                                    |   30 +-
 gdb/ser-pipe.c                                     |    1 +
 gdb/ser-tcp.c                                      |    1 +
 gdb/ser-unix.c                                     |   12 +
 gdb/serial.c                                       |    8 +-
 gdb/serial.h                                       |    7 +
 gdb/sol-thread.c                                   |    2 +-
 gdb/solib-frv.c                                    |    2 +-
 gdb/solib.c                                        |    1 +
 gdb/solist.h                                       |    4 +-
 gdb/source.c                                       |    3 +-
 gdb/sparc64-tdep.c                                 |    2 +-
 gdb/spu-tdep.c                                     |    2 +-
 gdb/stabsread.c                                    |    3 +-
 gdb/std-regs.c                                     |   14 +-
 gdb/symfile.c                                      |   40 +-
 gdb/symfile.h                                      |    9 -
 gdb/symtab.c                                       |    3 +-
 gdb/target-descriptions.c                          |    2 +-
 gdb/testsuite/ChangeLog                            |  196 +
 gdb/testsuite/Makefile.in                          |   13 +-
 gdb/testsuite/configure                            |   87 +-
 gdb/testsuite/configure.ac                         |   59 +-
 gdb/testsuite/gdb.ada/Makefile.in                  |    3 +-
 gdb/testsuite/gdb.arch/Makefile.in                 |    8 +-
 gdb/testsuite/gdb.asm/Makefile.in                  |    4 +-
 gdb/testsuite/gdb.base/Makefile.in                 |   65 +-
 gdb/testsuite/gdb.base/break.exp                   |  209 +
 gdb/testsuite/gdb.base/completion.exp              |    2 +-
 gdb/testsuite/gdb.base/ena-dis-br.exp              |    2 +-
 gdb/testsuite/gdb.base/hbreak.exp                  |    8 +-
 gdb/testsuite/gdb.base/help.exp                    |   10 +-
 gdb/{nbsd-nat.h => testsuite/gdb.base/memattr.c}   |   27 +-
 gdb/testsuite/gdb.base/memattr.exp                 |  455 ++
 gdb/testsuite/gdb.base/pr11022.exp                 |    6 +-
 gdb/testsuite/gdb.base/watch-read.exp              |    5 +-
 gdb/testsuite/gdb.base/watch_thread_num.exp        |    4 +-
 gdb/testsuite/gdb.base/watchpoint-hw-hit-once.exp  |    8 +-
 gdb/testsuite/gdb.base/watchpoint-hw.exp           |    9 +-
 gdb/testsuite/gdb.base/watchpoint.exp              |    8 +-
 gdb/testsuite/gdb.cell/Makefile.in                 |    2 +-
 gdb/testsuite/gdb.cell/configure                   | 2922 ----------
 gdb/testsuite/gdb.cell/configure.ac                |   15 -
 gdb/testsuite/gdb.cp/Makefile.in                   |   17 +-
 gdb/testsuite/gdb.cp/overload.cc                   |    2 +-
 gdb/testsuite/gdb.disasm/Makefile.in               |    2 +-
 gdb/testsuite/gdb.dwarf2/Makefile.in               |    5 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges.S              |   46 -
 .../gdb.dwarf2/{dw2-ranges3.S => dw2-ranges.c}     |   24 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges.exp            |   46 +-
 .../gdb.dwarf2/{dw2-ranges2.S => dw2-ranges2.c}    |   33 +-
 .../gdb.dwarf2/dw2-ranges3.c}                      |   30 +-
 gdb/testsuite/gdb.fortran/Makefile.in              |    2 +-
 gdb/testsuite/gdb.gdbtk/ChangeLog                  |  367 --
 gdb/testsuite/gdb.gdbtk/browser.exp                |   39 -
 gdb/testsuite/gdb.gdbtk/c_variable.exp             |   40 -
 gdb/testsuite/gdb.gdbtk/console.exp                |   40 -
 gdb/testsuite/gdb.gdbtk/cpp_variable.exp           |   46 -
 gdb/testsuite/gdb.gdbtk/srcwin.exp                 |   69 -
 gdb/testsuite/gdb.gdbtk/windows.exp                |   39 -
 gdb/testsuite/gdb.hp/Makefile.in                   |    7 +-
 gdb/testsuite/gdb.hp/configure                     | 3074 ----------
 gdb/testsuite/gdb.hp/configure.ac                  |   17 -
 gdb/testsuite/gdb.hp/gdb.aCC/Makefile.in           |    3 -
 gdb/testsuite/gdb.hp/gdb.aCC/configure             | 2922 ----------
 gdb/testsuite/gdb.hp/gdb.aCC/configure.ac          |   15 -
 gdb/testsuite/gdb.hp/gdb.base-hp/Makefile.in       |    3 -
 gdb/testsuite/gdb.hp/gdb.base-hp/configure         | 2922 ----------
 gdb/testsuite/gdb.hp/gdb.base-hp/configure.ac      |   15 -
 gdb/testsuite/gdb.hp/gdb.compat/Makefile.in        |    3 -
 gdb/testsuite/gdb.hp/gdb.compat/configure          | 2922 ----------
 gdb/testsuite/gdb.hp/gdb.compat/configure.ac       |   15 -
 gdb/testsuite/gdb.hp/gdb.defects/Makefile.in       |    3 -
 gdb/testsuite/gdb.hp/gdb.defects/configure         | 2922 ----------
 gdb/testsuite/gdb.hp/gdb.defects/configure.ac      |   15 -
 gdb/testsuite/gdb.hp/gdb.objdbg/Makefile.in        |    3 -
 gdb/testsuite/gdb.hp/gdb.objdbg/configure          | 3073 ----------
 gdb/testsuite/gdb.hp/gdb.objdbg/configure.ac       |   16 -
 gdb/testsuite/gdb.java/Makefile.in                 |    4 +-
 gdb/testsuite/gdb.mi/Makefile.in                   |   17 +-
 gdb/testsuite/gdb.modula2/Makefile.in              |    4 +-
 gdb/testsuite/gdb.multi/Makefile.in                |    2 +-
 gdb/testsuite/gdb.multi/base.exp                   |   85 +
 gdb/testsuite/gdb.objc/Makefile.in                 |    2 +-
 gdb/testsuite/gdb.opencl/Makefile.in               |    2 +-
 gdb/testsuite/gdb.opt/Makefile.in                  |    2 +-
 gdb/testsuite/gdb.pascal/Makefile.in               |    2 +-
 gdb/testsuite/gdb.python/Makefile.in               |    7 +-
 gdb/testsuite/gdb.python/py-block.exp              |   20 +-
 gdb/testsuite/gdb.python/py-breakpoint.exp         |    9 +-
 gdb/testsuite/gdb.python/py-frame.exp              |   11 +-
 gdb/testsuite/gdb.python/py-inferior.exp           |   80 +-
 gdb/testsuite/gdb.python/py-symbol.exp             |    7 +
 gdb/testsuite/gdb.reverse/Makefile.in              |    2 +-
 gdb/testsuite/gdb.server/Makefile.in               |    4 +-
 gdb/testsuite/gdb.stabs/Makefile.in                |    7 +-
 gdb/testsuite/gdb.stabs/configure                  | 2922 ----------
 gdb/testsuite/gdb.stabs/configure.ac               |   15 -
 gdb/testsuite/gdb.threads/Makefile.in              |   15 +-
 .../gdb.threads/local-watch-wrong-thread.exp       |    4 +-
 gdb/testsuite/gdb.threads/thread-find.exp          |   57 +-
 gdb/testsuite/gdb.threads/watchthreads-reorder.exp |    5 +-
 gdb/testsuite/gdb.threads/watchthreads.exp         |    4 +-
 gdb/testsuite/gdb.threads/watchthreads2.exp        |    4 +-
 gdb/testsuite/gdb.trace/Makefile.in                |    8 +-
 gdb/testsuite/gdb.trace/infotrace.exp              |    4 +-
 gdb/testsuite/gdb.xml/Makefile.in                  |    2 +-
 gdb/testsuite/lib/gdb.exp                          |   73 +
 gdb/thread.c                                       |   36 +-
 gdb/tracepoint.c                                   |   45 +-
 gdb/tui/tui-regs.c                                 |    1 -
 gdb/tui/tui-stack.c                                |    2 +-
 gdb/tui/tui-win.c                                  |    4 +-
 gdb/tui/tui-winsource.c                            |    6 +-
 gdb/ui-file.h                                      |    2 +-
 gdb/ui-out.c                                       |   26 +-
 gdb/ui-out.h                                       |    3 +
 gdb/utils.c                                        |   21 +-
 gdb/valops.c                                       |   14 +-
 gdb/value.c                                        |   55 +-
 gdb/value.h                                        |    3 +-
 gdb/varobj.c                                       |    4 +-
 gdb/vax-nat.c                                      |    2 +-
 gdb/version.in                                     |    2 +-
 gdb/xml-syscall.c                                  |    1 +
 include/ChangeLog                                  |   13 +
 include/dwarf2.h                                   |   93 +-
 include/elf/ChangeLog                              |    6 +
 include/elf/internal.h                             |   20 +-
 include/filenames.h                                |    3 +
 include/gdb/ChangeLog                              |    4 +
 include/gdb/sim-bfin.h                             |   82 +
 include/opcode/ChangeLog                           |    9 +-
 include/opcode/mips.h                              |    1 +
 libiberty/ChangeLog                                |   10 +
 libiberty/cplus-dem.c                              |    5 +-
 libiberty/filename_cmp.c                           |   49 +
 libiberty/functions.texi                           |   18 +
 opcodes/ChangeLog                                  |   22 +-
 opcodes/bfin-dis.c                                 |   10 +-
 opcodes/mips-opc.c                                 |    3 +-
 readline/ChangeLog.gdb                             |    4 +
 readline/bind.c                                    |    1 +
 sim/ChangeLog                                      |    6 +
 sim/MAINTAINERS                                    |    1 +
 sim/bfin/Makefile.in                               |   97 +
 sim/bfin/TODO                                      |   28 +
 sim/bfin/aclocal.m4                                |  171 +
 sim/bfin/bfin-sim.c                                | 6099 ++++++++++++++++++++
 sim/bfin/bfin-sim.h                                |  350 ++
 sim/bfin/bfroms/all.h                              |   43 +
 sim/bfin/bfroms/bf50x-0.0.h                        |    3 +
 sim/bfin/bfroms/bf51x-0.0.h                        |    3 +
 sim/bfin/bfroms/bf51x-0.1.h                        |    3 +
 sim/bfin/bfroms/bf51x-0.2.h                        |    3 +
 sim/bfin/bfroms/bf526-0.0.h                        |    3 +
 sim/bfin/bfroms/bf526-0.1.h                        |    3 +
 sim/bfin/bfroms/bf527-0.0.h                        |    3 +
 sim/bfin/bfroms/bf527-0.1.h                        |    3 +
 sim/bfin/bfroms/bf527-0.2.h                        |    3 +
 sim/bfin/bfroms/bf533-0.1.h                        |    3 +
 sim/bfin/bfroms/bf533-0.2.h                        |    3 +
 sim/bfin/bfroms/bf533-0.3.h                        |    3 +
 sim/bfin/bfroms/bf537-0.0.h                        |    3 +
 sim/bfin/bfroms/bf537-0.1.h                        |    3 +
 sim/bfin/bfroms/bf537-0.3.h                        |    3 +
 sim/bfin/bfroms/bf538-0.0.h                        |    3 +
 sim/bfin/bfroms/bf54x-0.0.h                        |    3 +
 sim/bfin/bfroms/bf54x-0.1.h                        |    3 +
 sim/bfin/bfroms/bf54x-0.2.h                        |    3 +
 sim/bfin/bfroms/bf54x_l1-0.0.h                     |    3 +
 sim/bfin/bfroms/bf54x_l1-0.1.h                     |    3 +
 sim/bfin/bfroms/bf54x_l1-0.2.h                     |    3 +
 sim/bfin/bfroms/bf561-0.5.h                        |    3 +
 sim/bfin/bfroms/bf59x-0.0.h                        |    3 +
 sim/bfin/bfroms/bf59x_l1-0.1.h                     |    3 +
 sim/bfin/config.in                                 |  176 +
 {gdb/testsuite => sim/bfin}/configure              | 4868 +++++++++++-----
 sim/bfin/configure.ac                              |   75 +
 sim/bfin/devices.c                                 |  163 +
 sim/bfin/devices.h                                 |  156 +
 sim/bfin/dv-bfin_cec.c                             |  807 +++
 sim/bfin/dv-bfin_cec.h                             |  139 +
 sim/bfin/dv-bfin_ctimer.c                          |  267 +
 gdb/printcmd.h => sim/bfin/dv-bfin_ctimer.h        |   27 +-
 sim/bfin/dv-bfin_dma.c                             |  553 ++
 sim/bfin/dv-bfin_dma.h                             |   65 +
 sim/bfin/dv-bfin_dmac.c                            |  469 ++
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_dmac.h          |   23 +-
 sim/bfin/dv-bfin_ebiu_amc.c                        |  456 ++
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_ebiu_amc.h      |   22 +-
 sim/bfin/dv-bfin_ebiu_ddrc.c                       |  184 +
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_ebiu_ddrc.h     |   19 +-
 sim/bfin/dv-bfin_ebiu_sdc.c                        |  201 +
 sim/bfin/dv-bfin_ebiu_sdc.h                        |   39 +
 sim/bfin/dv-bfin_emac.c                            |  603 ++
 sim/bfin/dv-bfin_emac.h                            |   61 +
 sim/bfin/dv-bfin_eppi.c                            |  271 +
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_eppi.h          |   21 +-
 sim/bfin/dv-bfin_evt.c                             |  153 +
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_evt.h           |   22 +-
 sim/bfin/dv-bfin_gptimer.c                         |  183 +
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_gptimer.h       |   20 +-
 sim/bfin/dv-bfin_jtag.c                            |  157 +
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_jtag.h          |   20 +-
 sim/bfin/dv-bfin_mmu.c                             |  574 ++
 sim/bfin/dv-bfin_mmu.h                             |   94 +
 sim/bfin/dv-bfin_nfc.c                             |  241 +
 gdb/cli/cli-dump.h => sim/bfin/dv-bfin_nfc.h       |   42 +-
 sim/bfin/dv-bfin_otp.c                             |  307 +
 sim/bfin/dv-bfin_otp.h                             |  100 +
 sim/bfin/dv-bfin_pll.c                             |  187 +
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_pll.h           |   20 +-
 sim/bfin/dv-bfin_ppi.c                             |  231 +
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_ppi.h           |   23 +-
 sim/bfin/dv-bfin_rtc.c                             |  194 +
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_rtc.h           |   19 +-
 sim/bfin/dv-bfin_sic.c                             | 1439 +++++
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_sic.h           |   20 +-
 sim/bfin/dv-bfin_spi.c                             |  229 +
 sim/bfin/dv-bfin_spi.h                             |   54 +
 sim/bfin/dv-bfin_trace.c                           |  285 +
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_trace.h         |   28 +-
 sim/bfin/dv-bfin_twi.c                             |  227 +
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_twi.h           |   29 +-
 sim/bfin/dv-bfin_uart.c                            |  437 ++
 sim/bfin/dv-bfin_uart.h                            |   49 +
 sim/bfin/dv-bfin_uart2.c                           |  258 +
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_uart2.h         |   24 +-
 sim/bfin/dv-bfin_wdog.c                            |  206 +
 sim/bfin/dv-bfin_wdog.h                            |   36 +
 sim/bfin/dv-bfin_wp.c                              |  188 +
 gdb/nbsd-nat.h => sim/bfin/dv-bfin_wp.h            |   20 +-
 sim/bfin/dv-eth_phy.c                              |  206 +
 sim/bfin/gui.c                                     |  286 +
 sim/bfin/gui.h                                     |   50 +
 sim/bfin/insn_list.def                             |   62 +
 sim/bfin/interp.c                                  | 1241 ++++
 sim/bfin/linux-fixed-code.h                        |   74 +
 sim/bfin/linux-fixed-code.s                        |   85 +
 sim/bfin/linux-targ-map.h                          | 1992 +++++++
 sim/bfin/machs.c                                   | 1287 +++++
 sim/bfin/machs.h                                   |   56 +
 gdb/nbsd-nat.h => sim/bfin/proc_list.def           |   47 +-
 sim/bfin/sim-main.h                                |  117 +
 sim/bfin/tconfig.in                                |   27 +
 sim/common/ChangeLog                               |   10 +
 sim/common/callback.c                              |    2 +-
 sim/common/gennltvals.sh                           |    4 +
 sim/common/nltvals.def                             |   30 +
 sim/configure                                      |    8 +
 sim/configure.tgt                                  |    3 +
 390 files changed, 31410 insertions(+), 28209 deletions(-)
 create mode 100644 gdb/cli/cli-utils.c
 create mode 100644 gdb/cli/cli-utils.h
 copy gdb/{nbsd-nat.h => testsuite/gdb.base/memattr.c} (63%)
 create mode 100644 gdb/testsuite/gdb.base/memattr.exp
 delete mode 100644 gdb/testsuite/gdb.cell/configure
 delete mode 100644 gdb/testsuite/gdb.cell/configure.ac
 delete mode 100644 gdb/testsuite/gdb.dwarf2/dw2-ranges.S
 rename gdb/testsuite/gdb.dwarf2/{dw2-ranges3.S => dw2-ranges.c} (70%)
 rename gdb/testsuite/gdb.dwarf2/{dw2-ranges2.S => dw2-ranges2.c} (59%)
 copy gdb/{nbsd-nat.h => testsuite/gdb.dwarf2/dw2-ranges3.c} (61%)
 delete mode 100644 gdb/testsuite/gdb.gdbtk/ChangeLog
 delete mode 100644 gdb/testsuite/gdb.gdbtk/browser.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/c_variable.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/console.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/cpp_variable.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/srcwin.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/windows.exp
 delete mode 100755 gdb/testsuite/gdb.hp/configure
 delete mode 100644 gdb/testsuite/gdb.hp/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.aCC/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.aCC/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.base-hp/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.base-hp/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.compat/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.compat/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.defects/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.defects/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.objdbg/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.objdbg/configure.ac
 delete mode 100755 gdb/testsuite/gdb.stabs/configure
 delete mode 100644 gdb/testsuite/gdb.stabs/configure.ac
 create mode 100644 include/gdb/sim-bfin.h
 create mode 100644 sim/bfin/Makefile.in
 create mode 100644 sim/bfin/TODO
 create mode 100644 sim/bfin/aclocal.m4
 create mode 100644 sim/bfin/bfin-sim.c
 create mode 100644 sim/bfin/bfin-sim.h
 create mode 100644 sim/bfin/bfroms/all.h
 create mode 100644 sim/bfin/bfroms/bf50x-0.0.h
 create mode 100644 sim/bfin/bfroms/bf51x-0.0.h
 create mode 100644 sim/bfin/bfroms/bf51x-0.1.h
 create mode 100644 sim/bfin/bfroms/bf51x-0.2.h
 create mode 100644 sim/bfin/bfroms/bf526-0.0.h
 create mode 100644 sim/bfin/bfroms/bf526-0.1.h
 create mode 100644 sim/bfin/bfroms/bf527-0.0.h
 create mode 100644 sim/bfin/bfroms/bf527-0.1.h
 create mode 100644 sim/bfin/bfroms/bf527-0.2.h
 create mode 100644 sim/bfin/bfroms/bf533-0.1.h
 create mode 100644 sim/bfin/bfroms/bf533-0.2.h
 create mode 100644 sim/bfin/bfroms/bf533-0.3.h
 create mode 100644 sim/bfin/bfroms/bf537-0.0.h
 create mode 100644 sim/bfin/bfroms/bf537-0.1.h
 create mode 100644 sim/bfin/bfroms/bf537-0.3.h
 create mode 100644 sim/bfin/bfroms/bf538-0.0.h
 create mode 100644 sim/bfin/bfroms/bf54x-0.0.h
 create mode 100644 sim/bfin/bfroms/bf54x-0.1.h
 create mode 100644 sim/bfin/bfroms/bf54x-0.2.h
 create mode 100644 sim/bfin/bfroms/bf54x_l1-0.0.h
 create mode 100644 sim/bfin/bfroms/bf54x_l1-0.1.h
 create mode 100644 sim/bfin/bfroms/bf54x_l1-0.2.h
 create mode 100644 sim/bfin/bfroms/bf561-0.5.h
 create mode 100644 sim/bfin/bfroms/bf59x-0.0.h
 create mode 100644 sim/bfin/bfroms/bf59x_l1-0.1.h
 create mode 100644 sim/bfin/config.in
 copy {gdb/testsuite => sim/bfin}/configure (66%)
 create mode 100644 sim/bfin/configure.ac
 create mode 100644 sim/bfin/devices.c
 create mode 100644 sim/bfin/devices.h
 create mode 100644 sim/bfin/dv-bfin_cec.c
 create mode 100644 sim/bfin/dv-bfin_cec.h
 create mode 100644 sim/bfin/dv-bfin_ctimer.c
 rename gdb/printcmd.h => sim/bfin/dv-bfin_ctimer.h (58%)
 create mode 100644 sim/bfin/dv-bfin_dma.c
 create mode 100644 sim/bfin/dv-bfin_dma.h
 create mode 100644 sim/bfin/dv-bfin_dmac.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_dmac.h (58%)
 create mode 100644 sim/bfin/dv-bfin_ebiu_amc.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_ebiu_amc.h (59%)
 create mode 100644 sim/bfin/dv-bfin_ebiu_ddrc.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_ebiu_ddrc.h (63%)
 create mode 100644 sim/bfin/dv-bfin_ebiu_sdc.c
 create mode 100644 sim/bfin/dv-bfin_ebiu_sdc.h
 create mode 100644 sim/bfin/dv-bfin_emac.c
 create mode 100644 sim/bfin/dv-bfin_emac.h
 create mode 100644 sim/bfin/dv-bfin_eppi.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_eppi.h (61%)
 create mode 100644 sim/bfin/dv-bfin_evt.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_evt.h (58%)
 create mode 100644 sim/bfin/dv-bfin_gptimer.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_gptimer.h (63%)
 create mode 100644 sim/bfin/dv-bfin_jtag.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_jtag.h (63%)
 create mode 100644 sim/bfin/dv-bfin_mmu.c
 create mode 100644 sim/bfin/dv-bfin_mmu.h
 create mode 100644 sim/bfin/dv-bfin_nfc.c
 copy gdb/cli/cli-dump.h => sim/bfin/dv-bfin_nfc.h (51%)
 create mode 100644 sim/bfin/dv-bfin_otp.c
 create mode 100644 sim/bfin/dv-bfin_otp.h
 create mode 100644 sim/bfin/dv-bfin_pll.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_pll.h (63%)
 create mode 100644 sim/bfin/dv-bfin_ppi.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_ppi.h (59%)
 create mode 100644 sim/bfin/dv-bfin_rtc.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_rtc.h (63%)
 create mode 100644 sim/bfin/dv-bfin_sic.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_sic.h (63%)
 create mode 100644 sim/bfin/dv-bfin_spi.c
 create mode 100644 sim/bfin/dv-bfin_spi.h
 create mode 100644 sim/bfin/dv-bfin_trace.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_trace.h (52%)
 create mode 100644 sim/bfin/dv-bfin_twi.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_twi.h (53%)
 create mode 100644 sim/bfin/dv-bfin_uart.c
 create mode 100644 sim/bfin/dv-bfin_uart.h
 create mode 100644 sim/bfin/dv-bfin_uart2.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_uart2.h (58%)
 create mode 100644 sim/bfin/dv-bfin_wdog.c
 create mode 100644 sim/bfin/dv-bfin_wdog.h
 create mode 100644 sim/bfin/dv-bfin_wp.c
 copy gdb/nbsd-nat.h => sim/bfin/dv-bfin_wp.h (63%)
 create mode 100644 sim/bfin/dv-eth_phy.c
 create mode 100644 sim/bfin/gui.c
 create mode 100644 sim/bfin/gui.h
 create mode 100644 sim/bfin/insn_list.def
 create mode 100644 sim/bfin/interp.c
 create mode 100644 sim/bfin/linux-fixed-code.h
 create mode 100644 sim/bfin/linux-fixed-code.s
 create mode 100644 sim/bfin/linux-targ-map.h
 create mode 100644 sim/bfin/machs.c
 create mode 100644 sim/bfin/machs.h
 copy gdb/nbsd-nat.h => sim/bfin/proc_list.def (61%)
 create mode 100644 sim/bfin/sim-main.h
 create mode 100644 sim/bfin/tconfig.in

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 9f4591d..1f7648c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2011-03-03  Sebastian Pop  <sebastian.pop@amd.com>
+
+        * configure.ac: Adjust test of with_ppl.
+        * configure: Regenerated.
+
+2011-03-02  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* configure.ac: Add -lpwl to ppllibs.
+	* config/cloog.m4: Add -lisl to clooglibs.
+	* configure: Regenerated.
+
 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Import from Libtool and gnulib:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1ab968c..31613e8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,73 @@
+2011-03-06  Michael Snyder  <msnyder@vmware.com>
+
+	* compress.c (bfd_compress_section_contents): Check for out of mem.
+
+	* elf64-x86-64.c (elf_x86_64_relocate_section): Document
+	that case statement falls through intentionally.
+
+	* elf32-i386.c (elf_i386_relocate_section): Document fall through.
+
+2011-03-04  Alan Modra  <amodra@gmail.com>
+
+	* archive.c (bsd_write_armap): Don't call stat in deterministic
+	mode, and don't use st_mtime if stat returns error.
+
+2011-03-03  Michael Snyder  <msnyder@vmware.com>
+
+	* elf64-x86-64.c (elf_x86_64_relocate_section): Remove dead code.
+
+	* coff-x86_64.c (coff_amd64_rtype_to_howto): Fencepost error.
+
+	* aoutx.h (aout_final_link): Use sizeof int not sizeof int*.
+	(aout_link_write_other_symbol): Missing break statement.
+
+	* dwarf2.c (scan_unit_for_symbols): Stop memory leak.
+
+	* archive.c (_bfd_slurp_extended_name_table): Fail if bfd_seek fails.
+
+2011-03-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
+	x32 IE->LE transition.
+	(elf_x86_64_relocate_section): Likewise.
+
+2011-03-02  Bernd Schmidt  <bernds@codesourcery.com>
+
+        * elflink.c (is_reloc_section): Remove function.
+        (get_dynamic_reloc_section_name): Construct string manually.
+
+2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
+
+	* archive.c (_bfd_find_nested_archive): Use filename_(n)cmp.
+	(adjust_relative_path): Likewise.
+	(_bfd_construct_extended_name_table): Likewise.
+	* corefile.c (generic_core_file_matches_executable_p): Likewise.
+	* elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
+	* elf32-frv.c (elf32_frv_relocate_section): Likewise.
+	* elf32-spu.c (sort_bfds): Likewise.
+	(spu_elf_auto_overlay): Likewise.
+	* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
+	* xcofflink.c (xcoff_set_import_path): Likewise.
+	* xtensa-isa.c (xtensa_regfile_lookup): Likewise.
+	(xtensa_regfile_lookup_shortname): Likewise.
+
+2011-02-28  Alan Modra  <amodra@gmail.com>
+
+	PR 12513
+	* archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and
+	stringsize.  Properly sanity check symdef_count.  Remove redundant
+	bfd_release.
+
+2011-02-25  Rafael Ávila de Espíndola <respindola@mozilla.com>
+
+	* plugin.c (bfd_plugin_object_p): Correctly set the filesize
+	and handle claim_file seeking. Only try to load the plugin once.
+
+2011-02-22  Andreas Schwab  <schwab@redhat.com>
+
+	* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): For a TLS_GD
+	relocation read the value from the second GOT slot.
+
 2011-02-15  Tristan Gingold  <gingold@adacore.com>
 
 	* vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index 7ca221e..ec0bdf0 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -3637,6 +3637,7 @@ aout_link_write_other_symbol (struct aout_link_hash_entry *h, void * data)
     case bfd_link_hash_undefweak:
       type = N_WEAKU;
       val = 0;
+      break;
     case bfd_link_hash_indirect:
       /* We ignore these symbols, since the indirected symbol is
 	 already in the hash table.  */
@@ -5448,7 +5449,7 @@ NAME (aout, final_link) (bfd *abfd,
   /* Allocate buffers to hold section contents and relocs.  */
   aout_info.contents = (bfd_byte *) bfd_malloc (max_contents_size);
   aout_info.relocs = bfd_malloc (max_relocs_size);
-  aout_info.symbol_map = (int *) bfd_malloc (max_sym_count * sizeof (int *));
+  aout_info.symbol_map = (int *) bfd_malloc (max_sym_count * sizeof (int));
   aout_info.output_syms = (struct external_nlist *)
       bfd_malloc ((max_sym_count + 1) * sizeof (struct external_nlist));
   if ((aout_info.contents == NULL && max_contents_size != 0)
diff --git a/bfd/archive.c b/bfd/archive.c
index 258c8d9..86d07e9 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -1,6 +1,6 @@
 /* BFD back-end for archive files (libraries).
    Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.
    Written by Cygnus Support.  Mostly Gumby Henkel-Wallace's fault.
 
@@ -348,7 +348,7 @@ _bfd_find_nested_archive (bfd *arch_bfd, const char *filename)
        abfd != NULL;
        abfd = abfd->archive_next)
     {
-      if (strcmp (filename, abfd->filename) == 0)
+      if (filename_cmp (filename, abfd->filename) == 0)
         return abfd;
     }
   abfd = bfd_openr (filename, NULL);
@@ -1109,6 +1109,7 @@ bfd_slurp_bsd_armap_f2 (bfd *abfd)
   struct artdata *ardata = bfd_ardata (abfd);
   char *stringbase;
   unsigned int stringsize;
+  unsigned int left;
   bfd_size_type amt;
   carsym *set;
   int i = bfd_bread (nextname, 16, abfd);
@@ -1136,43 +1137,46 @@ bfd_slurp_bsd_armap_f2 (bfd *abfd)
   if (mapdata == NULL)
     return FALSE;
 
-  amt = mapdata->parsed_size;
-  raw_armap = (bfd_byte *) bfd_zalloc (abfd, amt);
-  if (raw_armap == NULL)
+  if (mapdata->parsed_size < HPUX_SYMDEF_COUNT_SIZE + BSD_STRING_COUNT_SIZE)
     {
+    wrong_format:
+      bfd_set_error (bfd_error_wrong_format);
     byebye:
       bfd_release (abfd, mapdata);
       return FALSE;
     }
+  left = mapdata->parsed_size - HPUX_SYMDEF_COUNT_SIZE - BSD_STRING_COUNT_SIZE;
+
+  amt = mapdata->parsed_size;
+  raw_armap = (bfd_byte *) bfd_zalloc (abfd, amt);
+  if (raw_armap == NULL)
+    goto byebye;
 
   if (bfd_bread (raw_armap, amt, abfd) != amt)
     {
       if (bfd_get_error () != bfd_error_system_call)
 	bfd_set_error (bfd_error_malformed_archive);
-    byebyebye:
-      bfd_release (abfd, raw_armap);
       goto byebye;
     }
 
   ardata->symdef_count = H_GET_16 (abfd, raw_armap);
 
-  if (ardata->symdef_count * BSD_SYMDEF_SIZE
-      > mapdata->parsed_size - HPUX_SYMDEF_COUNT_SIZE)
-    {
-      /* Probably we're using the wrong byte ordering.  */
-      bfd_set_error (bfd_error_wrong_format);
-      goto byebyebye;
-    }
-
   ardata->cache = 0;
 
   stringsize = H_GET_32 (abfd, raw_armap + HPUX_SYMDEF_COUNT_SIZE);
+  if (stringsize > left)
+    goto wrong_format;
+  left -= stringsize;
+
   /* Skip sym count and string sz.  */
   stringbase = ((char *) raw_armap
 		+ HPUX_SYMDEF_COUNT_SIZE
 		+ BSD_STRING_COUNT_SIZE);
   rbase = (bfd_byte *) stringbase + stringsize;
   amt = ardata->symdef_count * BSD_SYMDEF_SIZE;
+  if (amt > left)
+    goto wrong_format;
+
   ardata->symdefs = (struct carsym *) bfd_alloc (abfd, amt);
   if (!ardata->symdefs)
     return FALSE;
@@ -1216,7 +1220,9 @@ _bfd_slurp_extended_name_table (bfd *abfd)
 
   /* FIXME:  Formatting sucks here, and in case of failure of BFD_READ,
      we probably don't want to return TRUE.  */
-  bfd_seek (abfd, bfd_ardata (abfd)->first_file_filepos, SEEK_SET);
+  if (bfd_seek (abfd, bfd_ardata (abfd)->first_file_filepos, SEEK_SET) != 0)
+    return FALSE;
+
   if (bfd_bread (nextname, 16, abfd) == 16)
     {
       if (bfd_seek (abfd, (file_ptr) -16, SEEK_CUR) != 0)
@@ -1355,7 +1361,7 @@ adjust_relative_path (const char * path, const char * ref_path)
       while (*e2 && ! IS_DIR_SEPARATOR (*e2))
 	++e2;
       if (*e1 == '\0' || *e2 == '\0' || e1 - pathp != e2 - refp
-	  || strncmp (pathp, refp, e1 - pathp) != 0)
+	  || filename_ncmp (pathp, refp, e1 - pathp) != 0)
 	break;
       pathp = e1 + 1;
       refp = e2 + 1;
@@ -1460,7 +1466,7 @@ _bfd_construct_extended_name_table (bfd *abfd,
           /* If the path is the same as the previous path seen,
              reuse it.  This can happen when flattening a thin
              archive that contains other archives.  */
-          if (last_filename && strcmp (last_filename, filename) == 0)
+          if (last_filename && filename_cmp (last_filename, filename) == 0)
             continue;
 
           last_filename = filename;
@@ -1506,7 +1512,7 @@ _bfd_construct_extended_name_table (bfd *abfd,
       else
 	{
 	  struct ar_hdr *hdr = arch_hdr (current);
-	  if (strncmp (normal, hdr->ar_name, thislen) != 0
+	  if (filename_ncmp (normal, hdr->ar_name, thislen) != 0
 	      || (thislen < sizeof hdr->ar_name
 		  && hdr->ar_name[thislen] != ar_padchar (current)))
 	    {
@@ -1554,7 +1560,7 @@ _bfd_construct_extended_name_table (bfd *abfd,
              archive that contains other archives.
              If the path is relative, adjust it relative to
              the containing archive.  */
-          if (last_filename && strcmp (last_filename, filename) == 0)
+          if (last_filename && filename_cmp (last_filename, filename) == 0)
             normal = last_filename;
           else if (! IS_ABSOLUTE_PATH (filename)
                    && ! IS_ABSOLUTE_PATH (abfd->filename))
@@ -2295,31 +2301,28 @@ bsd_write_armap (bfd *arch,
   bfd_byte temp[4];
   unsigned int count;
   struct ar_hdr hdr;
-  struct stat statbuf;
   long uid, gid;
 
   firstreal = mapsize + elength + sizeof (struct ar_hdr) + SARMAG;
 
-  stat (arch->filename, &statbuf);
+  /* If deterministic, we use 0 as the timestamp in the map.
+     Some linkers may require that the archive filesystem modification
+     time is less than (or near to) the archive map timestamp.  Those
+     linkers should not be used with deterministic mode.  (GNU ld and
+     Gold do not have this restriction.)  */
+  bfd_ardata (arch)->armap_timestamp = 0;
+  uid = 0;
+  gid = 0;
   if ((arch->flags & BFD_DETERMINISTIC_OUTPUT) == 0)
     {
-      /* Remember the timestamp, to keep it holy.  But fudge it a little.  */
-      bfd_ardata (arch)->armap_timestamp = (statbuf.st_mtime
-                                            + ARMAP_TIME_OFFSET);
+      struct stat statbuf;
+
+      if (stat (arch->filename, &statbuf) == 0)
+	bfd_ardata (arch)->armap_timestamp = (statbuf.st_mtime
+					      + ARMAP_TIME_OFFSET);
       uid = getuid();
       gid = getgid();
     }
-  else
-    {
-      /* If deterministic, we use 0 as the timestamp in the map.
-         Some linkers may require that the archive filesystem modification
-         time is less than (or near to) the archive map timestamp.  Those
-         linkers should not be used with deterministic mode.  (GNU ld and
-         Gold do not have this restriction.)  */
-      bfd_ardata (arch)->armap_timestamp = 0;
-      uid = 0;
-      gid = 0;
-    }
 
   memset (&hdr, ' ', sizeof (struct ar_hdr));
   memcpy (hdr.ar_name, RANLIBMAG, strlen (RANLIBMAG));
diff --git a/bfd/coff-x86_64.c b/bfd/coff-x86_64.c
index 8083d97..c739d69 100644
--- a/bfd/coff-x86_64.c
+++ b/bfd/coff-x86_64.c
@@ -546,7 +546,7 @@ coff_amd64_rtype_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
 {
   reloc_howto_type *howto;
 
-  if (rel->r_type > ARRAY_SIZE (howto_table))
+  if (rel->r_type >= ARRAY_SIZE (howto_table))
     {
       bfd_set_error (bfd_error_bad_value);
       return NULL;
diff --git a/bfd/compress.c b/bfd/compress.c
index a526ea9..669033c 100644
--- a/bfd/compress.c
+++ b/bfd/compress.c
@@ -100,6 +100,9 @@ bfd_compress_section_contents (bfd *abfd ATTRIBUTE_UNUSED,
   compressed_size = compressBound (uncompressed_size) + 12;
   compressed_buffer = (bfd_byte *) bfd_malloc (compressed_size);
 
+  if (compressed_buffer == NULL)
+    return FALSE;
+
   if (compress ((Bytef*) compressed_buffer + 12,
 		&compressed_size,
 		(const Bytef*) uncompressed_buffer,
diff --git a/bfd/corefile.c b/bfd/corefile.c
index 605be8d..bba0d1c 100644
--- a/bfd/corefile.c
+++ b/bfd/corefile.c
@@ -186,6 +186,6 @@ generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd)
   if (last_slash != NULL)
     exec = last_slash + 1;
   
-  return strcmp (exec, core) == 0;
+  return filename_cmp (exec, core) == 0;
 }
 
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index e5d0103..3826856 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -2148,7 +2148,7 @@ scan_unit_for_symbols (struct comp_unit *unit)
 	{
 	  info_ptr = read_attribute (&attr, &abbrev->attrs[i], unit, info_ptr);
 	  if (info_ptr == NULL)
-	    return FALSE;
+	    goto fail;
 
 	  if (func)
 	    {
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c
index 8aba7ed..40c2c04 100644
--- a/bfd/elf32-bfin.c
+++ b/bfd/elf32-bfin.c
@@ -3103,10 +3103,10 @@ bfinfdpic_relocate_section (bfd * output_bfd,
 	  if (silence_segment_error == 1)
 	    silence_segment_error =
 	      (strlen (input_bfd->filename) == 6
-	       && strcmp (input_bfd->filename, "crt0.o") == 0)
+	       && filename_cmp (input_bfd->filename, "crt0.o") == 0)
 	      || (strlen (input_bfd->filename) > 6
-		  && strcmp (input_bfd->filename
-			     + strlen (input_bfd->filename) - 7,
+		  && filename_cmp (input_bfd->filename
+				   + strlen (input_bfd->filename) - 7,
 			     "/crt0.o") == 0)
 	      ? -1 : 0;
 #endif
diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c
index bce0540..8cd26f1 100644
--- a/bfd/elf32-frv.c
+++ b/bfd/elf32-frv.c
@@ -3957,10 +3957,10 @@ elf32_frv_relocate_section (output_bfd, info, input_bfd, input_section,
 	  if (silence_segment_error == 1)
 	    silence_segment_error =
 	      (strlen (input_bfd->filename) == 6
-	       && strcmp (input_bfd->filename, "crt0.o") == 0)
+	       && filename_cmp (input_bfd->filename, "crt0.o") == 0)
 	      || (strlen (input_bfd->filename) > 6
-		  && strcmp (input_bfd->filename
-			     + strlen (input_bfd->filename) - 7,
+		  && filename_cmp (input_bfd->filename
+				   + strlen (input_bfd->filename) - 7,
 			     "/crt0.o") == 0)
 	      ? -1 : 0;
 	  if (!silence_segment_error
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index e9b3933..693c8e8 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -3128,7 +3128,7 @@ elf_i386_relocate_section (bfd *output_bfd,
 		     internal symbol, we have updated addend.  */
 		  continue;
 		}
-
+	      /* FALLTHROUGH */
 	    case R_386_PC32:
 	    case R_386_PLT32:
 	      goto do_relocation;
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index 1d9d6a4..b4f7bc2 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -1,6 +1,6 @@
 /* Motorola 68k series support for 32-bit ELF
    Copyright 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
-   2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+   2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -4390,6 +4390,11 @@ elf_m68k_finish_dynamic_symbol (output_bfd, info, h, sym)
 		  break;
 
 		case R_68K_TLS_GD32:
+		  /* The value for this relocation is actually put in
+		     the second GOT slot.  */
+		  relocation = bfd_get_signed_32 (output_bfd,
+						  (sgot->contents
+						   + got_entry_offset + 4));
 		  relocation += dtpoff_base (info);
 		  break;
 
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c
index bcee155..ae3ed10 100644
--- a/bfd/elf32-spu.c
+++ b/bfd/elf32-spu.c
@@ -4067,7 +4067,7 @@ sort_bfds (const void *a, const void *b)
   bfd *const *abfd1 = a;
   bfd *const *abfd2 = b;
 
-  return strcmp ((*abfd1)->filename, (*abfd2)->filename);
+  return filename_cmp ((*abfd1)->filename, (*abfd2)->filename);
 }
 
 static unsigned int
@@ -4299,7 +4299,7 @@ spu_elf_auto_overlay (struct bfd_link_info *info)
 
       qsort (bfd_arr, bfd_count, sizeof (*bfd_arr), sort_bfds);
       for (i = 1; i < bfd_count; ++i)
-	if (strcmp (bfd_arr[i - 1]->filename, bfd_arr[i]->filename) == 0)
+	if (filename_cmp (bfd_arr[i - 1]->filename, bfd_arr[i]->filename) == 0)
 	  {
 	    if (bfd_arr[i - 1]->my_archive == bfd_arr[i]->my_archive)
 	      {
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 343abce..c26c40b 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -913,16 +913,29 @@ elf_x86_64_check_tls_transition (bfd *abfd,
 
     case R_X86_64_GOTTPOFF:
       /* Check transition from IE access model:
-		movq foo@gottpoff(%rip), %reg
-		addq foo@gottpoff(%rip), %reg
+		mov foo@gottpoff(%rip), %reg
+		add foo@gottpoff(%rip), %reg
        */
 
-      if (offset < 3 || (offset + 4) > sec->size)
-	return FALSE;
-
-      val = bfd_get_8 (abfd, contents + offset - 3);
-      if (val != 0x48 && val != 0x4c)
-	return FALSE;
+      /* Check REX prefix first.  */
+      if (offset >= 3 && (offset + 4) <= sec->size)
+	{
+	  val = bfd_get_8 (abfd, contents + offset - 3);
+	  if (val != 0x48 && val != 0x4c)
+	    {
+	      /* X32 may have 0x44 REX prefix or no REX prefix.  */
+	      if (ABI_64_P (abfd))
+		return FALSE;
+	    }
+	}
+      else
+	{
+	  /* X32 may not have any REX prefix.  */
+	  if (ABI_64_P (abfd))
+	    return FALSE;
+	  if (offset < 2 || (offset + 3) > sec->size)
+	    return FALSE;
+	}
 
       val = bfd_get_8 (abfd, contents + offset - 2);
       if (val != 0x8b && val != 0x03)
@@ -2874,6 +2887,7 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 	    case R_X86_64_32:
 	      if (ABI_64_P (output_bfd))
 		goto do_relocation;
+	      /* FALLTHROUGH */
 	    case R_X86_64_64: 
 	      if (rel->r_addend != 0)
 		{
@@ -2937,7 +2951,7 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 		     internal symbol, we have updated addend.  */
 		  continue;
 		}


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2011-02-21 10:55 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2011-02-21 10:55 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  d8ff414447b79d76f4568900b2341e700131a104 (commit)
       via  09363f5ea451879d3bc391b32385a58c58021ebb (commit)
       via  268d2c044a1e1bbde23724f91236b275bb811956 (commit)
       via  88ca8b945d57e4df2c44ca3539de319183bb878a (commit)
       via  ecee1943ae80a7c215f0d5d481608af688e94838 (commit)
       via  831a4c272727ced21904659824e78d549ba1f222 (commit)
       via  9132aac991426fff40ff1fbed0f5d7e64f94d016 (commit)
       via  9cbfaabf390f34dcfdb38d7595d532596765ed41 (commit)
       via  a6dfc450b0461cca9f6ca98a325b6d6a0aecf4b1 (commit)
       via  a9b923be818b16b33ce92cdbf4a8cd2a1e4f759d (commit)
       via  1f0a29fbeaaf2fa576ed85db8c510975eb3edbaa (commit)
       via  5747263b3bfb67dc5dee5206d222c0411b85676a (commit)
       via  ccc6aa8f21f40a05896c8e811a62a024348300e2 (commit)
       via  b0ee80ffd78aaf4e8ab72de38bc5c98dcabaa78c (commit)
       via  d62706551da523c98e6936b77f84255d307afd9a (commit)
       via  6a65203d0660bc79b23917d5a8c0f9b08d433077 (commit)
       via  3202d6bde91167e1e4ae489f5bc373ce15c36f3f (commit)
       via  24b95a2196232300295b011167df4c0ac0d876ab (commit)
       via  d4d5a807ff23674ea8b4a4a8d214bd3af2f97007 (commit)
       via  1aec1a5a0e339ec0d67056ac95ea1a2b5a2ee20d (commit)
       via  5a9b0f85beaea772578661c6ce9f4b9684ad303f (commit)
       via  eaad3106d6f1785d4dbf13d6b0b265a8c79a7a8c (commit)
       via  a74d7e323498f3235ad3fe84b9ae5e5547f26f8e (commit)
       via  b928c0d60394697b23e0f5fc8d1bd62c0fe69060 (commit)
       via  f7673a7c0b56aec74cddcbaeff55f296c24696a4 (commit)
       via  8460985beb6e1828416d4b9e066fa065c8e323f1 (commit)
       via  fa9bddafa6b5632f2b4a50974e6a37172aea6767 (commit)
       via  faa1dd91269f2445b7ef3a618342b2d0f2524042 (commit)
       via  8eccfd2103e78a2ab03f44625740687d3fcb4407 (commit)
       via  8d35b3995d73e87826263f02da0fd05190d34638 (commit)
       via  029b4abd8e0cefb1a5441fa21aef6194e2937005 (commit)
       via  0eb1a6735ee66c020de660de053d719713cbe180 (commit)
       via  40280995d71d4308440b2e315b26a4c6adb3dfa7 (commit)
       via  36138ea20dfb51f3a575313b6388245d4f352f0a (commit)
       via  ea1cd3b3b7dfbc3b01d11217a4e45770ebe6ec83 (commit)
       via  013c34fbf75f6bc266780b93411c5112b34f8928 (commit)
       via  21336ac8c5732af60973597907bf05f083983068 (commit)
       via  1c87a8d2351c7a991c3000976a4d5712b35dc65b (commit)
       via  4ace45f68dea17d04253cc4ecded176660b84f5b (commit)
       via  380719737d29df7938f36365ce330ba8baefa60b (commit)
       via  22cd4d5013c70dda5079edca827e8eb90cf67a6a (commit)
       via  75137e262735658bbb1ee004286f976e6d47328a (commit)
       via  48d7883334d3a2d3f3fec543dd6636a32dd4230f (commit)
       via  dd1ced47463d49196deb4d46c687dbb468622505 (commit)
       via  02198265b69a85dfe8a6240b02356a930e932f20 (commit)
       via  edea306253a16a76f8971445626a9512974eb091 (commit)
       via  eabaff517967baa2549433f82ae86820c7996267 (commit)
       via  c7c23b0b1c2f82a24bde35a18fe8549b4d5a8101 (commit)
       via  214ee551673c9b0b6b2c9020f9e86d9011cb4911 (commit)
       via  3557d238ef89dbbbc8122d3605608e7b1303cd46 (commit)
       via  a9d76c0ed3004e3f629fba243259d71c3024093b (commit)
       via  3fcac5d0dd68bcde8e0a3344bbaced5f6f08fd09 (commit)
       via  2df8c0fa0d68220a5c6f17624dcecab841fa471b (commit)
       via  49f959ad49f77800e8be2eecbf8048dfe47f7925 (commit)
       via  862811ac870a3f8c35e70319fc0e566c79e4c528 (commit)
       via  cfc871c10147065a34120fa6e885530b70afaa15 (commit)
       via  0b99eaa23a00589655d011511e38578416bf118c (commit)
       via  1b368083ab2b61258ca543e94ba716130bea0b52 (commit)
       via  856b65754435b90c9b1bcec7db9d574eba045aad (commit)
       via  556e3b4dfb00739a8a575c27960afd91a879b09c (commit)
       via  4e7a26fc8cdef3845f6404d3344db971e7b840d9 (commit)
       via  47c85aa99650d8747efa4bf856a606e5ba40435e (commit)
       via  f3a44c80066ca14dba5287a76044ca8ed1375071 (commit)
       via  c9419584233887dfcf9481ece9490ca5ccc835a1 (commit)
       via  1a163d2b16a3192e4724a4f6270fe5a2d58d1465 (commit)
       via  aa4ca091d8e015ba58ad951d0df13d2127e7c633 (commit)
       via  3f5600b74388ede7caf2404e098323f3e2802c4c (commit)
       via  d9612bccd1918d73ce97aa4dde3e5a8c42ce35bd (commit)
       via  29b4389a0f5bd4b0c88743209ee56283680adb38 (commit)
       via  13b12c7db22468a021db59ab5e96222bf6059af6 (commit)
       via  1bfca6ddda2288b13f40035768abb998c7f20a3e (commit)
       via  65a711d066ca874003a100910f47edd3d0deceb6 (commit)
       via  713d8e495e4b772bdb7097297b7072d9c9c32cf3 (commit)
       via  071f12fd822ac670d6fc1eac2aa595bbabb69517 (commit)
       via  088fb8bccdbcbec081d5cea7814416f2fa224877 (commit)
       via  999294cfd150f1ed4393d349027f76ca77791761 (commit)
       via  2c53f3057e87a0683610f93ca295c4149ce0f589 (commit)
       via  c4f121580815d0d2767fed6906098f1a494472d8 (commit)
       via  727a3a5532e6b18c632a5d404fa9d2bf9a8f4473 (commit)
       via  cb90d2231795e71f93b6298cb3195f52eee7accd (commit)
       via  e275a10b1e3dc0a6048671ffd5f5e9a0d1d7fc67 (commit)
       via  a6e3210db7ee98f70ce97bf7fae59ee1ab011fb6 (commit)
       via  7e8fe5629367d9a70d642b1def35436611490b39 (commit)
       via  0c9ce8f7f9cf902229b1f718a84e56c588be4faa (commit)
       via  c6ce9cee23e384f9858fe51e4f65d9ededbff0d8 (commit)
       via  3db04b22333047072e92464fff090246e5a570d8 (commit)
       via  67d3c91a65d1fb133b1a45386cbc27bed1fe1490 (commit)
       via  d1a11fe646d2bf954560fcc5cc4a99678d984722 (commit)
       via  c93c96b8b6fa91a8aeb97e013399d2fdf6183368 (commit)
       via  532b15683a02ae07a0c15eda8652145853ec5086 (commit)
       via  c6fad41d782803bbb365e9465fba42b0876e1793 (commit)
       via  ba02454a11a324b99f309ee4c1534a6af5d702b8 (commit)
       via  fb3b6436c32daa1f104a04edfbf000799833b702 (commit)
       via  89b28d4d2691a7f44c961cbe69d3f5005c84e193 (commit)
       via  2085dc2fb8e527a26170aeb89d42f37118e84883 (commit)
       via  270cc2b8e38e82ae42a3727fcd8b45235e5f04d5 (commit)
       via  2e44e8d4141b6f17814d98d8559a76dd4d286246 (commit)
       via  d1d6a0c0f472243b300c90268bea083d1ecf9531 (commit)
       via  4646586202d5ee54ef85a8a1353e75beb739f744 (commit)
       via  05f25545cd26db17a7279a72279017f5bc946bd1 (commit)
       via  de970bd5ae74558b21453feaf00726e6e949f0e3 (commit)
       via  5365590483584791f139a03dfe322d811803e3f7 (commit)
       via  fd0a6e5cd0e8adf7f6039f4709772d61bba7806c (commit)
       via  905080c1ebe4d889977112e418c8dd3c66f93254 (commit)
       via  fc5653543cf9d6800023398a309d7a9edc4c1a55 (commit)
       via  69a632512a601889721f443f0a92d40597b49cae (commit)
       via  7827cb22db6c46f1623e79f90a23276032fa05c9 (commit)
       via  fc9d9ebd90ee721ee59fb908412073512201a930 (commit)
       via  f6f082adf8b91a72791ea5e7fe4d90be421ba1c2 (commit)
       via  6b83bddbdcae08479989869bdfab44fc3f691f5e (commit)
       via  3a1969d1cf18ce680dffcd999ec9dc9e6b8d0960 (commit)
       via  6045d9eaa27e91cfe24c3f321292340bd6fdcb1e (commit)
       via  5e212c44d6325da43d6026913f4c0b6a6dac43ae (commit)
       via  132c0351d9688a0a361e80eac3db504c76459bfa (commit)
       via  8c24c70e57f78215911295bcd9a905dc5286ca7d (commit)
       via  0ef84ab916432891107ba0cf525f39f5a422bba1 (commit)
       via  3787b7ce869e8d8219b2d66e28a2e2e1dd3c6a29 (commit)
       via  9e9dd9b4a86a9a90cc13d23ac8a03f5f8e4db6a9 (commit)
       via  8c5a634bffb212fadf96c090f12551160fffca3f (commit)
       via  e57673b758c6937387e1dce600640f6975de33ca (commit)
       via  0cb36e4336dda3b02cb9b881b64936598d90058f (commit)
       via  5601f014a0cb2e092cff4b865c6a66aa4c0feb9a (commit)
       via  a9af4cee739709dd2d21ab76518eec7ad8da921e (commit)
       via  aea4b56e481ae0eaddf174da30dce08f51bf7e0c (commit)
       via  0c19f5d53b325bd11bffc0dc1c8d748e65eac0be (commit)
       via  f9a1163f6bb3e6e557c7de7b7bd5975bfed7453d (commit)
       via  4fe7108dc3d2413b7a1f18088bb909f530ac06ee (commit)
       via  0cf67719c439bdaca4dcaa96a3e184f0fb8f4808 (commit)
       via  39ef19987def7efa0d1c2da48f3a553e6d3e8d83 (commit)
       via  cca2d397a12fd20ff653b0e016512afcd2b11df8 (commit)
       via  611ad28e343701634e7ff4118a980ed0a7304ffa (commit)
       via  7063e23c0aeefac10042f21ec94750c9e4f2d027 (commit)
       via  7a27d4eb297de6fb128d645b842fb69fb8009b8a (commit)
       via  9d430682ffe0a5eac0d751f94a01eb549913f198 (commit)
       via  1f98ab0509f8a7472b5f479543925f1ac0fd3b94 (commit)
       via  c1c25ddf9a650b13e11d883b38fc66c92545e7c7 (commit)
       via  67d7dd4b43447ecec11f4435620b880a009125a7 (commit)
       via  7bf3df7c0d31b6d00cfac7a9d1b72f7501704762 (commit)
       via  4478eb9a48d1ff72cc11dc6139b41a61a0bf910a (commit)
       via  4f9ed92e82a1ab3acb6589bb509c5a127e333f7f (commit)
       via  b5e58f583c517a7fcc7838a74ab9430ca5fec48d (commit)
       via  1e4106754f1995cf0b210f331b091f7b751ba10f (commit)
       via  480bdd67482f4d50905c6ff31b74111d1108da56 (commit)
       via  2e8a2a5a628b55350602e8984159c4acee4559e3 (commit)
       via  ab2ac0a44dadbddb0a68c3b1a6780eb494d44dd6 (commit)
       via  d948934f0203bf0665b4fd9e95f2d1848891b71d (commit)
       via  92ee4c816f095f8317d58f431022cfe55e331dbb (commit)
       via  9b725910d746f500e31d6c6a3fa60cf37aae985b (commit)
       via  167ff15ea4b4885cf5905ddaed706b99163ca828 (commit)
       via  526b6892295c060bfca99008bb3b45d2c5f70862 (commit)
       via  44b38307aa68837416a52d965f14242e9d21bd1e (commit)
       via  fc7a5cdb2a03795e7a9f6590330c5a1019f1b90f (commit)
       via  c16351a48f04db84a98d2c3ae022f15149eda0df (commit)
       via  dfaf14086e58b86ce945b9d51026b2e9d2af5053 (commit)
       via  40b3ea7303780e873c1b35002ee288e80bdcfae7 (commit)
       via  2da4355e0fc7ff79b16dbba9d79783cf96e50ec7 (commit)
       via  8939062d83880f1d9da3988a2e4066814ec30fc5 (commit)
       via  003cb3107fe4c84a6c05ba69a1c82aae8f427fa4 (commit)
       via  acc931bef4cae0b9cc35751bbff1b2e1b1d84c23 (commit)
       via  ad6a084ed88e4d8b4376e625060a17853e1d5b33 (commit)
       via  32688ec2a26c24094f0033874f05f1a63646c391 (commit)
       via  961b2121d701119c6c8936385a8db5e482a5b247 (commit)
       via  507759f37262afc670bbf18225300b11f8b116f5 (commit)
       via  4bec1ce565b273a7df3bb2a776b4e209636cc952 (commit)
       via  c0319cf84fe05c5a0b77ca97c380ea07fca5b2cc (commit)
       via  f160e5c4182410edebc60551d1843bfa8fcae678 (commit)
       via  f1582bd54c160a70ac2f3f76910d0bc7f13d6f3b (commit)
       via  b0efaeca545c99749589a680da5b2b1315f5026f (commit)
       via  28a2be073a317abb4b74da543fbbfba15790cd3b (commit)
       via  cb436fe3c74cb457292b2b3708eea8e3b0662819 (commit)
       via  abece3004d9eee7f8169c8754e1ff6572509780f (commit)
       via  be13bb8aedf78660eeeec80ffecc718295da05ee (commit)
       via  93bda8ae0c6a760a7f6c2296e408fe765e1ca6ee (commit)
       via  c08dcfa2035a1313df3cc865a6d8f6e7cbd8c7ac (commit)
       via  443c1710b16276c92ca17efd65b8d9b2a553f362 (commit)
       via  3c682556be34879ef07d4e084e089af206f712bf (commit)
       via  e4941aa858b64bb0d3d1687c3cb7530ac497645d (commit)
       via  1c0683b0c9850ec358e3620edabc7a1b8d716437 (commit)
       via  8b3af95e3ed31b3dcf54ca1d3aa5ab12b009acf1 (commit)
       via  257fa63a119a5c76c1272096d9b347dac736a047 (commit)
       via  ae257167dce6e586b1bc133113c5fc0b0bb16a79 (commit)
       via  febdcd0ab5e6683c579db6b6a4d879e12f4f8f68 (commit)
       via  42b79dd04365f5314d612cbbd024eef4998ed33b (commit)
       via  f6aba9259080ebccea08c6e1a45256b307721117 (commit)
       via  fca35f4056319f80cf589fab42d1a0f1703f477d (commit)
       via  739571cc3151651f49f7171cfd98275d983bfaaa (commit)
       via  d146488d02d0e3c294bfa31dc5f90b4af182e37d (commit)
       via  5a97c75134f8872ba2ea7f402d4574eb9ef99a63 (commit)
       via  f08414ea2993e4207ec4d3bdc81c1b524699fe8a (commit)
       via  b6a3bbda5068fc589f3b8abf9863cd35ee928d56 (commit)
       via  e9808f1c14f294a35c8176bab61e1c013de0236c (commit)
       via  6755a5598165f19919e8ce081132d68de27e53a2 (commit)
       via  b9353643361cce6871a3bffe4cde4ba58eb49769 (commit)
       via  7d2efa9dd1a77102f6af882636d88986ec115aa7 (commit)
       via  373852c3f7c9bf8ca8b5d41cf5d2618229f40179 (commit)
       via  16d03c1b227e42f5870d8d2e74a4580b368868ac (commit)
       via  cb33aaacb36247a46ae53153af684435df63b55f (commit)
       via  0c251f1b445cb0c3047f0dde658c376b25cf3d96 (commit)
       via  66978410554d7ae79de83fd5d9a3c4c710fb60db (commit)
       via  8a49b5a7e8b2f5425cf1181731dc0b2ca0ef639c (commit)
       via  02d806bdfd57dd87d74523f779a326ce3ecb63d6 (commit)
       via  cef1209d593d9175096b985e4621beaa36915651 (commit)
       via  c69ed139ec1eec85094a8ec40a6c17c86e8abe9b (commit)
       via  45e20c083dd51b6c2be3dfaa3563faf8d1686338 (commit)
       via  b2b6edb30a20dc33473a84a756fffb0b577eee9e (commit)
       via  09c4808efa5b1afd220d577524ddad1483f85e03 (commit)
       via  98e6e176de721ed19b7583b2c312dff94808d261 (commit)
       via  b4dcc5dda364c7759cb3a6ec8abbe9ab8f691c7e (commit)
       via  9a4b75ebfdfb930c477b89e53df31ba4bf9a6054 (commit)
       via  11d7271d2ab3f498297741d8b17b1d64629c7675 (commit)
       via  7a7b9ec1affc904a48d557920b6c81a31cb73f5e (commit)
       via  4f44044e5d621d70c5e82fc909b5fd59ffef8928 (commit)
       via  9bb94168b34dc266a9e8b253b5f19164a2f5d75c (commit)
       via  1ab50ed04640393c7a8bb8cf9e7ec85f1624da13 (commit)
       via  8304f3d125c4f81a2738493322dceeaab885bda8 (commit)
       via  5da312374e85ee40d05b5e2e819f73eab0004fb4 (commit)
       via  1e5bbf3b1790d01311bd3f4d214264f5ee6898f3 (commit)
       via  79237642eef6597134ac80981786cce1e22a53ba (commit)
       via  5445cfa30be6c748eed315a3d4f8ccf9837dbeda (commit)
       via  c907ddf5a0bb23b61d49433d34f9a4ae13984bcb (commit)
       via  6036748e86813b227838f980f7f43f3d896ac301 (commit)
       via  1580ae79702222958e97a7c656b6c55b42356d5b (commit)
       via  1bfe58a48a4796dc90557daa15980ad432fa202c (commit)
       via  c2ed5aba0c82a5e578071c4c8db2167b56c0647d (commit)
       via  c90ad9012c856f50d8fa34f3aa733933bde15b63 (commit)
       via  7c29bb2e4cedfa8fcd791dc4b30011eb089b828c (commit)
       via  d17b6ddf92ac5c99ff72803ef69d485a2e1987be (commit)
       via  4ea65719af9ba2c32d6b2a3d9914a0921da26130 (commit)
       via  e4a1a8c226fdb4dd0333417cd8e3f01f208aa28f (commit)
       via  c74c83004c5caecce726d76cdad661b7c2815d3c (commit)
       via  9dcf513c5352404803bb7ed31a083693d94f9847 (commit)
       via  03faa7d4e4e68bd1ae62cb40930019f8947f6f3d (commit)
       via  a5ef5cee8f062d0e83f8763214de964556dd6968 (commit)
       via  9a764ccdbb08dbff53e357579266bd094cb924d9 (commit)
      from  7fdf49d3701e604fc67e0da0deb56548ed5c375c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit d8ff414447b79d76f4568900b2341e700131a104
Merge: 7fdf49d 09363f5
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Feb 21 10:55:33 2011 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   83 +
 MAINTAINERS                                        |   10 +-
 Makefile.def                                       |   10 +-
 Makefile.in                                        |   55 +-
 Makefile.tpl                                       |    2 +-
 bfd/ChangeLog                                      |   48 +
 bfd/configure                                      |   12 +-
 bfd/elf.c                                          |   14 +-
 bfd/elf32-ppc.c                                    |    1 +
 bfd/elf64-ppc.c                                    |  131 +-
 bfd/elflink.c                                      |    8 +-
 bfd/version.h                                      |    2 +-
 bfd/vms-alpha.c                                    |    5 +-
 config.rpath                                       |    5 -
 config/ChangeLog                                   |   22 +-
 config/bootstrap-lto.mk                            |    5 +-
 config/cloog.m4                                    |    4 +-
 configure                                          |   81 +-
 configure.ac                                       |   74 +-
 gdb/ChangeLog                                      | 1144 ++++++++
 gdb/MAINTAINERS                                    |    2 +-
 gdb/Makefile.in                                    |  136 +-
 gdb/NEWS                                           |   22 +
 gdb/aclocal.m4                                     |   12 +-
 gdb/ada-lang.c                                     |   21 +-
 gdb/ada-operator.def                               |   99 +
 gdb/ada-operator.inc                               |  102 -
 gdb/ada-valprint.c                                 |   41 +-
 gdb/aix-thread.c                                   |   63 +-
 gdb/arm-linux-nat.c                                |   22 +-
 gdb/arm-linux-tdep.c                               |   10 +-
 gdb/arm-tdep.c                                     |  944 ++++++-
 gdb/arm-tdep.h                                     |    5 +-
 gdb/ax-gdb.c                                       |   74 +-
 gdb/ax-gdb.h                                       |    2 +
 gdb/ax-general.c                                   |  118 +-
 gdb/ax.h                                           |   69 +-
 gdb/breakpoint.c                                   |  350 ++-
 gdb/breakpoint.h                                   |   19 +-
 gdb/c-typeprint.c                                  |   31 +-
 gdb/c-valprint.c                                   |  121 +-
 gdb/cli/cli-cmds.c                                 |    4 +-
 gdb/cli/cli-setshow.c                              |   27 +-
 gdb/command.h                                      |    6 +-
 gdb/common/Makefile.in                             |  110 +
 gdb/common/aclocal.m4                              |   68 +
 gdb/common/ax.def                                  |   93 +
 gdb/{gdbserver => common}/configure                | 3023 +++-----------------
 gdb/common/configure.ac                            |   74 +
 gdb/configure                                      |  108 +-
 gdb/configure.ac                                   |   69 +-
 gdb/copying.c                                      |    4 +-
 gdb/corelow.c                                      |    4 +-
 gdb/cp-abi.c                                       |   32 +-
 gdb/cp-abi.h                                       |   28 +-
 gdb/cp-support.c                                   |    6 +-
 gdb/cp-valprint.c                                  |  105 +-
 gdb/data-directory/Makefile.in                     |    3 +-
 gdb/disasm.c                                       |   21 +-
 gdb/doc/ChangeLog                                  |   44 +
 gdb/doc/agentexpr.texi                             |   17 +
 gdb/doc/gdb.texinfo                                |  252 ++-
 gdb/doc/gdbint.texinfo                             |   24 +-
 gdb/dwarf2-frame.c                                 |   92 +-
 gdb/dwarf2-frame.h                                 |   14 +
 gdb/dwarf2expr.h                                   |    2 +-
 gdb/dwarf2loc.c                                    |   86 +-
 gdb/dwarf2loc.h                                    |   23 +
 gdb/dwarf2read.c                                   |  104 +-
 gdb/exceptions.h                                   |    7 +
 gdb/exec.c                                         |   36 +
 gdb/exec.h                                         |   12 +
 gdb/expprint.c                                     |  219 +--
 gdb/expression.h                                   |  333 +---
 gdb/f-valprint.c                                   |   33 +-
 gdb/features/traceframe-info.dtd                   |   13 +
 gdb/gdbserver/ChangeLog                            |   78 +
 gdb/gdbserver/Makefile.in                          |   45 +-
 gdb/gdbserver/aclocal.m4                           |    2 +-
 gdb/gdbserver/configure                            |   93 +
 gdb/gdbserver/configure.ac                         |    1 +
 gdb/gdbserver/i387-fp.c                            |   54 +-
 gdb/gdbserver/regcache.c                           |   87 +-
 gdb/gdbserver/regcache.h                           |   18 +
 gdb/gdbserver/server.c                             |   95 +-
 gdb/gdbserver/server.h                             |    2 +
 gdb/gdbserver/tracepoint.c                         |  309 ++-
 gdb/gdbtypes.c                                     |   23 +-
 gdb/gnu-v2-abi.c                                   |   46 +-
 gdb/gnu-v3-abi.c                                   |    7 +-
 gdb/i386-tdep.c                                    |   22 +-
 gdb/i386gnu-nat.c                                  |    4 +-
 gdb/infcmd.c                                       |   47 +-
 gdb/inferior.h                                     |    2 +
 gdb/inflow.c                                       |    2 +-
 gdb/infrun.c                                       |   38 +-
 gdb/jit.c                                          |  199 +-
 gdb/jv-valprint.c                                  |   32 +-
 gdb/linux-nat.c                                    |    2 +-
 gdb/m2-valprint.c                                  |   42 +-
 gdb/m32r-tdep.c                                    |    2 +-
 gdb/memory-map.c                                   |    8 +-
 gdb/memrange.c                                     |   88 +
 gdb/memrange.h                                     |   51 +
 gdb/mi/mi-main.c                                   |   21 +-
 gdb/mips-linux-tdep.c                              |   39 +
 gdb/mips-tdep.c                                    |   20 +-
 gdb/objfiles.h                                     |    2 +
 gdb/opencl-lang.c                                  |   14 +-
 gdb/osdata.c                                       |    4 +-
 gdb/p-valprint.c                                   |  124 +-
 gdb/ppc-sysv-tdep.c                                |  481 +++-
 gdb/printcmd.c                                     |  128 +-
 gdb/printcmd.h                                     |   30 +
 gdb/python/py-block.c                              |    8 +-
 gdb/python/py-bpevent.c                            |   52 +
 gdb/python/py-breakpoint.c                         |   41 +-
 gdb/python/py-cmd.c                                |    9 +-
 gdb/python/py-continueevent.c                      |   53 +
 gdb/python/py-event.c                              |  175 ++
 gdb/python/py-event.h                              |  121 +
 gdb/python/py-events.h                             |   59 +
 gdb/python/py-evtregistry.c                        |  170 ++
 gdb/python/py-evts.c                               |   71 +
 gdb/python/py-exitedevent.c                        |   71 +
 gdb/python/py-frame.c                              |    2 +-
 gdb/python/py-inferior.c                           |   63 +-
 gdb/python/py-lazy-string.c                        |    2 +-
 gdb/python/py-param.c                              |    4 +-
 gdb/python/py-prettyprint.c                        |   23 +-
 gdb/python/py-signalevent.c                        |   53 +
 gdb/python/py-stopevent.c                          |   92 +
 gdb/python/py-stopevent.h                          |   37 +
 gdb/python/py-symtab.c                             |    4 +-
 gdb/python/py-threadevent.c                        |   78 +
 gdb/python/py-type.c                               |    8 +-
 gdb/python/py-utils.c                              |   86 +-
 gdb/python/py-value.c                              |   19 +-
 gdb/python/python-config.py                        |   34 +-
 gdb/python/python-internal.h                       |   66 +-
 gdb/python/python.c                                |   22 +-
 gdb/regcache.c                                     |  117 +-
 gdb/regcache.h                                     |   23 +-
 gdb/remote-mips.c                                  |   62 +-
 gdb/remote.c                                       |   85 +-
 gdb/reverse.c                                      |   85 +-
 gdb/rs6000-tdep.c                                  |   14 +-
 gdb/solib-target.c                                 |    8 +-
 gdb/solib.c                                        |    4 +-
 gdb/spu-tdep.c                                     |   18 +-
 gdb/std-operator.def                               |  327 +++
 gdb/symtab.c                                       |    7 +-
 gdb/symtab.h                                       |    3 +-
 gdb/syscalls/mips-n32-linux.xml                    |  319 ++
 gdb/syscalls/mips-n64-linux.xml                    |  312 ++
 gdb/syscalls/mips-o32-linux.xml                    |  347 +++
 gdb/target.c                                       |  138 +-
 gdb/target.h                                       |   13 +-
 gdb/testsuite/ChangeLog                            |  244 ++-
 gdb/testsuite/gdb.ada/packed_array.exp             |   16 +
 gdb/testsuite/gdb.ada/packed_array/pa.adb          |   10 +
 .../gdb.ada/packed_array/{pa.adb => pck.adb}       |   21 +-
 .../gdb.ada/packed_array/{pa.adb => pck.ads}       |   18 +-
 gdb/testsuite/gdb.arch/altivec-abi.c               |    2 +-
 gdb/testsuite/gdb.arch/altivec-abi.exp             |    5 +-
 gdb/testsuite/gdb.arch/arm-disp-step.S             |   37 +
 gdb/testsuite/gdb.arch/arm-disp-step.exp           |   37 +
 gdb/testsuite/gdb.arch/vsx-regs.exp                |   37 +
 gdb/testsuite/gdb.base/break-interp.exp            |    2 +-
 gdb/testsuite/gdb.base/catch-syscall.exp           |    3 +-
 gdb/testsuite/gdb.base/default.exp                 |   10 +
 gdb/testsuite/gdb.base/disasm-end-cu-1.c           |   28 +
 gdb/testsuite/gdb.base/disasm-end-cu-2.c           |   28 +
 gdb/testsuite/gdb.base/disasm-end-cu.exp           |   49 +
 gdb/testsuite/gdb.base/frame-args.exp              |    2 +-
 gdb/testsuite/gdb.base/help.exp                    |   10 +
 gdb/testsuite/gdb.base/interact.exp                |   21 +-
 gdb/testsuite/gdb.base/jit-main.c                  |  203 ++
 gdb/testsuite/gdb.base/jit-solib.c                 |   22 +
 gdb/testsuite/gdb.base/jit.exp                     |  103 +
 gdb/testsuite/gdb.base/pie-execl.exp               |    3 +-
 gdb/testsuite/gdb.base/solib-nodir.exp             |    2 +-
 gdb/testsuite/gdb.base/solib-overlap.exp           |    9 +-
 gdb/testsuite/gdb.cp/noparam.cc                    |   29 +
 gdb/testsuite/gdb.cp/noparam.exp                   |   21 +
 gdb/testsuite/gdb.cp/nsnested.cc                   |   36 +
 gdb/testsuite/gdb.cp/nsnested.exp                  |   42 +
 gdb/testsuite/gdb.cp/nsnoimports.cc                |   37 +
 gdb/testsuite/gdb.cp/nsnoimports.exp               |   61 +
 gdb/testsuite/gdb.cp/overload-const.cc             |   28 +
 gdb/testsuite/gdb.cp/overload-const.exp            |   29 +
 gdb/testsuite/gdb.cp/typedef-operator.cc           |   31 +
 gdb/testsuite/gdb.cp/typedef-operator.exp          |   33 +
 gdb/testsuite/gdb.cp/virtbase.cc                   |   31 +
 gdb/testsuite/gdb.cp/virtbase.exp                  |   15 +
 gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp      |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-noloc.exp             |   26 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges.exp            |    5 +-
 gdb/testsuite/gdb.dwarf2/pieces.exp                |    2 +-
 gdb/testsuite/gdb.opencl/Makefile.in               |    2 +-
 gdb/testsuite/gdb.opencl/callfuncs.cl              |  218 ++
 gdb/testsuite/gdb.opencl/callfuncs.exp             |  102 +
 gdb/testsuite/gdb.opencl/convs_casts.cl            |   38 +-
 gdb/testsuite/gdb.opencl/convs_casts.exp           |   16 +-
 gdb/testsuite/gdb.opencl/datatypes.cl              |  152 +-
 gdb/testsuite/gdb.opencl/datatypes.exp             |  136 +-
 gdb/testsuite/gdb.opencl/operators.cl              |  122 +-
 gdb/testsuite/gdb.opencl/operators.exp             |   16 +-
 gdb/testsuite/gdb.opencl/vec_comps.cl              |   38 +-
 gdb/testsuite/gdb.opencl/vec_comps.exp             |   16 +-
 gdb/testsuite/gdb.opt/clobbered-registers-O2.exp   |    4 +-
 gdb/testsuite/gdb.opt/inline-locals.exp            |    4 +-
 gdb/testsuite/gdb.python/py-events.c               |   29 +
 gdb/testsuite/gdb.python/py-events.exp             |   59 +
 gdb/testsuite/gdb.python/py-events.py              |   64 +
 gdb/testsuite/gdb.python/py-evthreads.c            |   55 +
 gdb/testsuite/gdb.python/py-evthreads.exp          |  119 +
 gdb/testsuite/gdb.python/py-prettyprint.exp        |    7 +-
 gdb/testsuite/gdb.threads/fork-child-threads.exp   |    2 +-
 gdb/testsuite/gdb.threads/thread-find.exp          |  430 +++
 gdb/testsuite/gdb.trace/collection.c               |   20 +
 gdb/testsuite/gdb.trace/collection.exp             |   78 +-
 gdb/testsuite/gdb.trace/tfile.exp                  |    8 +
 gdb/testsuite/gdb.trace/unavailable.cc             |  275 ++
 gdb/testsuite/gdb.trace/unavailable.exp            |  340 +++
 gdb/testsuite/lib/gdb.exp                          |    7 +-
 gdb/thread.c                                       |  151 +-
 gdb/top.c                                          |   20 +-
 gdb/tracepoint.c                                   |  740 ++++--
 gdb/tracepoint.h                                   |   25 +-
 gdb/trad-frame.c                                   |    8 +-
 gdb/tui/tui-regs.c                                 |   18 +-
 gdb/valarith.c                                     |   17 +-
 gdb/valops.c                                       |  252 ++-
 gdb/valprint.c                                     |  117 +-
 gdb/valprint.h                                     |   13 +
 gdb/value.c                                        |  696 ++++-
 gdb/value.h                                        |   95 +-
 gdb/vec.h                                          |    4 +-
 gdb/version.in                                     |    2 +-
 gdb/xml-support.c                                  |   18 +-
 gdb/xml-support.h                                  |    6 +
 gdb/xml-tdesc.c                                    |   41 +-
 include/ChangeLog                                  |    4 +
 include/dwarf2.h                                   |   10 +-
 include/opcode/ChangeLog                           |   14 +
 include/opcode/bfin.h                              |   30 +-
 include/opcode/tic6x-opcode-table.h                |    8 +-
 include/opcode/tic6x.h                             |    3 +-
 libiberty/ChangeLog                                |   19 +
 libiberty/bsearch.c                                |    4 +-
 libiberty/concat.c                                 |    8 +-
 libiberty/crc32.c                                  |    5 +-
 libiberty/fnmatch.txh                              |    3 +-
 libiberty/fopen_unlocked.c                         |   11 +-
 libiberty/functions.texi                           |  328 ++-
 libiberty/gather-docs                              |    6 +-
 libiberty/hashtab.c                                |    6 +-
 libiberty/insque.c                                 |    3 +-
 libiberty/make-relative-prefix.c                   |    3 +-
 libiberty/memchr.c                                 |    3 +-
 libiberty/memcmp.c                                 |    3 +-
 libiberty/memcpy.c                                 |    3 +-
 libiberty/memmem.c                                 |    5 +-
 libiberty/memmove.c                                |    3 +-
 libiberty/mempcpy.c                                |    5 +-
 libiberty/memset.c                                 |    3 +-
 libiberty/pexecute.txh                             |   40 +-
 libiberty/random.c                                 |    3 +-
 libiberty/setenv.c                                 |    6 +-
 libiberty/setproctitle.c                           |    4 +-
 libiberty/simple-object.txh                        |   45 +-
 libiberty/snprintf.c                               |    5 +-
 libiberty/splay-tree.c                             |   16 +-
 libiberty/stpncpy.c                                |    5 +-
 libiberty/strncmp.c                                |    3 +-
 libiberty/strtod.c                                 |    5 +-
 libiberty/strtol.c                                 |    6 +-
 libiberty/vasprintf.c                              |    5 +-
 libiberty/vprintf.c                                |    6 +-
 libiberty/vsnprintf.c                              |    5 +-
 libiberty/xmemdup.c                                |    3 +-
 libtool.m4                                         |    8 -
 move-if-change                                     |   81 +-
 opcodes/ChangeLog                                  |   71 +
 opcodes/bfin-dis.c                                 |  289 +--
 opcodes/configure                                  |   12 +-
 opcodes/i386-dis.c                                 |   10 +-
 opcodes/po/da.po                                   |   41 +-
 sim/common/ChangeLog                               |   30 +
 sim/common/hw-alloc.c                              |   10 +-
 sim/common/hw-base.c                               |    2 +-
 sim/common/hw-handles.c                            |    4 +-
 sim/common/hw-instances.c                          |    6 +-
 sim/common/hw-tree.c                               |    8 +-
 sim/common/sim-core.c                              |    8 +-
 sim/common/sim-cpu.c                               |    2 +-
 sim/common/sim-events.h                            |    2 +-
 sim/common/sim-hw.c                                |    2 +-
 sim/common/sim-memopt.c                            |    8 +-
 sim/common/sim-module.c                            |   12 +-
 sim/common/sim-options.c                           |   10 +-
 sim/common/sim-profile.c                           |    4 +-
 sim/common/sim-utils.c                             |    8 +-
 sim/common/sim-utils.h                             |    2 -
 sim/common/sim-watch.c                             |    2 +-
 sim/igen/ChangeLog                                 |    4 +
 sim/igen/table.c                                   |    2 +-
 sim/iq2000/ChangeLog                               |    4 +
 sim/iq2000/iq2000.c                                |    6 +-
 sim/mips/ChangeLog                                 |    6 +
 sim/mips/dv-tx3904sio.c                            |    4 +-
 sim/mips/interp.c                                  |    6 +-
 sim/ppc/ChangeLog                                  |   39 +
 sim/ppc/cap.c                                      |    2 +-
 sim/ppc/corefile.c                                 |    4 +-
 sim/ppc/device.c                                   |   24 +-
 sim/ppc/emul_bugapi.c                              |    4 +-
 sim/ppc/emul_netbsd.c                              |    8 +-
 sim/ppc/emul_unix.c                                |    4 +-
 sim/ppc/events.c                                   |    8 +-
 sim/ppc/hw_disk.c                                  |    4 +-
 sim/ppc/hw_eeprom.c                                |    2 +-
 sim/ppc/hw_htab.c                                  |    2 +-
 sim/ppc/hw_init.c                                  |    2 +-
 sim/ppc/hw_memory.c                                |    6 +-
 sim/ppc/main.c                                     |    6 -
 sim/ppc/pk_disklabel.c                             |    2 +-
 sim/ppc/sim_callbacks.h                            |    2 -
 sim/ppc/sim_calls.c                                |    5 -
 sim/ppc/table.c                                    |    2 +-
 sim/ppc/tree.c                                     |    8 +-
 sim/sh64/ChangeLog                                 |    4 +
 sim/sh64/sh64.c                                    |    6 +-
 sim/v850/ChangeLog                                 |    4 +
 sim/v850/simops.c                                  |   16 +-
 336 files changed, 15827 insertions(+), 6220 deletions(-)
 create mode 100644 gdb/ada-operator.def
 delete mode 100644 gdb/ada-operator.inc
 create mode 100644 gdb/common/Makefile.in
 create mode 100644 gdb/common/aclocal.m4
 create mode 100644 gdb/common/ax.def
 copy gdb/{gdbserver => common}/configure (62%)
 create mode 100644 gdb/common/configure.ac
 create mode 100644 gdb/features/traceframe-info.dtd
 create mode 100644 gdb/memrange.c
 create mode 100644 gdb/memrange.h
 create mode 100644 gdb/printcmd.h
 create mode 100644 gdb/python/py-bpevent.c
 create mode 100644 gdb/python/py-continueevent.c
 create mode 100644 gdb/python/py-event.c
 create mode 100644 gdb/python/py-event.h
 create mode 100644 gdb/python/py-events.h
 create mode 100644 gdb/python/py-evtregistry.c
 create mode 100644 gdb/python/py-evts.c
 create mode 100644 gdb/python/py-exitedevent.c
 create mode 100644 gdb/python/py-signalevent.c
 create mode 100644 gdb/python/py-stopevent.c
 create mode 100644 gdb/python/py-stopevent.h
 create mode 100644 gdb/python/py-threadevent.c
 create mode 100644 gdb/std-operator.def
 create mode 100644 gdb/syscalls/mips-n32-linux.xml
 create mode 100644 gdb/syscalls/mips-n64-linux.xml
 create mode 100644 gdb/syscalls/mips-o32-linux.xml
 copy gdb/testsuite/gdb.ada/packed_array/{pa.adb => pck.adb} (72%)
 copy gdb/testsuite/gdb.ada/packed_array/{pa.adb => pck.ads} (72%)
 create mode 100644 gdb/testsuite/gdb.base/disasm-end-cu-1.c
 create mode 100644 gdb/testsuite/gdb.base/disasm-end-cu-2.c
 create mode 100644 gdb/testsuite/gdb.base/disasm-end-cu.exp
 create mode 100644 gdb/testsuite/gdb.base/jit-main.c
 create mode 100644 gdb/testsuite/gdb.base/jit-solib.c
 create mode 100644 gdb/testsuite/gdb.base/jit.exp
 create mode 100644 gdb/testsuite/gdb.cp/noparam.cc
 create mode 100644 gdb/testsuite/gdb.cp/noparam.exp
 create mode 100644 gdb/testsuite/gdb.cp/nsnested.cc
 create mode 100644 gdb/testsuite/gdb.cp/nsnested.exp
 create mode 100644 gdb/testsuite/gdb.cp/nsnoimports.cc
 create mode 100644 gdb/testsuite/gdb.cp/nsnoimports.exp
 create mode 100644 gdb/testsuite/gdb.cp/overload-const.cc
 create mode 100644 gdb/testsuite/gdb.cp/overload-const.exp
 create mode 100644 gdb/testsuite/gdb.cp/typedef-operator.cc
 create mode 100644 gdb/testsuite/gdb.cp/typedef-operator.exp
 create mode 100644 gdb/testsuite/gdb.opencl/callfuncs.cl
 create mode 100644 gdb/testsuite/gdb.opencl/callfuncs.exp
 create mode 100644 gdb/testsuite/gdb.python/py-events.c
 create mode 100644 gdb/testsuite/gdb.python/py-events.exp
 create mode 100644 gdb/testsuite/gdb.python/py-events.py
 create mode 100644 gdb/testsuite/gdb.python/py-evthreads.c
 create mode 100644 gdb/testsuite/gdb.python/py-evthreads.exp
 create mode 100644 gdb/testsuite/gdb.threads/thread-find.exp
 create mode 100644 gdb/testsuite/gdb.trace/unavailable.cc
 create mode 100644 gdb/testsuite/gdb.trace/unavailable.exp

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 30aa6ba..9f4591d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,86 @@
+2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Import from Libtool and gnulib:
+
+	2011-01-27  Gerald Pfeifer  <gerald@pfeifer.com>
+
+	Prepare for supporting FreeBSD 10.
+	* config.rpath: Remove handling of freebsd1* which soon would
+	match FreeBSD 10.0.
+
+	2011-01-20  Gerald Pfeifer  <gerald@pfeifer.com>  (tiny change)
+
+	Remove support for FreeBSD 1.x.
+	* libtool.m4 (_LT_LINKER_SHLIBS)
+	(_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which
+	soon would incorrectly match FreeBSD 10.0.
+
+2011-02-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	PR binutils/12283
+	* MAINTAINERS (mkinstalldirs): Comes from Automake.
+	(move-if-change): Comes from gnulib.
+	* move-if-change: Import version from gnulib.
+
+2011-02-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Sync from GCC:
+
+	2011-02-12  Alexandre Oliva  <aoliva@redhat.com>
+
+	PR lto/47225
+	* Makefile.def (lto-plugin): Double dash for enable-shared.
+	(configure-gcc): Depend on all-lto-plugin.
+	* Makefile.in: Rebuilt.
+
+	2011-02-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* configure.ac: Remove extra bracket.
+	* configure: Regenerate.
+
+	2011-02-06  Kai Tietz  <kai.tietz@onevision.com>
+
+	PR lto/47225
+	* Makefile.def: Add dependency for install-gcc
+	on install-lto-plugin.
+	* Makfile.in: Regenerated
+
+	2011-01-25  Jakub Jelinek  <jakub@redhat.com>
+
+	* configure.ac: If with_ppl is no, move setting with_cloog=no
+	after CLOOG_REQUESTED check.
+	* configure: Regenerated.
+
+	2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* configure.ac: Call AC_MSG_ERROR when PPL 0.11 is not present and
+	CLooG has been requested.
+	* configure: Regenerated.
+
+	2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* configure: Regenerated.
+	* configure.ac: Check for version 0.11 (or later revision) of PPL.
+
+	2011-01-25  Tobias Grosser  <grosser@fim.uni-passau.de>
+
+	* configure: Regenerated.
+	* configure.ac: Use CLOOG_CHECK_VERSION(0,16,1).
+
+	2011-01-07  Jan Hubicka  <jh@suse.cz>
+
+	PR lto/47225
+	* Makefile.in: Regenerate.
+	* Makefile.def (lto-plugin): Always pass enable-shared to the plugin
+	configure.
+
+2011-01-31  Alexandre Oliva  <aoliva@redhat.com>
+
+	PR libgcj/44341
+	* configure.ac: Discard --with-* flags for host when configuring
+	target libraries for cross build.
+	* configure: Rebuilt.
+
 2011-01-21  Andreas Schwab  <schwab@redhat.com>
 
 	Sync from GCC:
diff --git a/MAINTAINERS b/MAINTAINERS
index a471c90..046c5ea 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -38,7 +38,7 @@ config.guess; config.sub; readline/support/config.{sub,guess}
 		binutils@sourceware.org
 		gdb-patches@sourceware.org
 
-depcomp
+depcomp; mkinstalldirs
         Send bug reports and patches to bug-automake@gnu.org.
 
 gdb/; readline/; sim/; GDB's part of include/
@@ -69,12 +69,8 @@ ltconfig; ltmain.sh; ltcf-*.sh
 	sources or submitted to the master file maintainer and brought
 	in via a merge.
 
-mkinstalldirs; move-if-change
-	autoconf: http://gnu.org
-	Patches to autoconf-patches@gnu.org.
-	Changes need to be done in tandem with the official AUTOCONF
-	sources or submitted to the master file maintainer and brought
-	in via a merge.
+move-if-change
+	Send bug reports and patches to bug-gnulib@gnu.org.
 
 symlink-tree
 	gcc: http://gcc.gnu.org
diff --git a/Makefile.def b/Makefile.def
index 8eb5b03..85b582c 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -4,7 +4,7 @@ AutoGen definitions Makefile.tpl;
 // Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
 // This file was originally written by Nathanael Nerode.
 //
-//   Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+//   Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 //   Free Software Foundation
 //
 // This file is free software; you can redistribute it and/or modify
@@ -145,7 +145,8 @@ host_modules= { module= libtermcap; no_check=true;
                 missing=maintainer-clean; };
 host_modules= { module= utils; no_check=true; };
 host_modules= { module= gnattools; };
-host_modules= { module= lto-plugin; bootstrap=true; };
+host_modules= { module= lto-plugin; bootstrap=true;
+		extra_configure_flags=--enable-shared; };
 
 target_modules = { module= libstdc++-v3;
 		   bootstrap=true;
@@ -321,6 +322,7 @@ dependencies = { module=all-build-fixincludes; on=all-build-libiberty; };
 
 // Host modules specific to gcc.
 dependencies = { module=configure-gcc; on=configure-intl; };
+dependencies = { module=configure-gcc; on=all-lto-plugin; };
 dependencies = { module=configure-gcc; on=all-binutils; };
 dependencies = { module=configure-gcc; on=all-gas; };
 dependencies = { module=configure-gcc; on=all-ld; };
@@ -344,11 +346,13 @@ dependencies = { module=all-gcc; on=all-libcpp; hard=true; };
 dependencies = { module=all-gcc; on=all-libdecnumber; hard=true; };
 dependencies = { module=all-gcc; on=all-libiberty; };
 dependencies = { module=all-gcc; on=all-fixincludes; };
+dependencies = { module=all-gcc; on=all-lto-plugin; };
 dependencies = { module=info-gcc; on=all-build-libiberty; };
 dependencies = { module=dvi-gcc; on=all-build-libiberty; };
 dependencies = { module=pdf-gcc; on=all-build-libiberty; };
 dependencies = { module=html-gcc; on=all-build-libiberty; };
 dependencies = { module=install-gcc ; on=install-fixincludes; };
+dependencies = { module=install-gcc ; on=install-lto-plugin; };
 dependencies = { module=install-strip-gcc ; on=install-strip-fixincludes; };
 
 dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; };
@@ -360,7 +364,7 @@ dependencies = { module=all-fixincludes; on=all-libiberty; };
 
 dependencies = { module=all-gnattools; on=all-target-libada; };
 
-dependencies = { module=all-lto-plugin; on=all-gcc; };
+dependencies = { module=all-lto-plugin; on=all-libiberty; };
 
 dependencies = { module=configure-mpfr; on=all-gmp; };
 dependencies = { module=configure-mpc; on=all-mpfr; };
diff --git a/Makefile.in b/Makefile.in
index 945fc5d..660f813 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -3,7 +3,7 @@
 #
 # Makefile for directory with subdirs to build.
 #   Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-#   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+#   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 #   Free Software Foundation
 #
 # This file is free software; you can redistribute it and/or modify
@@ -45248,7 +45248,7 @@ configure-lto-plugin:
 	libsrcdir="$$s/lto-plugin"; \
 	$(SHELL) $${libsrcdir}/configure \
 	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
-	  --target=${target_alias} $${srcdiroption}  \
+	  --target=${target_alias} $${srcdiroption} --enable-shared \
 	  || exit 1
 @endif lto-plugin
 
@@ -45282,7 +45282,8 @@ configure-stage1-lto-plugin:
 	$(SHELL) $${libsrcdir}/configure \
 	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
 	  --target=${target_alias} $${srcdiroption} \
-	  $(STAGE1_CONFIGURE_FLAGS)
+	  $(STAGE1_CONFIGURE_FLAGS) \
+	  --enable-shared
 @endif lto-plugin-bootstrap
 
 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
@@ -45315,7 +45316,8 @@ configure-stage2-lto-plugin:
 	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
 	  --target=${target_alias} $${srcdiroption} \
 	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGE2_CONFIGURE_FLAGS)
+	  $(STAGE2_CONFIGURE_FLAGS) \
+	  --enable-shared
 @endif lto-plugin-bootstrap
 
 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
@@ -45348,7 +45350,8 @@ configure-stage3-lto-plugin:
 	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
 	  --target=${target_alias} $${srcdiroption} \
 	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGE3_CONFIGURE_FLAGS)
+	  $(STAGE3_CONFIGURE_FLAGS) \
+	  --enable-shared
 @endif lto-plugin-bootstrap
 
 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
@@ -45381,7 +45384,8 @@ configure-stage4-lto-plugin:
 	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
 	  --target=${target_alias} $${srcdiroption} \
 	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGE4_CONFIGURE_FLAGS)
+	  $(STAGE4_CONFIGURE_FLAGS) \
+	  --enable-shared
 @endif lto-plugin-bootstrap
 
 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
@@ -45414,7 +45418,8 @@ configure-stageprofile-lto-plugin:
 	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
 	  --target=${target_alias} $${srcdiroption} \
 	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGEprofile_CONFIGURE_FLAGS)
+	  $(STAGEprofile_CONFIGURE_FLAGS) \
+	  --enable-shared
 @endif lto-plugin-bootstrap
 
 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
@@ -45447,7 +45452,8 @@ configure-stagefeedback-lto-plugin:
 	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
 	  --target=${target_alias} $${srcdiroption} \
 	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGEfeedback_CONFIGURE_FLAGS)
+	  $(STAGEfeedback_CONFIGURE_FLAGS) \
+	  --enable-shared
 @endif lto-plugin-bootstrap
 
 
@@ -60260,6 +60266,14 @@ configure-stage3-gcc: maybe-configure-stage3-intl
 configure-stage4-gcc: maybe-configure-stage4-intl
 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
+configure-gcc: maybe-all-lto-plugin
+
+configure-stage1-gcc: maybe-all-stage1-lto-plugin
+configure-stage2-gcc: maybe-all-stage2-lto-plugin
+configure-stage3-gcc: maybe-all-stage3-lto-plugin
+configure-stage4-gcc: maybe-all-stage4-lto-plugin
+configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
+configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
 configure-gcc: maybe-all-binutils
 
 configure-stage1-gcc: maybe-all-stage1-binutils
@@ -60437,6 +60451,14 @@ all-stage4-gcc: maybe-all-stage4-libiberty
 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
 all-gcc: maybe-all-fixincludes
+all-gcc: maybe-all-lto-plugin
+
+all-stage1-gcc: maybe-all-stage1-lto-plugin
+all-stage2-gcc: maybe-all-stage2-lto-plugin
+all-stage3-gcc: maybe-all-stage3-lto-plugin
+all-stage4-gcc: maybe-all-stage4-lto-plugin
+all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
+all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
 info-gcc: maybe-all-build-libiberty
 
 info-stage1-gcc: maybe-all-build-libiberty
@@ -60470,6 +60492,7 @@ html-stage4-gcc: maybe-all-build-libiberty
 html-stageprofile-gcc: maybe-all-build-libiberty
 html-stagefeedback-gcc: maybe-all-build-libiberty
 install-gcc: maybe-install-fixincludes
+install-gcc: maybe-install-lto-plugin
 install-strip-gcc: maybe-install-strip-fixincludes
 configure-libcpp: configure-libiberty
 
@@ -60505,14 +60528,14 @@ all-stageprofile-libcpp: maybe-all-stageprofile-intl
 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
 all-fixincludes: maybe-all-libiberty
 all-gnattools: maybe-all-target-libada
-all-lto-plugin: maybe-all-gcc
-
-all-stage1-lto-plugin: maybe-all-stage1-gcc
-all-stage2-lto-plugin: maybe-all-stage2-gcc
-all-stage3-lto-plugin: maybe-all-stage3-gcc
-all-stage4-lto-plugin: maybe-all-stage4-gcc
-all-stageprofile-lto-plugin: maybe-all-stageprofile-gcc
-all-stagefeedback-lto-plugin: maybe-all-stagefeedback-gcc
+all-lto-plugin: maybe-all-libiberty
+
+all-stage1-lto-plugin: maybe-all-stage1-libiberty
+all-stage2-lto-plugin: maybe-all-stage2-libiberty
+all-stage3-lto-plugin: maybe-all-stage3-libiberty
+all-stage4-lto-plugin: maybe-all-stage4-libiberty
+all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
+all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
 configure-mpfr: maybe-all-gmp
 
 configure-stage1-mpfr: maybe-all-stage1-gmp
diff --git a/Makefile.tpl b/Makefile.tpl
index f9a2936..7ad0896 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -6,7 +6,7 @@ in
 #
 # Makefile for directory with subdirs to build.
 #   Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-#   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+#   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 #   Free Software Foundation
 #
 # This file is free software; you can redistribute it and/or modify
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9bbd329..1ab968c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,51 @@
+2011-02-15  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
+
+2011-02-15  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_edit_toc): Reinstate second read of
+	toc relocs.  Fuss over free(NULL).
+
+2011-02-14  Mike Frysinger  <vapier@gentoo.org>
+
+	* elflink.c (bfd_elf_size_dynamic_sections): Add
+	bfd_get_symbol_leading_char to the start of newname.
+
+2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* configure: Regenerate.
+
+2011-02-09  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_edit_toc): Don't free toc relocs until
+	we are done.  When optimising large toc, check that a global
+	symbol on a toc reloc is defined in a kept section.
+
+2011-02-08  Nick Clifton  <nickc@redhat.com>
+
+	PR binutils/12467
+	* elf.c (assign_file_positions_for_load_sections): Set the program
+	header offset and entry size to zero if there are no program
+	headers.
+
+2011-02-08  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_edit_toc): Don't segfault on NULL
+	local_syms when looking for local symbols in .toc.
+
+2011-02-01  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_next_input_section): Use elf_gp value
+	for toc pointer on any section having makes_toc_func_call set.
+	(check_pasted_section): Ensure pasted .init/.fini fragments use
+	the same toc if any has makes_toc_func_call set.
+
+2011-01-28  Joseph Myers  <joseph@codesourcery.com>
+
+	* elf32-ppc.c (ppc_elf_link_hash_newfunc): Initialize has_sda_refs
+	field.
+
 2011-01-22  Richard Sandiford  <rdsandiford@googlemail.com>
 
 	* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Ignore
diff --git a/bfd/configure b/bfd/configure
index 5085580..63dd10d 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -9627,10 +9627,6 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       hardcode_shlibpath_var=no
       ;;
 
-    freebsd1*)
-      ld_shlibs=no
-      ;;
-
     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     # support.  Future versions do this automatically, but an explicit c++rt0.o
     # does not break anything, and helps significantly (at the cost of a little
@@ -10549,10 +10545,6 @@ dgux*)
   shlibpath_var=LD_LIBRARY_PATH
   ;;
 
-freebsd1*)
-  dynamic_linker=no
-  ;;
-
 freebsd* | dragonfly*)
   # DragonFly does not have aout.  When/if they implement a new
   # versioning mechanism, adjust this.
@@ -11412,7 +11404,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11415 "configure"
+#line 11407 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11518,7 +11510,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11521 "configure"
+#line 11513 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff --git a/bfd/elf.c b/bfd/elf.c
index 257cc8c..c77dced 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -4334,8 +4334,18 @@ assign_file_positions_for_load_sections (bfd *abfd,
 	header_pad = m->header_size;
     }
 
-  elf_elfheader (abfd)->e_phoff = bed->s->sizeof_ehdr;
-  elf_elfheader (abfd)->e_phentsize = bed->s->sizeof_phdr;
+  if (alloc)
+    {
+      elf_elfheader (abfd)->e_phoff = bed->s->sizeof_ehdr;
+      elf_elfheader (abfd)->e_phentsize = bed->s->sizeof_phdr;
+    }
+  else
+    {
+      /* PR binutils/12467.  */
+      elf_elfheader (abfd)->e_phoff = 0;
+      elf_elfheader (abfd)->e_phentsize = 0;
+    }
+  
   elf_elfheader (abfd)->e_phnum = alloc;
 
   if (elf_tdata (abfd)->program_header_size == (bfd_size_type) -1)
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index 77a9d1e..fcbfa83 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -2785,6 +2785,7 @@ ppc_elf_link_hash_newfunc (struct bfd_hash_entry *entry,
       ppc_elf_hash_entry (entry)->linker_section_pointer = NULL;
       ppc_elf_hash_entry (entry)->dyn_relocs = NULL;
       ppc_elf_hash_entry (entry)->tls_mask = 0;
+      ppc_elf_hash_entry (entry)->has_sda_refs = 0;
     }
 
   return entry;
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 5c35dc1..856c68a 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -1,6 +1,6 @@
 /* PowerPC64-specific support for 64-bit ELF.
    Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
-   2009, 2010 Free Software Foundation, Inc.
+   2009, 2010, 2011 Free Software Foundation, Inc.
    Written by Linus Nordberg, Swox AB <info@swox.com>,
    based on elf32-ppc.c by Ian Lance Taylor.
    Largely rewritten by Alan Modra.
@@ -7907,7 +7907,7 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
       asection *toc, *sec;
       Elf_Internal_Shdr *symtab_hdr;
       Elf_Internal_Sym *local_syms;
-      Elf_Internal_Rela *relstart, *rel;
+      Elf_Internal_Rela *relstart, *rel, *toc_relocs;
       unsigned long *skip, *drop;
       unsigned char *used;
       unsigned char *keep, last, some_unused;
@@ -7922,6 +7922,7 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 	  || elf_discarded_section (toc))
 	continue;
 
+      toc_relocs = NULL;
       local_syms = NULL;
       symtab_hdr = &elf_symtab_hdr (ibfd);
 
@@ -8017,12 +8018,12 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 	  && toc->reloc_count != 0)
 	{
 	  /* Read toc relocs.  */
-	  relstart = _bfd_elf_link_read_relocs (ibfd, toc, NULL, NULL,


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2011-01-17 13:32 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2011-01-17 13:32 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  0dd53dda9fc66ec839c7b83abdb6c648573ae90b (commit)
       via  54cd47005c5ee2158c538f725502b10fedadefc9 (commit)
       via  893e939f750c3d0018aca70a5b181f7554973854 (commit)
       via  0d8306bf351509bad634e46c2f85c942e9a0649e (commit)
       via  afb11568c4568d0b5e90c87ae26ae2f9e1a56665 (commit)
       via  8714d5976f75118ff9e1b284c73b7a574369bc28 (commit)
       via  0894b5fe27eb14ef6ba5a8136b9a0ccbf81c9a6e (commit)
       via  ed85087ca82b4eab3963a71f2e653766eb7f80fa (commit)
       via  dc2d67fd3e4bc8d43ece6e1e1d99094bfa380b7a (commit)
       via  e09e73569d08e1331fe321d1e718981422dba1d0 (commit)
       via  3203bab0c398e48e49ba8769e32d631668df0876 (commit)
       via  995cd3a81fae4c618e014cd3d2d160cce8789d64 (commit)
       via  4269a038b0a3f9986ba0ea9e264d1e3414be3de6 (commit)
       via  ef5da9c976a31b13935fc4e68b557e836bb9051c (commit)
       via  a3786c88ba877b599b557aedc98a4e69b4a7986f (commit)
       via  a1a6376c78ed5738c041dac4060103db68479004 (commit)
       via  654348f5c99e8119e538c96fd974dfab2eaf4e8a (commit)
       via  b439e77336d08eb7a64a7c760d9775770b3d4d9a (commit)
       via  2c7df889b82de365727725ce224323c1627fc4d0 (commit)
       via  b81a31ca876f98fe3df6cca179cd1b80f56dd634 (commit)
       via  4e0d07bbdcbb3ea9765e1d044aa32526b5bddf66 (commit)
       via  92f94c62fe0788276b24d4bd2245fdd67158626e (commit)
       via  26d2277068ada3d73735650612ca7582dff749ce (commit)
       via  c382ea4cb3cd4f4adb6c38ae8fc91f2cc7b57998 (commit)
       via  4519eb03863a0545796b91f72db9905ad4d54dd3 (commit)
       via  16b42d642118a4ecd243a92a3d30e6ec9ef79a61 (commit)
       via  0c2a9d801d0e4408bf4d0f2626113dbe0975b1ab (commit)
       via  42f46242b4239897ce78996e8031fb2b453b0f3a (commit)
       via  e00546ebc6c70d040e7c60c62bb36b365faf0fd4 (commit)
       via  b5963657c4f9bb09156162a65cc035ea55d1ae7f (commit)
       via  3c2918a7e5bb6ae18918c69709484aa78428b4a5 (commit)
       via  0e52d299faed3f6430189eb5b1b3e26c62258693 (commit)
       via  af373e307707382768713c023fcb27fefa354cf9 (commit)
       via  b18c57162019bdff244dc29515e319ea9d13626b (commit)
       via  20541a0f11ccd017f244324bef98525430afd5c8 (commit)
       via  2a1a3a7404d1f4acd07972de3d032c73d8d58560 (commit)
       via  48bb01b777ff8fb052f1a5929ba8405e7d743292 (commit)
       via  061e2c2f4e9bcb4e0ac90e88f7f7d268bde804c7 (commit)
       via  0da3e49c580365820be2b987b249440a20cb7a3c (commit)
       via  d91fc7a0c85a7c766dffe52fdffc0045d3f9bc0f (commit)
       via  b953243d1c850a363213d86756758781d3cee226 (commit)
       via  2c6b777e7c2cd56d6f5630375e33c64cefc129e5 (commit)
       via  84c64d73f27c2def9f23dc6cfd1171da907ce3a1 (commit)
       via  a60996756955cc8cad77994629d622fed5572f16 (commit)
       via  8fefa6e4f261647761bdcaa766a146870400332e (commit)
       via  b821d466c42caf0af01fb9ce64633ee81f0aca62 (commit)
       via  80c01fc5c301000b6100ec2f19524415dbe5926d (commit)
       via  840a7679a7dbbba41eb9c4ec9aadd691c6e22ca0 (commit)
       via  c9ac506053cefef4c28b5f516b473dd6b8246814 (commit)
       via  29c91bff191d72fd6250268f2d7a7404fefc6b06 (commit)
       via  f478247912cdbcffe6133771aefc630e3add50cc (commit)
       via  db3e7c12614c66fb97a6ab699234ff38645297d9 (commit)
       via  a9f87e3912fbba019d1455b48e87b078b9521f37 (commit)
       via  1342d6935c17dabec76c6aeab259af16382dcb87 (commit)
       via  a086a77f42fecf900f7d8c483479a65b140dc9be (commit)
       via  e4c94ef2808942f5b48023bf9970d1baf45c34ed (commit)
       via  283012c3d7de73c3943d8e8d88dbb634fb468d2a (commit)
       via  462473a4920f487e6ace773f068575010a766ea2 (commit)
       via  499de1b6987b0d26b03ac25e06ad41dbc64f5f26 (commit)
       via  1be1f93a991dd0172debb6f6f5371b82fd3e950c (commit)
       via  c274fff2b9736ccb8d58fe890ce39109585bc477 (commit)
       via  a5df084452a0c35f114f019854983a8cf7fdc1e4 (commit)
       via  c2e02cfa56813570cca008cd86491918abcdd4b8 (commit)
       via  03a69f086df284607606d74838b772c05cc9793e (commit)
       via  a99699255d04d1068a4807a119c5a2b967f6d6f1 (commit)
       via  91d92eade9b57f7baaa2c255d07ca42347f9204b (commit)
       via  601e037e8e18057678379ee347c5a4f02874cf33 (commit)
       via  5a26f459fc426a89e68d9e14d3672c2a8c67b15a (commit)
       via  b83c685cd25409cd1f384da01d3cd426b2efdbe3 (commit)
       via  34669dd2ed9725f034bb56c05ed53b5204951195 (commit)
       via  75a879d324cc7c934141a19636796b0e6a413863 (commit)
       via  b0f93df7fecd942b547f3f26138b8d4e524ceb77 (commit)
       via  ba15817d6ccb5496a44e51a6e9a7cb82e93de84c (commit)
       via  93cb87058b1b0557ca9d766f5c0363bd437dcc8c (commit)
       via  1f5de7484fa5977a31f02b218a1b745ea3d908bd (commit)
       via  afd0ae8df48a2757ca2e090f248aa182c767fb66 (commit)
       via  f7c014ebf61934b43a9eaa549cbec124fad44aab (commit)
      from  25769c0198dc4524bc88aa988805f06c65eb6763 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 0dd53dda9fc66ec839c7b83abdb6c648573ae90b
Merge: 25769c0 54cd470
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Jan 17 13:31:52 2011 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                       |   10 +
 bfd/ChangeLog                                   |   54 ++
 bfd/bfd.c                                       |    5 +-
 bfd/coff-i860.c                                 |    4 +-
 bfd/coff-ppc.c                                  |   16 +-
 bfd/coff-sh.c                                   |    5 +-
 bfd/elf.c                                       |    4 +-
 bfd/elf32-arm.c                                 |   13 +-
 bfd/elf32-bfin.c                                |    9 +-
 bfd/elf32-dlx.c                                 |   12 +-
 bfd/elf32-mep.c                                 |    9 +-
 bfd/elf32-v850.c                                |    4 +-
 bfd/elf64-x86-64.c                              |   79 ++-
 bfd/libbfd.c                                    |    4 +-
 bfd/mach-o.c                                    |   55 +-
 bfd/pef.c                                       |    8 +-
 bfd/som.c                                       |    3 +-
 bfd/version.h                                   |    2 +-
 configure                                       |    4 +-
 configure.ac                                    |    4 +-
 gdb/ChangeLog                                   |  562 +++++++++++
 gdb/Makefile.in                                 |   10 +-
 gdb/NEWS                                        |    3 +
 gdb/ada-lang.c                                  |   19 +-
 gdb/ada-valprint.c                              |   24 +-
 gdb/arm-tdep.c                                  |   19 +-
 gdb/breakpoint.c                                |  330 +++++---
 gdb/breakpoint.h                                |   33 +-
 gdb/c-lang.c                                    |    4 +-
 gdb/c-valprint.c                                |    6 +-
 gdb/charset.c                                   |   16 +-
 gdb/coffread.c                                  |    6 +-
 gdb/config.in                                   |    3 -
 gdb/config/ia64/hpux.mh                         |    3 +
 gdb/configure                                   |   21 -
 gdb/configure.ac                                |   16 -
 gdb/configure.host                              |    6 +
 gdb/configure.tgt                               |   10 +-
 gdb/disasm.c                                    |   14 +-
 gdb/doc/ChangeLog                               |   19 +-
 gdb/doc/gdb.texinfo                             |  106 +--
 gdb/dwarf2loc.c                                 |    3 +-
 gdb/dwarf2read.c                                |   18 +-
 gdb/eval.c                                      |   52 +-
 gdb/findvar.c                                   |   40 +-
 gdb/fork-child.c                                |    2 +-
 gdb/gdbtypes.c                                  |   62 ++
 gdb/gdbtypes.h                                  |    2 +
 gdb/h8300-tdep.c                                |   16 +-
 gdb/hppa-hpux-nat.c                             |   28 +-
 gdb/hpux-thread.c                               |  587 ------------
 gdb/ia64-hpux-nat.c                             |  703 ++++++++++++++
 gdb/ia64-hpux-tdep.c                            |  434 +++++++++
 gdb/{solib-som.h => ia64-hpux-tdep.h}           |   20 +-
 gdb/ia64-tdep.c                                 |  177 +++-
 gdb/ia64-tdep.h                                 |   45 +
 gdb/inf-child.c                                 |   61 --
 gdb/inf-ttrace.c                                |   53 +-
 gdb/inflow.c                                    |    4 +-
 gdb/iq2000-tdep.c                               |    2 +-
 gdb/libunwind-frame.c                           |   30 +-
 gdb/linux-nat.c                                 |   22 +-
 gdb/m32c-tdep.c                                 |   12 +-
 gdb/mep-tdep.c                                  |   28 +-
 gdb/mi/mi-cmd-break.c                           |   22 +-
 gdb/mi/mi-cmd-disas.c                           |   42 +-
 gdb/mi/mi-cmd-env.c                             |   14 +-
 gdb/mi/mi-cmd-file.c                            |   10 +-
 gdb/mi/mi-cmd-stack.c                           |   16 +-
 gdb/mi/mi-cmd-target.c                          |   12 +-
 gdb/mi/mi-cmd-var.c                             |   46 +-
 gdb/mi/mi-interp.c                              |    9 +-
 gdb/mi/mi-main.c                                |   38 +-
 gdb/mi/mi-symbol-cmds.c                         |    4 +-
 gdb/nto-procfs.c                                |   13 +-
 gdb/nto-tdep.c                                  |    6 +-
 gdb/nto-tdep.h                                  |    4 +-
 gdb/objc-exp.y                                  |   32 +-
 gdb/objc-lang.c                                 |   71 +-
 gdb/objfiles.c                                  |   62 +-
 gdb/objfiles.h                                  |   77 +-
 gdb/observer.c                                  |   14 +-
 gdb/opencl-lang.c                               |    6 +-
 gdb/osabi.c                                     |    2 +-
 gdb/p-exp.y                                     |  194 +++--
 gdb/p-lang.c                                    |   10 +-
 gdb/p-typeprint.c                               |   34 +-
 gdb/p-valprint.c                                |   32 +-
 gdb/parse.c                                     |   52 +-
 gdb/parser-defs.h                               |   16 +-
 gdb/posix-hdep.c                                |    2 +-
 gdb/ppc-linux-nat.c                             |  214 +++--
 gdb/ppc-linux-tdep.c                            |   30 +-
 gdb/ppc-linux-tdep.h                            |    2 +-
 gdb/ppc-sysv-tdep.c                             |   32 +-
 gdb/ppc-tdep.h                                  |   26 +-
 gdb/ppcbug-rom.c                                |   11 +-
 gdb/ppcnbsd-tdep.c                              |    4 +-
 gdb/ppcobsd-tdep.c                              |    4 +-
 gdb/ppcobsd-tdep.h                              |    2 +-
 gdb/printcmd.c                                  |   39 +-
 gdb/proc-api.c                                  |    4 +-
 gdb/proc-flags.c                                |    4 +-
 gdb/proc-utils.h                                |    2 +-
 gdb/procfs.c                                    |  253 +++---
 gdb/progspace.h                                 |    4 +-
 gdb/prologue-value.c                            |    2 +-
 gdb/prologue-value.h                            |    2 +-
 gdb/psympriv.h                                  |   12 +-
 gdb/psymtab.c                                   |   62 +-
 gdb/ravenscar-sparc-thread.c                    |    4 +-
 gdb/ravenscar-thread.c                          |    5 +-
 gdb/ravenscar-thread.h                          |    2 +-
 gdb/record.c                                    |    2 +-
 gdb/regcache.c                                  |   10 +-
 gdb/regcache.h                                  |    2 +-
 gdb/remote-fileio.c                             |   42 +-
 gdb/remote-fileio.h                             |    6 +-
 gdb/remote-m32r-sdi.c                           |  104 +-
 gdb/remote-mips.c                               |  354 ++++----
 gdb/remote-sim.c                                |   57 +-
 gdb/remote.c                                    |  118 ++--
 gdb/remote.h                                    |    2 +-
 gdb/rs6000-aix-tdep.c                           |   40 +-
 gdb/rs6000-nat.c                                |  128 ++--
 gdb/rs6000-tdep.c                               |  108 ++-
 gdb/s390-tdep.c                                 |   21 +-
 gdb/score-tdep.c                                |  157 ++--
 gdb/score-tdep.h                                |   15 +-
 gdb/ser-base.c                                  |   51 +-
 gdb/ser-go32.c                                  |   72 +-
 gdb/ser-mingw.c                                 |    8 +-
 gdb/ser-pipe.c                                  |   16 +-
 gdb/ser-tcp.c                                   |   31 +-
 gdb/ser-unix.c                                  |   34 +-
 gdb/serial.c                                    |   28 +-
 gdb/serial.h                                    |   22 +-
 gdb/sh-tdep.c                                   |  179 ++--
 gdb/sh-tdep.h                                   |    4 +-
 gdb/sh64-tdep.c                                 |  230 +++---
 gdb/shnbsd-nat.c                                |    2 +-
 gdb/sol-thread.c                                |    8 +-
 gdb/solib-darwin.c                              |    4 +-
 gdb/solib-frv.c                                 |   12 +-
 gdb/solib-ia64-hpux.c                           |  700 ++++++++++++++
 gdb/{solib-som.h => solib-ia64-hpux.h}          |   21 +-
 gdb/solib-irix.c                                |   12 +-
 gdb/solib-osf.c                                 |   18 +-
 gdb/solib-pa64.c                                |   30 +-
 gdb/solib-som.c                                 |   81 +-
 gdb/solib-som.h                                 |    2 +
 gdb/solib-spu.c                                 |    2 +-
 gdb/solib-sunos.c                               |   44 +-
 gdb/solib-svr4.c                                |   27 +-
 gdb/solib.c                                     |   14 +-
 gdb/solib.h                                     |    6 +-
 gdb/solist.h                                    |   12 +-
 gdb/somread.c                                   |   28 +-
 gdb/source.c                                    |  105 ++-
 gdb/source.h                                    |   12 +-
 gdb/sparc-linux-nat.c                           |    3 +-
 gdb/sparc-linux-tdep.c                          |    8 +-
 gdb/sparc-sol2-nat.c                            |    5 +-
 gdb/sparc-sol2-tdep.c                           |    2 +-
 gdb/sparc-tdep.c                                |    4 +-
 gdb/sparc-tdep.h                                |    2 +-
 gdb/sparc64-linux-tdep.c                        |    6 +-
 gdb/sparc64-tdep.c                              |    2 +-
 gdb/spu-tdep.c                                  |   34 +-
 gdb/stabsread.c                                 |  193 ++--
 gdb/stabsread.h                                 |   12 +-
 gdb/stack.c                                     |   16 +-
 gdb/symfile.c                                   |  163 ++--
 gdb/symfile.h                                   |    6 +-
 gdb/symmisc.c                                   |   10 +-
 gdb/symtab.c                                    |  177 ++--
 gdb/symtab.h                                    |  116 ++--
 gdb/target-descriptions.c                       |    2 +-
 gdb/target-descriptions.h                       |    2 +-
 gdb/target-memory.c                             |    2 +-
 gdb/target.c                                    |  138 ++--
 gdb/target.h                                    |   81 +-
 gdb/terminal.h                                  |    4 +-
 gdb/testsuite/ChangeLog                         |   55 ++
 gdb/testsuite/gdb.ada/widewide.exp              |   47 +
 gdb/testsuite/gdb.ada/widewide/foo.adb          |   27 +
 gdb/testsuite/gdb.ada/widewide/pck.adb          |   23 +
 gdb/testsuite/gdb.ada/widewide/pck.ads          |   22 +
 gdb/testsuite/gdb.base/foll-exec.exp            |    2 +-
 gdb/testsuite/gdb.base/foll-fork.exp            |    2 +-
 gdb/testsuite/gdb.base/foll-vfork.exp           |    2 +-
 gdb/testsuite/gdb.base/interact.exp             |   48 +
 gdb/{solib-som.h => testsuite/gdb.base/wchar.c} |   42 +-
 gdb/testsuite/gdb.base/wchar.exp                |   38 +
 gdb/testsuite/gdb.fortran/multi-dim.exp         |   77 ++
 gdb/testsuite/gdb.fortran/multi-dim.f90         |   29 +
 gdb/testsuite/gdb.mi/gdb2549.exp                |    2 +-
 gdb/testsuite/gdb.mi/mi-cli.exp                 |    6 +-
 gdb/testsuite/gdb.mi/mi-disassemble.exp         |   58 ++-
 gdb/testsuite/gdb.mi/mi-pthreads.exp            |    2 +-
 gdb/testsuite/gdb.mi/mi-regs.exp                |    2 +-
 gdb/testsuite/gdb.mi/mi-stack.exp               |    8 +-
 gdb/testsuite/gdb.mi/mi-var-block.exp           |    2 +-
 gdb/testsuite/gdb.mi/mi-var-cmd.exp             |   10 +-
 gdb/testsuite/gdb.mi/mi2-cli.exp                |    6 +-
 gdb/testsuite/gdb.mi/mi2-disassemble.exp        |   58 ++-
 gdb/testsuite/gdb.mi/mi2-pthreads.exp           |    2 +-
 gdb/testsuite/gdb.mi/mi2-regs.exp               |    2 +-
 gdb/testsuite/gdb.mi/mi2-stack.exp              |    8 +-
 gdb/testsuite/gdb.mi/mi2-var-block.exp          |    2 +-
 gdb/testsuite/gdb.mi/mi2-var-cmd.exp            |   10 +-
 gdb/testsuite/gdb.python/py-infthread.exp       |    2 +
 gdb/thread.c                                    |   36 +-
 gdb/top.c                                       |   16 +-
 gdb/tracepoint.c                                |  171 ++--
 gdb/tracepoint.h                                |    4 +-
 gdb/trad-frame.h                                |    4 +-
 gdb/typeprint.c                                 |    6 +-
 gdb/ui-file.c                                   |   22 +-
 gdb/ui-file.h                                   |   20 +-
 gdb/ui-out.c                                    |   60 +-
 gdb/ui-out.h                                    |   20 +-
 gdb/utils.c                                     |   82 +-
 gdb/v850-tdep.c                                 |   16 +-
 gdb/valarith.c                                  |   68 +-
 gdb/valops.c                                    |   46 +-
 gdb/valprint.c                                  |  112 ++--
 gdb/valprint.h                                  |    2 +-
 gdb/value.c                                     |   52 +-
 gdb/value.h                                     |    2 +-
 gdb/varobj.c                                    |  317 ++++----
 gdb/varobj.h                                    |   16 +-
 gdb/vax-tdep.c                                  |    2 +-
 gdb/vec.c                                       |    6 +-
 gdb/vec.h                                       |   28 +-
 gdb/version.h                                   |    4 +-
 gdb/version.in                                  |    2 +-
 gdb/windows-nat.c                               |  247 +++---
 gdb/windows-tdep.c                              |   25 +-
 gdb/xcoffread.c                                 |  207 +++--
 gdb/xcoffsolib.c                                |    2 +-
 gdb/xml-support.c                               |    8 +-
 gdb/xstormy16-tdep.c                            |   88 +-
 gdb/xtensa-tdep.c                               |   90 +-
 gdb/xtensa-tdep.h                               |    4 +-
 include/ChangeLog                               |    4 +
 include/dwarf2.h                                |    2 +-
 include/gdb/ChangeLog                           |    5 +
 include/gdb/remote-sim.h                        |   12 +-
 ltmain.sh                                       |    2 +-
 opcodes/ChangeLog                               |   13 +
 opcodes/mips-dis.c                              |    3 +-
 opcodes/po/da.po                                | 1140 +++++++++++++++++++----
 opcodes/rx-dis.c                                |    1 +
 sim/common/ChangeLog                            |   33 +
 sim/common/aclocal.m4                           |    5 +-
 sim/common/hw-device.h                          |    6 +-
 sim/common/sim-hw.c                             |    2 +-
 sim/common/sim-hw.h                             |    2 +-
 sim/common/sim-memopt.c                         |   40 +-
 sim/common/sim-module.c                         |    3 +-
 sim/common/sim-options.c                        |    7 +-
 sim/common/sim-utils.c                          |    7 +-
 sim/common/sim-watch.c                          |    7 +-
 sim/erc32/ChangeLog                             |    5 +
 sim/erc32/interf.c                              |    2 +-
 sim/h8300/ChangeLog                             |    5 +
 sim/h8300/compile.c                             |    2 +-
 sim/m32c/ChangeLog                              |    5 +
 sim/m32c/gdb-if.c                               |    4 +-
 sim/mn10300/ChangeLog                           |    5 +
 sim/mn10300/interp.c                            |    2 +-
 sim/ppc/ChangeLog                               |    5 +
 sim/ppc/gdb-sim.c                               |    2 +-
 sim/rx/ChangeLog                                |    5 +
 sim/rx/gdb-if.c                                 |    6 +-
 sim/v850/ChangeLog                              |    5 +
 sim/v850/interp.c                               |    2 +-
 278 files changed, 8613 insertions(+), 4579 deletions(-)
 create mode 100644 gdb/config/ia64/hpux.mh
 delete mode 100644 gdb/hpux-thread.c
 create mode 100644 gdb/ia64-hpux-nat.c
 create mode 100644 gdb/ia64-hpux-tdep.c
 copy gdb/{solib-som.h => ia64-hpux-tdep.h} (63%)
 create mode 100644 gdb/solib-ia64-hpux.c
 copy gdb/{solib-som.h => solib-ia64-hpux.h} (63%)
 create mode 100644 gdb/testsuite/gdb.ada/widewide.exp
 create mode 100644 gdb/testsuite/gdb.ada/widewide/foo.adb
 create mode 100644 gdb/testsuite/gdb.ada/widewide/pck.adb
 create mode 100644 gdb/testsuite/gdb.ada/widewide/pck.ads
 create mode 100644 gdb/testsuite/gdb.base/interact.exp
 copy gdb/{solib-som.h => testsuite/gdb.base/wchar.c} (56%)
 create mode 100644 gdb/testsuite/gdb.base/wchar.exp
 create mode 100644 gdb/testsuite/gdb.fortran/multi-dim.exp
 create mode 100644 gdb/testsuite/gdb.fortran/multi-dim.f90

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 5a48a71..aeb360f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2010-12-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+	* ltmain.sh (relink): Use absolute path when hardcoding with -L.
+
+2011-01-13  Joel Brobecker  <brobecker@adacore.com>
+
+	* configure.ac: Remove readline, mmalloc, and gdb from noconfigdirs
+	for ia64-hpux.
+	* configure: Regenerate.
+
 2011-01-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Sync from GCC:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 42b07c6..00ff8ff 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,57 @@
+2011-01-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_x86_64_check_relocs): Check invalid x32
+	relocations.
+
+2011-01-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_x86_64_link_hash_table): Add pointer_r_type.
+	(elf_x86_64_link_hash_table_create): Set pointer_r_type.
+	(elf_x86_64_check_relocs): Handle R_X86_64_32 like R_X86_64_64
+	for ILP32.  Remove ABI_64_P PIC check for R_X86_64_8,
+	R_X86_64_16, R_X86_64_32 and R_X86_64_32S.
+	(elf_x86_64_relocate_section):  Handle R_X86_64_32 like R_X86_64_64
+	for ILP32.
+
+2011-01-14  Alan Modra  <amodra@gmail.com>
+
+	* bfd.c (bfd_perror): Flush stdout before and stderr after printing
+	error.
+	(_bfd_default_error_handler): Likewise.
+	* elf.c (print_segment_map): Likewise.
+	* libbfd.c (warn_deprecated): Likewise.
+	* som.c (som_sizeof_headers): No need to do so here.
+	* coff-i860.c: Replace use of printf for error messages with
+	_bfd_error_handler.
+	* coff-ppc.c: Likewise.
+	* coff-sh.c: Likewise.
+	* elf32-bfin.c: Likewise.
+	* elf32-dlx.c: Likewise.
+	* elf32-mep.c: Likewise.
+	* elf32-v850.c: Likewise.
+	* mach-o.c: Likewise.
+	* pef.c: Likewise.
+
+2011-01-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_x86_64_link_hash_table): Remove
+	swap_reloca_out.
+	(elf_x86_64_link_hash_table_create): Don't set swap_reloca_out.
+	(elf_x86_64_check_relocs): Align relocation section to 4 byte
+	for 32bit.
+	(elf_x86_64_gc_sweep_hook): Replace ELF64_ST_TYPE with
+	ELF_ST_TYPE.
+	(elf_x86_64_finish_dynamic_symbol): Updated.
+	(elf_x86_64_finish_dynamic_sections): Don't use
+	Elf64_External_Dyn, bfd_elf64_swap_dyn_in, nor
+	bfd_elf64_swap_dyn_out.
+
+2011-01-14  J. Park  <grassman@gmail.com>
+
+	PR ld/12339
+	* elf32-arm.c (allocate_dynrelocs): Don't set up eh before
+	following bfd_link_hash_warning symbol link.
+
 2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
 	    Glauber de Oliveira Costa  <glommer@gmail.com>
 
diff --git a/bfd/bfd.c b/bfd/bfd.c
index a9ce7cc..77582ec 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1,6 +1,6 @@
 /* Generic BFD library interface and support routines.
    Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.
    Written by Cygnus Support.
 
@@ -523,10 +523,12 @@ DESCRIPTION
 void
 bfd_perror (const char *message)
 {
+  fflush (stdout);
   if (message == NULL || *message == '\0')
     fprintf (stderr, "%s\n", bfd_errmsg (bfd_get_error ()));
   else
     fprintf (stderr, "%s: %s\n", message, bfd_errmsg (bfd_get_error ()));
+  fflush (stderr);
 }
 
 /*
@@ -723,6 +725,7 @@ _bfd_default_error_handler (const char *fmt, ...)
   va_end (ap);
 
   putc ('\n', stderr);
+  fflush (stderr);
 }
 
 /* This is a function pointer to the routine which should handle BFD
diff --git a/bfd/coff-i860.c b/bfd/coff-i860.c
index b7ada16..d50b070 100644
--- a/bfd/coff-i860.c
+++ b/bfd/coff-i860.c
@@ -1,6 +1,6 @@
 /* BFD back-end for Intel i860 COFF files.
    Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1999, 2000, 2001, 2002,
-   2003, 2004, 2005, 2007, 2008, 2010  Free Software Foundation, Inc.
+   2003, 2004, 2005, 2007, 2008, 2010, 2011  Free Software Foundation, Inc.
    Created mostly by substituting "860" for "386" in coff-i386.c
    Harry Dolan <dolan@ssd.intel.com>, October 1995
 
@@ -144,7 +144,7 @@ coff_i860_reloc_nyi (bfd *abfd ATTRIBUTE_UNUSED,
 		     char **error_message ATTRIBUTE_UNUSED)
 {
   reloc_howto_type *howto = reloc_entry->howto;
-  fprintf (stderr, _("Relocation `%s' not yet implemented\n"), howto->name);
+  (*_bfd_error_handler) (_("relocation `%s' not yet implemented"), howto->name);
   return bfd_reloc_notsupported;
 }
 
diff --git a/bfd/coff-ppc.c b/bfd/coff-ppc.c
index 06eed24..69e10d8 100644
--- a/bfd/coff-ppc.c
+++ b/bfd/coff-ppc.c
@@ -1,6 +1,6 @@
 /* BFD back-end for PowerPC Microsoft Portable Executable files.
    Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.
 
    Original version pieced together by Kim Knuttila (krk@cygnus.com)
@@ -1843,10 +1843,9 @@ ppc_coff_rtype2howto (relent, internal)
 	howto = ppc_coff_howto_table + IMAGE_REL_PPC_TOCREL16;
       break;
     default:
-      fprintf (stderr,
-	      _("Warning: Unsupported reloc %s [%d] used -- it may not work.\n"),
-	      ppc_coff_howto_table[r_type].name,
-	      r_type);
+      (*_bfd_error_handler) (_("warning: unsupported reloc %s [%d] used -- it may not work"),
+			     ppc_coff_howto_table[r_type].name,
+			     r_type);
       howto = ppc_coff_howto_table + r_type;
       break;
     }
@@ -1916,10 +1915,9 @@ coff_ppc_rtype_to_howto (abfd, sec, rel, h, sym, addendp)
       howto = ppc_coff_howto_table + r_type;
       break;
     default:
-      fprintf (stderr,
-	      _("Warning: Unsupported reloc %s [%d] used -- it may not work.\n"),
-	      ppc_coff_howto_table[r_type].name,
-	      r_type);
+      (*_bfd_error_handler) (_("warning: unsupported reloc %s [%d] used -- it may not work"),
+			     ppc_coff_howto_table[r_type].name,
+			     r_type);
       howto = ppc_coff_howto_table + r_type;
       break;
     }
diff --git a/bfd/coff-sh.c b/bfd/coff-sh.c
index 28ac0ab..b77af7c 100644
--- a/bfd/coff-sh.c
+++ b/bfd/coff-sh.c
@@ -1,6 +1,7 @@
 /* BFD back-end for Renesas Super-H COFF binaries.
    Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-   2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
+   2003, 2004, 2005, 2006, 2007, 2008, 2009, 2011
+   Free Software Foundation, Inc.
    Contributed by Cygnus Support.
    Written by Steve Chamberlain, <sac@cygnus.com>.
    Relaxing code written by Ian Lance Taylor, <ian@cygnus.com>.
@@ -517,7 +518,7 @@ sh_coff_reloc_type_lookup (abfd, code)
     if (sh_reloc_map[i].bfd_reloc_val == code)
       return &sh_coff_howtos[(int) sh_reloc_map[i].shcoff_reloc_val];
 
-  fprintf (stderr, "SH Error: unknown reloc type %d\n", code);
+  (*_bfd_error_handler) (_("SH Error: unknown reloc type %d"), code);
   return NULL;
 }
 
diff --git a/bfd/elf.c b/bfd/elf.c
index de0ab61..257cc8c 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -1,7 +1,7 @@
 /* ELF executable support for BFD.
 
    Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-   2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+   2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -4280,10 +4280,12 @@ print_segment_map (const struct elf_segment_map *m)
 		  (unsigned int) m->p_type);
       pt = buf;
     }
+  fflush (stdout);
   fprintf (stderr, "%s:", pt);
   for (j = 0; j < m->count; j++)
     fprintf (stderr, " %s", m->sections [j]->name);
   putc ('\n',stderr);
+  fflush (stderr);
 }
 
 static bfd_boolean
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index ea1e485..6fdd500 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -1,6 +1,6 @@
 /* 32-bit ELF support for ARM
    Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-   2008, 2009, 2010  Free Software Foundation, Inc.
+   2008, 2009, 2010, 2011  Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -6985,8 +6985,11 @@ elf32_arm_abs12_reloc (bfd *abfd, void *data, bfd_vma value)
 
    Return bfd_reloc_ok if we're done, bfd_reloc_continue if the caller
    is to then call final_link_relocate.  Return other values in the
-   case of error.  */
- 
+   case of error.
+
+   FIXME:When --emit-relocs is in effect, we'll emit relocs describing
+   the pre-relaxed code.  It would be nice if the relocs were updated
+   to match the optimization.   */
 
 static bfd_reloc_status_type 
 elf32_arm_tls_relax (struct elf32_arm_link_hash_table *globals,
@@ -12004,8 +12007,6 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf)
   struct elf_dyn_relocs *p;
   bfd_signed_vma thumb_refs;
 
-  eh = (struct elf32_arm_link_hash_entry *) h;
-
   if (h->root.type == bfd_link_hash_indirect)
     return TRUE;
 
@@ -12015,6 +12016,8 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf)
        symbol in a hash traversal.  So look at it now.  */
     h = (struct elf_link_hash_entry *) h->root.u.i.link;
 
+  eh = (struct elf32_arm_link_hash_entry *) h;
+
   info = (struct bfd_link_info *) inf;
   htab = elf32_arm_hash_table (info);
   if (htab == NULL)
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c
index 56af244..8aba7ed 100644
--- a/bfd/elf32-bfin.c
+++ b/bfd/elf32-bfin.c
@@ -1,5 +1,5 @@
 /* ADI Blackfin BFD support for 32-bit ELF.
-   Copyright 2005, 2006, 2007, 2008, 2009, 2010
+   Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -104,7 +104,7 @@ bfin_pcrel24_reloc (bfd *abfd,
   /* if rightshift is 1 and the number odd, return error.  */
   if (howto->rightshift && (relocation & 0x01))
     {
-      fprintf(stderr, "relocation should be even number\n");
+      (*_bfd_error_handler) (_("relocation should be even number"));
       return bfd_reloc_overflow;
     }
 
@@ -360,7 +360,7 @@ bfin_bfd_reloc (bfd *abfd,
   /* If rightshift is 1 and the number odd, return error.  */
   if (howto->rightshift && (relocation & 0x01))
     {
-      fprintf(stderr, "relocation should be even number\n");
+      (*_bfd_error_handler) (_("relocation should be even number"));
       return bfd_reloc_overflow;
     }
 
@@ -5276,7 +5276,8 @@ bfin_finish_dynamic_symbol (bfd * output_bfd,
 	  && (info->symbolic
 	      || h->dynindx == -1 || h->forced_local) && h->def_regular)
 	{
-	  fprintf(stderr, "*** check this relocation %s\n", __FUNCTION__);
+	  (*_bfd_error_handler) (_("*** check this relocation %s"),
+				 __FUNCTION__);
 	  rela.r_info = ELF32_R_INFO (0, R_BFIN_PCREL24);
 	  rela.r_addend = bfd_get_signed_32 (output_bfd,
 					     (sgot->contents
diff --git a/bfd/elf32-dlx.c b/bfd/elf32-dlx.c
index 6b96ac9..29b8910 100644
--- a/bfd/elf32-dlx.c
+++ b/bfd/elf32-dlx.c
@@ -1,5 +1,5 @@
 /* DLX specific support for 32-bit ELF
-   Copyright 2002, 2003, 2004, 2005, 2006, 2007
+   Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2011
    Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -139,9 +139,8 @@ elf32_dlx_relocate16 (bfd *abfd,
   /* Can not support a long jump to sections other then .text.  */
   if (strcmp (input_section->name, symbol->section->output_section->name) != 0)
     {
-      fprintf (stderr,
-	       "BFD Link Error: branch (PC rel16) to section (%s) not supported\n",
-	       symbol->section->output_section->name);
+      (*_bfd_error_handler) (_("BFD Link Error: branch (PC rel16) to section (%s) not supported"),
+			     symbol->section->output_section->name);
       return bfd_reloc_undefined;
     }
 
@@ -202,9 +201,8 @@ elf32_dlx_relocate26 (bfd *abfd,
   /* Can not support a long jump to sections other then .text   */
   if (strcmp (input_section->name, symbol->section->output_section->name) != 0)
     {
-      fprintf (stderr,
-	       "BFD Link Error: jump (PC rel26) to section (%s) not supported\n",
-	       symbol->section->output_section->name);
+      (*_bfd_error_handler) (_("BFD Link Error: jump (PC rel26) to section (%s) not supported"),
+			     symbol->section->output_section->name);
       return bfd_reloc_undefined;
     }
 
diff --git a/bfd/elf32-mep.c b/bfd/elf32-mep.c
index a6afcb5..b688d67 100644
--- a/bfd/elf32-mep.c
+++ b/bfd/elf32-mep.c
@@ -1,6 +1,6 @@
 /* MeP-specific support for 32-bit ELF.
-   Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
-   Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
+   2010, 2011  Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -154,13 +154,14 @@ mep_reloc_type_lookup
 
     default:
       /* Pacify gcc -Wall.  */
-      fprintf (stderr, "mep: no reloc for code %d\n", code);
+      (*_bfd_error_handler) (_("mep: no reloc for code %d"), code);
       return NULL;
     }
 
   if (mep_elf_howto_table[type].type != type)
     {
-      fprintf (stderr, "MeP: howto %d has type %d\n", type, mep_elf_howto_table[type].type);
+      (*_bfd_error_handler) (_("MeP: howto %d has type %d"),
+			     type, mep_elf_howto_table[type].type);
       abort ();
     }
 
diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c
index 29b2311..9e6f77d 100644
--- a/bfd/elf32-v850.c
+++ b/bfd/elf32-v850.c
@@ -1,6 +1,6 @@
 /* V850-specific support for 32-bit ELF
    Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-   2006, 2007, 2008, 2009, 2010  Free Software Foundation, Inc.
+   2006, 2007, 2008, 2009, 2010, 2011  Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -480,7 +480,7 @@ v850_elf_perform_lo16_relocation (bfd *abfd, unsigned long *insn,
 	}
       else
 	{
-	  fprintf (stderr, _("FAILED to find previous HI16 reloc\n"));
+	  (*_bfd_error_handler) (_("FAILED to find previous HI16 reloc"));
 	  return FALSE;
 	}
     }
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index ceb1a0a..9a3959a 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -495,7 +495,7 @@ struct elf_x86_64_link_hash_table
 
   bfd_vma (*r_info) (bfd_vma, bfd_vma);
   bfd_vma (*r_sym) (bfd_vma);
-  void (*swap_reloca_out) (bfd *, const Elf_Internal_Rela *, bfd_byte *);
+  unsigned int pointer_r_type;
   const char *dynamic_interpreter;
   int dynamic_interpreter_size;
 
@@ -659,7 +659,7 @@ elf_x86_64_link_hash_table_create (bfd *abfd)
     {
       ret->r_info = elf64_r_info;
       ret->r_sym = elf64_r_sym;
-      ret->swap_reloca_out = bfd_elf64_swap_reloca_out;
+      ret->pointer_r_type = R_X86_64_64;
       ret->dynamic_interpreter = ELF64_DYNAMIC_INTERPRETER;
       ret->dynamic_interpreter_size = sizeof ELF64_DYNAMIC_INTERPRETER;
     }
@@ -667,7 +667,7 @@ elf_x86_64_link_hash_table_create (bfd *abfd)
     {
       ret->r_info = elf32_r_info;
       ret->r_sym = elf32_r_sym;
-      ret->swap_reloca_out = bfd_elf32_swap_reloca_out;
+      ret->pointer_r_type = R_X86_64_32;
       ret->dynamic_interpreter = ELF32_DYNAMIC_INTERPRETER;
       ret->dynamic_interpreter_size = sizeof ELF32_DYNAMIC_INTERPRETER;
     }
@@ -1179,6 +1179,39 @@ elf_x86_64_check_relocs (bfd *abfd, struct bfd_link_info *info,
 	    h = (struct elf_link_hash_entry *) h->root.u.i.link;
 	}
 
+      /* Check invalid x32 relocations.  */
+      if (!ABI_64_P (abfd))
+	switch (r_type)
+	  {
+	  default:
+	    break;
+
+	  case R_X86_64_64:
+	  case R_X86_64_DTPOFF64:
+	  case R_X86_64_TPOFF64:
+	  case R_X86_64_PC64:
+	  case R_X86_64_GOTOFF64:
+	  case R_X86_64_GOT64:
+	  case R_X86_64_GOTPCREL64:
+	  case R_X86_64_GOTPC64:
+	  case R_X86_64_GOTPLT64:
+	  case R_X86_64_PLTOFF64:
+	      {
+		if (h)
+		  name = h->root.root.string;
+		else
+		  name = bfd_elf_sym_name (abfd, symtab_hdr, isym,
+					   NULL);
+		(*_bfd_error_handler)
+		  (_("%B: relocation %s against symbol `%s' isn't "
+		     "supported in x32 mode"), abfd,
+		   x86_64_elf_howto_table[r_type].name, name);
+		bfd_set_error (bfd_error_bad_value);
+		return FALSE;
+	      }
+	    break;
+	  }
+
       if (h != NULL)
 	{
 	  /* Create the ifunc sections for static executables.  If we
@@ -1235,6 +1268,9 @@ elf_x86_64_check_relocs (bfd *abfd, struct bfd_link_info *info,
 		  bfd_set_error (bfd_error_bad_value);
 		  return FALSE;
 
+		case R_X86_64_32:
+		  if (ABI_64_P (abfd))
+		    goto not_pointer;
 		case R_X86_64_64:
 		  h->non_got_ref = 1;
 		  h->pointer_equality_needed = 1;
@@ -1252,9 +1288,9 @@ elf_x86_64_check_relocs (bfd *abfd, struct bfd_link_info *info,
 		  break;
 
 		case R_X86_64_32S:
-		case R_X86_64_32:
 		case R_X86_64_PC32:
 		case R_X86_64_PC64:
+not_pointer:
 		  h->non_got_ref = 1;
 		  if (r_type != R_X86_64_PC32
 		      && r_type != R_X86_64_PC64)
@@ -1451,16 +1487,17 @@ elf_x86_64_check_relocs (bfd *abfd, struct bfd_link_info *info,
 	    }
 	  goto create_got;
 
+	case R_X86_64_32:
+	  if (!ABI_64_P (abfd))
+	    goto pointer;
 	case R_X86_64_8:
 	case R_X86_64_16:
-	case R_X86_64_32:
 	case R_X86_64_32S:
 	  /* Let's help debug shared library creation.  These relocs
 	     cannot be used in shared libs.  Don't error out for
 	     sections we don't care about, such as debug sections or
 	     non-constant sections.  */
 	  if (info->shared
-	      && ABI_64_P (abfd)


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2011-01-10 15:41 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2011-01-10 15:41 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  25769c0198dc4524bc88aa988805f06c65eb6763 (commit)
       via  e88a6525f9ca04aad5afa8ddb045afb31195d037 (commit)
       via  c97eb2bc31d91975be87a349dbe716144502d585 (commit)
       via  21bc8baa35cf7b7d555405cc0cd002b0eb4df932 (commit)
       via  a9462c6b594300ea2f00c850792dcaf32bcdb5dc (commit)
       via  386fd71dbbeacfa996aa39085cc0a987456d6a7e (commit)
       via  8b05ad8a8a57ea6aa546b97d8984d9966af9de28 (commit)
       via  6f230b15ca7b6f7d2197c51fb275a858c7b000bc (commit)
       via  159c035d4daf93dc39c22fbdf29348a0b772fb7c (commit)
       via  3a45d307627f40de8c5ab6a48839fed985a0467a (commit)
       via  5afaef5e344ae56eddec74900a39e8492ea22b18 (commit)
       via  900ace7f9cd7f71e161a97f9d01b85114c1fa70d (commit)
       via  9a8c65dd2b21512020cdd4b072a4de91bc874744 (commit)
       via  b00ecb8dab24ad52d2641ac537f5db32daba61c7 (commit)
       via  7f8216b7f23798b10045f214e00af0fb4653ed02 (commit)
       via  3fda795b388fb7f1ba2caa951a843939d26bfe48 (commit)
       via  b9db6aa13d53bd29df2cc574285c476ae9d6ff0b (commit)
       via  a9ad6cdd26f1ae0c933f0d946b27040df79d4a4c (commit)
       via  66e56a98073cd68a6636e7fada635b7d93116ebb (commit)
       via  c32f7ee91c7e86c122f9c6c65d8fa90da75ec4b0 (commit)
       via  15d9da77124a196567420d859a60fd03e4bd8002 (commit)
       via  e5585f82b7440dc4e96287f00be6050ca09f51ca (commit)
       via  69a1cd8762ef44d74ce707b01e439211400790c9 (commit)
       via  ff3abfdd456fa07373e2c45e63fa1d1fde330689 (commit)
       via  fc7aee6fd42face8453d4c9a6f5c2a7589fbf557 (commit)
       via  5936736ddc1d7d0ff03a2cb9cdcba14e05d8f058 (commit)
       via  390347e3af69c4e3b28f50ff079ad629e6ed86f3 (commit)
       via  6375164cac7df1b8bbdc44330e8dd84e91a36e1a (commit)
       via  b09ef0963472ecefb3c48c4f6b854af3df39408d (commit)
       via  0d67ef8877f86c2cd1144e6e1e51c95806a09403 (commit)
       via  f47b1885bb46d4a0a5963483c6cbcfbe4444a253 (commit)
       via  93df9f55772f9992866d94d3eda65e7c7d7ee39a (commit)
       via  9e9d3b19324834de25706adaa5e77e940042255d (commit)
       via  95eb7299a43691367d4234b44e256244f501f9dd (commit)
       via  38e689abe37e23dc10ae6b3d7eda10792fbe5cce (commit)
       via  10ca8357c723a3a0dff901b421d62297fe3d0185 (commit)
       via  6162f66a3168655f31475fe2a34750b13629b432 (commit)
      from  d37fef0c6373d2fc5a95c155b01a199901ba3e3c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 25769c0198dc4524bc88aa988805f06c65eb6763
Merge: d37fef0 e88a652
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Jan 10 15:40:57 2011 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                            |   68 ++
 bfd/bfd-in2.h                            |    6 +
 bfd/elf-ifunc.c                          |   31 +-
 bfd/elf32-arm.c                          | 1017 +++++++++++++++++++++++++++---
 bfd/elf32-i386.c                         |   32 +-
 bfd/elf64-x86-64.c                       |   33 +-
 bfd/libbfd.h                             |    6 +
 bfd/reloc.c                              |   12 +
 bfd/version.h                            |    2 +-
 gdb/ChangeLog                            |  280 ++++++++
 gdb/NEWS                                 |    3 +
 gdb/ada-lang.c                           |  156 +++---
 gdb/ada-lang.h                           |   20 +-
 gdb/ada-tasks.c                          |   26 +-
 gdb/ada-valprint.c                       |   18 +-
 gdb/aix-thread.c                         |   22 +-
 gdb/alpha-linux-nat.c                    |   11 +-
 gdb/alpha-linux-tdep.c                   |    7 +-
 gdb/alpha-mdebug-tdep.c                  |   10 +-
 gdb/alpha-nat.c                          |   42 +-
 gdb/alpha-osf1-tdep.c                    |    4 +-
 gdb/alpha-tdep.c                         |   36 +-
 gdb/alpha-tdep.h                         |    6 +-
 gdb/alphabsd-nat.c                       |    9 +-
 gdb/alphabsd-tdep.c                      |    3 +-
 gdb/amd64-darwin-tdep.c                  |    2 +-
 gdb/amd64-linux-nat.c                    |    2 +-
 gdb/amd64-linux-tdep.c                   |    4 +-
 gdb/amd64-sol2-tdep.c                    |    2 +-
 gdb/amd64-tdep.c                         |    4 +-
 gdb/amd64fbsd-tdep.c                     |    8 +-
 gdb/amd64nbsd-tdep.c                     |    2 +-
 gdb/amd64obsd-tdep.c                     |    6 +-
 gdb/arm-linux-nat.c                      |    4 +-
 gdb/arm-linux-tdep.c                     |   22 +-
 gdb/arm-tdep.c                           |  158 +++--
 gdb/arm-tdep.h                           |    2 +-
 gdb/armnbsd-nat.c                        |    2 +-
 gdb/avr-tdep.c                           |  127 ++--
 gdb/ax-gdb.c                             |    5 +-
 gdb/bfin-tdep.c                          |    3 +-
 gdb/bfin-tdep.h                          |    2 +-
 gdb/breakpoint.c                         |    6 +-
 gdb/bsd-kvm.c                            |   10 +-
 gdb/c-typeprint.c                        |   10 +-
 gdb/c-valprint.c                         |    2 +-
 gdb/charset.c                            |    8 +-
 gdb/coff-pe-read.h                       |    2 +-
 gdb/coffread.c                           |    4 +-
 gdb/cp-abi.c                             |    6 +-
 gdb/cris-tdep.c                          |   63 +-
 gdb/d-lang.c                             |    6 +-
 gdb/darwin-nat-info.c                    |    2 +-
 gdb/darwin-nat.c                         |   14 +-
 gdb/dbug-rom.c                           |    8 +-
 gdb/dbxread.c                            |  226 ++++----
 gdb/dcache.c                             |    8 +-
 gdb/dcache.h                             |    8 +-
 gdb/dec-thread.c                         |    6 +-
 gdb/defs.h                               |   81 ++--
 gdb/demangle.c                           |   20 +-
 gdb/dicos-tdep.c                         |    3 +-
 gdb/dictionary.c                         |    4 +-
 gdb/dictionary.h                         |    2 +-
 gdb/dink32-rom.c                         |   16 +-
 gdb/disasm.c                             |   19 +-
 gdb/doc/ChangeLog                        |   18 +
 gdb/doc/gdb.texinfo                      |   41 +-
 gdb/doublest.c                           |   24 +-
 gdb/dsrec.c                              |   16 +-
 gdb/dummy-frame.c                        |    2 +-
 gdb/dwarf2-frame.c                       |    6 +-
 gdb/dwarf2expr.c                         |    7 +-
 gdb/dwarf2loc.c                          |    6 +-
 gdb/dwarf2read.c                         |  126 ++--
 gdb/elfread.c                            |   30 +-
 gdb/environ.c                            |    2 +-
 gdb/eval.c                               |  160 +++---
 gdb/event-top.h                          |    2 +-
 gdb/exceptions.c                         |   16 +-
 gdb/exceptions.h                         |    8 +-
 gdb/exec.c                               |   26 +-
 gdb/expprint.c                           |   13 +-
 gdb/expression.h                         |   59 +-
 gdb/f-exp.y                              |   20 +-
 gdb/f-lang.c                             |   40 +-
 gdb/f-lang.h                             |    6 +-
 gdb/f-typeprint.c                        |   16 +-
 gdb/f-valprint.c                         |   42 +-
 gdb/fbsd-nat.c                           |    2 +-
 gdb/findvar.c                            |    2 +-
 gdb/fork-child.c                         |    6 +-
 gdb/frame.c                              |   12 +-
 gdb/frame.h                              |   12 +-
 gdb/frv-linux-tdep.c                     |   33 +-
 gdb/frv-tdep.c                           |   23 +-
 gdb/gcore.c                              |    4 +-
 gdb/gdb-stabs.h                          |    4 +-
 gdb/gdb_assert.h                         |    2 +-
 gdb/gdb_string.h                         |    2 +-
 gdb/gdb_thread_db.h                      |   19 +-
 gdb/gdb_wait.h                           |    2 +-
 gdb/gdbarch.c                            |  140 ++--
 gdb/gdbarch.h                            |   40 +-
 gdb/gdbarch.sh                           |   82 ++--
 gdb/gdbcore.h                            |   15 +-
 gdb/gdbthread.h                          |    6 +-
 gdb/gdbtypes.c                           |   50 +-
 gdb/gdbtypes.h                           |  113 ++--
 gdb/gnu-nat.c                            |  170 +++---
 gdb/gnu-nat.h                            |   17 +-
 gdb/gnu-v2-abi.c                         |   43 +-
 gdb/gnu-v3-abi.c                         |   14 +-
 gdb/go32-nat.c                           |   78 ++-
 gdb/h8300-tdep.c                         |   21 +-
 gdb/hppa-hpux-tdep.c                     |   74 ++-
 gdb/hppa-linux-nat.c                     |    8 +-
 gdb/hppa-linux-tdep.c                    |   22 +-
 gdb/hppa-tdep.c                          |   97 ++--
 gdb/hppa-tdep.h                          |   19 +-
 gdb/hppanbsd-tdep.c                      |    5 +-
 gdb/hpux-thread.c                        |   27 +-
 gdb/i386-cygwin-tdep.c                   |    2 +-
 gdb/i386-darwin-nat.c                    |   34 +-
 gdb/i386-linux-nat.c                     |   34 +-
 gdb/i386-linux-tdep.c                    |    7 +-
 gdb/i386-nat.c                           |    9 +-
 gdb/i386-nat.h                           |    2 +-
 gdb/i386-sol2-nat.c                      |    4 +-
 gdb/i386-stub.c                          |    4 +-
 gdb/i386-tdep.c                          |   61 +-
 gdb/i386-tdep.h                          |   11 +-
 gdb/i386gnu-nat.c                        |    6 +-
 gdb/i386nbsd-tdep.c                      |    6 +-
 gdb/i387-tdep.c                          |    8 +-
 gdb/ia64-linux-nat.c                     |   43 +-
 gdb/ia64-linux-tdep.c                    |   11 +-
 gdb/ia64-tdep.c                          |  257 +++++----
 gdb/inf-loop.c                           |   20 +-
 gdb/infcall.c                            |  109 ++--
 gdb/infcall.h                            |    2 +-
 gdb/infcmd.c                             |  105 ++--
 gdb/inferior.c                           |    2 +-
 gdb/inferior.h                           |   28 +-
 gdb/inflow.c                             |   12 +-
 gdb/infrun.c                             |  151 +++---
 gdb/interps.c                            |   38 +-
 gdb/interps.h                            |    2 +-
 gdb/iq2000-tdep.c                        |   61 +-
 gdb/irix5-nat.c                          |   13 +-
 gdb/jit.c                                |   71 ++-
 gdb/jit.h                                |   41 +-
 gdb/jv-exp.y                             |   32 +-
 gdb/jv-lang.c                            |   90 ++--
 gdb/jv-lang.h                            |    6 +-
 gdb/jv-typeprint.c                       |    8 +-
 gdb/jv-valprint.c                        |   22 +-
 gdb/language.c                           |   92 ++--
 gdb/language.h                           |   74 ++--
 gdb/linespec.c                           |   91 ++--
 gdb/linux-fork.c                         |    4 +-
 gdb/linux-nat.c                          |   57 +-
 gdb/linux-thread-db.c                    |    5 +-
 gdb/lm32-tdep.c                          |   16 +-
 gdb/m2-exp.y                             |   16 +-
 gdb/m2-lang.c                            |    8 +-
 gdb/m2-typeprint.c                       |   13 +-
 gdb/m2-valprint.c                        |    7 +-
 gdb/m32c-tdep.c                          |   15 +-
 gdb/m32r-linux-nat.c                     |    5 +-
 gdb/m32r-rom.c                           |  113 ++--
 gdb/m32r-tdep.c                          |   86 ++--
 gdb/m32r-tdep.h                          |    6 +-
 gdb/m68hc11-tdep.c                       |   27 +-
 gdb/m68k-tdep.c                          |   22 +-
 gdb/m68klinux-nat.c                      |   42 +-
 gdb/m88k-tdep.c                          |    4 +-
 gdb/m88k-tdep.h                          |    2 +-
 gdb/machoread.c                          |   12 +-
 gdb/macrocmd.c                           |    2 +-
 gdb/macroexp.c                           |    6 +-
 gdb/macrotab.c                           |    2 +-
 gdb/main.c                               |    9 +-
 gdb/maint.c                              |   29 +-
 gdb/mdebugread.c                         |  443 +++++++-------
 gdb/mdebugread.h                         |    4 +-
 gdb/memattr.c                            |   10 +-
 gdb/memattr.h                            |   17 +-
 gdb/memory-map.h                         |    3 +-
 gdb/mep-tdep.c                           |   26 +-
 gdb/mi/mi-cmd-disas.c                    |    8 +-
 gdb/microblaze-rom.c                     |    6 +-
 gdb/microblaze-tdep.c                    |   37 +-
 gdb/minsyms.c                            |   60 +-
 gdb/mips-irix-tdep.c                     |    2 +-
 gdb/mips-linux-nat.c                     |   15 +-
 gdb/mips-linux-tdep.c                    |    6 +-
 gdb/mips-linux-tdep.h                    |    9 +-
 gdb/mips-tdep.c                          |  303 +++++----
 gdb/mips-tdep.h                          |   12 +-
 gdb/mipsnbsd-nat.c                       |    6 +-
 gdb/mipsnbsd-tdep.c                      |    3 +-
 gdb/mipsread.c                           |   23 +-
 gdb/mn10300-linux-tdep.c                 |   12 +-
 gdb/mn10300-tdep.c                       |   13 +-
 gdb/mn10300-tdep.h                       |    4 +-
 gdb/monitor.c                            |  202 +++---
 gdb/monitor.h                            |   43 +-
 gdb/moxie-tdep.c                         |    6 +-
 gdb/moxie-tdep.h                         |    2 +-
 gdb/mt-tdep.c                            |   23 +-
 gdb/python/py-frame.c                    |   43 +-
 gdb/python/python-internal.h             |    1 +
 gdb/python/python.c                      |    3 +
 gdb/solib-pa64.c                         |    9 +-
 gdb/solib-som.c                          |   37 +-
 gdb/testsuite/ChangeLog                  |   75 ++-
 gdb/testsuite/configure                  |    4 +-
 gdb/testsuite/gdb.python/py-cmd.exp      |   18 +-
 gdb/testsuite/gdb.python/py-frame.exp    |    7 +
 gdb/testsuite/gdb.python/py-function.exp |   18 +-
 gdb/testsuite/gdb.python/python.exp      |   18 -
 gdb/testsuite/gdb.threads/tls.exp        |    2 +-
 gdb/tui/tui-layout.c                     |    4 +-
 gdb/tui/tui-winsource.c                  |    5 +-
 gdb/version.in                           |    2 +-
 include/elf/ChangeLog                    |    7 +
 include/elf/arm.h                        |    8 +-
 opcodes/ChangeLog                        |    4 +
 opcodes/arm-dis.c                        |    2 +-
 230 files changed, 4983 insertions(+), 3258 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index eb99588..42b07c6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,71 @@
+2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
+	    Glauber de Oliveira Costa  <glommer@gmail.com>
+
+	* reloc.c (BFD_RELOC_ARM_TLS_GOTDESC, BFD_RELOC_ARM_TLS_CALL,
+	BFD_RELOC_ARM_THM_TLS_CALL, BFD_RELOC_ARM_TLS_DESCSEQ,
+	BFD_RELOC_ARM_THM_TLS_DESCSEQ, BFD_RELOC_ARM_TLS_DESC): New
+	relocations.
+	* libbfd.h: Rebuilt.
+	* bfd-in2.h: Rebuilt.
+	* elf32-arm.c (elf32_arm_howto_table_1): Add new relocations.
+	(elf32_arm_reloc_map): Likewise.
+	(tls_trampoline, dl_tlsdesc_lazy_trampoline): New PLT templates.
+	(elf32_arm_stub_long_branch_any_tls_pic,
+	elf32_arm_stub_long_branch_v4t_thumb_tls_pic): New stub templates.
+	(DEF_STUBS): Add new stubs.
+	(struct_elf_arm_obj_data): Add local_tlsdesc_gotent field.
+	(elf32_arm_local_tlsdesc_gotent): New.
+	(GOT_TLS_GDESC): New mask.
+	(GOT_TLS_GD_ANY): Define.
+	(struct elf32_arm_link_hash_entry): Add tlsdesc_got field.
+	(elf32_arm_compute_jump_table_size): New.
+	(struct elf32_arm_link_hash_table): Add next_tls_desc_index,
+	num_tls_desc, dt_tlsdesc_plt, dt_tlsdesc_got, tls_trampoline,
+	sgotplt_jump_table_size fields.
+	(elf32_arm_link_hash_newfunc): Initialize tlsdesc_got field.
+	(elf32_arm_link_hash_table_create): Initialize new fields.
+	(arm_type_of_stub): Check TLS desc relocs too.
+	(elf32_arm_stub_name): TLS desc relocs can be shared.
+	(elf32_arm_tls_transition): Determine relaxation.
+	(arm_stub_required_alignment): Add tls stubs.
+	(elf32_arm_size_stubs): Likewise.
+	(elf32_arm_tls_relax): Perform TLS relaxing.
+	(elf32_arm_final_link_relocate): Process TLS DESC relocations.
+	(IS_ARM_TLS_GNU_RELOC): New.
+	(IS_ARM_TLS_RELOC): Use it.
+	(elf32_arm_relocate_section): Perform TLS relaxing.
+	(elf32_arm_check_relocs): Anticipate TLS relaxing, process tls
+	desc relocations.
+	(allocate_dynrelocs): Allocate tls desc relcoations.
+	(elf32_arm_output_arch_local_syms): Emit tls trampoline mapping
+	symbols.
+	(elf32_arm_size_dynamic_sections): Allocate tls trampolines and
+	got slots.
+	(elf32_arm_always_size_sections): New. Create _TLS_MODULE_BASE
+	symbol.
+	(elf32_arm_finish_dynamic_symbol): Adjust.
+	(arm_put_trampoline): New.
+	(elf32_arm_finish_dynamic_sections): Emit new dynamic tags and tls
+	trampolines.
+	(elf_backend_always_size_sections): Define.
+
+2011-01-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Optimized.
+
+2011-01-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/12366
+	PR ld/12371
+	* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Properly
+	handle symbols marked with regular reference, but not non-GOT
+	reference when building shared library.
+
+	* elf32-i386.c (elf_i386_gc_sweep_hook): Properly handle
+	local and global STT_GNU_IFUNC symols when building shared
+	library.
+	* elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise.
+
 2011-01-05  DJ Delorie  <dj@redhat.com>
 
 	* reloc.c: Add BFD_RELOC_RX_OP_NEG.
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 8531f8d..84fc75d 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -3146,6 +3146,12 @@ pc-relative or some form of GOT-indirect relocation.  */
   BFD_RELOC_ARM_TLS_TPOFF32,
   BFD_RELOC_ARM_TLS_IE32,
   BFD_RELOC_ARM_TLS_LE32,
+  BFD_RELOC_ARM_TLS_GOTDESC,
+  BFD_RELOC_ARM_TLS_CALL,
+  BFD_RELOC_ARM_THM_TLS_CALL,
+  BFD_RELOC_ARM_TLS_DESCSEQ,
+  BFD_RELOC_ARM_THM_TLS_DESCSEQ,
+  BFD_RELOC_ARM_TLS_DESC,
 
 /* ARM group relocations.  */
   BFD_RELOC_ARM_ALU_PC_G0_NC,
diff --git a/bfd/elf-ifunc.c b/bfd/elf-ifunc.c
index 760fc26..81429b8 100644
--- a/bfd/elf-ifunc.c
+++ b/bfd/elf-ifunc.c
@@ -190,6 +190,20 @@ _bfd_elf_allocate_ifunc_dyn_relocs (struct bfd_link_info *info,
   /* Support garbage collection against STT_GNU_IFUNC symbols.  */
   if (h->plt.refcount <= 0 && h->got.refcount <= 0)
     {
+      /* When building shared library, we need to handle the case
+         where it is marked with regular reference, but not non-GOT
+	 reference.  It may happen if we didn't see STT_GNU_IFUNC
+	 symbol at the time when checking relocations.  */
+      if (info->shared
+	  && !h->non_got_ref
+	  && h->ref_regular)
+	for (p = *head; p != NULL; p = p->next)
+	  if (p->count)
+	    {
+	      h->non_got_ref = 1;
+	      goto keep;
+	    }
+
       h->got = htab->init_got_offset;
       h->plt = htab->init_plt_offset;
       *head = NULL;
@@ -209,6 +223,7 @@ _bfd_elf_allocate_ifunc_dyn_relocs (struct bfd_link_info *info,
       return TRUE;
     }
 
+keep:
   bed = get_elf_backend_data (info->output_bfd);
   if (bed->rela_plts_and_copies_p)
     sizeof_reloc = bed->s->sizeof_rela;
@@ -258,10 +273,20 @@ _bfd_elf_allocate_ifunc_dyn_relocs (struct bfd_link_info *info,
     *head = NULL;
 
   /* Finally, allocate space.  */
-  for (p = *head; p != NULL; p = p->next)
-    htab->irelifunc->size += p->count * sizeof_reloc;
+  p = *head;
+  if (p != NULL)
+    {
+      bfd_size_type count = 0;
+      do
+	{
+	  count += p->count;
+	  p = p->next;
+	}
+      while (p != NULL);
+      htab->irelifunc->size += count * sizeof_reloc;
+    }
 
-  /* For STT_GNU_IFUNC symbol, .got.plt has the real function addres
+  /* For STT_GNU_IFUNC symbol, .got.plt has the real function address
      and .got has the PLT entry adddress.  We will load the GOT entry
      with the PLT entry in finish_dynamic_symbol if it is used.  For
      branch, it uses .got.plt.  For symbol value,
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 7c8eb68..ea1e485 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -261,18 +261,18 @@ static reloc_howto_type elf32_arm_howto_table_1[] =
 	 0xffffffff,		/* dst_mask */
 	 FALSE),		/* pcrel_offset */
 
-  HOWTO (R_ARM_SWI24,		/* type */
+  HOWTO (R_ARM_TLS_DESC,	/* type */
 	 0,			/* rightshift */
-	 0,			/* size (0 = byte, 1 = short, 2 = long) */
-	 0,			/* bitsize */
+	 2,			/* size (0 = byte, 1 = short, 2 = long) */
+	 32,			/* bitsize */
 	 FALSE,			/* pc_relative */
 	 0,			/* bitpos */
-	 complain_overflow_signed,/* complain_on_overflow */
+	 complain_overflow_bitfield,/* complain_on_overflow */
 	 bfd_elf_generic_reloc,	/* special_function */
-	 "R_ARM_SWI24",		/* name */
+	 "R_ARM_TLS_DESC",	/* name */
 	 FALSE,			/* partial_inplace */
-	 0x00000000,		/* src_mask */
-	 0x00000000,		/* dst_mask */
+	 0xffffffff,		/* src_mask */
+	 0xffffffff,		/* dst_mask */
 	 FALSE),		/* pcrel_offset */
 
   HOWTO (R_ARM_THM_SWI8,	/* type */
@@ -1352,10 +1352,61 @@ static reloc_howto_type elf32_arm_howto_table_1[] =
 	 0x040f70ff,		/* dst_mask */
 	 FALSE),		/* pcrel_offset */
 
-  EMPTY_HOWTO (90),   /* Unallocated.  */
-  EMPTY_HOWTO (91),
-  EMPTY_HOWTO (92),
-  EMPTY_HOWTO (93),
+  HOWTO (R_ARM_TLS_GOTDESC,	/* type */
+	 0,			/* rightshift */
+	 2,			/* size (0 = byte, 1 = short, 2 = long) */
+	 32,			/* bitsize */
+	 FALSE,			/* pc_relative */
+	 0,			/* bitpos */
+	 complain_overflow_bitfield,/* complain_on_overflow */
+	 NULL,			/* special_function */
+	 "R_ARM_TLS_GOTDESC",	/* name */
+	 TRUE,			/* partial_inplace */
+	 0xffffffff,		/* src_mask */
+	 0xffffffff,		/* dst_mask */
+	 FALSE),		/* pcrel_offset */
+
+  HOWTO (R_ARM_TLS_CALL,	/* type */
+	 0,			/* rightshift */
+	 2,			/* size (0 = byte, 1 = short, 2 = long) */
+	 24,			/* bitsize */
+	 FALSE,			/* pc_relative */
+	 0,			/* bitpos */
+	 complain_overflow_dont,/* complain_on_overflow */
+	 bfd_elf_generic_reloc,	/* special_function */
+	 "R_ARM_TLS_CALL",	/* name */
+	 FALSE,			/* partial_inplace */
+	 0x00ffffff,		/* src_mask */
+	 0x00ffffff,		/* dst_mask */
+	 FALSE),		/* pcrel_offset */
+
+  HOWTO (R_ARM_TLS_DESCSEQ,	/* type */
+	 0,			/* rightshift */
+	 2,			/* size (0 = byte, 1 = short, 2 = long) */
+	 0,			/* bitsize */
+	 FALSE,			/* pc_relative */
+	 0,			/* bitpos */
+	 complain_overflow_bitfield,/* complain_on_overflow */
+	 bfd_elf_generic_reloc,	/* special_function */
+	 "R_ARM_TLS_DESCSEQ",	/* name */
+	 FALSE,			/* partial_inplace */
+	 0x00000000,		/* src_mask */
+	 0x00000000,		/* dst_mask */
+	 FALSE),		/* pcrel_offset */
+
+  HOWTO (R_ARM_THM_TLS_CALL,	/* type */
+	 0,			/* rightshift */
+	 2,			/* size (0 = byte, 1 = short, 2 = long) */
+	 24,			/* bitsize */
+	 FALSE,			/* pc_relative */
+	 0,			/* bitpos */
+	 complain_overflow_dont,/* complain_on_overflow */
+	 bfd_elf_generic_reloc,	/* special_function */
+	 "R_ARM_THM_TLS_CALL",	/* name */
+	 FALSE,			/* partial_inplace */
+	 0x07ff07ff,		/* src_mask */
+	 0x07ff07ff,		/* dst_mask */
+	 FALSE),		/* pcrel_offset */
 
   HOWTO (R_ARM_PLT32_ABS,	/* type */
 	 0,			/* rightshift */
@@ -1599,6 +1650,38 @@ static reloc_howto_type elf32_arm_howto_table_1[] =
 	 0x00000fff,		/* src_mask */
 	 0x00000fff,		/* dst_mask */
 	 FALSE),		/* pcrel_offset */
+
+  EMPTY_HOWTO (112),
+  EMPTY_HOWTO (113),
+  EMPTY_HOWTO (114),
+  EMPTY_HOWTO (115),
+  EMPTY_HOWTO (116),
+  EMPTY_HOWTO (117),
+  EMPTY_HOWTO (118),
+  EMPTY_HOWTO (119),
+  EMPTY_HOWTO (120),
+  EMPTY_HOWTO (121),
+  EMPTY_HOWTO (122),
+  EMPTY_HOWTO (123),
+  EMPTY_HOWTO (124),
+  EMPTY_HOWTO (125),
+  EMPTY_HOWTO (126),
+  EMPTY_HOWTO (127),
+  EMPTY_HOWTO (128),
+
+  HOWTO (R_ARM_THM_TLS_DESCSEQ,	/* type */
+	 0,			/* rightshift */
+	 1,			/* size (0 = byte, 1 = short, 2 = long) */
+	 0,			/* bitsize */
+	 FALSE,			/* pc_relative */
+	 0,			/* bitpos */
+	 complain_overflow_bitfield,/* complain_on_overflow */
+	 bfd_elf_generic_reloc,	/* special_function */
+	 "R_ARM_THM_TLS_DESCSEQ",/* name */
+	 FALSE,			/* partial_inplace */
+	 0x00000000,		/* src_mask */
+	 0x00000000,		/* dst_mask */
+	 FALSE),		/* pcrel_offset */
 };
 
 /* 112-127 private relocations
@@ -1730,6 +1813,12 @@ static const struct elf32_arm_reloc_map elf32_arm_reloc_map[] =
     {BFD_RELOC_ARM_PREL31,	     R_ARM_PREL31},
     {BFD_RELOC_ARM_TARGET2,	     R_ARM_TARGET2},
     {BFD_RELOC_ARM_PLT32,            R_ARM_PLT32},
+    {BFD_RELOC_ARM_TLS_GOTDESC,      R_ARM_TLS_GOTDESC},
+    {BFD_RELOC_ARM_TLS_CALL,         R_ARM_TLS_CALL},
+    {BFD_RELOC_ARM_THM_TLS_CALL,     R_ARM_THM_TLS_CALL},
+    {BFD_RELOC_ARM_TLS_DESCSEQ,      R_ARM_TLS_DESCSEQ},
+    {BFD_RELOC_ARM_THM_TLS_DESCSEQ,  R_ARM_THM_TLS_DESCSEQ},
+    {BFD_RELOC_ARM_TLS_DESC,         R_ARM_TLS_DESC},
     {BFD_RELOC_ARM_TLS_GD32,	     R_ARM_TLS_GD32},
     {BFD_RELOC_ARM_TLS_LDO32,	     R_ARM_TLS_LDO32},
     {BFD_RELOC_ARM_TLS_LDM32,	     R_ARM_TLS_LDM32},
@@ -1912,6 +2001,26 @@ typedef unsigned short int insn16;
    section.  */
 #define ELF_DYNAMIC_INTERPRETER     "/usr/lib/ld.so.1"
 
+static const unsigned long tls_trampoline [] =
+  {
+    0xe08e0000,		/* add r0, lr, r0 */
+    0xe5901004,		/* ldr r1, [r0,#4] */
+    0xe12fff11,		/* bx  r1 */
+  };
+
+static const unsigned long dl_tlsdesc_lazy_trampoline [] =
+  {
+    0xe52d2004, /*	push    {r2}			*/
+    0xe59f200c, /*      ldr     r2, [pc, #3f - . - 8]	*/
+    0xe59f100c, /*      ldr     r1, [pc, #4f - . - 8]	*/
+    0xe79f2002, /* 1:   ldr     r2, [pc, r2]		*/
+    0xe081100f, /* 2:   add     r1, pc			*/
+    0xe12fff12, /*      bx      r2			*/
+    0x00000014, /* 3:   .word  _GLOBAL_OFFSET_TABLE_ - 1b - 8
+		   		+ dl_tlsdesc_lazy_resolver(GOT)   */
+    0x00000018, /* 4:   .word  _GLOBAL_OFFSET_TABLE_ - 2b - 8 */ 
+  };
+
 #ifdef FOUR_WORD_PLT
 
 /* The first entry in a procedure linkage table looks like
@@ -2167,6 +2276,26 @@ static const insn_sequence elf32_arm_stub_long_branch_v4t_thumb_thumb_pic[] =
     DATA_WORD(0, R_ARM_REL32, 0),     /* dcd  R_ARM_REL32(X) */
   };
 
+/* Thumb2/ARM -> TLS trampoline.  Lowest common denominator, which is a
+   long PIC stub.  We can use r1 as a scratch -- and cannot use ip.  */
+static const insn_sequence elf32_arm_stub_long_branch_any_tls_pic[] =
+{
+    ARM_INSN(0xe59f1000),             /* ldr   r1, [pc] */
+    ARM_INSN(0xe08ff001),             /* add   pc, pc, r1 */
+    DATA_WORD(0, R_ARM_REL32, -4),    /* dcd   R_ARM_REL32(X-4) */
+};
+
+/* V4T Thumb -> TLS trampoline.  lowest common denominator, which is a
+   long PIC stub.  We can use r1 as a scratch -- and cannot use ip.  */
+static const insn_sequence elf32_arm_stub_long_branch_v4t_thumb_tls_pic[] =
+{
+    THUMB16_INSN(0x4778),             /* bx   pc */
+    THUMB16_INSN(0x46c0),             /* nop */
+    ARM_INSN(0xe59f1000),             /* ldr  r1, [pc, #0] */
+    ARM_INSN(0xe081f00f),             /* add  pc, r1, pc */
+    DATA_WORD(0, R_ARM_REL32, -4),    /* dcd  R_ARM_REL32(X) */
+};
+
 /* Cortex-A8 erratum-workaround stubs.  */
 
 /* Stub used for conditional branches (which may be beyond +/-1MB away, so we
@@ -2218,6 +2347,8 @@ static const insn_sequence elf32_arm_stub_a8_veneer_blx[] =
   DEF_STUB(long_branch_v4t_arm_thumb_pic) \
   DEF_STUB(long_branch_v4t_thumb_arm_pic) \
   DEF_STUB(long_branch_thumb_only_pic) \
+  DEF_STUB(long_branch_any_tls_pic) \
+  DEF_STUB(long_branch_v4t_thumb_tls_pic) \
   DEF_STUB(a8_veneer_b_cond) \
   DEF_STUB(a8_veneer_b) \
   DEF_STUB(a8_veneer_bl) \
@@ -2426,6 +2557,9 @@ struct elf_arm_obj_tdata
   /* tls_type for each local got entry.  */
   char *local_got_tls_type;
 
+  /* GOTPLT entries for TLS descriptors.  */
+  bfd_vma *local_tlsdesc_gotent;
+
   /* Zero to warn when linking objects with incompatible enum sizes.  */
   int no_enum_size_warning;
 
@@ -2439,6 +2573,9 @@ struct elf_arm_obj_tdata
 #define elf32_arm_local_got_tls_type(bfd) \
   (elf_arm_tdata (bfd)->local_got_tls_type)
 
+#define elf32_arm_local_tlsdesc_gotent(bfd) \
+  (elf_arm_tdata (bfd)->local_tlsdesc_gotent)
+
 #define is_arm_elf(bfd) \
   (bfd_get_flavour (bfd) == bfd_target_elf_flavour \
    && elf_tdata (bfd) != NULL \
@@ -2478,8 +2615,14 @@ struct elf32_arm_link_hash_entry
 #define GOT_NORMAL	1
 #define GOT_TLS_GD	2
 #define GOT_TLS_IE	4
+#define GOT_TLS_GDESC	8
+#define GOT_TLS_GD_ANY_P(type)	((type & GOT_TLS_GD) || (type & GOT_TLS_GDESC))
     unsigned char tls_type;
 
+    /* Offset of the GOTPLT entry reserved for the TLS descriptor,
+       starting at the end of the jump table.  */
+    bfd_vma tlsdesc_got;
+
     /* The symbol marking the real symbol location for exported thumb
        symbols with Arm stubs.  */
     struct elf_link_hash_entry *export_glue;
@@ -2516,6 +2659,9 @@ struct map_stub
   asection *stub_sec;
 };
 
+#define elf32_arm_compute_jump_table_size(htab) \
+  ((htab)->next_tls_desc_index * 4)
+
 /* ARM ELF linker hash table.  */
 struct elf32_arm_link_hash_table
 {
@@ -2594,6 +2740,12 @@ struct elf32_arm_link_hash_table
   /* True if the target uses REL relocations.  */
   int use_rel;
 
+  /* The index of the next unused R_ARM_TLS_DESC slot in .rel.plt.  */
+  bfd_vma next_tls_desc_index;
+
+  /* How many R_ARM_TLS_DESC relocations were generated so far.  */
+  bfd_vma num_tls_desc;
+
   /* Short-cuts to get to dynamic linker sections.  */
   asection *sdynbss;
   asection *srelbss;
@@ -2601,6 +2753,19 @@ struct elf32_arm_link_hash_table
   /* The (unloaded but important) VxWorks .rela.plt.unloaded section.  */
   asection *srelplt2;
 
+  /* The offset into splt of the PLT entry for the TLS descriptor
+     resolver.  Special values are 0, if not necessary (or not found
+     to be necessary yet), and -1 if needed but not determined
+     yet.  */
+  bfd_vma dt_tlsdesc_plt;
+
+  /* The offset into sgot of the GOT entry used by the PLT entry
+     above.  */
+  bfd_vma dt_tlsdesc_got;    
+
+  /* Offset in .plt section of tls_arm_trampoline.  */
+  bfd_vma tls_trampoline;
+
   /* Data for R_ARM_TLS_LDM32 relocations.  */
   union
   {
@@ -2614,6 +2779,10 @@ struct elf32_arm_link_hash_table
   /* For convenience in allocate_dynrelocs.  */
   bfd * obfd;
 
+  /* The amount of space used by the reserved portion of the sgotplt
+     section, plus whatever space is used by the jump slots.  */
+  bfd_vma sgotplt_jump_table_size;
+
   /* The stub hash table.  */
   struct bfd_hash_table stub_hash_table;
 
@@ -2663,6 +2832,7 @@ elf32_arm_link_hash_newfunc (struct bfd_hash_entry * entry,
     {
       ret->dyn_relocs = NULL;
       ret->tls_type = GOT_UNKNOWN;
+      ret->tlsdesc_got = (bfd_vma) -1;
       ret->plt_thumb_refcount = 0;
       ret->plt_maybe_thumb_refcount = 0;
       ret->plt_got_offset = -1;
@@ -2877,6 +3047,11 @@ elf32_arm_link_hash_table_create (bfd *abfd)
   ret->sdynbss = NULL;
   ret->srelbss = NULL;
   ret->srelplt2 = NULL;
+  ret->dt_tlsdesc_plt = 0;
+  ret->dt_tlsdesc_got = 0;
+  ret->tls_trampoline = 0;
+  ret->next_tls_desc_index = 0;
+  ret->num_tls_desc = 0;
   ret->thumb_glue_size = 0;
   ret->arm_glue_size = 0;
   ret->bx_glue_size = 0;
@@ -3075,7 +3250,8 @@ arm_type_of_stub (struct bfd_link_info *info,
 
   branch_offset = (bfd_signed_vma)(destination - location);
 
-  if (r_type == R_ARM_THM_CALL || r_type == R_ARM_THM_JUMP24)
+  if (r_type == R_ARM_THM_CALL || r_type == R_ARM_THM_JUMP24
+      || r_type == R_ARM_THM_TLS_CALL)
     {
       /* Handle cases where:
 	 - this call goes too far (different Thumb/Thumb2 max
@@ -3092,7 +3268,8 @@ arm_type_of_stub (struct bfd_link_info *info,
 	      && (branch_offset > THM2_MAX_FWD_BRANCH_OFFSET
 		  || (branch_offset < THM2_MAX_BWD_BRANCH_OFFSET)))
 	  || ((st_type != STT_ARM_TFUNC)
-	      && (((r_type == R_ARM_THM_CALL) && !globals->use_blx)
+	      && (((r_type == R_ARM_THM_CALL
+		    || r_type == R_ARM_THM_TLS_CALL) && !globals->use_blx)
 		  || (r_type == R_ARM_THM_JUMP24))
 	      && !use_plt))
 	{
@@ -3143,18 +3320,21 @@ arm_type_of_stub (struct bfd_link_info *info,
 		     sym_sec->owner, input_bfd, name);
 		}
 
-	      stub_type = (info->shared | globals->pic_veneer)
+	      stub_type =
+		(info->shared | globals->pic_veneer)
 		/* PIC stubs.  */
-		? ((globals->use_blx
-		    && (r_type ==R_ARM_THM_CALL))


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2011-01-06 12:24 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2011-01-06 12:24 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  d37fef0c6373d2fc5a95c155b01a199901ba3e3c (commit)
       via  ee7931dc2f112b223bd76bf31ba5bfc716a0a947 (commit)
       via  8bef39475287bdce64ba672333879627614a64c7 (commit)
       via  d3a53b0f798666339edb89002087dbf3a222af09 (commit)
       via  dc1dbdd748005d025bfed664141f94868b4608b9 (commit)
       via  a1d4eea835dab8b8f372de80a9b9f1d47f4ddc87 (commit)
       via  968b19ffd222d8c5af49a1964b61ebc26f69f8c5 (commit)
       via  f850d1e13721d2e41319ecf28d4f1fb252114a51 (commit)
       via  1be0d6417699867915c0b0efc15174baf1623863 (commit)
       via  e22c5a3e2b53ba419113970be49407a4098e7ce9 (commit)
       via  73df4d26c29e68266770c0bf48f727bde62d4468 (commit)
       via  a253ad6ac0478fb293d7005517b717732b88e726 (commit)
       via  9d777470f6b55b374c2e6761fc658078f3df0d69 (commit)
       via  8ab7ed746e8abce9d14aff83159939f01ccfc646 (commit)
       via  d960d576b6bf7dc12a29a244df35fa4e7373dca4 (commit)
       via  1ba609a9c42f9cfeb111aec95b015c3f5eeafbc6 (commit)
       via  071892049d961a5b7694238d590074023177d54d (commit)
       via  fe0e115731240592d9f2838759bc76db45d3e89e (commit)
       via  3bf6cbf8d09e90753e83f7a85a538710f365553a (commit)
       via  e78704d5680d54c2c895e4a8f96e01e33e698813 (commit)
       via  7f416aff7d49595e8041fd7a2b48135b887601f7 (commit)
       via  d6447a2d1ad08c3a3a25742339a464be0aadf8d7 (commit)
       via  91347ff709cbcd9f603ff0ad02016cfcd268ca40 (commit)
       via  8b40ee1f1f2f5f8855e99a21a933273b790b913b (commit)
       via  26ae9b76b64a97219d4ea5d83c8c9446b690a0c6 (commit)
       via  443a01efb78cf5450066ae2817fdb3fe735efbe2 (commit)
       via  c195e19e3beb8f8ad7d5e2b8874cdcfc9e3369f4 (commit)
       via  0477db51a0704ba62bc0c6133047411ec3640a71 (commit)
       via  5c766a85ead96a2b46e9c6a0d621e56cc90d0dba (commit)
       via  457da755a718113dcbc339f7823af0d439fa62c7 (commit)
       via  aefd15f62c6b46af4ffc9fd3ec8d849b03ebed50 (commit)
       via  e56270d3cfc3ee5403279e4f6853068519adfb9d (commit)
       via  f203fa39c811514a6d5d56595b8e6287c156a97b (commit)
       via  c0c55ea54be3d4ca1fff2f775e4d6410775ef139 (commit)
       via  0c741c529e09621ad1ffcaf7e124387ad7bd6759 (commit)
       via  da23b1d01deda347f98a1753dcd81ca92f3af817 (commit)
       via  b062555b24d3e08fe18039db4edc18df9b9da81b (commit)
       via  a39584b4a71b81d30b63174936ef1409ac6c8d2a (commit)
       via  114580503a36f7864388087b839750ed4583a589 (commit)
       via  7f66283392a68f0992a3d40000723c49ca1c62fb (commit)
       via  55490d832f51082a117eb7c17a52ade9dca6f6b0 (commit)
       via  6d3bcdd4f73f02e252738c51ef90c804f3b281f7 (commit)
       via  e932f1922b2554951551c17864b28468de5f732c (commit)
       via  95448c0b31869c3785bbe327ae93e8df0cafb352 (commit)
       via  152966c4aa1ac1e2950b9c9f5c1515ff9591f936 (commit)
       via  a226e9bb547d097af59fa4ffe001381b82390216 (commit)
       via  4b1d7842adfc9887086cea526e5ca5e923e48422 (commit)
       via  d3cf99efbd69d1713af02f445f361e475c905f80 (commit)
       via  063d51569a462844484401166c2fb3a46691668a (commit)
       via  76c889a35e18796c235dd690f0bc9ed6b89e61e6 (commit)
       via  cfe876923224be1f46d60aa69d655dfec1768a6c (commit)
       via  81739b404bb6e4c3a459e6fc4b707e4eab80eae1 (commit)
       via  8fe80dd2edd866c0e1192f98ee36058af4048879 (commit)
       via  66ca0ee28888b8575bb404f861255e1db83161b2 (commit)
       via  8aefc2ca418cc5dfac6ac1a0d10d5650bd9aa027 (commit)
       via  30a2b1ae93bae347f55202e06e2018fef3a1a40e (commit)
       via  3425331568060820fe70c1a0850f125a5ca9901e (commit)
       via  dd2092437258c4ea93d4626f094446eed31b2fa0 (commit)
       via  ccc006fa2e3f99f18fc981675e2124a64634c65b (commit)
       via  cfdd0f22e02ed3349a6ba484100156ca9436fa75 (commit)
       via  c2b861d978cd5d2d41ead897dc8669d2e8bdb5a5 (commit)
       via  1833bef9a3daf82ccda876eb55e62de9f47ad72a (commit)
       via  3bd4170d41c20a915e702c91a013bcd8b6c343ac (commit)
       via  7bf2eec6bf4875d8839bae92fb4f5a46a2476112 (commit)
       via  135e6c0c93c6b85a3c853bb88312a78461748934 (commit)
       via  f3f560efa72dbf7d998ac2d3339d9f932499a966 (commit)
       via  f49218632086d26e821608f592cfd2756a5a856a (commit)
       via  237fdcbd30b5d8d69b6fb8bd2e4333541843f8f0 (commit)
       via  4b88473c312f66c7fba0c1a5d862cd5f95b732c2 (commit)
       via  9d758ee0ddc2d3cc10691b1979e8c2a25554b51d (commit)
       via  3ac5473c86b28350a3471edf76200e9b941fe001 (commit)
       via  8f41f9254af45f73b179428340772ab4cb041f27 (commit)
       via  594f1abf68931a3926d32aeab0e8121457614957 (commit)
       via  142b87ff1070383a6b305aacfb45f5fe5f6a856f (commit)
       via  249d172966a109f18942d85b3d3bf38852863406 (commit)
       via  dd1d3f685b51c2996a9f81d89158cc06ed50ec0e (commit)
       via  dd0cd188954843a3405c4f6becb47b6276afac07 (commit)
       via  4d4d40dc46626e349e4c8ccac3794e526f8d4612 (commit)
       via  696c2599d17f385ce997ce9711c1a4be7c2c0584 (commit)
       via  2421f8328fd57072c31072a5a376f1e934c8c1f5 (commit)
       via  ef12035dafeda230288f20e47c1a1c7d65c9651f (commit)
       via  0fdc9737f7cf1d6da69cdd731ea78aa5402f1b5a (commit)
       via  62076b60432e25f9f414ca734e116f883c3d146f (commit)
       via  be6ba34d61fb7d31ffaefca57296afb3f2fbe7b6 (commit)
       via  fff4f6bf192a13ae7a51975ef671ce3bcc05bdad (commit)
       via  9b11df95a832b163b7bd3eda3bee78a6ba59e9ca (commit)
       via  39253445ced57a004bfd93762902a4e60871fc87 (commit)
       via  f6e3e4d589b46291c571a819fd1eb3631b8a4274 (commit)
       via  f103bb118c9f8cce464b778388c3bd1d9d0615ca (commit)
       via  13f344dfff7f596d52e65481e2db4e1d915ff917 (commit)
       via  473fe3e0dc4c364de5c62715239d5b55304cd589 (commit)
       via  9e7c4050db8d5fa0a86a11b71d181483f25f33d8 (commit)
       via  0e05886d0828e0f086cb0f8248301d8701ab432c (commit)
       via  91b729d4c616a548dd6a97c986fdeaa5b7e097c3 (commit)
       via  898fbdcb470ec74c0d852363612414bc04ec009c (commit)
       via  dcb148e9b1642e3114f6c6014743a21d2058b87e (commit)
       via  7e5c6c4bacd72235e90629b621fb739c3d28b82c (commit)
       via  b46f28bf4451f7e1f316d9fac2dc3f788c788ab7 (commit)
       via  0614dc0b4188bd6397cf03ddb32f0ac53d765ebd (commit)
       via  377dab5a129f7ededed443e441bf2c9aecaccfc6 (commit)
       via  300821622f68beff676fdb6149e6d46c4fecf109 (commit)
       via  2a903ae8229ef39bf1309274f00375739dc2481f (commit)
       via  0121fd42cd1c571be146bc38d522a886234a8b2a (commit)
       via  af9feb7dcf3c00d6b4f2fefdf238ed3cded6218e (commit)
       via  1bd4cc0b9742f0ce70f926815d431b22ced95d02 (commit)
       via  a816124ca363aaa209351e6fea5618bdc5ef5ce0 (commit)
       via  2ce488949646b137d041e724458bd0f8ea1ebcf5 (commit)
       via  8adc5fddcedf6ba47d6fd40dc2ba4c4f9c9b6a45 (commit)
       via  e0b60493e555d6d78e5bd69890531ed86fdfbad8 (commit)
       via  7c1179519d4f5f028b94a3071f775d9923ef1b0c (commit)
       via  07433744611d5ed4beebbc27d382daa1daf7a134 (commit)
       via  c4e773b1fb01910f9ff94a7f64f8f94620980be3 (commit)
       via  0893837e1e72edd31b082dcee67a79503d57f3ad (commit)
       via  8a595ba5734900e915ba31b4b5f096deb7beb038 (commit)
       via  fc775018a7423273f64ae125707cef8f2be2910e (commit)
       via  f487a6054dbdc205228bff03589a5c6e2dade307 (commit)
       via  dae725ed5d0edf632f9d4bc21eabb28890db09a5 (commit)
       via  4b1fa80c6f70ebb624342ad697c91909bb1db8c8 (commit)
       via  503d1ef270c95e55a003fd913760a72d2fedf1aa (commit)
       via  288180a93adab44652eb5fb4ce39bcce899f7be8 (commit)
       via  e3e2bdb5539511b75a332c087f629111ec04c6dc (commit)
       via  61f06700b163fdeaa62e3b5e37029423088bd298 (commit)
       via  91bef12495b6ec8dfdb0998eed18740bbeb390a8 (commit)
       via  6fcf6494224a6606245c297e9602a7953434120b (commit)
       via  cd64fa3f4e535614b8210241598112ab19c606a9 (commit)
       via  bd7c9765d99b99a50caf868fc7431dd591c803b0 (commit)
       via  b04d3b7e2cebc68da35032b1eb9bdd9ad83cdcca (commit)
       via  4ec81a5030cb0515eac5ed06c3116c07de6ba377 (commit)
       via  eddac4b4a1c638f6e5795e5b3da475d83e63d8cf (commit)
       via  a025fbffd7294700ecc406421d118f7a0392efde (commit)
       via  486ee7f3437358941f0762ace2550170ef474de1 (commit)
       via  c40d16fcc57ba9e164faf064146f661aadbbfabe (commit)
       via  c399a3bbcd00c855d2ac47769aa870c9b975353d (commit)
       via  0266671e24d8f20402ebe328038d84c22f068711 (commit)
       via  23578b492741b32ee53c453ab50c7e7f78258dfb (commit)
       via  f7795948b64873aace3546059597ce7ed498c74b (commit)
       via  8c6a4e026da60454cfe6c9c9a1ea0c071a9d9506 (commit)
       via  0436b64a7ccf7888365a9f02d83bf23c3d513ab3 (commit)
       via  0b7ce86af6cf99c9df0e634ccb61134315e79813 (commit)
       via  12489706fabef7f148b877358c101c714d58e252 (commit)
       via  cb02304f78faa8600c5f2f32e10f0857ebd912df (commit)
       via  cafda6b69357061d11902df051b1201b91713e68 (commit)
       via  a879222a9818cc283b15ce90ff45cda33899178f (commit)
       via  62d79c9a7841f6de070137b37dc138bfff7d62d4 (commit)
       via  8bafd6a5d82aed290f27e458a53e11352362713c (commit)
       via  5869f02d80550193b3346bebfa9d6941681d26b3 (commit)
       via  7b66f834bb061187be876cdc21cac43be52ab6ca (commit)
       via  acfc984d522c7049bff69d410579c1bd398a1118 (commit)
       via  87baf9c76d270004e5bce727862c62ee8f194b59 (commit)
       via  37124605c17c958356b11b8ee98f39f0e9413514 (commit)
       via  66d646742f09992f9fcc665fedca55c0809c42ae (commit)
       via  a4809228480c67d2d0ad49a2403de6b3fe0a6342 (commit)
       via  38cdd2f1951b882ce68ff310f85e234a2450ddce (commit)
       via  a3568256dd143fe7badf11635b4607c26731325b (commit)
       via  9ece7f002e466d35387177497d5991e55ddd04d6 (commit)
      from  e8ac1ea642e27efeb7536a11c7869d45c4a55806 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit d37fef0c6373d2fc5a95c155b01a199901ba3e3c
Merge: e8ac1ea ee7931d
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Thu Jan 6 12:22:28 2011 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 COPYING.LIBGLOSS                                   |   23 +-
 ChangeLog                                          |   12 +
 bfd/ChangeLog                                      | 3418 +------
 bfd/ChangeLog-2010                                 | 3562 ++++++
 bfd/archures.c                                     |    2 +
 bfd/bfd-in2.h                                      |    5 +
 bfd/compress.c                                     |  127 +-
 bfd/config.bfd                                     |   38 +-
 bfd/configure                                      |   19 +-
 bfd/configure.host                                 |    1 +
 bfd/configure.in                                   |   19 +-
 bfd/cpu-i386.c                                     |   61 +-
 bfd/elf-bfd.h                                      |    8 +
 bfd/elf.c                                          |   13 +-
 bfd/elf32-mips.c                                   |   31 +
 bfd/elf32-rx.c                                     |    3 +
 bfd/elf64-mips.c                                   |   33 +
 bfd/elf64-x86-64.c                                 |  852 +-
 bfd/elfcode.h                                      |   16 +
 bfd/elflink.c                                      |   51 +-
 bfd/elfn32-mips.c                                  |   33 +
 bfd/libbfd.h                                       |    3 +
 bfd/peXXigen.c                                     |   13 +-
 bfd/reloc.c                                        |    6 +
 bfd/targets.c                                      |   14 +
 bfd/version.h                                      |    2 +-
 configure                                          |    3 +
 configure.ac                                       |    3 +
 gdb/ChangeLog                                      |11849 +-------------------
 gdb/ChangeLog-2010                                 |11959 ++++++++++++++++++++
 gdb/Makefile.in                                    |    6 +-
 gdb/NEWS                                           |   13 +
 gdb/ada-exp.y                                      |    2 +-
 gdb/ada-lang.c                                     |   79 +-
 gdb/ada-lang.h                                     |    4 +-
 gdb/ada-lex.l                                      |    2 +-
 gdb/ada-operator.inc                               |    2 +-
 gdb/ada-tasks.c                                    |    2 +-
 gdb/ada-typeprint.c                                |    3 +-
 gdb/ada-valprint.c                                 |   22 +-
 gdb/addrmap.c                                      |    5 +-
 gdb/addrmap.h                                      |    2 +-
 gdb/aix-thread.c                                   |    2 +-
 gdb/alpha-linux-nat.c                              |    2 +-
 gdb/alpha-linux-tdep.c                             |    2 +-
 gdb/alpha-mdebug-tdep.c                            |    2 +-
 gdb/alpha-nat.c                                    |    2 +-
 gdb/alpha-osf1-tdep.c                              |    2 +-
 gdb/alpha-tdep.c                                   |    3 +-
 gdb/alpha-tdep.h                                   |    2 +-
 gdb/alphabsd-nat.c                                 |    4 +-
 gdb/alphabsd-tdep.c                                |    2 +-
 gdb/alphabsd-tdep.h                                |    2 +-
 gdb/alphafbsd-tdep.c                               |    2 +-
 gdb/alphanbsd-tdep.c                               |    2 +-
 gdb/alphaobsd-tdep.c                               |    3 +-
 gdb/amd64-darwin-tdep.c                            |    2 +-
 gdb/amd64-darwin-tdep.h                            |    2 +-
 gdb/amd64-dicos-tdep.c                             |    2 +-
 gdb/amd64-linux-nat.c                              |    4 +-
 gdb/amd64-linux-tdep.c                             |    2 +-
 gdb/amd64-linux-tdep.h                             |    3 +-
 gdb/amd64-nat.c                                    |    2 +-
 gdb/amd64-nat.h                                    |    2 +-
 gdb/amd64-sol2-tdep.c                              |    2 +-
 gdb/amd64-tdep.c                                   |    4 +-
 gdb/amd64-tdep.h                                   |    2 +-
 gdb/amd64-windows-nat.c                            |    2 +-
 gdb/amd64-windows-tdep.c                           |    2 +-
 gdb/amd64bsd-nat.c                                 |    2 +-
 gdb/amd64fbsd-nat.c                                |    2 +-
 gdb/amd64fbsd-tdep.c                               |    2 +-
 gdb/amd64nbsd-nat.c                                |    2 +-
 gdb/amd64nbsd-tdep.c                               |    2 +-
 gdb/amd64obsd-nat.c                                |    2 +-
 gdb/amd64obsd-tdep.c                               |    2 +-
 gdb/annotate.c                                     |    8 +-
 gdb/annotate.h                                     |    2 +-
 gdb/arch-utils.c                                   |   86 +-
 gdb/arch-utils.h                                   |   24 +-
 gdb/arm-linux-nat.c                                |    2 +-
 gdb/arm-linux-tdep.c                               |    2 +-
 gdb/arm-linux-tdep.h                               |    3 +-
 gdb/arm-symbian-tdep.c                             |    3 +-
 gdb/arm-tdep.c                                     |  232 +-
 gdb/arm-tdep.h                                     |    2 +-
 gdb/arm-wince-tdep.c                               |    2 +-
 gdb/armbsd-tdep.c                                  |    3 +-
 gdb/armnbsd-nat.c                                  |    2 +-
 gdb/armnbsd-tdep.c                                 |    2 +-
 gdb/armobsd-tdep.c                                 |    3 +-
 gdb/auxv.c                                         |   75 +-
 gdb/auxv.h                                         |    4 +-
 gdb/avr-tdep.c                                     |    2 +-
 gdb/ax-gdb.c                                       |   72 +-
 gdb/ax-gdb.h                                       |    4 +-
 gdb/ax-general.c                                   |   95 +-
 gdb/ax.h                                           |    2 +-
 gdb/bcache.c                                       |   33 +-
 gdb/bcache.h                                       |    2 +-
 gdb/bfd-target.c                                   |    2 +-
 gdb/bfd-target.h                                   |    3 +-
 gdb/bfin-linux-tdep.c                              |  175 +
 gdb/bfin-tdep.c                                    |  862 ++
 gdb/bfin-tdep.h                                    |  102 +
 gdb/block.c                                        |    5 +-
 gdb/block.h                                        |    3 +-
 gdb/blockframe.c                                   |   36 +-
 gdb/breakpoint.c                                   | 1888 ++--
 gdb/breakpoint.h                                   |  252 +-
 gdb/bsd-kvm.c                                      |    4 +-
 gdb/bsd-kvm.h                                      |    3 +-
 gdb/bsd-uthread.c                                  |    3 +-
 gdb/bsd-uthread.h                                  |    3 +-
 gdb/buildsym.c                                     |  122 +-
 gdb/buildsym.h                                     |   19 +-
 gdb/c-exp.y                                        |    2 +-
 gdb/c-lang.c                                       |  152 +-
 gdb/c-lang.h                                       |   30 +-
 gdb/c-typeprint.c                                  |  334 +-
 gdb/c-valprint.c                                   |  212 +-
 gdb/call-cmds.h                                    |    2 +-
 gdb/cc-with-index.sh                               |    2 +-
 gdb/charset-list.h                                 |    2 +-
 gdb/charset.c                                      |   74 +-
 gdb/charset.h                                      |   10 +-
 gdb/cli-out.c                                      |    2 +-
 gdb/cli-out.h                                      |    2 +-
 gdb/cli/cli-cmds.c                                 |  158 +-
 gdb/cli/cli-cmds.h                                 |   23 +-
 gdb/cli/cli-decode.c                               |  192 +-
 gdb/cli/cli-decode.h                               |   41 +-
 gdb/cli/cli-dump.c                                 |   62 +-
 gdb/cli/cli-dump.h                                 |    2 +-
 gdb/cli/cli-interp.c                               |   24 +-
 gdb/cli/cli-logging.c                              |   40 +-
 gdb/cli/cli-script.c                               |  122 +-
 gdb/cli/cli-script.h                               |    2 +-
 gdb/cli/cli-setshow.c                              |   25 +-
 gdb/cli/cli-setshow.h                              |   10 +-
 gdb/coff-pe-read.c                                 |   64 +-
 gdb/coff-pe-read.h                                 |    6 +-
 gdb/coffread.c                                     |  501 +-
 gdb/command.h                                      |   82 +-
 gdb/common/gdb_signals.h                           |    2 +-
 gdb/common/i386-xstate.h                           |    2 +-
 gdb/common/signals.c                               |    8 +-
 gdb/complaints.c                                   |   21 +-
 gdb/complaints.h                                   |    8 +-
 gdb/completer.c                                    |  195 +-
 gdb/completer.h                                    |   25 +-
 gdb/config/alpha/nm-osf3.h                         |    2 +-
 gdb/config/djgpp/djconfig.sh                       |    2 +-
 gdb/config/djgpp/fnchange.lst                      |    3 +-
 gdb/config/djgpp/langinfo.h                        |    2 +-
 gdb/config/djgpp/nl_types.h                        |    2 +-
 gdb/config/i386/nm-fbsd.h                          |    2 +-
 gdb/config/i386/nm-i386gnu.h                       |    2 +-
 gdb/config/nm-linux.h                              |    2 +-
 gdb/config/nm-nto.h                                |    2 +-
 gdb/config/rs6000/nm-rs6000.h                      |    2 +-
 gdb/config/sparc/nm-sol2.h                         |    2 +-
 gdb/configure.ac                                   |    4 +-
 gdb/configure.tgt                                  |   10 +
 gdb/copyright.py                                   |  608 +
 gdb/copyright.sh                                   |   13 +-
 gdb/core-regset.c                                  |    9 +-
 gdb/corefile.c                                     |   66 +-
 gdb/corelow.c                                      |  123 +-
 gdb/cp-abi.c                                       |   41 +-
 gdb/cp-abi.h                                       |   74 +-
 gdb/cp-name-parser.y                               |    2 +-
 gdb/cp-namespace.c                                 |  237 +-
 gdb/cp-support.c                                   |  168 +-
 gdb/cp-support.h                                   |   29 +-
 gdb/cp-valprint.c                                  |  217 +-
 gdb/cris-tdep.c                                    |    4 +-
 gdb/d-lang.c                                       |    3 +-
 gdb/d-lang.h                                       |    3 +-
 gdb/d-valprint.c                                   |    2 +-
 gdb/darwin-nat-info.c                              |    2 +-
 gdb/darwin-nat.c                                   |    2 +-
 gdb/darwin-nat.h                                   |    2 +-
 gdb/data-directory/Makefile.in                     |    2 +-
 gdb/dbug-rom.c                                     |    8 +-
 gdb/dbxread.c                                      |   43 +-
 gdb/dcache.c                                       |    2 +-
 gdb/dcache.h                                       |    4 +-
 gdb/dec-thread.c                                   |    2 +-
 gdb/defs.h                                         |   35 +-
 gdb/demangle.c                                     |    2 +-
 gdb/dfp.c                                          |    8 +-
 gdb/dfp.h                                          |    5 +-
 gdb/dicos-tdep.c                                   |    2 +-
 gdb/dicos-tdep.h                                   |    2 +-
 gdb/dictionary.c                                   |    6 +-
 gdb/dictionary.h                                   |    3 +-
 gdb/dink32-rom.c                                   |    2 +-
 gdb/disasm.c                                       |    7 +-
 gdb/disasm.h                                       |    3 +-
 gdb/doc/ChangeLog                                  |   29 +
 gdb/doc/Makefile.in                                |    5 +-
 gdb/doc/agentexpr.texi                             |    4 +-
 gdb/doc/all-cfg.texi                               |    2 +-
 gdb/doc/annotate.texinfo                           |    2 +-
 gdb/doc/gdb.texinfo                                |   59 +-
 gdb/doc/gdbint.texinfo                             |    2 +-
 gdb/doc/observer.texi                              |    4 +-
 gdb/doc/refcard.tex                                |    4 +-
 gdb/doc/stabs.texinfo                              |    2 +-
 gdb/doublest.c                                     |   17 +-
 gdb/doublest.h                                     |    4 +-
 gdb/dsrec.c                                        |    2 +-
 gdb/dummy-frame.c                                  |    2 +-
 gdb/dummy-frame.h                                  |    2 +-
 gdb/dwarf2-frame.c                                 |   38 +-
 gdb/dwarf2-frame.h                                 |    2 +-
 gdb/dwarf2expr.c                                   |   14 +-
 gdb/dwarf2expr.h                                   |    2 +-
 gdb/dwarf2loc.c                                    |   40 +-
 gdb/dwarf2loc.h                                    |    2 +-
 gdb/dwarf2read.c                                   |  243 +-
 gdb/elfread.c                                      |   80 +-
 gdb/environ.c                                      |    2 +-
 gdb/environ.h                                      |    2 +-
 gdb/eval.c                                         |  120 +-
 gdb/event-loop.c                                   |  353 +-
 gdb/event-loop.h                                   |   38 +-
 gdb/event-top.c                                    |  301 +-
 gdb/event-top.h                                    |    2 +-
 gdb/exceptions.c                                   |    2 +-
 gdb/exceptions.h                                   |   12 +-
 gdb/exec.c                                         |   17 +-
 gdb/exec.h                                         |    3 +-
 gdb/expprint.c                                     |    5 +-
 gdb/expression.h                                   |   39 +-
 gdb/f-exp.y                                        |    6 +-
 gdb/f-lang.c                                       |   17 +-
 gdb/f-lang.h                                       |    2 +-
 gdb/f-typeprint.c                                  |    2 +-
 gdb/f-valprint.c                                   |   15 +-
 gdb/fbsd-nat.c                                     |    2 +-
 gdb/fbsd-nat.h                                     |    3 +-
 gdb/features/Makefile                              |    2 +-
 gdb/features/arm-core.xml                          |   28 +-
 gdb/features/arm-fpa.xml                           |    2 +-
 gdb/features/arm-m-profile.xml                     |    2 +-
 gdb/features/arm-vfpv2.xml                         |    2 +-
 gdb/features/arm-vfpv3.xml                         |    2 +-
 gdb/features/arm-with-iwmmxt.c                     |   27 +-
 gdb/features/arm-with-iwmmxt.xml                   |    2 +-
 gdb/features/arm-with-m.xml                        |    2 +-
 gdb/features/arm-with-neon.c                       |   30 +-
 gdb/features/arm-with-neon.xml                     |    2 +-
 gdb/features/arm-with-vfpv2.c                      |   30 +-
 gdb/features/arm-with-vfpv2.xml                    |    2 +-
 gdb/features/arm-with-vfpv3.c                      |   30 +-
 gdb/features/arm-with-vfpv3.xml                    |    2 +-
 gdb/features/feature_to_c.sh                       |    2 +-
 gdb/features/gdb-target.dtd                        |    2 +-
 gdb/features/i386/32bit-avx.xml                    |    2 +-
 gdb/features/i386/32bit-core.xml                   |    2 +-
 gdb/features/i386/32bit-linux.xml                  |    2 +-
 gdb/features/i386/32bit-sse.xml                    |    2 +-
 gdb/features/i386/64bit-avx.xml                    |    2 +-
 gdb/features/i386/64bit-core.xml                   |    2 +-
 gdb/features/i386/64bit-linux.xml                  |    2 +-
 gdb/features/i386/64bit-sse.xml                    |    2 +-
 gdb/features/i386/amd64-avx-linux.xml              |    2 +-
 gdb/features/i386/amd64-avx.xml                    |    2 +-
 gdb/features/i386/amd64-linux.xml                  |    2 +-
 gdb/features/i386/amd64.xml                        |    2 +-
 gdb/features/i386/i386-avx-linux.xml               |    2 +-
 gdb/features/i386/i386-avx.xml                     |    2 +-
 gdb/features/i386/i386-linux.xml                   |    2 +-
 gdb/features/i386/i386-mmx-linux.xml               |    2 +-
 gdb/features/i386/i386-mmx.xml                     |    2 +-
 gdb/features/i386/i386.xml                         |    2 +-
 gdb/features/library-list.dtd                      |    2 +-
 gdb/features/mips-cp0.xml                          |    2 +-
 gdb/features/mips-cpu.xml                          |    2 +-
 gdb/features/mips-fpu.xml                          |    2 +-
 gdb/features/mips-linux.xml                        |    2 +-
 gdb/features/mips64-cp0.xml                        |    2 +-
 gdb/features/mips64-cpu.xml                        |    2 +-
 gdb/features/mips64-fpu.xml                        |    2 +-
 gdb/features/mips64-linux.xml                      |    2 +-
 gdb/features/osdata.dtd                            |    2 +-
 gdb/features/rs6000/power-altivec.xml              |    2 +-
 gdb/features/rs6000/power-core.xml                 |    2 +-
 gdb/features/rs6000/power-fpu-isa205.xml           |    2 +-
 gdb/features/rs6000/power-fpu.xml                  |    2 +-
 gdb/features/rs6000/power-linux.xml                |    2 +-
 gdb/features/rs6000/power-oea.xml                  |    2 +-
 gdb/features/rs6000/power-spe.xml                  |    2 +-
 gdb/features/rs6000/power-vsx.xml                  |    2 +-
 gdb/features/rs6000/power64-core.xml               |    2 +-
 gdb/features/rs6000/power64-linux.xml              |    2 +-
 gdb/features/rs6000/powerpc-32.xml                 |    2 +-
 gdb/features/rs6000/powerpc-32l.xml                |    2 +-
 gdb/features/rs6000/powerpc-403.xml                |    2 +-
 gdb/features/rs6000/powerpc-403gc.xml              |    2 +-
 gdb/features/rs6000/powerpc-405.xml                |    2 +-
 gdb/features/rs6000/powerpc-505.xml                |    2 +-
 gdb/features/rs6000/powerpc-601.xml                |    2 +-
 gdb/features/rs6000/powerpc-602.xml                |    2 +-
 gdb/features/rs6000/powerpc-603.xml                |    2 +-
 gdb/features/rs6000/powerpc-604.xml                |    2 +-
 gdb/features/rs6000/powerpc-64.xml                 |    2 +-
 gdb/features/rs6000/powerpc-64l.xml                |    2 +-
 gdb/features/rs6000/powerpc-7400.xml               |    2 +-
 gdb/features/rs6000/powerpc-750.xml                |    2 +-
 gdb/features/rs6000/powerpc-860.xml                |    2 +-
 gdb/features/rs6000/powerpc-altivec32.xml          |    2 +-
 gdb/features/rs6000/powerpc-altivec32l.xml         |    2 +-
 gdb/features/rs6000/powerpc-altivec64.xml          |    2 +-
 gdb/features/rs6000/powerpc-altivec64l.xml         |    2 +-
 gdb/features/rs6000/powerpc-cell32l.xml            |    2 +-
 gdb/features/rs6000/powerpc-cell64l.xml            |    2 +-
 gdb/features/rs6000/powerpc-e500.xml               |    2 +-
 gdb/features/rs6000/powerpc-e500l.xml              |    2 +-
 gdb/features/rs6000/powerpc-isa205-32l.xml         |    2 +-
 gdb/features/rs6000/powerpc-isa205-64l.xml         |    2 +-
 gdb/features/rs6000/powerpc-isa205-altivec32l.xml  |    2 +-
 gdb/features/rs6000/powerpc-isa205-altivec64l.xml  |    2 +-
 gdb/features/rs6000/powerpc-isa205-vsx32l.xml      |    2 +-
 gdb/features/rs6000/powerpc-isa205-vsx64l.xml      |    2 +-
 gdb/features/rs6000/powerpc-vsx32.xml              |    2 +-
 gdb/features/rs6000/powerpc-vsx32l.xml             |    2 +-
 gdb/features/rs6000/powerpc-vsx64.xml              |    2 +-
 gdb/features/rs6000/powerpc-vsx64l.xml             |    2 +-
 gdb/features/rs6000/rs6000.xml                     |    2 +-
 gdb/features/s390-acr.xml                          |    2 +-
 gdb/features/s390-core32.xml                       |    2 +-
 gdb/features/s390-core64.xml                       |    2 +-
 gdb/features/s390-fpr.xml                          |    2 +-
 gdb/features/s390-linux32.xml                      |    2 +-
 gdb/features/s390-linux64.xml                      |    2 +-
 gdb/features/s390x-core64.xml                      |    2 +-
 gdb/features/s390x-linux64.xml                     |    2 +-
 gdb/features/threads.dtd                           |    2 +-
 gdb/features/xinclude.dtd                          |    2 +-
 gdb/features/xscale-iwmmxt.xml                     |    2 +-
 gdb/filesystem.c                                   |    2 +-
 gdb/filesystem.h                                   |    2 +-
 gdb/findcmd.c                                      |    9 +-
 gdb/findvar.c                                      |    2 +-
 gdb/fork-child.c                                   |    2 +-
 gdb/frame-base.c                                   |    5 +-
 gdb/frame-base.h                                   |    3 +-
 gdb/frame-unwind.c                                 |   11 +-
 gdb/frame-unwind.h                                 |    6 +-
 gdb/frame.c                                        |   56 +-
 gdb/frame.h                                        |    8 +-
 gdb/frv-linux-tdep.c                               |    2 +-
 gdb/frv-tdep.c                                     |    2 +-
 gdb/frv-tdep.h                                     |    3 +-
 gdb/gcore.c                                        |    7 +-
 gdb/gdb-gdb.py                                     |    2 +-
 gdb/gdb-stabs.h                                    |    7 +-
 gdb/gdb.1                                          |    2 +-
 gdb/gdb.c                                          |    3 +-
 gdb/gdb.h                                          |   20 +-
 gdb/gdb_assert.h                                   |    6 +-
 gdb/gdb_buildall.sh                                |    2 +-
 gdb/gdb_curses.h                                   |    2 +-
 gdb/gdb_dirent.h                                   |    4 +-
 gdb/gdb_expat.h                                    |    3 +-
 gdb/gdb_gcore.sh                                   |    2 +-
 gdb/gdb_locale.h                                   |    3 +-
 gdb/gdb_mbuild.sh                                  |    2 +-
 gdb/gdb_obstack.h                                  |   10 +-
 gdb/gdb_proc_service.h                             |    3 +-
 gdb/gdb_ptrace.h                                   |    2 +-
 gdb/gdb_regex.h                                    |    2 +-
 gdb/gdb_select.h                                   |    3 +-
 gdb/gdb_stat.h                                     |    3 +-
 gdb/gdb_string.h                                   |    4 +-
 gdb/gdb_thread_db.h                                |    2 +-
 gdb/gdb_usleep.c                                   |    2 +-
 gdb/gdb_usleep.h                                   |    2 +-
 gdb/gdb_vfork.h                                    |    3 +-
 gdb/gdb_wait.h                                     |    3 +-
 gdb/gdb_wchar.h                                    |    2 +-
 gdb/gdbarch.c                                      |   66 +
 gdb/gdbarch.h                                      |   20 +
 gdb/gdbarch.sh                                     |   12 +-
 gdb/gdbcmd.h                                       |    2 +-
 gdb/gdbcore.h                                      |    8 +-
 gdb/gdbserver/.gitignore                           |    4 +
 gdb/gdbserver/ChangeLog                            |   46 +
 gdb/gdbserver/Makefile.in                          |   12 +-
 gdb/gdbserver/README                               |    2 +
 gdb/gdbserver/configure.ac                         |    2 +-
 gdb/gdbserver/configure.srv                        |    5 +
 gdb/gdbserver/event-loop.c                         |    2 +-
 gdb/gdbserver/gdb_proc_service.h                   |    2 +-
 gdb/gdbserver/gdbreplay.c                          |   15 +-
 gdb/gdbserver/gdbserver.1                          |    2 +-
 gdb/gdbserver/hostio-errno.c                       |    2 +-
 gdb/gdbserver/hostio.c                             |    2 +-
 gdb/gdbserver/i386-low.c                           |    2 +-
 gdb/gdbserver/i386-low.h                           |    2 +-
 gdb/gdbserver/i387-fp.c                            |    2 +-
 gdb/gdbserver/i387-fp.h                            |    2 +-
 gdb/gdbserver/inferiors.c                          |    2 +-
 gdb/gdbserver/linux-amd64-ipa.c                    |    2 +-
 gdb/gdbserver/linux-arm-low.c                      |    2 +-
 gdb/gdbserver/linux-bfin-low.c                     |  107 +
 gdb/gdbserver/linux-cris-low.c                     |    2 +-
 gdb/gdbserver/linux-crisv32-low.c                  |    2 +-
 gdb/gdbserver/linux-i386-ipa.c                     |    2 +-
 gdb/gdbserver/linux-ia64-low.c                     |    2 +-
 gdb/gdbserver/linux-low.c                          |   34 +-
 gdb/gdbserver/linux-low.h                          |    2 +-
 gdb/gdbserver/linux-m32r-low.c                     |    3 +-
 gdb/gdbserver/linux-m68k-low.c                     |    2 +-
 gdb/gdbserver/linux-mips-low.c                     |    2 +-
 gdb/gdbserver/linux-ppc-low.c                      |    5 +-
 gdb/gdbserver/linux-s390-low.c                     |   17 +-
 gdb/gdbserver/linux-sh-low.c                       |    2 +-
 gdb/gdbserver/linux-sparc-low.c                    |   32 +-
 gdb/gdbserver/linux-x86-low.c                      |   10 +-
 gdb/gdbserver/linux-xtensa-low.c                   |    5 +-
 gdb/gdbserver/lynx-i386-low.c                      |    2 +-
 gdb/gdbserver/lynx-low.c                           |    2 +-
 gdb/gdbserver/lynx-low.h                           |    2 +-
 gdb/gdbserver/lynx-ppc-low.c                       |    2 +-
 gdb/gdbserver/mem-break.c                          |    5 +-
 gdb/gdbserver/mem-break.h                          |    2 +-
 gdb/gdbserver/nto-low.c                            |    5 +-
 gdb/gdbserver/nto-low.h                            |    2 +-
 gdb/gdbserver/nto-x86-low.c                        |    2 +-
 gdb/gdbserver/proc-service.c                       |    2 +-
 gdb/gdbserver/proc-service.list                    |    2 +-
 gdb/gdbserver/regcache.c                           |    2 +-
 gdb/gdbserver/regcache.h                           |    5 +-
 gdb/gdbserver/remote-utils.c                       |   12 +-
 gdb/gdbserver/server.c                             |   20 +-
 gdb/gdbserver/server.h                             |   11 +-
 gdb/gdbserver/spu-low.c                            |    3 +-
 gdb/gdbserver/target.c                             |    2 +-
 gdb/gdbserver/target.h                             |    2 +-
 gdb/gdbserver/thread-db.c                          |    5 +-
 gdb/gdbserver/tracepoint.c                         |   46 +-
 gdb/gdbserver/utils.c                              |    5 +-
 gdb/gdbserver/win32-arm-low.c                      |    2 +-
 gdb/gdbserver/win32-i386-low.c                     |    2 +-
 gdb/gdbserver/win32-low.c                          |    3 +-
 gdb/gdbserver/win32-low.h                          |    8 +-
 gdb/gdbserver/wincecompat.c                        |    2 +-
 gdb/gdbserver/wincecompat.h                        |    2 +-
 gdb/gdbserver/xtensa-xtregs.c                      |    2 +-
 gdb/gdbthread.h                                    |    2 +-
 gdb/gdbtypes.c                                     |   43 +-
 gdb/gdbtypes.h                                     |   24 +-
 gdb/glibc-tdep.c                                   |    2 +-
 gdb/glibc-tdep.h                                   |    2 +-
 gdb/gnu-nat.c                                      |    2 +-
 gdb/gnu-nat.h                                      |    2 +-
 gdb/gnu-v2-abi.c                                   |    2 +-
 gdb/gnu-v3-abi.c                                   |    2 +-
 gdb/gnulib/Makefile.am                             |    2 +-
 gdb/gnulib/Makefile.in                             |    5 +-
 gdb/gnulib/dummy.c                                 |    2 +-
 gdb/gnulib/extra/arg-nonnull.h                     |    2 +-
 gdb/gnulib/extra/c++defs.h                         |    2 +-
 gdb/gnulib/extra/warn-on-use.h                     |    2 +-
 gdb/gnulib/m4/00gnulib.m4                          |    2 +-
 gdb/gnulib/m4/extensions.m4                        |    2 +-
 gdb/gnulib/m4/gnulib-cache.m4                      |    2 +-
 gdb/gnulib/m4/gnulib-common.m4                     |    2 +-
 gdb/gnulib/m4/gnulib-comp.m4                       |    2 +-
 gdb/gnulib/m4/gnulib-tool.m4                       |    2 +-
 gdb/gnulib/m4/include_next.m4                      |    2 +-
 gdb/gnulib/m4/longlong.m4                          |    2 +-
 gdb/gnulib/m4/memchr.m4                            |    2 +-
 gdb/gnulib/m4/mmap-anon.m4                         |    2 +-
 gdb/gnulib/m4/multiarch.m4                         |    2 +-
 gdb/gnulib/m4/stddef_h.m4                          |    2 +-
 gdb/gnulib/m4/stdint.m4                            |    2 +-
 gdb/gnulib/m4/string_h.m4                          |    2 +-
 gdb/gnulib/m4/warn-on-use.m4                       |    2 +-
 gdb/gnulib/m4/wchar_h.m4                           |    2 +-
 gdb/gnulib/m4/wchar_t.m4                           |    2 +-
 gdb/gnulib/m4/wint_t.m4                            |    2 +-
 gdb/gnulib/memchr.c                                |    2 +-
 gdb/gnulib/memmem.c                                |    2 +-
 gdb/gnulib/stddef.in.h                             |    2 +-
 gdb/gnulib/stdint.in.h                             |    2 +-
 gdb/gnulib/str-two-way.h                           |    2 +-
 gdb/gnulib/string.in.h                             |    2 +-
 gdb/gnulib/wchar.in.h                              |    2 +-
 gdb/go32-nat.c                                     |    4 +-
 gdb/gregset.h                                      |    2 +-
 gdb/h8300-tdep.c                                   |    2 +-
 gdb/hppa-hpux-nat.c                                |    2 +-
 gdb/hppa-hpux-tdep.c                               |    2 +-
 gdb/hppa-linux-nat.c                               |    2 +-
 gdb/hppa-linux-offsets.h                           |    2 +-
 gdb/hppa-linux-tdep.c                              |    2 +-
 gdb/hppa-tdep.c                                    |    4 +-
 gdb/hppa-tdep.h                                    |    2 +-
 gdb/hppabsd-nat.c                                  |    2 +-
 gdb/hppabsd-tdep.c                                 |    2 +-
 gdb/hppabsd-tdep.h                                 |    2 +-
 gdb/hppanbsd-nat.c                                 |    2 +-
 gdb/hppanbsd-tdep.c                                |    2 +-
 gdb/hppaobsd-tdep.c                                |    2 +-
 gdb/hpux-thread.c                                  |    4 +-
 gdb/i386-cygwin-tdep.c                             |    3 +-
 gdb/i386-darwin-nat.c                              |    2 +-
 gdb/i386-darwin-tdep.c                             |    2 +-
 gdb/i386-darwin-tdep.h                             |    2 +-
 gdb/i386-dicos-tdep.c                              |    2 +-
 gdb/i386-linux-nat.c                               |    2 +-
 gdb/i386-linux-tdep.c                              |    4 +-
 gdb/i386-linux-tdep.h                              |    2 +-
 gdb/i386-nat.c                                     |    2 +-
 gdb/i386-nat.h                                     |    2 +-
 gdb/i386-nto-tdep.c                                |    2 +-
 gdb/i386-sol2-nat.c                                |    3 +-
 gdb/i386-sol2-tdep.c                               |    2 +-
 gdb/i386-tdep.c                                    |    2 +-
 gdb/i386-tdep.h                                    |    2 +-
 gdb/i386-windows-nat.c                             |    2 +-
 gdb/i386bsd-nat.c                                  |    4 +-
 gdb/i386bsd-nat.h                                  |    3 +-
 gdb/i386bsd-tdep.c                                 |    2 +-
 gdb/i386fbsd-nat.c                                 |    2 +-
 gdb/i386fbsd-tdep.c                                |    2 +-
 gdb/i386gnu-nat.c                                  |    2 +-
 gdb/i386gnu-tdep.c                                 |    2 +-
 gdb/i386nbsd-nat.c                                 |    2 +-
 gdb/i386nbsd-tdep.c                                |    2 +-
 gdb/i386obsd-nat.c                                 |    2 +-
 gdb/i386obsd-tdep.c                                |    3 +-
 gdb/i386v4-nat.c                                   |    2 +-
 gdb/i387-tdep.c                                    |    2 +-
 gdb/i387-tdep.h                                    |    2 +-
 gdb/ia64-linux-nat.c                               |    2 +-
 gdb/ia64-linux-tdep.c                              |    2 +-
 gdb/ia64-tdep.c                                    |    2 +-
 gdb/ia64-tdep.h                                    |    2 +-
 gdb/inf-child.c                                    |   10 +-
 gdb/inf-child.h                                    |    3 +-
 gdb/inf-loop.c                                     |    3 +-
 gdb/inf-loop.h                                     |    3 +-
 gdb/inf-ptrace.c                                   |    9 +-
 gdb/inf-ptrace.h                                   |    2 +-
 gdb/inf-ttrace.c                                   |   22 +-
 gdb/inf-ttrace.h                                   |    3 +-
 gdb/infcall.c                                      |  120 +-
 gdb/infcall.h                                      |    3 +-
 gdb/infcmd.c                                       |   92 +-
 gdb/inferior.c                                     |    5 +-
 gdb/inferior.h                                     |    4 +-
 gdb/inflow.c                                       |    8 +-
 gdb/inflow.h                                       |    2 +-
 gdb/infrun.c                                       |  183 +-
 gdb/inline-frame.c                                 |    6 +-
 gdb/inline-frame.h                                 |    2 +-
 gdb/interps.c                                      |    2 +-
 gdb/interps.h                                      |    2 +-
 gdb/iq2000-tdep.c                                  |    2 +-
 gdb/irix5-nat.c                                    |    2 +-
 gdb/jit.c                                          |    2 +-
 gdb/jit.h                                          |    2 +-
 gdb/jv-exp.y                                       |    2 +-
 gdb/jv-lang.c                                      |    2 +-
 gdb/jv-lang.h                                      |    2 +-
 gdb/jv-typeprint.c                                 |    2 +-
 gdb/jv-valprint.c                                  |    2 +-
 gdb/language.c                                     |   80 +-
 gdb/language.h                                     |    7 +-
 gdb/libunwind-frame.c                              |   24 +-
 gdb/libunwind-frame.h                              |    5 +-
 gdb/linespec.c                                     |   61 +-
 gdb/linespec.h                                     |    3 +-
 gdb/linux-fork.c                                   |    2 +-
 gdb/linux-fork.h                                   |    2 +-
 gdb/linux-nat.c                                    |  164 +-
 gdb/linux-nat.h                                    |    5 +-
 gdb/linux-record.c                                 |    2 +-
 gdb/linux-record.h                                 |    2 +-
 gdb/linux-tdep.c                                   |    2 +-
 gdb/linux-tdep.h                                   |    2 +-
 gdb/linux-thread-db.c                              |   11 +-
 gdb/lm32-tdep.c                                    |    2 +-
 gdb/m2-exp.y                                       |    2 +-
 gdb/m2-lang.c                                      |    2 +-
 gdb/m2-lang.h                                      |    2 +-
 gdb/m2-typeprint.c                                 |    2 +-
 gdb/m2-valprint.c                                  |    2 +-
 gdb/m32c-tdep.c                                    |    3 +-
 gdb/m32r-linux-nat.c                               |    2 +-
 gdb/m32r-linux-tdep.c                              |    3 +-
 gdb/m32r-rom.c                                     |    2 +-
 gdb/m32r-tdep.c                                    |    2 +-
 gdb/m32r-tdep.h                                    |    3 +-
 gdb/m68hc11-tdep.c                                 |    2 +-
 gdb/m68k-tdep.c                                    |    2 +-
 gdb/m68k-tdep.h                                    |    2 +-
 gdb/m68kbsd-nat.c                                  |    3 +-
 gdb/m68kbsd-tdep.c                                 |    2 +-
 gdb/m68klinux-nat.c                                |    2 +-
 gdb/m68klinux-tdep.c                               |    2 +-
 gdb/m88k-tdep.c                                    |    2 +-
 gdb/m88k-tdep.h                                    |    3 +-
 gdb/m88kbsd-nat.c                                  |    3 +-
 gdb/machoread.c                                    |   27 +-
 gdb/macrocmd.c                                     |    3 +-
 gdb/macroexp.c                                     |    6 +-
 gdb/macroexp.h                                     |    3 +-
 gdb/macroscope.c                                   |    3 +-
 gdb/macroscope.h                                   |    3 +-
 gdb/macrotab.c                                     |   10 +-
 gdb/macrotab.h                                     |    3 +-
 gdb/main.c                                         |  131 +-
 gdb/main.h                                         |    3 +-
 gdb/maint.c                                        |   32 +-
 gdb/mdebugread.c                                   |  402 +-
 gdb/mdebugread.h                                   |    3 +-
 gdb/mem-break.c                                    |    2 +-
 gdb/memattr.c                                      |   15 +-
 gdb/memattr.h                                      |    2 +-
 gdb/memory-map.c                                   |    3 +-
 gdb/memory-map.h                                   |    3 +-
 gdb/mep-tdep.c                                     |    4 +-
 gdb/mi/mi-cmd-break.c                              |    5 +-
 gdb/mi/mi-cmd-disas.c                              |   13 +-
 gdb/mi/mi-cmd-env.c                                |    2 +-
 gdb/mi/mi-cmd-file.c                               |    2 +-
 gdb/mi/mi-cmd-stack.c                              |    8 +-
 gdb/mi/mi-cmd-target.c                             |    2 +-
 gdb/mi/mi-cmd-var.c                                |   20 +-
 gdb/mi/mi-cmds.c                                   |   17 +-
 gdb/mi/mi-cmds.h                                   |    2 +-
 gdb/mi/mi-common.c                                 |    3 +-
 gdb/mi/mi-common.h                                 |    8 +-
 gdb/mi/mi-console.c                                |    5 +-
 gdb/mi/mi-console.h                                |    3 +-
 gdb/mi/mi-getopt.c                                 |    2 +-
 gdb/mi/mi-getopt.h                                 |    3 +-
 gdb/mi/mi-interp.c                                 |   19 +-
 gdb/mi/mi-main.c                                   |   77 +-
 gdb/mi/mi-main.h                                   |    3 +-
 gdb/mi/mi-out.c                                    |    2 +-
 gdb/mi/mi-out.h                                    |    3 +-
 gdb/mi/mi-parse.c                                  |    2 +-
 gdb/mi/mi-parse.h                                  |    3 +-
 gdb/mi/mi-symbol-cmds.c                            |    3 +-
 gdb/microblaze-linux-tdep.c                        |    2 +-
 gdb/microblaze-rom.c                               |    2 +-
 gdb/microblaze-tdep.c                              |    2 +-
 gdb/microblaze-tdep.h                              |    2 +-
 gdb/mingw-hdep.c                                   |    3 +-
 gdb/minsyms.c                                      |    7 +-
 gdb/mips-irix-tdep.c                               |    3 +-
 gdb/mips-linux-nat.c                               |    4 +-
 gdb/mips-linux-tdep.c                              |    2 +-
 gdb/mips-linux-tdep.h                              |    2 +-
 gdb/mips-tdep.c                                    |  260 +-
 gdb/mips-tdep.h                                    |    2 +-
 gdb/mips64obsd-nat.c                               |    3 +-
 gdb/mips64obsd-tdep.c                              |    3 +-
 gdb/mipsnbsd-nat.c                                 |    2 +-
 gdb/mipsnbsd-tdep.c                                |    2 +-
 gdb/mipsnbsd-tdep.h                                |    2 +-
 gdb/mipsread.c                                     |    2 +-
 gdb/mn10300-linux-tdep.c                           |    2 +-
 gdb/mn10300-tdep.c                                 |    2 +-
 gdb/mn10300-tdep.h                                 |    2 +-
 gdb/monitor.c                                      |   69 +-
 gdb/monitor.h                                      |   16 +-
 gdb/moxie-tdep.c                                   |    2 +-
 gdb/moxie-tdep.h                                   |    2 +-
 gdb/mt-tdep.c                                      |    3 +-
 gdb/nbsd-nat.c                                     |    3 +-
 gdb/nbsd-nat.h                                     |    3 +-
 gdb/nbsd-tdep.c                                    |    2 +-
 gdb/nbsd-tdep.h                                    |    3 +-
 gdb/nto-procfs.c                                   |    2 +-
 gdb/nto-tdep.c                                     |    2 +-
 gdb/nto-tdep.h                                     |    3 +-
 gdb/objc-exp.y                                     |    2 +-
 gdb/objc-lang.c                                    |    2 +-
 gdb/objc-lang.h                                    |    2 +-
 gdb/objfiles.c                                     |    6 +-
 gdb/objfiles.h                                     |   27 +-
 gdb/obsd-tdep.c                                    |    3 +-
 gdb/obsd-tdep.h                                    |    3 +-
 gdb/observer.c                                     |    2 +-
 gdb/observer.sh                                    |    2 +-
 gdb/opencl-lang.c                                  |    2 +-
 gdb/osabi.c                                        |   19 +-
 gdb/osabi.h                                        |    2 +-
 gdb/osdata.c                                       |    2 +-
 gdb/osdata.h                                       |    2 +-
 gdb/osf-share/cma_attr.h                           |    9 +-
 gdb/osf-share/cma_deb_core.h                       |   38 +-
 gdb/osf-share/cma_debug_client.h                   |   12 +-
 gdb/osf-share/cma_handle.h                         |   15 +-
 gdb/osf-share/cma_mutex.h                          |    6 +-
 gdb/osf-share/cma_stack_int.h                      |    6 +-
 gdb/osf-share/cma_tcb_defs.h                       |   32 +-
 gdb/p-exp.y                                        |    2 +-
 gdb/p-lang.c                                       |    2 +-
 gdb/p-lang.h                                       |    2 +-
 gdb/p-typeprint.c                                  |   44 +-
 gdb/p-valprint.c                                   |   59 +-
 gdb/parse.c                                        |   23 +-
 gdb/parser-defs.h                                  |    2 +-
 gdb/posix-hdep.c                                   |    3 +-
 gdb/ppc-linux-nat.c                                |    3 +-
 gdb/ppc-linux-tdep.c                               |    2 +-
 gdb/ppc-linux-tdep.h                               |    2 +-
 gdb/ppc-sysv-tdep.c                                |    2 +-
 gdb/ppc-tdep.h                                     |    4 +-
 gdb/ppcbug-rom.c                                   |    2 +-
 gdb/ppcnbsd-nat.c                                  |    2 +-
 gdb/ppcnbsd-tdep.c                                 |    2 +-
 gdb/ppcnbsd-tdep.h                                 |    2 +-
 gdb/ppcobsd-nat.c                                  |    2 +-
 gdb/ppcobsd-tdep.c                                 |    2 +-
 gdb/ppcobsd-tdep.h                                 |    2 +-
 gdb/printcmd.c                                     |   25 +-
 gdb/proc-api.c                                     |    2 +-
 gdb/proc-events.c                                  |    5 +-
 gdb/proc-flags.c                                   |    2 +-
 gdb/proc-service.c                                 |    2 +-
 gdb/proc-service.list                              |    2 +-
 gdb/proc-utils.h                                   |    2 +-
 gdb/proc-why.c                                     |    2 +-
 gdb/procfs.c                                       |   31 +-
 gdb/procfs.h                                       |    2 +-
 gdb/progspace.c                                    |    9 +-
 gdb/progspace.h                                    |    5 +-
 gdb/prologue-value.c                               |    2 +-
 gdb/prologue-value.h                               |    2 +-
 gdb/psympriv.h                                     |   15 +-
 gdb/psymtab.c                                      |   26 +-
 gdb/psymtab.h                                      |    2 +-
 gdb/python/lib/gdb/__init__.py                     |    2 +-
 gdb/python/lib/gdb/command/__init__.py             |    2 +-
 gdb/python/lib/gdb/command/pretty_printers.py      |    2 +-
 gdb/python/lib/gdb/printing.py                     |    2 +-
 gdb/python/lib/gdb/types.py                        |    2 +-
 gdb/python/py-auto-load.c                          |   37 +-
 gdb/python/py-block.c                              |    2 +-
 gdb/python/py-breakpoint.c                         |    7 +-
 gdb/python/py-cmd.c                                |   11 +-
 gdb/python/py-frame.c                              |    8 +-
 gdb/python/py-function.c                           |    2 +-
 gdb/python/py-inferior.c                           |    2 +-
 gdb/python/py-infthread.c                          |    2 +-
 gdb/python/py-lazy-string.c                        |    2 +-
 gdb/python/py-objfile.c                            |    5 +-
 gdb/python/py-param.c                              |    5 +-
 gdb/python/py-prettyprint.c                        |    2 +-
 gdb/python/py-progspace.c                          |   10 +-
 gdb/python/py-symbol.c                             |    8 +-
 gdb/python/py-symtab.c                             |    2 +-
 gdb/python/py-type.c                               |    2 +-
 gdb/python/py-utils.c                              |    2 +-
 gdb/python/py-value.c                              |   17 +-
 gdb/python/python-internal.h                       |    5 +-
 gdb/python/python.c                                |    8 +-
 gdb/python/python.h                                |    2 +-
 gdb/ravenscar-sparc-thread.c                       |    2 +-
 gdb/ravenscar-thread.c                             |    2 +-
 gdb/ravenscar-thread.h                             |    2 +-
 gdb/record.c                                       |   73 +-
 gdb/record.h                                       |    2 +-
 gdb/regcache.c                                     |   44 +-
 gdb/regcache.h                                     |    9 +-
 gdb/regformats/reg-bfin.dat                        |   56 +
 gdb/regformats/regdat.sh                           |    3 +-
 gdb/regformats/regdef.h                            |    3 +-
 gdb/reggroups.c                                    |    2 +-
 gdb/reggroups.h                                    |    3 +-
 gdb/regset.c                                       |    3 +-
 gdb/regset.h                                       |    2 +-
 gdb/remote-fileio.c                                |   21 +-
 gdb/remote-fileio.h                                |    3 +-
 gdb/remote-m32r-sdi.c                              |    2 +-
 gdb/remote-mips.c                                  |    3 +-
 gdb/remote-sim.c                                   |    3 +-
 gdb/remote.c                                       |  130 +-
 gdb/remote.h                                       |    2 +-
 gdb/reply_mig_hack.awk                             |    2 +-
 gdb/reverse.c                                      |    3 +-
 gdb/rs6000-aix-tdep.c                              |    3 +-
 gdb/rs6000-nat.c                                   |    2 +-
 gdb/rs6000-tdep.c                                  |    2 +-
 gdb/rs6000-tdep.h                                  |    3 +-
 gdb/rx-tdep.c                                      |    2 +-
 gdb/s390-tdep.c                                    |    4 +-
 gdb/s390-tdep.h                                    |    3 +-
 gdb/score-tdep.c                                   |    3 +-
 gdb/score-tdep.h                                   |    3 +-
 gdb/sentinel-frame.c                               |    2 +-
 gdb/sentinel-frame.h                               |    3 +-
 gdb/ser-base.c                                     |    3 +-
 gdb/ser-base.h                                     |    3 +-
 gdb/ser-go32.c                                     |    2 +-
 gdb/ser-mingw.c                                    |    9 +-
 gdb/ser-pipe.c                                     |    2 +-
 gdb/ser-tcp.c                                      |    7 +-
 gdb/ser-tcp.h                                      |    3 +-
 gdb/ser-unix.c                                     |   32 +-
 gdb/ser-unix.h                                     |    2 +-
 gdb/serial.c                                       |   15 +-
 gdb/serial.h                                       |   13 +-
 gdb/sh-linux-tdep.c                                |    3 +-
 gdb/sh-tdep.c                                      |    3 +-
 gdb/sh-tdep.h                                      |    2 +-
 gdb/sh64-tdep.c                                    |    3 +-
 gdb/shnbsd-nat.c                                   |    2 +-
 gdb/shnbsd-tdep.c                                  |    2 +-
 gdb/sim-regno.h                                    |    3 +-
 gdb/sol-thread.c                                   |    2 +-
 gdb/sol2-tdep.c                                    |    3 +-
 gdb/sol2-tdep.h                                    |    3 +-
 gdb/solib-darwin.c                                 |    2 +-
 gdb/solib-darwin.h                                 |    2 +-
 gdb/solib-frv.c                                    |   39 +-
 gdb/solib-irix.c                                   |    8 +-
 gdb/solib-irix.h                                   |    2 +-
 gdb/solib-osf.c                                    |    5 +-
 gdb/solib-pa64.c                                   |   12 +-
 gdb/solib-pa64.h                                   |    3 +-
 gdb/solib-som.c                                    |   38 +-
 gdb/solib-som.h                                    |    3 +-
 gdb/solib-spu.c                                    |    2 +-
 gdb/solib-spu.h                                    |    2 +-
 gdb/solib-sunos.c                                  |    5 +-
 gdb/solib-svr4.c                                   |   28 +-
 gdb/solib-svr4.h                                   |    2 +-
 gdb/solib-target.c                                 |    8 +-
 gdb/solib-target.h                                 |    2 +-
 gdb/solib.c                                        |   40 +-
 gdb/solib.h                                        |    2 +-
 gdb/solist.h                                       |    2 +-
 gdb/somread.c                                      |   19 +-
 gdb/source.c                                       |   22 +-
 gdb/source.h                                       |    3 +-
 gdb/sparc-linux-nat.c                              |    2 +-
 gdb/sparc-linux-tdep.c                             |    2 +-
 gdb/sparc-nat.c                                    |    2 +-
 gdb/sparc-nat.h                                    |    2 +-
 gdb/sparc-sol2-nat.c                               |    2 +-
 gdb/sparc-sol2-tdep.c                              |    2 +-
 gdb/sparc-tdep.c                                   |    2 +-
 gdb/sparc-tdep.h                                   |    2 +-
 gdb/sparc64-linux-nat.c                            |    2 +-
 gdb/sparc64-linux-tdep.c                           |    2 +-
 gdb/sparc64-nat.c                                  |    3 +-
 gdb/sparc64-sol2-tdep.c                            |    2 +-
 gdb/sparc64-tdep.c                                 |    2 +-
 gdb/sparc64-tdep.h                                 |    2 +-
 gdb/sparc64fbsd-nat.c                              |    2 +-
 gdb/sparc64fbsd-tdep.c                             |    2 +-
 gdb/sparc64nbsd-nat.c                              |    2 +-
 gdb/sparc64nbsd-tdep.c                             |    2 +-
 gdb/sparc64obsd-tdep.c                             |    2 +-
 gdb/sparcnbsd-nat.c                                |    2 +-
 gdb/sparcnbsd-tdep.c                               |    2 +-
 gdb/sparcobsd-tdep.c                               |    2 +-
 gdb/spu-linux-nat.c                                |    3 +-
 gdb/spu-multiarch.c                                |    2 +-
 gdb/spu-tdep.c                                     |    3 +-
 gdb/spu-tdep.h                                     |    3 +-
 gdb/srec.h                                         |    2 +-
 gdb/stabsread.c                                    |   90 +-
 gdb/stabsread.h                                    |    7 +-
 gdb/stack.c                                        |   28 +-
 gdb/stack.h                                        |    5 +-
 gdb/std-regs.c                                     |    2 +-
 gdb/symfile-mem.c                                  |   24 +-
 gdb/symfile.c                                      |   62 +-
 gdb/symfile.h                                      |   11 +-
 gdb/symmisc.c                                      |   27 +-
 gdb/symtab.c                                       |   58 +-
 gdb/symtab.h                                       |   13 +-
 gdb/syscalls/amd64-linux.xml                       |    2 +-
 gdb/syscalls/bfin-linux.xml                        |  326 +
 gdb/syscalls/gdb-syscalls.dtd                      |    2 +-
 gdb/syscalls/i386-linux.xml                        |    2 +-
 gdb/syscalls/ppc-linux.xml                         |    2 +-
 gdb/syscalls/ppc64-linux.xml                       |    2 +-
 gdb/syscalls/sparc-linux.xml                       |    2 +-
 gdb/syscalls/sparc64-linux.xml                     |    2 +-
 gdb/target-descriptions.c                          |   13 +-
 gdb/target-descriptions.h                          |    3 +-
 gdb/target-memory.c                                |    9 +-
 gdb/target.c                                       |  100 +-
 gdb/target.h                                       |   29 +-
 gdb/terminal.h                                     |    5 +-
 gdb/testsuite/ChangeLog                            |  109 +
 gdb/testsuite/Makefile.in                          |    2 +-
 gdb/testsuite/config/cfdbug.exp                    |    2 +-
 gdb/testsuite/config/d10v.exp                      |    3 +-
 gdb/testsuite/config/default.exp                   |    2 +-
 gdb/testsuite/config/dve.exp                       |    3 +-
 gdb/testsuite/config/gdbserver.exp                 |    2 +-
 gdb/testsuite/config/i960.exp                      |    3 +-
 gdb/testsuite/config/m32r.exp                      |    3 +-
 gdb/testsuite/config/mips-idt.exp                  |    2 +-
 gdb/testsuite/config/mips.exp                      |    2 +-
 gdb/testsuite/config/mn10300-eval.exp              |    3 +-
 gdb/testsuite/config/monitor.exp                   |    2 +-
 gdb/testsuite/config/proelf.exp                    |    3 +-
 gdb/testsuite/config/rom68k.exp                    |    3 +-
 gdb/testsuite/config/sh.exp                        |    3 +-
 gdb/testsuite/config/sid.exp                       |    2 +-
 gdb/testsuite/config/sim.exp                       |    2 +-
 gdb/testsuite/config/slite.exp                     |    2 +-
 gdb/testsuite/config/unix.exp                      |    4 +-
 gdb/testsuite/config/vr4300.exp                    |    3 +-
 gdb/testsuite/config/vr5000.exp                    |    3 +-
 gdb/testsuite/config/vx.exp                        |    2 +-
 gdb/testsuite/config/vxworks.exp                   |    3 +-
 gdb/testsuite/config/vxworks29k.exp                |    2 +-
 gdb/testsuite/configure.ac                         |    2 +-
 gdb/testsuite/gdb.ada/array_bounds.exp             |    7 +-
 gdb/testsuite/gdb.ada/array_bounds/bar.adb         |    2 +-
 gdb/testsuite/gdb.ada/array_return.exp             |    8 +-
 gdb/testsuite/gdb.ada/array_return/p.adb           |    3 +-
 gdb/testsuite/gdb.ada/array_return/pck.adb         |    3 +-
 gdb/testsuite/gdb.ada/array_return/pck.ads         |    3 +-
 gdb/testsuite/gdb.ada/array_subscript_addr.exp     |    7 +-
 gdb/testsuite/gdb.ada/array_subscript_addr/p.adb   |    2 +-
 gdb/testsuite/gdb.ada/arrayidx.exp                 |    7 +-
 gdb/testsuite/gdb.ada/arrayidx/p.adb               |    3 +-
 gdb/testsuite/gdb.ada/arrayparam.exp               |    7 +-
 gdb/testsuite/gdb.ada/arrayparam/foo.adb           |    2 +-
 gdb/testsuite/gdb.ada/arrayparam/pck.adb           |    2 +-
 gdb/testsuite/gdb.ada/arrayparam/pck.ads           |    2 +-
 gdb/testsuite/gdb.ada/arrayptr.exp                 |    8 +-
 gdb/testsuite/gdb.ada/arrayptr/foo.adb             |    4 +-
 gdb/testsuite/gdb.ada/arrayptr/pck.adb             |    2 +-
 gdb/testsuite/gdb.ada/arrayptr/pck.ads             |    2 +-
 gdb/testsuite/gdb.ada/assign_1.exp                 |    2 +-
 gdb/testsuite/gdb.ada/atomic_enum.exp              |    7 +-
 gdb/testsuite/gdb.ada/atomic_enum/foo.adb          |    2 +-
 gdb/testsuite/gdb.ada/atomic_enum/pck.adb          |    2 +-
 gdb/testsuite/gdb.ada/atomic_enum/pck.ads          |    2 +-
 gdb/testsuite/gdb.ada/boolean_expr.exp             |    2 +-
 gdb/testsuite/gdb.ada/call_pn.exp                  |    7 +-
 gdb/testsuite/gdb.ada/call_pn/foo.adb              |    2 +-
 gdb/testsuite/gdb.ada/call_pn/pck.adb              |    2 +-
 gdb/testsuite/gdb.ada/call_pn/pck.ads              |    2 +-
 gdb/testsuite/gdb.ada/catch_ex.exp                 |    7 +-
 gdb/testsuite/gdb.ada/catch_ex/foo.adb             |    2 +-
 gdb/testsuite/gdb.ada/char_param.exp               |    7 +-
 gdb/testsuite/gdb.ada/char_param/foo.adb           |    2 +-
 gdb/testsuite/gdb.ada/char_param/pck.adb           |    2 +-
 gdb/testsuite/gdb.ada/char_param/pck.ads           |    2 +-
 gdb/testsuite/gdb.ada/complete.exp                 |    7 +-
 gdb/testsuite/gdb.ada/complete/foo.adb             |   15 +
 gdb/testsuite/gdb.ada/complete/pck.adb             |   15 +
 gdb/testsuite/gdb.ada/complete/pck.ads             |   15 +
 gdb/testsuite/gdb.ada/cond_lang.exp                |    2 +-
 gdb/testsuite/gdb.ada/cond_lang/a.adb              |    2 +-
 gdb/testsuite/gdb.ada/cond_lang/foo.c              |    2 +-
 gdb/testsuite/gdb.ada/cond_lang/mixed.adb          |    2 +-
 gdb/testsuite/gdb.ada/cond_lang/mixed.ads          |    2 +-
 gdb/testsuite/gdb.ada/cond_lang/pck.adb            |    2 +-
 gdb/testsuite/gdb.ada/cond_lang/pck.ads            |    2 +-
 gdb/testsuite/gdb.ada/dyn_loc.exp                  |    2 +-
 gdb/testsuite/gdb.ada/dyn_loc/p.adb                |    2 +-
 gdb/testsuite/gdb.ada/dyn_loc/pack.adb             |    2 +-
 gdb/testsuite/gdb.ada/dyn_loc/pack.ads             |    2 +-
 gdb/testsuite/gdb.ada/exec_changed.exp             |    9 +-
 gdb/testsuite/gdb.ada/exec_changed/first.adb       |    3 +-
 gdb/testsuite/gdb.ada/exec_changed/second.adb      |    3 +-
 gdb/testsuite/gdb.ada/exprs.exp                    |    7 +-
 gdb/testsuite/gdb.ada/exprs/p.adb                  |    2 +-
 gdb/testsuite/gdb.ada/fixed_cmp.exp                |    7 +-
 gdb/testsuite/gdb.ada/fixed_cmp/fixed.adb          |    2 +-
 gdb/testsuite/gdb.ada/fixed_cmp/pck.adb            |    2 +-
 gdb/testsuite/gdb.ada/fixed_cmp/pck.ads            |    2 +-
 gdb/testsuite/gdb.ada/fixed_points.exp             |    7 +-
 .../gdb.ada/fixed_points/fixed_points.adb          |    3 +-
 gdb/testsuite/gdb.ada/formatted_ref.exp            |    7 +-
 gdb/testsuite/gdb.ada/formatted_ref/defs.adb       |    2 +-
 gdb/testsuite/gdb.ada/formatted_ref/defs.ads       |    2 +-
 .../gdb.ada/formatted_ref/formatted_ref.adb        |    2 +-
 gdb/testsuite/gdb.ada/frame_args.exp               |    7 +-
 gdb/testsuite/gdb.ada/frame_args/foo.adb           |    2 +-
 gdb/testsuite/gdb.ada/frame_args/pck.adb           |    2 +-
 gdb/testsuite/gdb.ada/frame_args/pck.ads           |    2 +-
 gdb/testsuite/gdb.ada/fun_addr.exp                 |    7 +-
 gdb/testsuite/gdb.ada/fun_addr/foo.adb             |    2 +-
 gdb/testsuite/gdb.ada/fun_in_declare.exp           |    7 +-
 gdb/testsuite/gdb.ada/fun_in_declare/foo.adb       |    2 +-
 gdb/testsuite/gdb.ada/fun_in_declare/pck.adb       |    2 +-
 gdb/testsuite/gdb.ada/fun_in_declare/pck.ads       |    2 +-
 gdb/testsuite/gdb.ada/funcall_param.exp            |    7 +-
 gdb/testsuite/gdb.ada/funcall_param/foo.adb        |    2 +-
 gdb/testsuite/gdb.ada/funcall_param/pck.adb        |    2 +-
 gdb/testsuite/gdb.ada/funcall_param/pck.ads        |    2 +-
 gdb/testsuite/gdb.ada/gnat_ada.gpr                 |    3 +-
 gdb/testsuite/gdb.ada/homonym.exp                  |    7 +-
 gdb/testsuite/gdb.ada/homonym/homonym.adb          |    2 +-
 gdb/testsuite/gdb.ada/homonym/homonym.ads          |    2 +-
 gdb/testsuite/gdb.ada/homonym/homonym_main.adb     |    2 +-
 gdb/testsuite/gdb.ada/info_types.c                 |    2 +-
 gdb/testsuite/gdb.ada/info_types.exp               |    2 +-
 gdb/testsuite/gdb.ada/int_deref.exp                |    7 +-
 gdb/testsuite/gdb.ada/int_deref/foo.adb            |    2 +-
 gdb/testsuite/gdb.ada/int_deref/pck.ads            |    2 +-
 gdb/testsuite/gdb.ada/interface.exp                |    7 +-
 gdb/testsuite/gdb.ada/interface/foo.adb            |    2 +-
 gdb/testsuite/gdb.ada/interface/types.adb          |    2 +-
 gdb/testsuite/gdb.ada/interface/types.ads          |    2 +-
 gdb/testsuite/gdb.ada/lang_switch.exp              |    9 +-
 gdb/testsuite/gdb.ada/lang_switch/foo.c            |    2 +-
 gdb/testsuite/gdb.ada/lang_switch/lang_switch.adb  |    2 +-
 gdb/testsuite/gdb.ada/mod_from_name.exp            |    7 +-
 gdb/testsuite/gdb.ada/mod_from_name/foo.adb        |    2 +-
 gdb/testsuite/gdb.ada/nested.exp                   |    7 +-
 gdb/testsuite/gdb.ada/nested/hello.adb             |    2 +-
 gdb/testsuite/gdb.ada/null_array.exp               |    7 +-
 gdb/testsuite/gdb.ada/null_array/foo.adb           |    2 +-
 gdb/testsuite/gdb.ada/null_array/pck.adb           |    2 +-
 gdb/testsuite/gdb.ada/null_array/pck.ads           |    2 +-
 gdb/testsuite/gdb.ada/null_record.exp              |   17 +-
 gdb/testsuite/gdb.ada/null_record/bar.adb          |    3 +-
 gdb/testsuite/gdb.ada/null_record/bar.ads          |    3 +-
 gdb/testsuite/gdb.ada/null_record/null_record.adb  |    5 +-
 gdb/testsuite/gdb.ada/packed_array.exp             |    7 +-
 gdb/testsuite/gdb.ada/packed_array/pa.adb          |    3 +-
 gdb/testsuite/gdb.ada/packed_tagged.exp            |    7 +-
 gdb/testsuite/gdb.ada/packed_tagged/comp_bug.adb   |    2 +-
 gdb/testsuite/gdb.ada/print_chars.exp              |    7 +-
 gdb/testsuite/gdb.ada/print_chars/foo.adb          |   15 +
 gdb/testsuite/gdb.ada/print_chars/pck.adb          |    2 +-
 gdb/testsuite/gdb.ada/print_chars/pck.ads          |    2 +-
 gdb/testsuite/gdb.ada/print_pc.exp                 |   17 +-
 gdb/testsuite/gdb.ada/ptype_arith_binop.exp        |    2 +-
 gdb/testsuite/gdb.ada/ptype_field.exp              |    7 +-
 gdb/testsuite/gdb.ada/ptype_field/foo.adb          |    2 +-
 gdb/testsuite/gdb.ada/ptype_field/pck.adb          |    2 +-
 gdb/testsuite/gdb.ada/ptype_field/pck.ads          |    2 +-
 gdb/testsuite/gdb.ada/ptype_tagged_param.exp       |    7 +-
 gdb/testsuite/gdb.ada/ptype_tagged_param/foo.adb   |    2 +-
 gdb/testsuite/gdb.ada/ptype_tagged_param/pck.adb   |    2 +-
 gdb/testsuite/gdb.ada/ptype_tagged_param/pck.ads   |    2 +-
 gdb/testsuite/gdb.ada/rec_return.exp               |    7 +-
 gdb/testsuite/gdb.ada/rec_return/foo.adb           |    2 +-
 gdb/testsuite/gdb.ada/rec_return/pck.adb           |    2 +-
 gdb/testsuite/gdb.ada/rec_return/pck.ads           |    2 +-
 gdb/testsuite/gdb.ada/ref_param.exp                |    7 +-
 gdb/testsuite/gdb.ada/ref_param/foo.adb            |    2 +-
 gdb/testsuite/gdb.ada/ref_param/pck.adb            |    2 +-
 gdb/testsuite/gdb.ada/ref_param/pck.ads            |    2 +-
 gdb/testsuite/gdb.ada/ref_tick_size.exp            |    7 +-
 gdb/testsuite/gdb.ada/ref_tick_size/p.adb          |    2 +-
 gdb/testsuite/gdb.ada/ref_tick_size/pck.adb        |    2 +-
 gdb/testsuite/gdb.ada/ref_tick_size/pck.ads        |    2 +-
 gdb/testsuite/gdb.ada/start.exp                    |   14 +-
 gdb/testsuite/gdb.ada/start/dummy.adb              |    5 +-
 gdb/testsuite/gdb.ada/str_ref_cmp.exp              |    7 +-
 gdb/testsuite/gdb.ada/str_ref_cmp/foo.adb          |    2 +-
 gdb/testsuite/gdb.ada/str_ref_cmp/pck.ads          |    2 +-
 gdb/testsuite/gdb.ada/sym_print_name.exp           |    7 +-
 gdb/testsuite/gdb.ada/sym_print_name/foo.adb       |    2 +-
 gdb/testsuite/gdb.ada/sym_print_name/pck.adb       |    2 +-
 gdb/testsuite/gdb.ada/sym_print_name/pck.ads       |    2 +-
 gdb/testsuite/gdb.ada/taft_type.exp                |    7 +-
 gdb/testsuite/gdb.ada/taft_type/p.adb              |    2 +-
 gdb/testsuite/gdb.ada/taft_type/pck.adb            |    2 +-
 gdb/testsuite/gdb.ada/taft_type/pck.ads            |    2 +-
 gdb/testsuite/gdb.ada/tagged.exp                   |    7 +-
 gdb/testsuite/gdb.ada/tagged/foo.adb               |    2 +-
 gdb/testsuite/gdb.ada/tagged/pck.adb               |    2 +-
 gdb/testsuite/gdb.ada/tagged/pck.ads               |    2 +-
 gdb/testsuite/gdb.ada/tasks.exp                    |    7 +-
 gdb/testsuite/gdb.ada/tasks/foo.adb                |    2 +-
 gdb/testsuite/gdb.ada/tick_last_segv.exp           |    7 +-
 gdb/testsuite/gdb.ada/tick_last_segv/foo.adb       |    2 +-
 gdb/testsuite/gdb.ada/type_coercion.exp            |    7 +-
 gdb/testsuite/gdb.ada/type_coercion/assign.adb     |    2 +-
 gdb/testsuite/gdb.ada/type_coercion/ident.adb      |    2 +-
 gdb/testsuite/gdb.ada/uninitialized_vars.exp       |   17 +-
 gdb/testsuite/gdb.ada/uninitialized_vars/parse.adb |    4 +-
 .../uninitialized_vars/parse_controlled.ads        |    2 +-
 .../gdb.ada/variant_record_packed_array.exp        |    7 +-
 .../gdb.ada/variant_record_packed_array/foo.adb    |    2 +-
 .../gdb.ada/variant_record_packed_array/pck.adb    |    2 +-
 .../gdb.ada/variant_record_packed_array/pck.ads    |    2 +-
 gdb/testsuite/gdb.ada/watch_arg.exp                |    7 +-
 gdb/testsuite/gdb.ada/watch_arg/watch.adb          |    3 +-
 gdb/testsuite/gdb.arch/alpha-step.c                |    2 +-
 gdb/testsuite/gdb.arch/alpha-step.exp              |    2 +-
 gdb/testsuite/gdb.arch/altivec-abi.exp             |    2 +-
 gdb/testsuite/gdb.arch/altivec-regs.exp            |    2 +-
 gdb/testsuite/gdb.arch/amd64-byte.exp              |    2 +-
 gdb/testsuite/gdb.arch/amd64-disp-step.S           |    2 +-
 gdb/testsuite/gdb.arch/amd64-disp-step.exp         |    2 +-
 gdb/testsuite/gdb.arch/amd64-dword.exp             |    2 +-
 gdb/testsuite/gdb.arch/amd64-i386-address.S        |    2 +-
 gdb/testsuite/gdb.arch/amd64-i386-address.exp      |    2 +-
 gdb/testsuite/gdb.arch/amd64-pseudo.c              |    2 +-
 gdb/testsuite/gdb.arch/amd64-word.exp              |    2 +-
 gdb/testsuite/gdb.arch/arm-disp-step.S             |  120 +
 gdb/testsuite/gdb.arch/arm-disp-step.exp           |  172 +
 gdb/testsuite/gdb.arch/e500-abi.exp                |    2 +-
 gdb/testsuite/gdb.arch/e500-prologue.c             |    2 +-
 gdb/testsuite/gdb.arch/e500-prologue.exp           |    2 +-
 gdb/testsuite/gdb.arch/e500-regs.exp               |    3 +-
 gdb/testsuite/gdb.arch/gcore.c                     |    3 +-
 gdb/testsuite/gdb.arch/gdb1291.exp                 |    2 +-
 gdb/testsuite/gdb.arch/gdb1291.s                   |    2 +-
 gdb/testsuite/gdb.arch/gdb1431.exp                 |    3 +-
 gdb/testsuite/gdb.arch/gdb1431.s                   |    2 +-
 gdb/testsuite/gdb.arch/gdb1558.c                   |    3 +-
 gdb/testsuite/gdb.arch/gdb1558.exp                 |    2 +-
 gdb/testsuite/gdb.arch/i386-avx.c                  |    2 +-
 gdb/testsuite/gdb.arch/i386-avx.exp                |    2 +-
 gdb/testsuite/gdb.arch/i386-bp_permanent.exp       |    2 +-
 gdb/testsuite/gdb.arch/i386-byte.exp               |    2 +-
 gdb/testsuite/gdb.arch/i386-cpuid.h                |    2 +-
 gdb/testsuite/gdb.arch/i386-disp-step.S            |    2 +-
 gdb/testsuite/gdb.arch/i386-disp-step.exp          |    2 +-
 gdb/testsuite/gdb.arch/i386-gnu-cfi-asm.S          |    2 +-
 gdb/testsuite/gdb.arch/i386-gnu-cfi.exp            |    2 +-
 gdb/testsuite/gdb.arch/i386-permbkpt.S             |    2 +-
 gdb/testsuite/gdb.arch/i386-permbkpt.exp           |    2 +-
 gdb/testsuite/gdb.arch/i386-prologue.c             |    2 +-
 gdb/testsuite/gdb.arch/i386-prologue.exp           |    2 +-
 gdb/testsuite/gdb.arch/i386-pseudo.c               |    2 +-
 gdb/testsuite/gdb.arch/i386-signal.c               |    2 +-
 gdb/testsuite/gdb.arch/i386-signal.exp             |    2 +-
 gdb/testsuite/gdb.arch/i386-size-overlap.c         |    2 +-
 gdb/testsuite/gdb.arch/i386-size-overlap.exp       |    2 +-
 gdb/testsuite/gdb.arch/i386-size.c                 |    2 +-
 gdb/testsuite/gdb.arch/i386-size.exp               |    2 +-
 gdb/testsuite/gdb.arch/i386-sse.c                  |    2 +-
 gdb/testsuite/gdb.arch/i386-sse.exp                |    3 +-
 gdb/testsuite/gdb.arch/i386-unwind.c               |    3 +-
 gdb/testsuite/gdb.arch/i386-unwind.exp             |    3 +-
 gdb/testsuite/gdb.arch/i386-word.exp               |    2 +-
 gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.S    |    2 +-
 gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.exp  |    2 +-
 gdb/testsuite/gdb.arch/iwmmxt-regs.c               |    2 +-
 gdb/testsuite/gdb.arch/iwmmxt-regs.exp             |    2 +-
 gdb/testsuite/gdb.arch/pa-nullify.exp              |    2 +-
 gdb/testsuite/gdb.arch/powerpc-aix-prologue.c      |    2 +-
 gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp    |    2 +-
 gdb/testsuite/gdb.arch/powerpc-d128-regs.c         |    2 +-
 gdb/testsuite/gdb.arch/powerpc-d128-regs.exp       |    2 +-
 gdb/testsuite/gdb.arch/powerpc-prologue.c          |    2 +-
 gdb/testsuite/gdb.arch/powerpc-prologue.exp        |    2 +-
 gdb/testsuite/gdb.arch/ppc-dfp.c                   |    2 +-
 gdb/testsuite/gdb.arch/ppc-dfp.exp                 |    2 +-
 gdb/testsuite/gdb.arch/ppc-fp.c                    |    2 +-
 gdb/testsuite/gdb.arch/ppc-fp.exp                  |    2 +-
 gdb/testsuite/gdb.arch/ppc64-atomic-inst.c         |    2 +-
 gdb/testsuite/gdb.arch/ppc64-atomic-inst.exp       |    2 +-
 gdb/testsuite/gdb.arch/spu-info.c                  |    2 +-
 gdb/testsuite/gdb.arch/spu-info.exp                |    2 +-
 gdb/testsuite/gdb.arch/spu-ls.c                    |    2 +-
 gdb/testsuite/gdb.arch/spu-ls.exp                  |    2 +-
 gdb/testsuite/gdb.arch/system-gcore.exp            |    3 +-
 gdb/testsuite/gdb.arch/thumb-prologue.c            |    2 +-
 gdb/testsuite/gdb.arch/thumb-prologue.exp          |    2 +-
 gdb/testsuite/gdb.arch/thumb2-it.S                 |    2 +-
 gdb/testsuite/gdb.arch/thumb2-it.exp               |    2 +-
 gdb/testsuite/gdb.arch/vsx-regs.exp                |    2 +-
 gdb/testsuite/gdb.asm/asm-source.exp               |    2 +-
 gdb/testsuite/gdb.base/a2-run.exp                  |    2 +-
 gdb/testsuite/gdb.base/advance.exp                 |    2 +-
 gdb/testsuite/gdb.base/all-bin.exp                 |    3 +-
 gdb/testsuite/gdb.base/annota1.exp                 |    2 +-
 gdb/testsuite/gdb.base/annota3.exp                 |    2 +-
 gdb/testsuite/gdb.base/anon.exp                    |    2 +-
 gdb/testsuite/gdb.base/args.exp                    |    2 +-
 gdb/testsuite/gdb.base/arithmet.exp                |    2 +-
 gdb/testsuite/gdb.base/arrayidx.c                  |    2 +-
 gdb/testsuite/gdb.base/arrayidx.exp                |    2 +-
 gdb/testsuite/gdb.base/assign.exp                  |    3 +-
 gdb/testsuite/gdb.base/async.exp                   |    3 +-
 gdb/testsuite/gdb.base/attach-pie-misread.c        |    2 +-
 gdb/testsuite/gdb.base/attach-pie-misread.exp      |    2 +-
 gdb/testsuite/gdb.base/attach.exp                  |    2 +-
 gdb/testsuite/gdb.base/auxv.c                      |    4 +-
 gdb/testsuite/gdb.base/bang.exp                    |    3 +-
 gdb/testsuite/gdb.base/bfp-test.c                  |    2 +-
 gdb/testsuite/gdb.base/bfp-test.exp                |    2 +-
 gdb/testsuite/gdb.base/bigcore.c                   |    2 +-
 gdb/testsuite/gdb.base/bigcore.exp                 |    2 +-
 gdb/testsuite/gdb.base/bitfields.exp               |    2 +-
 gdb/testsuite/gdb.base/bitfields2.exp              |    2 +-
 gdb/testsuite/gdb.base/bitops.exp                  |    3 +-
 gdb/testsuite/gdb.base/break-always.c              |    2 +-
 gdb/testsuite/gdb.base/break-always.exp            |    2 +-
 gdb/testsuite/gdb.base/break-entry.exp             |    2 +-
 gdb/testsuite/gdb.base/break-interp-lib.c          |    2 +-
 gdb/testsuite/gdb.base/break-interp-main.c         |    2 +-
 gdb/testsuite/gdb.base/break-interp.exp            |    2 +-
 gdb/testsuite/gdb.base/break.c                     |    4 +-
 gdb/testsuite/gdb.base/break.exp                   |    3 +-
 gdb/testsuite/gdb.base/break1.c                    |    4 +-
 gdb/testsuite/gdb.base/breakpoint-shadow.c         |    2 +-
 gdb/testsuite/gdb.base/breakpoint-shadow.exp       |    2 +-
 gdb/testsuite/gdb.base/call-ar-st.exp              |    2 +-
 gdb/testsuite/gdb.base/call-rt-st.exp              |    4 +-
 gdb/testsuite/gdb.base/call-sc.c                   |    2 +-
 gdb/testsuite/gdb.base/call-sc.exp                 |    2 +-
 gdb/testsuite/gdb.base/call-signal-resume.exp      |    2 +-
 gdb/testsuite/gdb.base/call-signals.c              |    2 +-
 gdb/testsuite/gdb.base/call-strs.exp               |    2 +-
 gdb/testsuite/gdb.base/callexit.c                  |    2 +-
 gdb/testsuite/gdb.base/callexit.exp                |    2 +-
 gdb/testsuite/gdb.base/callfuncs.c                 |    2 +-
 gdb/testsuite/gdb.base/callfuncs.exp               |    2 +-
 gdb/testsuite/gdb.base/catch-syscall.exp           |    3 +-
 gdb/testsuite/gdb.base/charset-malloc.c            |    2 +-
 gdb/testsuite/gdb.base/charset.c                   |    3 +-
 gdb/testsuite/gdb.base/charset.exp                 |    3 +-
 gdb/testsuite/gdb.base/checkpoint.c                |    3 +-
 gdb/testsuite/gdb.base/checkpoint.exp              |    3 +-
 gdb/testsuite/gdb.base/chng-syms.exp               |    2 +-
 gdb/testsuite/gdb.base/code-expr.exp               |    3 +-
 gdb/testsuite/gdb.base/code_elim.exp               |    2 +-
 gdb/testsuite/gdb.base/code_elim1.c                |    3 +-
 gdb/testsuite/gdb.base/code_elim2.c                |    3 +-
 gdb/testsuite/gdb.base/commands.exp                |    2 +-
 gdb/testsuite/gdb.base/completion.exp              |    2 +-
 gdb/testsuite/gdb.base/complex.c                   |    2 +-
 gdb/testsuite/gdb.base/complex.exp                 |    2 +-
 gdb/testsuite/gdb.base/cond-expr.exp               |    3 +-
 gdb/testsuite/gdb.base/condbreak.exp               |    2 +-
 gdb/testsuite/gdb.base/consecutive.exp             |    3 +-
 gdb/testsuite/gdb.base/constvars.exp               |    2 +-
 gdb/testsuite/gdb.base/corefile.exp                |    2 +-
 gdb/testsuite/gdb.base/coremaker.c                 |    2 +-
 gdb/testsuite/gdb.base/coremaker2.c                |    2 +-
 gdb/testsuite/gdb.base/cursal.c                    |    2 +-
 gdb/testsuite/gdb.base/cursal.exp                  |    2 +-
 gdb/testsuite/gdb.base/cvexpr.c                    |    2 +-
 gdb/testsuite/gdb.base/cvexpr.exp                  |    3 +-
 gdb/testsuite/gdb.base/dbx.exp                     |    2 +-
 gdb/testsuite/gdb.base/default.exp                 |    2 +-
 gdb/testsuite/gdb.base/define.exp                  |    2 +-
 gdb/testsuite/gdb.base/del.c                       |    2 +-
 gdb/testsuite/gdb.base/del.exp                     |    2 +-
 gdb/testsuite/gdb.base/detach.exp                  |    3 +-
 gdb/testsuite/gdb.base/dfp-exprs.exp               |    2 +-
 gdb/testsuite/gdb.base/dfp-test.c                  |    2 +-
 gdb/testsuite/gdb.base/dfp-test.exp                |    2 +-
 gdb/testsuite/gdb.base/display.exp                 |    2 +-
 gdb/testsuite/gdb.base/dump.exp                    |    3 +-
 gdb/testsuite/gdb.base/dup-sect.S                  |    2 +-
 gdb/testsuite/gdb.base/dup-sect.exp                |    2 +-
 gdb/testsuite/gdb.base/echo.exp                    |    2 +-
 gdb/testsuite/gdb.base/ena-dis-br.exp              |    2 +-
 gdb/testsuite/gdb.base/ending-run.exp              |    2 +-
 gdb/testsuite/gdb.base/environ.exp                 |    2 +-
 gdb/testsuite/gdb.base/eval-skip.exp               |    3 +-
 gdb/testsuite/gdb.base/eval.exp                    |    2 +-
 gdb/testsuite/gdb.base/exe-lock.exp                |    2 +-
 gdb/testsuite/gdb.base/expand-psymtabs.c           |    2 +-
 gdb/testsuite/gdb.base/expand-psymtabs.exp         |    2 +-
 gdb/testsuite/gdb.base/exprs.exp                   |    2 +-
 gdb/testsuite/gdb.base/fileio.exp                  |    2 +-
 gdb/testsuite/gdb.base/find.c                      |    2 +-
 gdb/testsuite/gdb.base/find.exp                    |    2 +-
 gdb/testsuite/gdb.base/finish.exp                  |    3 +-
 gdb/testsuite/gdb.base/fixsection.c                |    2 +-
 gdb/testsuite/gdb.base/fixsection.exp              |    2 +-
 gdb/testsuite/gdb.base/float.exp                   |    2 +-
 gdb/testsuite/gdb.base/foll-exec.exp               |    2 +-
 gdb/testsuite/gdb.base/foll-fork.exp               |    2 +-
 gdb/testsuite/gdb.base/foll-vfork.exp              |    2 +-
 gdb/testsuite/gdb.base/frame-args.c                |    2 +-
 gdb/testsuite/gdb.base/frame-args.exp              |    2 +-
 gdb/testsuite/gdb.base/freebpcmd.c                 |    3 +-
 gdb/testsuite/gdb.base/freebpcmd.exp               |    3 +-
 gdb/testsuite/gdb.base/fullname.c                  |    2 +-
 gdb/testsuite/gdb.base/fullname.exp                |    2 +-
 gdb/testsuite/gdb.base/funcargs.exp                |    2 +-
 gdb/testsuite/gdb.base/gcore-buffer-overflow.c     |    2 +-
 gdb/testsuite/gdb.base/gcore-buffer-overflow.exp   |    2 +-
 gdb/testsuite/gdb.base/gcore.c                     |    3 +-
 gdb/testsuite/gdb.base/gcore.exp                   |    2 +-
 gdb/testsuite/gdb.base/gdb1056.exp                 |    2 +-
 gdb/testsuite/gdb.base/gdb1090.c                   |    2 +-
 gdb/testsuite/gdb.base/gdb1090.exp                 |    2 +-
 gdb/testsuite/gdb.base/gdb11530.c                  |    2 +-
 gdb/testsuite/gdb.base/gdb11530.exp                |    2 +-
 gdb/testsuite/gdb.base/gdb11531.c                  |    2 +-
 gdb/testsuite/gdb.base/gdb11531.exp                |    2 +-
 gdb/testsuite/gdb.base/gdb1250.c                   |    2 +-
 gdb/testsuite/gdb.base/gdb1250.exp                 |    2 +-
 gdb/testsuite/gdb.base/gdb1555.exp                 |    2 +-
 gdb/testsuite/gdb.base/gdb1821.exp                 |    2 +-
 gdb/testsuite/gdb.base/gdbvars.exp                 |    2 +-
 gdb/testsuite/gdb.base/gnu_vector.c                |    2 +-
 gdb/testsuite/gdb.base/gnu_vector.exp              |    2 +-
 gdb/testsuite/gdb.base/hashline1.exp               |    2 +-
 gdb/testsuite/gdb.base/hashline2.exp               |    2 +-
 gdb/testsuite/gdb.base/hashline3.exp               |    2 +-
 gdb/testsuite/gdb.base/hbreak.c                    |    2 +-
 gdb/testsuite/gdb.base/hbreak.exp                  |    2 +-
 gdb/testsuite/gdb.base/help.exp                    |    2 +-
 gdb/testsuite/gdb.base/hook-stop-continue.c        |    2 +-
 gdb/testsuite/gdb.base/hook-stop-continue.exp      |    2 +-
 gdb/testsuite/gdb.base/hook-stop-frame.c           |    2 +-
 gdb/testsuite/gdb.base/hook-stop-frame.exp         |    2 +-
 gdb/testsuite/gdb.base/huge.exp                    |    3 +-
 gdb/testsuite/gdb.base/ifelse.exp                  |    2 +-
 gdb/testsuite/gdb.base/included.c                  |    2 +-
 gdb/testsuite/gdb.base/included.exp                |    2 +-
 gdb/testsuite/gdb.base/included.h                  |    2 +-
 gdb/testsuite/gdb.base/infnan.c                    |    2 +-
 gdb/testsuite/gdb.base/infnan.exp                  |    2 +-
 gdb/testsuite/gdb.base/info-proc.exp               |    2 +-
 gdb/testsuite/gdb.base/info-target.exp             |    2 +-
 gdb/testsuite/gdb.base/interp.exp                  |    3 +-
 gdb/testsuite/gdb.base/interrupt.exp               |    4 +-
 gdb/testsuite/gdb.base/jump.exp                    |    2 +-
 gdb/testsuite/gdb.base/label.exp                   |    2 +-
 gdb/testsuite/gdb.base/langs.exp                   |    2 +-
 gdb/testsuite/gdb.base/langs1.f                    |   15 +
 gdb/testsuite/gdb.base/lineinc.exp                 |    2 +-
 gdb/testsuite/gdb.base/list.exp                    |    2 +-
 gdb/testsuite/gdb.base/logical.exp                 |    2 +-
 gdb/testsuite/gdb.base/long_long.exp               |    2 +-
 gdb/testsuite/gdb.base/longjmp.c                   |    2 +-
 gdb/testsuite/gdb.base/longjmp.exp                 |    2 +-
 gdb/testsuite/gdb.base/macscp.exp                  |    2 +-
 gdb/testsuite/gdb.base/maint.exp                   |    2 +-
 gdb/testsuite/gdb.base/mips_pro.exp                |    2 +-
 gdb/testsuite/gdb.base/miscexprs.exp               |    2 +-
 gdb/testsuite/gdb.base/morestack.c                 |  105 +
 gdb/testsuite/gdb.base/morestack.exp               |   52 +
 gdb/testsuite/gdb.base/moribund-step.exp           |    2 +-
 gdb/testsuite/gdb.base/multi-forks.c               |    3 +-
 gdb/testsuite/gdb.base/multi-forks.exp             |    2 +-
 gdb/testsuite/gdb.base/nodebug.exp                 |    2 +-
 gdb/testsuite/gdb.base/nofield.c                   |    2 +-
 gdb/testsuite/gdb.base/nofield.exp                 |    2 +-
 gdb/testsuite/gdb.base/nostdlib.c                  |    2 +-
 gdb/testsuite/gdb.base/nostdlib.exp                |    2 +-
 gdb/testsuite/gdb.base/opaque.exp                  |    4 +-
 gdb/testsuite/gdb.base/overlays.exp                |    2 +-
 gdb/testsuite/gdb.base/page.exp                    |    2 +-
 gdb/testsuite/gdb.base/pc-fp.exp                   |    2 +-
 gdb/testsuite/gdb.base/pending.c                   |    2 +-
 gdb/testsuite/gdb.base/pending.exp                 |    2 +-
 gdb/testsuite/gdb.base/pendshr.c                   |    2 +-
 gdb/testsuite/gdb.base/permissions.exp             |    2 +-
 gdb/testsuite/gdb.base/pie-execl.c                 |    2 +-
 gdb/testsuite/gdb.base/pie-execl.exp               |    2 +-
 gdb/testsuite/gdb.base/pointers.exp                |    2 +-
 gdb/testsuite/gdb.base/pr10179.exp                 |    2 +-
 gdb/testsuite/gdb.base/pr11022.c                   |    2 +-
 gdb/testsuite/gdb.base/pr11022.exp                 |    2 +-
 gdb/testsuite/gdb.base/prelink-lib.c               |    2 +-
 gdb/testsuite/gdb.base/prelink.c                   |    2 +-
 gdb/testsuite/gdb.base/prelink.exp                 |    2 +-
 gdb/testsuite/gdb.base/printcmds.exp               |    2 +-
 gdb/testsuite/gdb.base/prologue.c                  |    2 +-
 gdb/testsuite/gdb.base/prologue.exp                |    2 +-
 gdb/testsuite/gdb.base/psymtab.exp                 |    2 +-
 gdb/testsuite/gdb.base/ptr-typedef.c               |    2 +-
 gdb/testsuite/gdb.base/ptr-typedef.exp             |    2 +-
 gdb/testsuite/gdb.base/ptype.exp                   |    2 +-
 gdb/testsuite/gdb.base/radix.exp                   |    2 +-
 gdb/testsuite/gdb.base/randomize.c                 |    2 +-
 gdb/testsuite/gdb.base/randomize.exp               |    2 +-
 gdb/testsuite/gdb.base/readline.exp                |    3 +-
 gdb/testsuite/gdb.base/recurse.exp                 |    4 +-
 gdb/testsuite/gdb.base/regs.exp                    |    2 +-
 gdb/testsuite/gdb.base/relational.exp              |    3 +-
 gdb/testsuite/gdb.base/relativedebug.c             |    2 +-
 gdb/testsuite/gdb.base/relativedebug.exp           |    2 +-
 gdb/testsuite/gdb.base/relocate.c                  |    2 +-
 gdb/testsuite/gdb.base/relocate.exp                |    2 +-
 gdb/testsuite/gdb.base/remote.exp                  |    2 +-
 gdb/testsuite/gdb.base/remotetimeout.exp           |    2 +-
 gdb/testsuite/gdb.base/reread.exp                  |    2 +-
 gdb/testsuite/gdb.base/restore.exp                 |    2 +-
 gdb/testsuite/gdb.base/return-nodebug.c            |    2 +-
 gdb/testsuite/gdb.base/return-nodebug.exp          |    2 +-
 gdb/testsuite/gdb.base/return-nodebug1.c           |    2 +-
 gdb/testsuite/gdb.base/return.exp                  |    2 +-
 gdb/testsuite/gdb.base/return2.exp                 |    2 +-
 gdb/testsuite/gdb.base/savedregs.c                 |    2 +-
 gdb/testsuite/gdb.base/savedregs.exp               |    2 +-
 gdb/testsuite/gdb.base/scope.exp                   |    2 +-
 gdb/testsuite/gdb.base/sect-cmd.exp                |    2 +-
 gdb/testsuite/gdb.base/sep-proc.c                  |    2 +-
 gdb/testsuite/gdb.base/sep.c                       |    2 +-
 gdb/testsuite/gdb.base/sep.exp                     |    2 +-
 gdb/testsuite/gdb.base/sepdebug.c                  |    2 +-
 gdb/testsuite/gdb.base/sepdebug.exp                |    2 +-
 gdb/testsuite/gdb.base/sepdebug2.c                 |    2 +-
 gdb/testsuite/gdb.base/sepsymtab.c                 |    2 +-
 gdb/testsuite/gdb.base/sepsymtab.exp               |    2 +-
 gdb/testsuite/gdb.base/set-lang-auto.exp           |    2 +-
 gdb/testsuite/gdb.base/setshow.exp                 |    4 +-
 gdb/testsuite/gdb.base/setvar.exp                  |    2 +-
 gdb/testsuite/gdb.base/shlib-call.exp              |    2 +-
 gdb/testsuite/gdb.base/shreloc.exp                 |    2 +-
 gdb/testsuite/gdb.base/sigall.exp                  |    2 +-
 gdb/testsuite/gdb.base/sigaltstack.c               |    2 +-
 gdb/testsuite/gdb.base/sigaltstack.exp             |    2 +-
 gdb/testsuite/gdb.base/sigbpt.c                    |    2 +-
 gdb/testsuite/gdb.base/sigbpt.exp                  |    3 +-
 gdb/testsuite/gdb.base/sigchld.c                   |    2 +-
 gdb/testsuite/gdb.base/sigchld.exp                 |    2 +-
 gdb/testsuite/gdb.base/siginfo-addr.c              |    2 +-
 gdb/testsuite/gdb.base/siginfo-addr.exp            |    2 +-
 gdb/testsuite/gdb.base/siginfo-infcall.c           |    2 +-
 gdb/testsuite/gdb.base/siginfo-infcall.exp         |    2 +-
 gdb/testsuite/gdb.base/siginfo-obj.c               |    2 +-
 gdb/testsuite/gdb.base/siginfo-obj.exp             |    2 +-
 gdb/testsuite/gdb.base/siginfo.c                   |    2 +-
 gdb/testsuite/gdb.base/siginfo.exp                 |    2 +-
 gdb/testsuite/gdb.base/signals.exp                 |    2 +-
 gdb/testsuite/gdb.base/signull.c                   |    2 +-
 gdb/testsuite/gdb.base/signull.exp                 |    3 +-
 gdb/testsuite/gdb.base/sigrepeat.c                 |    3 +-
 gdb/testsuite/gdb.base/sigrepeat.exp               |    3 +-
 gdb/testsuite/gdb.base/sigstep.c                   |    2 +-
 gdb/testsuite/gdb.base/sigstep.exp                 |    2 +-
 gdb/testsuite/gdb.base/sizeof.exp                  |    2 +-
 gdb/testsuite/gdb.base/so-disc-shr.c               |    2 +-
 gdb/testsuite/gdb.base/so-impl-ld.exp              |    4 +-
 gdb/testsuite/gdb.base/so-indr-cl.exp              |    2 +-
 gdb/testsuite/gdb.base/solib-corrupted.exp         |    2 +-
 gdb/testsuite/gdb.base/solib-disc.c                |    2 +-
 gdb/testsuite/gdb.base/solib-disc.exp              |    2 +-
 gdb/testsuite/gdb.base/solib-display-lib.c         |    2 +-
 gdb/testsuite/gdb.base/solib-display-main.c        |    2 +-
 gdb/testsuite/gdb.base/solib-display.exp           |    2 +-
 gdb/testsuite/gdb.base/solib-nodir.exp             |    2 +-
 gdb/testsuite/gdb.base/solib-overlap-lib.c         |    2 +-
 gdb/testsuite/gdb.base/solib-overlap-main.c        |    2 +-
 gdb/testsuite/gdb.base/solib-overlap.exp           |    2 +-
 gdb/testsuite/gdb.base/solib-symbol-lib.c          |    2 +-
 gdb/testsuite/gdb.base/solib-symbol-main.c         |    2 +-
 gdb/testsuite/gdb.base/solib-symbol.exp            |    2 +-
 gdb/testsuite/gdb.base/solib-weak.c                |    2 +-
 gdb/testsuite/gdb.base/solib-weak.exp              |    3 +-
 gdb/testsuite/gdb.base/solib.exp                   |    2 +-
 gdb/testsuite/gdb.base/source-error.gdb            |    2 +-
 gdb/testsuite/gdb.base/source-test.gdb             |    2 +-
 gdb/testsuite/gdb.base/source.exp                  |    2 +-
 gdb/testsuite/gdb.base/stack-checking.c            |    2 +-
 gdb/testsuite/gdb.base/stack-checking.exp          |    2 +-
 gdb/testsuite/gdb.base/start.c                     |    2 +-
 gdb/testsuite/gdb.base/start.exp                   |    2 +-
 gdb/testsuite/gdb.base/step-break.c                |    2 +-
 gdb/testsuite/gdb.base/step-break.exp              |    2 +-
 gdb/testsuite/gdb.base/step-bt.c                   |    2 +-
 gdb/testsuite/gdb.base/step-bt.exp                 |    2 +-
 gdb/testsuite/gdb.base/step-line.exp               |    3 +-
 gdb/testsuite/gdb.base/step-resume-infcall.c       |    2 +-
 gdb/testsuite/gdb.base/step-resume-infcall.exp     |    2 +-
 gdb/testsuite/gdb.base/step-test.exp               |    2 +-
 gdb/testsuite/gdb.base/store.exp                   |    2 +-
 gdb/testsuite/gdb.base/structs.c                   |    2 +-
 gdb/testsuite/gdb.base/structs.exp                 |    2 +-
 gdb/testsuite/gdb.base/structs2.exp                |    3 +-
 gdb/testsuite/gdb.base/structs3.c                  |    2 +-
 gdb/testsuite/gdb.base/structs3.exp                |    2 +-
 gdb/testsuite/gdb.base/subst.exp                   |    2 +-
 .../gdb.base/symbol-without-target_section.c       |    2 +-
 .../gdb.base/symbol-without-target_section.exp     |    2 +-
 gdb/testsuite/gdb.base/term.exp                    |    2 +-
 gdb/testsuite/gdb.base/trace-commands.exp          |    2 +-
 gdb/testsuite/gdb.base/tui-layout.exp              |    2 +-
 gdb/testsuite/gdb.base/twice.exp                   |    2 +-
 gdb/testsuite/gdb.base/type-opaque.exp             |    2 +-
 gdb/testsuite/gdb.base/ui-redirect.exp             |    2 +-
 gdb/testsuite/gdb.base/unload.c                    |    2 +-
 gdb/testsuite/gdb.base/unload.exp                  |    2 +-
 gdb/testsuite/gdb.base/unloadshr.c                 |    2 +-
 gdb/testsuite/gdb.base/unloadshr2.c                |    2 +-
 gdb/testsuite/gdb.base/until.exp                   |    2 +-
 gdb/testsuite/gdb.base/unwindonsignal.c            |    2 +-
 gdb/testsuite/gdb.base/unwindonsignal.exp          |    2 +-
 gdb/testsuite/gdb.base/valgrind-db-attach.c        |    2 +-
 gdb/testsuite/gdb.base/valgrind-db-attach.exp      |    2 +-
 gdb/testsuite/gdb.base/value-double-free.c         |    2 +-
 gdb/testsuite/gdb.base/value-double-free.exp       |    2 +-
 gdb/testsuite/gdb.base/varargs.exp                 |    2 +-
 gdb/testsuite/gdb.base/volatile.exp                |    2 +-
 gdb/testsuite/gdb.base/watch-cond-infcall.c        |    2 +-
 gdb/testsuite/gdb.base/watch-cond-infcall.exp      |    2 +-
 gdb/testsuite/gdb.base/watch-cond.c                |    2 +-
 gdb/testsuite/gdb.base/watch-cond.exp              |    2 +-
 gdb/testsuite/gdb.base/watch-non-mem.c             |    2 +-
 gdb/testsuite/gdb.base/watch-non-mem.exp           |    2 +-
 gdb/testsuite/gdb.base/watch-read.c                |    2 +-
 gdb/testsuite/gdb.base/watch-read.exp              |    2 +-
 gdb/testsuite/gdb.base/watch-vfork.c               |    2 +-
 gdb/testsuite/gdb.base/watch-vfork.exp             |    2 +-
 gdb/testsuite/gdb.base/watch_thread_num.c          |    2 +-
 gdb/testsuite/gdb.base/watch_thread_num.exp        |    2 +-
 .../gdb.base/watchpoint-cond-gone-stripped.c       |    2 +-
 gdb/testsuite/gdb.base/watchpoint-cond-gone.c      |    2 +-
 gdb/testsuite/gdb.base/watchpoint-cond-gone.exp    |    2 +-
 gdb/testsuite/gdb.base/watchpoint-hw-hit-once.c    |    2 +-
 gdb/testsuite/gdb.base/watchpoint-hw-hit-once.exp  |    2 +-
 gdb/testsuite/gdb.base/watchpoint-hw.c             |    2 +-
 gdb/testsuite/gdb.base/watchpoint-hw.exp           |    2 +-
 gdb/testsuite/gdb.base/watchpoint-solib-shr.c      |    2 +-
 gdb/testsuite/gdb.base/watchpoint-solib.c          |    2 +-
 gdb/testsuite/gdb.base/watchpoint-solib.exp        |    2 +-
 gdb/testsuite/gdb.base/watchpoint.exp              |    2 +-
 gdb/testsuite/gdb.base/watchpoints.c               |    2 +-
 gdb/testsuite/gdb.base/watchpoints.exp             |    2 +-
 gdb/testsuite/gdb.base/weaklib1.c                  |    2 +-
 gdb/testsuite/gdb.base/weaklib2.c                  |    2 +-
 gdb/testsuite/gdb.base/whatis-exp.exp              |    3 +-
 gdb/testsuite/gdb.base/whatis.c                    |    2 +-
 gdb/testsuite/gdb.base/whatis.exp                  |    2 +-
 gdb/testsuite/gdb.cell/arch.exp                    |    2 +-
 gdb/testsuite/gdb.cell/break-spu.c                 |    2 +-
 gdb/testsuite/gdb.cell/break.c                     |    2 +-
 gdb/testsuite/gdb.cell/break.exp                   |    2 +-
 gdb/testsuite/gdb.cell/bt-spu.c                    |    2 +-
 gdb/testsuite/gdb.cell/bt.c                        |    2 +-
 gdb/testsuite/gdb.cell/bt.exp                      |    2 +-
 gdb/testsuite/gdb.cell/bt2-spu.c                   |    2 +-
 gdb/testsuite/gdb.cell/core.exp                    |    2 +-
 gdb/testsuite/gdb.cell/coremaker-spu.c             |    2 +-
 gdb/testsuite/gdb.cell/coremaker.c                 |    2 +-
 gdb/testsuite/gdb.cell/data-spu.c                  |    2 +-
 gdb/testsuite/gdb.cell/data.c                      |    2 +-
 gdb/testsuite/gdb.cell/data.exp                    |    2 +-
 gdb/testsuite/gdb.cell/dwarfaddr.S                 |    2 +-
 gdb/testsuite/gdb.cell/dwarfaddr.exp               |    2 +-
 gdb/testsuite/gdb.cell/ea-cache-spu.c              |    2 +-
 gdb/testsuite/gdb.cell/ea-cache.c                  |    2 +-
 gdb/testsuite/gdb.cell/ea-cache.exp                |    2 +-
 gdb/testsuite/gdb.cell/ea-standalone.c             |    2 +-
 gdb/testsuite/gdb.cell/ea-standalone.exp           |    2 +-
 gdb/testsuite/gdb.cell/ea-test.c                   |    2 +-
 gdb/testsuite/gdb.cell/ea-test.exp                 |    2 +-
 gdb/testsuite/gdb.cell/f-regs.exp                  |    2 +-
 gdb/testsuite/gdb.cell/fork-spu.c                  |    2 +-
 gdb/testsuite/gdb.cell/fork.c                      |    2 +-
 gdb/testsuite/gdb.cell/fork.exp                    |    2 +-
 gdb/testsuite/gdb.cell/gcore.exp                   |    2 +-
 gdb/testsuite/gdb.cell/mem-access-spu.c            |    2 +-
 gdb/testsuite/gdb.cell/mem-access.c                |    2 +-
 gdb/testsuite/gdb.cell/mem-access.exp              |    2 +-
 gdb/testsuite/gdb.cell/ptype.exp                   |    2 +-
 gdb/testsuite/gdb.cell/registers.exp               |    2 +-
 gdb/testsuite/gdb.cell/size-spu.c                  |    2 +-
 gdb/testsuite/gdb.cell/size.c                      |    2 +-
 gdb/testsuite/gdb.cell/sizeof.exp                  |    2 +-
 gdb/testsuite/gdb.cell/solib-symbol.exp            |    2 +-
 gdb/testsuite/gdb.cell/solib.exp                   |    2 +-
 gdb/testsuite/gdb.cp/abstract-origin.cc            |    2 +-
 gdb/testsuite/gdb.cp/abstract-origin.exp           |    2 +-
 gdb/testsuite/gdb.cp/ambiguous.exp                 |    2 +-
 gdb/testsuite/gdb.cp/annota2.exp                   |    2 +-
 gdb/testsuite/gdb.cp/annota3.exp                   |    3 +-
 gdb/testsuite/gdb.cp/anon-union.exp                |    2 +-
 gdb/testsuite/gdb.cp/arg-reference.cc              |    2 +-
 gdb/testsuite/gdb.cp/arg-reference.exp             |    2 +-
 gdb/testsuite/gdb.cp/bool.cc                       |    3 +-
 gdb/testsuite/gdb.cp/bool.exp                      |    3 +-
 gdb/testsuite/gdb.cp/breakpoint.cc                 |    2 +-
 gdb/testsuite/gdb.cp/breakpoint.exp                |    2 +-
 gdb/testsuite/gdb.cp/bs15503.cc                    |    3 +-
 gdb/testsuite/gdb.cp/bs15503.exp                   |    2 +-
 gdb/testsuite/gdb.cp/call-c-1.c                    |    2 +-
 gdb/testsuite/gdb.cp/call-c.cc                     |    2 +-
 gdb/testsuite/gdb.cp/call-c.exp                    |    2 +-
 gdb/testsuite/gdb.cp/casts.exp                     |    2 +-
 gdb/testsuite/gdb.cp/class2.cc                     |    3 +-
 gdb/testsuite/gdb.cp/class2.exp                    |    3 +-
 gdb/testsuite/gdb.cp/classes.cc                    |    2 +-
 gdb/testsuite/gdb.cp/classes.exp                   |    2 +-
 gdb/testsuite/gdb.cp/converts.exp                  |    2 +-
 gdb/testsuite/gdb.cp/cp-relocate.cc                |    2 +-
 gdb/testsuite/gdb.cp/cp-relocate.exp               |    2 +-
 gdb/testsuite/gdb.cp/cpcompletion.exp              |    2 +-
 gdb/testsuite/gdb.cp/cpexprs.cc                    |    2 +-
 gdb/testsuite/gdb.cp/cpexprs.exp                   |    2 +-
 gdb/testsuite/gdb.cp/cplusfuncs.exp                |    4 +-
 gdb/testsuite/gdb.cp/ctti.exp                      |    2 +-
 gdb/testsuite/gdb.cp/cttiadd.cc                    |    2 +-
 gdb/testsuite/gdb.cp/cttiadd1.cc                   |    2 +-
 gdb/testsuite/gdb.cp/cttiadd2.cc                   |    2 +-
 gdb/testsuite/gdb.cp/cttiadd3.cc                   |    2 +-
 gdb/testsuite/gdb.cp/demangle.exp                  |    2 +-
 gdb/testsuite/gdb.cp/derivation.exp                |    4 +-
 gdb/testsuite/gdb.cp/exception.cc                  |    2 +-
 gdb/testsuite/gdb.cp/exception.exp                 |    2 +-
 gdb/testsuite/gdb.cp/expand-sals.cc                |    2 +-
 gdb/testsuite/gdb.cp/expand-sals.exp               |    2 +-
 gdb/testsuite/gdb.cp/extern-c.cc                   |    2 +-
 gdb/testsuite/gdb.cp/extern-c.exp                  |    2 +-
 gdb/testsuite/gdb.cp/formatted-ref.cc              |    2 +-
 gdb/testsuite/gdb.cp/formatted-ref.exp             |    2 +-
 gdb/testsuite/gdb.cp/fpointer.exp                  |    2 +-
 gdb/testsuite/gdb.cp/gdb1355.exp                   |    2 +-
 gdb/testsuite/gdb.cp/gdb2384-base.cc               |    2 +-
 gdb/testsuite/gdb.cp/gdb2384-base.h                |    2 +-
 gdb/testsuite/gdb.cp/gdb2384.cc                    |    2 +-
 gdb/testsuite/gdb.cp/gdb2384.exp                   |    2 +-
 gdb/testsuite/gdb.cp/gdb2495.cc                    |    2 +-
 gdb/testsuite/gdb.cp/gdb2495.exp                   |    2 +-
 gdb/testsuite/gdb.cp/hang.exp                      |    2 +-
 gdb/testsuite/gdb.cp/infcall-dlopen-lib.cc         |    2 +-
 gdb/testsuite/gdb.cp/infcall-dlopen.cc             |    2 +-
 gdb/testsuite/gdb.cp/infcall-dlopen.exp            |    2 +-
 gdb/testsuite/gdb.cp/inherit.exp                   |    2 +-
 gdb/testsuite/gdb.cp/koenig.exp                    |    2 +-
 gdb/testsuite/gdb.cp/local.exp                     |    4 +-
 gdb/testsuite/gdb.cp/m-data.exp                    |    2 +-
 gdb/testsuite/gdb.cp/m-static.exp                  |    3 +-
 gdb/testsuite/gdb.cp/mb-ctor.exp                   |    2 +-
 gdb/testsuite/gdb.cp/mb-inline.exp                 |    2 +-
 gdb/testsuite/gdb.cp/mb-inline.h                   |    2 +-
 gdb/testsuite/gdb.cp/mb-inline1.cc                 |    2 +-
 gdb/testsuite/gdb.cp/mb-inline2.cc                 |    2 +-
 gdb/testsuite/gdb.cp/mb-templates.exp              |    2 +-
 gdb/testsuite/gdb.cp/member-ptr.cc                 |    2 +-
 gdb/testsuite/gdb.cp/member-ptr.exp                |    2 +-
 gdb/testsuite/gdb.cp/method.exp                    |    2 +-
 gdb/testsuite/gdb.cp/method2.exp                   |    2 +-
 gdb/testsuite/gdb.cp/misc.cc                       |    2 +-
 gdb/testsuite/gdb.cp/misc.exp                      |    4 +-
 gdb/testsuite/gdb.cp/namespace-nested-import.exp   |    2 +-
 gdb/testsuite/gdb.cp/namespace.exp                 |    4 +-
 gdb/testsuite/gdb.cp/namespace1.cc                 |    3 +-
 gdb/testsuite/gdb.cp/nextoverthrow.cc              |   38 +-
 gdb/testsuite/gdb.cp/nextoverthrow.exp             |   13 +-
 gdb/testsuite/gdb.cp/nsdecl.exp                    |    2 +-
 gdb/testsuite/gdb.cp/nsimport.exp                  |    2 +-
 gdb/testsuite/gdb.cp/nsrecurs.exp                  |    2 +-
 gdb/testsuite/gdb.cp/nsstress.exp                  |    2 +-
 gdb/testsuite/gdb.cp/nsusing.exp                   |    2 +-
 gdb/testsuite/gdb.cp/operator.exp                  |    2 +-
 gdb/testsuite/gdb.cp/oranking.exp                  |    2 +-
 gdb/testsuite/gdb.cp/overload.exp                  |    4 +-
 gdb/testsuite/gdb.cp/ovldbreak.exp                 |    2 +-
 gdb/testsuite/gdb.cp/pass-by-ref.cc                |    2 +-
 gdb/testsuite/gdb.cp/pass-by-ref.exp               |    2 +-
 gdb/testsuite/gdb.cp/pr-1023.exp                   |    2 +-
 gdb/testsuite/gdb.cp/pr-1210.exp                   |    2 +-
 gdb/testsuite/gdb.cp/pr-574.cc                     |    3 +-
 gdb/testsuite/gdb.cp/pr-574.exp                    |    2 +-
 gdb/testsuite/gdb.cp/pr10687.exp                   |    2 +-
 gdb/testsuite/gdb.cp/pr10728.exp                   |    2 +-
 gdb/testsuite/gdb.cp/pr12028.exp                   |    2 +-
 gdb/testsuite/gdb.cp/pr9067.exp                    |    2 +-
 gdb/testsuite/gdb.cp/pr9167.exp                    |    2 +-
 gdb/testsuite/gdb.cp/pr9631.exp                    |    2 +-
 gdb/testsuite/gdb.cp/printmethod.cc                |    2 +-
 gdb/testsuite/gdb.cp/printmethod.exp               |    2 +-
 gdb/testsuite/gdb.cp/psmang.exp                    |    3 +-
 gdb/testsuite/gdb.cp/ptype-cv-cp.cc                |    2 +-
 gdb/testsuite/gdb.cp/ptype-cv-cp.exp               |    2 +-
 gdb/testsuite/gdb.cp/punctuator.exp                |    2 +-
 gdb/testsuite/gdb.cp/re-set-overloaded.cc          |    2 +-
 gdb/testsuite/gdb.cp/re-set-overloaded.exp         |    2 +-
 gdb/testsuite/gdb.cp/ref-params.cc                 |    2 +-
 gdb/testsuite/gdb.cp/ref-params.exp                |    2 +-
 gdb/testsuite/gdb.cp/ref-types.cc                  |    3 +-
 gdb/testsuite/gdb.cp/ref-types.exp                 |    2 +-
 gdb/testsuite/gdb.cp/rtti.exp                      |    3 +-
 gdb/testsuite/gdb.cp/rtti.h                        |    3 +-
 gdb/testsuite/gdb.cp/rtti1.cc                      |    3 +-
 gdb/testsuite/gdb.cp/rtti2.cc                      |    3 +-
 gdb/testsuite/gdb.cp/shadow.exp                    |    2 +-
 gdb/testsuite/gdb.cp/smartp.cc                     |    2 +-
 gdb/testsuite/gdb.cp/smartp.exp                    |    2 +-
 gdb/testsuite/gdb.cp/static-print-quit.cc          |    2 +-
 gdb/testsuite/gdb.cp/static-print-quit.exp         |    2 +-
 gdb/testsuite/gdb.cp/temargs.cc                    |    2 +-
 gdb/testsuite/gdb.cp/temargs.exp                   |    2 +-
 gdb/testsuite/gdb.cp/templates.exp                 |    2 +-
 gdb/testsuite/gdb.cp/try_catch.exp                 |    2 +-
 gdb/testsuite/gdb.cp/userdef.cc                    |    2 +-
 gdb/testsuite/gdb.cp/userdef.exp                   |    2 +-
 gdb/testsuite/gdb.cp/virtbase.exp                  |    2 +-
 gdb/testsuite/gdb.cp/virtfunc.exp                  |    2 +-
 gdb/testsuite/gdb.cp/virtfunc2.cc                  |    2 +-
 gdb/testsuite/gdb.cp/virtfunc2.exp                 |    2 +-
 gdb/testsuite/gdb.disasm/am33.exp                  |    3 +-
 gdb/testsuite/gdb.disasm/h8300s.exp                |    3 +-
 gdb/testsuite/gdb.disasm/hppa.exp                  |    2 +-
 gdb/testsuite/gdb.disasm/mn10300.exp               |    2 +-
 gdb/testsuite/gdb.disasm/sh3.exp                   |    2 +-
 gdb/testsuite/gdb.disasm/t01_mov.exp               |    3 +-
 gdb/testsuite/gdb.disasm/t02_mova.exp              |    3 +-
 gdb/testsuite/gdb.disasm/t03_add.exp               |    3 +-
 gdb/testsuite/gdb.disasm/t04_sub.exp               |    3 +-
 gdb/testsuite/gdb.disasm/t05_cmp.exp               |    3 +-
 gdb/testsuite/gdb.disasm/t06_ari2.exp              |    3 +-
 gdb/testsuite/gdb.disasm/t07_ari3.exp              |    3 +-
 gdb/testsuite/gdb.disasm/t08_or.exp                |    3 +-
 gdb/testsuite/gdb.disasm/t09_xor.exp               |    3 +-
 gdb/testsuite/gdb.disasm/t10_and.exp               |    3 +-
 gdb/testsuite/gdb.disasm/t11_logs.exp              |    3 +-
 gdb/testsuite/gdb.disasm/t12_bit.exp               |    3 +-
 gdb/testsuite/gdb.disasm/t13_otr.exp               |    3 +-
 gdb/testsuite/gdb.dwarf2/Makefile.in               |    2 +-
 gdb/testsuite/gdb.dwarf2/callframecfa.S            |    2 +-
 gdb/testsuite/gdb.dwarf2/callframecfa.exp          |    2 +-
 gdb/testsuite/gdb.dwarf2/dup-psym.S                |    2 +-
 gdb/testsuite/gdb.dwarf2/dup-psym.exp              |    3 +-
 gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.S        |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.exp      |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-anonymous-func.S      |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-anonymous-func.exp    |    3 +-
 gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.S  |    2 +-
 .../gdb.dwarf2/dw2-bad-parameter-type.exp          |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-basic.S               |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-basic.exp             |    3 +-
 gdb/testsuite/gdb.dwarf2/dw2-compressed.S          |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-compressed.exp        |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-const.S               |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-const.exp             |    2 +-
 .../gdb.dwarf2/dw2-cp-infcall-ref-static-main.c    |    2 +-
 .../gdb.dwarf2/dw2-cp-infcall-ref-static.S         |    2 +-
 .../gdb.dwarf2/dw2-cp-infcall-ref-static.exp       |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-cu-size.S             |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-cu-size.exp           |    3 +-
 gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S |    2 +-
 .../gdb.dwarf2/dw2-double-set-die-type.exp         |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-empty-namespace.S     |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-empty-namespace.exp   |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-filename.S            |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-filename.exp          |    3 +-
 gdb/testsuite/gdb.dwarf2/dw2-inheritance.S         |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-inheritance.exp       |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-inline-param-main.c   |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-inline-param.S        |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp      |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-intercu.S             |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-intercu.exp           |    3 +-
 gdb/testsuite/gdb.dwarf2/dw2-intermix.S            |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-intermix.exp          |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-modula2-self-type.S   |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-modula2-self-type.exp |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-noloc-main.c          |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-noloc.S               |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-noloc.exp             |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-op-call.S             |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-op-call.exp           |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-producer.S            |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-producer.exp          |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges.S              |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges.exp            |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges2.S             |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges3.S             |    2 +-
 .../gdb.dwarf2/dw2-ref-missing-frame-func.c        |    2 +-
 .../gdb.dwarf2/dw2-ref-missing-frame-main.c        |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.S   |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.exp |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-restore.S             |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-restore.exp           |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.S      |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.exp    |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-strp.S                |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-strp.exp              |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-unresolved-main.c     |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-unresolved.S          |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-unresolved.exp        |    2 +-
 gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp         |    2 +-
 gdb/testsuite/gdb.dwarf2/implptr.c                 |    2 +-
 gdb/testsuite/gdb.dwarf2/implptr.exp               |    2 +-
 gdb/testsuite/gdb.dwarf2/mac-fileno.S              |    2 +-
 gdb/testsuite/gdb.dwarf2/mac-fileno.exp            |    2 +-
 gdb/testsuite/gdb.dwarf2/main.c                    |    2 +-
 gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.S   |    2 +-
 gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.exp |    2 +-
 gdb/testsuite/gdb.dwarf2/pieces.S                  |    2 +-
 gdb/testsuite/gdb.dwarf2/pieces.c                  |    2 +-
 gdb/testsuite/gdb.dwarf2/pieces.exp                |    2 +-
 gdb/testsuite/gdb.dwarf2/pr10770.exp               |    2 +-
 gdb/testsuite/gdb.dwarf2/pr11465.S                 |    2 +-
 gdb/testsuite/gdb.dwarf2/pr11465.exp               |    2 +-
 gdb/testsuite/gdb.dwarf2/valop.S                   |    2 +-
 gdb/testsuite/gdb.dwarf2/valop.exp                 |    2 +-
 gdb/testsuite/gdb.dwarf2/watch-notconst.c          |    2 +-
 gdb/testsuite/gdb.dwarf2/watch-notconst.exp        |    2 +-
 gdb/testsuite/gdb.dwarf2/watch-notconst2.S         |    2 +-
 gdb/testsuite/gdb.dwarf2/watch-notconst2.c         |    2 +-
 gdb/testsuite/gdb.fortran/Makefile.in              |    2 +-
 gdb/testsuite/gdb.fortran/array-element.exp        |    2 +-
 gdb/testsuite/gdb.fortran/array-element.f          |    2 +-
 gdb/testsuite/gdb.fortran/complex.exp              |    2 +-
 gdb/testsuite/gdb.fortran/complex.f                |    2 +-
 gdb/testsuite/gdb.fortran/derived-type.exp         |    2 +-
 gdb/testsuite/gdb.fortran/derived-type.f90         |    2 +-
 gdb/testsuite/gdb.fortran/exprs.exp                |    2 +-
 gdb/testsuite/gdb.fortran/library-module-lib.f90   |    2 +-
 gdb/testsuite/gdb.fortran/library-module-main.f90  |    2 +-
 gdb/testsuite/gdb.fortran/library-module.exp       |    2 +-
 gdb/testsuite/gdb.fortran/logical.exp              |    2 +-
 gdb/testsuite/gdb.fortran/logical.f90              |    2 +-
 gdb/testsuite/gdb.fortran/module.exp               |    2 +-
 gdb/testsuite/gdb.fortran/module.f90               |    2 +-
 gdb/testsuite/gdb.fortran/subarray.exp             |    2 +-
 gdb/testsuite/gdb.fortran/subarray.f               |    2 +-
 gdb/testsuite/gdb.fortran/types.exp                |    2 +-
 gdb/testsuite/gdb.gdb/complaints.exp               |    3 +-
 gdb/testsuite/gdb.gdb/observer.exp                 |    3 +-
 gdb/testsuite/gdb.gdb/selftest.exp                 |    2 +-
 gdb/testsuite/gdb.gdb/xfullpath.exp                |    2 +-
 gdb/testsuite/gdb.hp/gdb.aCC/exception.exp         |    2 +-
 gdb/testsuite/gdb.hp/gdb.aCC/optimize.exp          |    3 +-
 gdb/testsuite/gdb.hp/gdb.aCC/watch-cmd.exp         |    3 +-
 gdb/testsuite/gdb.hp/gdb.base-hp/callfwmall.exp    |    2 +-
 gdb/testsuite/gdb.hp/gdb.base-hp/dollar.exp        |    2 +-
 gdb/testsuite/gdb.hp/gdb.base-hp/hwwatchbus.exp    |    2 +-
 gdb/testsuite/gdb.hp/gdb.base-hp/pxdb.exp          |    3 +-
 gdb/testsuite/gdb.hp/gdb.base-hp/reg-pa64.exp      |    2 +-
 gdb/testsuite/gdb.hp/gdb.base-hp/sized-enum.exp    |    2 +-
 gdb/testsuite/gdb.hp/gdb.base-hp/so-thresh.exp     |    2 +-
 gdb/testsuite/gdb.hp/gdb.compat/xdb1.exp           |    2 +-
 gdb/testsuite/gdb.hp/gdb.compat/xdb2.exp           |    2 +-
 gdb/testsuite/gdb.hp/gdb.compat/xdb3.exp           |    3 +-
 gdb/testsuite/gdb.hp/gdb.defects/solib-d.exp       |    3 +-
 gdb/testsuite/gdb.java/jmain.exp                   |    3 +-
 gdb/testsuite/gdb.java/jmisc.exp                   |    2 +-
 gdb/testsuite/gdb.java/jnpe.exp                    |    2 +-
 gdb/testsuite/gdb.java/jnpe.java                   |    2 +-
 gdb/testsuite/gdb.java/jprint.exp                  |    3 +-
 gdb/testsuite/gdb.java/jv-exp.exp                  |    2 +-
 gdb/testsuite/gdb.java/jv-print.exp                |    2 +-
 gdb/testsuite/gdb.mi/array.f                       |    2 +-
 gdb/testsuite/gdb.mi/basics.c                      |    2 +-
 gdb/testsuite/gdb.mi/dw2-ref-missing-frame-func.c  |    2 +-
 gdb/testsuite/gdb.mi/dw2-ref-missing-frame-main.c  |    2 +-
 gdb/testsuite/gdb.mi/dw2-ref-missing-frame.S       |    2 +-
 gdb/testsuite/gdb.mi/dw2-ref-missing-frame.exp     |    2 +-
 gdb/testsuite/gdb.mi/gdb2549.exp                   |    2 +-
 gdb/testsuite/gdb.mi/gdb669.exp                    |    2 +-
 gdb/testsuite/gdb.mi/gdb680.exp                    |    2 +-
 gdb/testsuite/gdb.mi/gdb701.exp                    |    2 +-
 gdb/testsuite/gdb.mi/gdb792.exp                    |    3 +-
 gdb/testsuite/gdb.mi/mi-async.exp                  |    2 +-
 gdb/testsuite/gdb.mi/mi-basics.exp                 |    2 +-
 gdb/testsuite/gdb.mi/mi-break.exp                  |    2 +-
 gdb/testsuite/gdb.mi/mi-cli.exp                    |    2 +-
 gdb/testsuite/gdb.mi/mi-console.exp                |    2 +-
 gdb/testsuite/gdb.mi/mi-disassemble.exp            |    2 +-
 gdb/testsuite/gdb.mi/mi-eval.exp                   |    2 +-
 gdb/testsuite/gdb.mi/mi-file-transfer.exp          |    2 +-
 gdb/testsuite/gdb.mi/mi-file.exp                   |    2 +-
 gdb/testsuite/gdb.mi/mi-hack-cli.exp               |    3 +-
 gdb/testsuite/gdb.mi/mi-nonstop-exit.exp           |    2 +-
 gdb/testsuite/gdb.mi/mi-nonstop.exp                |    2 +-
 gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp      |    2 +-
 gdb/testsuite/gdb.mi/mi-nsintrall.exp              |    2 +-
 gdb/testsuite/gdb.mi/mi-nsmoribund.exp             |    2 +-
 gdb/testsuite/gdb.mi/mi-nsthrexec.exp              |    2 +-
 gdb/testsuite/gdb.mi/mi-pending.c                  |    2 +-
 gdb/testsuite/gdb.mi/mi-pending.exp                |    2 +-
 gdb/testsuite/gdb.mi/mi-pendshr.c                  |    2 +-
 gdb/testsuite/gdb.mi/mi-pthreads.exp               |    2 +-
 gdb/testsuite/gdb.mi/mi-read-memory.exp            |    2 +-
 gdb/testsuite/gdb.mi/mi-regs.exp                   |    2 +-
 gdb/testsuite/gdb.mi/mi-return.exp                 |    2 +-
 gdb/testsuite/gdb.mi/mi-reverse.exp                |    3 +-
 gdb/testsuite/gdb.mi/mi-simplerun.exp              |    2 +-
 gdb/testsuite/gdb.mi/mi-stack.c                    |    2 +-
 gdb/testsuite/gdb.mi/mi-stack.exp                  |    2 +-
 gdb/testsuite/gdb.mi/mi-stepi.exp                  |    2 +-
 gdb/testsuite/gdb.mi/mi-syn-frame.exp              |    2 +-
 gdb/testsuite/gdb.mi/mi-until.exp                  |    2 +-
 gdb/testsuite/gdb.mi/mi-var-block.exp              |    2 +-
 gdb/testsuite/gdb.mi/mi-var-child-f.exp            |    2 +-
 gdb/testsuite/gdb.mi/mi-var-child.c                |    2 +-
 gdb/testsuite/gdb.mi/mi-var-child.exp              |    2 +-
 gdb/testsuite/gdb.mi/mi-var-cmd.exp                |    2 +-
 gdb/testsuite/gdb.mi/mi-var-cp.cc                  |    2 +-
 gdb/testsuite/gdb.mi/mi-var-cp.exp                 |    2 +-
 gdb/testsuite/gdb.mi/mi-var-display.exp            |    4 +-
 gdb/testsuite/gdb.mi/mi-var-invalidate.exp         |    2 +-
 gdb/testsuite/gdb.mi/mi-watch.exp                  |    2 +-
 gdb/testsuite/gdb.mi/mi2-basics.exp                |    4 +-
 gdb/testsuite/gdb.mi/mi2-break.exp                 |    2 +-
 gdb/testsuite/gdb.mi/mi2-cli.exp                   |    2 +-
 gdb/testsuite/gdb.mi/mi2-console.exp               |    2 +-
 gdb/testsuite/gdb.mi/mi2-disassemble.exp           |    4 +-
 gdb/testsuite/gdb.mi/mi2-eval.exp                  |    2 +-
 gdb/testsuite/gdb.mi/mi2-file.exp                  |    2 +-
 gdb/testsuite/gdb.mi/mi2-hack-cli.exp              |    2 +-
 gdb/testsuite/gdb.mi/mi2-pthreads.exp              |    2 +-
 gdb/testsuite/gdb.mi/mi2-read-memory.exp           |    2 +-
 gdb/testsuite/gdb.mi/mi2-regs.exp                  |    2 +-
 gdb/testsuite/gdb.mi/mi2-return.exp                |    4 +-
 gdb/testsuite/gdb.mi/mi2-simplerun.exp             |    2 +-
 gdb/testsuite/gdb.mi/mi2-stack.exp                 |    2 +-
 gdb/testsuite/gdb.mi/mi2-stepi.exp                 |    4 +-
 gdb/testsuite/gdb.mi/mi2-syn-frame.exp             |    2 +-
 gdb/testsuite/gdb.mi/mi2-until.exp                 |    2 +-
 gdb/testsuite/gdb.mi/mi2-var-block.exp             |    2 +-
 gdb/testsuite/gdb.mi/mi2-var-cmd.exp               |    4 +-
 gdb/testsuite/gdb.mi/mi2-var-display.exp           |    4 +-
 gdb/testsuite/gdb.mi/mi2-watch.exp                 |    2 +-
 gdb/testsuite/gdb.mi/non-stop-exit.c               |    2 +-
 gdb/testsuite/gdb.mi/non-stop.c                    |    2 +-
 gdb/testsuite/gdb.mi/ns-stale-regcache.c           |    2 +-
 gdb/testsuite/gdb.mi/nsintrall.c                   |    2 +-
 gdb/testsuite/gdb.mi/nsmoribund.c                  |    2 +-
 gdb/testsuite/gdb.mi/nsthrexec.c                   |    2 +-
 gdb/testsuite/gdb.mi/pthreads.c                    |    2 +-
 gdb/testsuite/gdb.mi/var-cmd.c                     |    3 +-
 gdb/testsuite/gdb.modula2/Makefile.in              |    2 +-
 gdb/testsuite/gdb.modula2/unbounded-array.exp      |    2 +-
 gdb/testsuite/gdb.modula2/unbounded1.c             |    2 +-
 gdb/testsuite/gdb.multi/base.exp                   |    2 +-
 gdb/testsuite/gdb.multi/bkpt-multi-exec.exp        |    2 +-
 gdb/testsuite/gdb.multi/goodbye.c                  |    2 +-
 gdb/testsuite/gdb.multi/hangout.c                  |    2 +-
 gdb/testsuite/gdb.multi/hello.c                    |    2 +-
 gdb/testsuite/gdb.objc/basicclass.exp              |    2 +-
 gdb/testsuite/gdb.objc/nondebug.exp                |    2 +-
 gdb/testsuite/gdb.objc/objcdecode.exp              |    2 +-
 gdb/testsuite/gdb.objc/print.exp                   |    2 +-
 gdb/testsuite/gdb.opencl/convs_casts.cl            |    2 +-
 gdb/testsuite/gdb.opencl/convs_casts.exp           |    2 +-
 gdb/testsuite/gdb.opencl/datatypes.cl              |    2 +-
 gdb/testsuite/gdb.opencl/datatypes.exp             |    2 +-
 gdb/testsuite/gdb.opencl/operators.cl              |    2 +-
 gdb/testsuite/gdb.opencl/operators.exp             |    2 +-
 gdb/testsuite/gdb.opencl/vec_comps.cl              |    2 +-
 gdb/testsuite/gdb.opencl/vec_comps.exp             |    2 +-
 gdb/testsuite/gdb.opt/clobbered-registers-O2.c     |    2 +-
 gdb/testsuite/gdb.opt/clobbered-registers-O2.exp   |    2 +-
 gdb/testsuite/gdb.opt/inline-bt.c                  |    2 +-
 gdb/testsuite/gdb.opt/inline-bt.exp                |    2 +-
 gdb/testsuite/gdb.opt/inline-cmds.c                |    2 +-
 gdb/testsuite/gdb.opt/inline-cmds.exp              |    2 +-
 gdb/testsuite/gdb.opt/inline-locals.c              |    2 +-
 gdb/testsuite/gdb.opt/inline-locals.exp            |    2 +-
 gdb/testsuite/gdb.opt/inline-markers.c             |    2 +-
 gdb/testsuite/gdb.pascal/floats.exp                |    2 +-
 gdb/testsuite/gdb.pascal/floats.pas                |    2 +-
 gdb/testsuite/gdb.pascal/gdb11492.exp              |    2 +-
 gdb/testsuite/gdb.pascal/gdb11492.pas              |    2 +-
 gdb/testsuite/gdb.pascal/hello.exp                 |    2 +-
 gdb/testsuite/gdb.pascal/integers.exp              |    2 +-
 gdb/testsuite/gdb.pascal/integers.pas              |    2 +-
 gdb/testsuite/gdb.pascal/print.exp                 |    2 +-
 gdb/testsuite/gdb.pascal/types.exp                 |    2 +-
 gdb/testsuite/gdb.python/lib-types.cc              |    2 +-
 gdb/testsuite/gdb.python/lib-types.exp             |    2 +-
 gdb/testsuite/gdb.python/py-block.c                |    2 +-
 gdb/testsuite/gdb.python/py-block.exp              |    2 +-
 gdb/testsuite/gdb.python/py-breakpoint.c           |    2 +-
 gdb/testsuite/gdb.python/py-breakpoint.exp         |    2 +-
 gdb/testsuite/gdb.python/py-cmd.exp                |    2 +-
 gdb/testsuite/gdb.python/py-error.exp              |    2 +-
 gdb/testsuite/gdb.python/py-error.py               |    2 +-
 gdb/testsuite/gdb.python/py-frame.exp              |    2 +-
 gdb/testsuite/gdb.python/py-function.exp           |    2 +-
 gdb/testsuite/gdb.python/py-inferior.exp           |    2 +-
 gdb/testsuite/gdb.python/py-infthread.exp          |    2 +-
 gdb/testsuite/gdb.python/py-mi.exp                 |    2 +-
 gdb/testsuite/gdb.python/py-parameter.exp          |    2 +-
 gdb/testsuite/gdb.python/py-pp-maint.c             |    2 +-
 gdb/testsuite/gdb.python/py-pp-maint.exp           |    2 +-
 gdb/testsuite/gdb.python/py-pp-maint.py            |    2 +-
 gdb/testsuite/gdb.python/py-prettyprint.c          |    2 +-
 gdb/testsuite/gdb.python/py-prettyprint.exp        |    2 +-
 gdb/testsuite/gdb.python/py-prettyprint.py         |    2 +-
 gdb/testsuite/gdb.python/py-progspace.c            |    2 +-
 gdb/testsuite/gdb.python/py-progspace.exp          |    2 +-
 gdb/testsuite/gdb.python/py-section-script.c       |    2 +-
 gdb/testsuite/gdb.python/py-section-script.exp     |    2 +-
 gdb/testsuite/gdb.python/py-section-script.py      |    2 +-
 gdb/testsuite/gdb.python/py-shared-sl.c            |    2 +-
 gdb/testsuite/gdb.python/py-shared.c               |    2 +-
 gdb/testsuite/gdb.python/py-shared.exp             |    2 +-
 gdb/testsuite/gdb.python/py-symbol.c               |    2 +-
 gdb/testsuite/gdb.python/py-symbol.exp             |    2 +-
 gdb/testsuite/gdb.python/py-symtab.exp             |    2 +-
 gdb/testsuite/gdb.python/py-template.cc            |    2 +-
 gdb/testsuite/gdb.python/py-template.exp           |    2 +-
 gdb/testsuite/gdb.python/py-type.c                 |    2 +-
 gdb/testsuite/gdb.python/py-type.exp               |    2 +-
 gdb/testsuite/gdb.python/py-value.c                |    2 +-
 gdb/testsuite/gdb.python/py-value.exp              |    2 +-
 gdb/testsuite/gdb.python/python-1.c                |    2 +-
 gdb/testsuite/gdb.python/python.c                  |    2 +-
 gdb/testsuite/gdb.python/python.exp                |    2 +-
 gdb/testsuite/gdb.python/source1                   |    2 +-
 gdb/testsuite/gdb.python/source2.py                |    2 +-
 gdb/testsuite/gdb.reverse/break-precsave.exp       |    2 +-
 gdb/testsuite/gdb.reverse/break-reverse.c          |    2 +-
 gdb/testsuite/gdb.reverse/break-reverse.exp        |    2 +-
 gdb/testsuite/gdb.reverse/consecutive-precsave.exp |    2 +-
 gdb/testsuite/gdb.reverse/consecutive-reverse.c    |    2 +-
 gdb/testsuite/gdb.reverse/consecutive-reverse.exp  |    2 +-
 gdb/testsuite/gdb.reverse/finish-precsave.exp      |    2 +-
 gdb/testsuite/gdb.reverse/finish-reverse.c         |    2 +-
 gdb/testsuite/gdb.reverse/finish-reverse.exp       |    2 +-
 gdb/testsuite/gdb.reverse/i386-precsave.exp        |    2 +-
 gdb/testsuite/gdb.reverse/i386-reverse.c           |    2 +-
 gdb/testsuite/gdb.reverse/i386-reverse.exp         |    2 +-
 gdb/testsuite/gdb.reverse/i386-sse-reverse.c       |    2 +-
 gdb/testsuite/gdb.reverse/i386-sse-reverse.exp     |    2 +-
 gdb/testsuite/gdb.reverse/i387-env-reverse.exp     |    2 +-
 gdb/testsuite/gdb.reverse/i387-stack-reverse.exp   |    2 +-
 .../gdb.reverse/machinestate-precsave.exp          |    2 +-
 gdb/testsuite/gdb.reverse/machinestate.c           |    2 +-
 gdb/testsuite/gdb.reverse/machinestate.exp         |    2 +-
 gdb/testsuite/gdb.reverse/ms1.c                    |    2 +-
 gdb/testsuite/gdb.reverse/shr2.c                   |    2 +-
 gdb/testsuite/gdb.reverse/sigall-precsave.exp      |    2 +-
 gdb/testsuite/gdb.reverse/sigall-reverse.c         |    2 +-
 gdb/testsuite/gdb.reverse/sigall-reverse.exp       |    2 +-
 gdb/testsuite/gdb.reverse/solib-precsave.exp       |    2 +-
 gdb/testsuite/gdb.reverse/solib-reverse.c          |    2 +-
 gdb/testsuite/gdb.reverse/solib-reverse.exp        |    2 +-
 gdb/testsuite/gdb.reverse/step-precsave.exp        |    2 +-
 gdb/testsuite/gdb.reverse/step-reverse.c           |    2 +-
 gdb/testsuite/gdb.reverse/step-reverse.exp         |    2 +-
 gdb/testsuite/gdb.reverse/until-precsave.exp       |    2 +-
 gdb/testsuite/gdb.reverse/until-reverse.c          |    2 +-
 gdb/testsuite/gdb.reverse/until-reverse.exp        |    2 +-
 gdb/testsuite/gdb.reverse/ur1.c                    |    2 +-
 gdb/testsuite/gdb.reverse/watch-precsave.exp       |    2 +-
 gdb/testsuite/gdb.reverse/watch-reverse.c          |    2 +-
 gdb/testsuite/gdb.reverse/watch-reverse.exp        |    2 +-
 gdb/testsuite/gdb.server/ext-attach.c              |    2 +-
 gdb/testsuite/gdb.server/ext-attach.exp            |    2 +-
 gdb/testsuite/gdb.server/ext-run.exp               |    2 +-
 gdb/testsuite/gdb.server/file-transfer.exp         |    2 +-
 gdb/testsuite/gdb.server/server-mon.exp            |    2 +-
 gdb/testsuite/gdb.server/server-run.exp            |    2 +-
 gdb/testsuite/gdb.server/server.c                  |    2 +-
 gdb/testsuite/gdb.stabs/exclfwd.exp                |    3 +-
 gdb/testsuite/gdb.stabs/exclfwd.h                  |    2 +-
 gdb/testsuite/gdb.stabs/exclfwd1.c                 |    2 +-
 gdb/testsuite/gdb.stabs/exclfwd2.c                 |    2 +-
 gdb/testsuite/gdb.stabs/gdb11479.c                 |    2 +-
 gdb/testsuite/gdb.stabs/gdb11479.exp               |    2 +-
 gdb/testsuite/gdb.stabs/weird.exp                  |    4 +-
 gdb/testsuite/gdb.threads/attach-into-signal.c     |    2 +-
 gdb/testsuite/gdb.threads/attach-into-signal.exp   |    2 +-
 gdb/testsuite/gdb.threads/attach-stopped.c         |    2 +-
 gdb/testsuite/gdb.threads/attach-stopped.exp       |    2 +-
 gdb/testsuite/gdb.threads/attachstop-mt.c          |    2 +-
 gdb/testsuite/gdb.threads/attachstop-mt.exp        |    2 +-
 gdb/testsuite/gdb.threads/bp_in_thread.c           |    2 +-
 gdb/testsuite/gdb.threads/bp_in_thread.exp         |    3 +-
 gdb/testsuite/gdb.threads/current-lwp-dead.c       |    2 +-
 gdb/testsuite/gdb.threads/current-lwp-dead.exp     |    2 +-
 gdb/testsuite/gdb.threads/execl.c                  |    2 +-
 gdb/testsuite/gdb.threads/execl.exp                |    8 +-
 gdb/testsuite/gdb.threads/execl1.c                 |    2 +-
 gdb/testsuite/gdb.threads/fork-child-threads.c     |    2 +-
 gdb/testsuite/gdb.threads/fork-child-threads.exp   |    2 +-
 gdb/testsuite/gdb.threads/fork-thread-pending.c    |    2 +-
 gdb/testsuite/gdb.threads/fork-thread-pending.exp  |    2 +-
 gdb/testsuite/gdb.threads/gcore-thread.exp         |    2 +-
 gdb/testsuite/gdb.threads/hand-call-in-threads.c   |    2 +-
 gdb/testsuite/gdb.threads/hand-call-in-threads.exp |    2 +-
 gdb/testsuite/gdb.threads/ia64-sigill.c            |    2 +-
 gdb/testsuite/gdb.threads/ia64-sigill.exp          |    2 +-
 gdb/testsuite/gdb.threads/interrupted-hand-call.c  |    2 +-
 .../gdb.threads/interrupted-hand-call.exp          |    2 +-
 gdb/testsuite/gdb.threads/killed.c                 |    3 +-
 gdb/testsuite/gdb.threads/killed.exp               |    2 +-
 gdb/testsuite/gdb.threads/linux-dp.exp             |   22 +-
 .../gdb.threads/local-watch-wrong-thread.c         |    2 +-
 .../gdb.threads/local-watch-wrong-thread.exp       |    2 +-
 gdb/testsuite/gdb.threads/manythreads.c            |    3 +-
 gdb/testsuite/gdb.threads/manythreads.exp          |    4 +-
 gdb/testsuite/gdb.threads/multi-create.c           |    2 +-
 gdb/testsuite/gdb.threads/multi-create.exp         |    2 +-
 gdb/testsuite/gdb.threads/pending-step.c           |    2 +-
 gdb/testsuite/gdb.threads/pending-step.exp         |    2 +-
 gdb/testsuite/gdb.threads/print-threads.exp        |    2 +-
 gdb/testsuite/gdb.threads/pthread_cond_wait.c      |    2 +-
 gdb/testsuite/gdb.threads/pthread_cond_wait.exp    |    3 +-
 gdb/testsuite/gdb.threads/pthreads.c               |    2 +-
 gdb/testsuite/gdb.threads/pthreads.exp             |    2 +-
 gdb/testsuite/gdb.threads/schedlock.c              |    2 +-
 gdb/testsuite/gdb.threads/schedlock.exp            |    2 +-
 gdb/testsuite/gdb.threads/sigthread.exp            |    2 +-
 gdb/testsuite/gdb.threads/staticthreads.c          |    2 +-
 gdb/testsuite/gdb.threads/staticthreads.exp        |    3 +-
 gdb/testsuite/gdb.threads/step.exp                 |    2 +-
 gdb/testsuite/gdb.threads/step2.exp                |    2 +-
 gdb/testsuite/gdb.threads/switch-threads.c         |    2 +-
 gdb/testsuite/gdb.threads/switch-threads.exp       |    3 +-
 gdb/testsuite/gdb.threads/thread-execl.c           |    2 +-
 gdb/testsuite/gdb.threads/thread-execl.exp         |    2 +-
 gdb/testsuite/gdb.threads/thread-specific.c        |    2 +-
 gdb/testsuite/gdb.threads/thread-specific.exp      |    9 +-
 .../gdb.threads/thread-unwindonsignal.exp          |    2 +-
 gdb/testsuite/gdb.threads/thread_check.c           |    3 +-
 gdb/testsuite/gdb.threads/thread_check.exp         |    3 +-
 gdb/testsuite/gdb.threads/thread_events.c          |    2 +-
 gdb/testsuite/gdb.threads/thread_events.exp        |    2 +-
 gdb/testsuite/gdb.threads/threadapply.c            |    2 +-
 gdb/testsuite/gdb.threads/threadapply.exp          |    2 +-
 gdb/testsuite/gdb.threads/threxit-hop-specific.c   |    2 +-
 gdb/testsuite/gdb.threads/threxit-hop-specific.exp |    2 +-
 gdb/testsuite/gdb.threads/tls-nodebug.exp          |    3 +-
 gdb/testsuite/gdb.threads/tls-shared.exp           |    2 +-
 gdb/testsuite/gdb.threads/tls.exp                  |    8 +-
 gdb/testsuite/gdb.threads/tls2.c                   |    2 +-
 gdb/testsuite/gdb.threads/watchthreads-reorder.c   |    2 +-
 gdb/testsuite/gdb.threads/watchthreads-reorder.exp |    2 +-
 gdb/testsuite/gdb.threads/watchthreads.c           |    2 +-
 gdb/testsuite/gdb.threads/watchthreads.exp         |    2 +-
 gdb/testsuite/gdb.threads/watchthreads2.c          |    2 +-
 gdb/testsuite/gdb.threads/watchthreads2.exp        |    2 +-
 gdb/testsuite/gdb.trace/actions.exp                |    3 +-
 gdb/testsuite/gdb.trace/ax.exp                     |    2 +-
 gdb/testsuite/gdb.trace/backtrace.exp              |    3 +-
 gdb/testsuite/gdb.trace/circ.exp                   |    2 +-
 gdb/testsuite/gdb.trace/collection.exp             |    3 +-
 gdb/testsuite/gdb.trace/deltrace.exp               |    2 +-
 gdb/testsuite/gdb.trace/infotrace.exp              |    3 +-
 gdb/testsuite/gdb.trace/packetlen.exp              |    3 +-
 gdb/testsuite/gdb.trace/passc-dyn.exp              |    2 +-
 gdb/testsuite/gdb.trace/passcount.exp              |    3 +-
 gdb/testsuite/gdb.trace/report.exp                 |    3 +-
 gdb/testsuite/gdb.trace/save-trace.exp             |    3 +-
 gdb/testsuite/gdb.trace/tfile.exp                  |    2 +-
 gdb/testsuite/gdb.trace/tfind.exp                  |    2 +-
 gdb/testsuite/gdb.trace/tracecmd.exp               |    3 +-
 gdb/testsuite/gdb.trace/tsv.exp                    |    2 +-
 gdb/testsuite/gdb.trace/while-dyn.exp              |    3 +-
 gdb/testsuite/gdb.trace/while-stepping.exp         |    3 +-
 gdb/testsuite/gdb.xml/tdesc-arch.exp               |    2 +-
 gdb/testsuite/gdb.xml/tdesc-errors.exp             |    2 +-
 gdb/testsuite/gdb.xml/tdesc-regs.exp               |    2 +-
 gdb/testsuite/gdb.xml/tdesc-xinclude.exp           |    2 +-
 gdb/testsuite/lib/ada.exp                          |    2 +-
 gdb/testsuite/lib/cell.exp                         |    2 +-
 gdb/testsuite/lib/cl_util.c                        |    2 +-
 gdb/testsuite/lib/cl_util.h                        |    2 +-
 gdb/testsuite/lib/compiler.c                       |    2 +-
 gdb/testsuite/lib/compiler.cc                      |    2 +-
 gdb/testsuite/lib/cp-support.exp                   |    3 +-
 gdb/testsuite/lib/fortran.exp                      |    2 +-
 gdb/testsuite/lib/gdb-python.exp                   |    2 +-
 gdb/testsuite/lib/gdb.exp                          |    3 +-
 gdb/testsuite/lib/gdbserver-support.exp            |    2 +-
 gdb/testsuite/lib/java.exp                         |    2 +-
 gdb/testsuite/lib/mi-support.exp                   |    2 +-
 gdb/testsuite/lib/objc.exp                         |    2 +-
 gdb/testsuite/lib/opencl.exp                       |    2 +-
 gdb/testsuite/lib/opencl_hostapp.c                 |    2 +-
 gdb/testsuite/lib/pascal.exp                       |    2 +-
 gdb/testsuite/lib/prelink-support.exp              |    2 +-
 gdb/testsuite/lib/set_unbuffered_mode.c            |    2 +-
 gdb/testsuite/lib/trace-support.exp                |    3 +-
 gdb/thread.c                                       |   78 +-
 gdb/top.c                                          |  207 +-
 gdb/top.h                                          |   12 +-
 gdb/tracepoint.c                                   |   91 +-
 gdb/tracepoint.h                                   |    8 +-
 gdb/trad-frame.c                                   |    2 +-
 gdb/trad-frame.h                                   |    2 +-
 gdb/tramp-frame.c                                  |    3 +-
 gdb/tramp-frame.h                                  |    2 +-
 gdb/tui/tui-command.c                              |    2 +-
 gdb/tui/tui-command.h                              |    2 +-
 gdb/tui/tui-data.c                                 |   17 +-
 gdb/tui/tui-data.h                                 |    2 +-
 gdb/tui/tui-disasm.c                               |   18 +-
 gdb/tui/tui-disasm.h                               |    2 +-
 gdb/tui/tui-file.c                                 |    2 +-
 gdb/tui/tui-file.h                                 |    2 +-
 gdb/tui/tui-hooks.c                                |   10 +-
 gdb/tui/tui-hooks.h                                |    3 +-
 gdb/tui/tui-interp.c                               |    3 +-
 gdb/tui/tui-io.c                                   |    8 +-
 gdb/tui/tui-io.h                                   |    4 +-
 gdb/tui/tui-layout.c                               |   12 +-
 gdb/tui/tui-layout.h                               |    4 +-
 gdb/tui/tui-main.c                                 |    2 +-
 gdb/tui/tui-out.c                                  |    4 +-
 gdb/tui/tui-regs.c                                 |   23 +-
 gdb/tui/tui-regs.h                                 |    2 +-
 gdb/tui/tui-source.c                               |   34 +-
 gdb/tui/tui-source.h                               |    4 +-
 gdb/tui/tui-stack.c                                |   25 +-
 gdb/tui/tui-stack.h                                |    4 +-
 gdb/tui/tui-win.c                                  |   36 +-
 gdb/tui/tui-win.h                                  |    4 +-
 gdb/tui/tui-windata.c                              |    7 +-
 gdb/tui/tui-windata.h                              |    2 +-
 gdb/tui/tui-wingeneral.c                           |    4 +-
 gdb/tui/tui-wingeneral.h                           |    4 +-
 gdb/tui/tui-winsource.c                            |   36 +-
 gdb/tui/tui-winsource.h                            |    4 +-
 gdb/tui/tui.c                                      |    2 +-
 gdb/tui/tui.h                                      |    2 +-
 gdb/typeprint.c                                    |    2 +-
 gdb/typeprint.h                                    |    2 +-
 gdb/ui-file.c                                      |    4 +-
 gdb/ui-file.h                                      |   62 +-
 gdb/ui-out.c                                       |    4 +-
 gdb/ui-out.h                                       |    8 +-
 gdb/user-regs.c                                    |    6 +-
 gdb/user-regs.h                                    |    5 +-
 gdb/utils.c                                        |   96 +-
 gdb/v850-tdep.c                                    |    2 +-
 gdb/valarith.c                                     |   36 +-
 gdb/valops.c                                       |  107 +-
 gdb/valprint.c                                     |   65 +-
 gdb/valprint.h                                     |    4 +-
 gdb/value.c                                        |   32 +-
 gdb/value.h                                        |    2 +-
 gdb/varobj.c                                       |   59 +-
 gdb/varobj.h                                       |    7 +-
 gdb/vax-nat.c                                      |    2 +-
 gdb/vax-tdep.c                                     |    3 +-
 gdb/vax-tdep.h                                     |    2 +-
 gdb/vaxbsd-nat.c                                   |    2 +-
 gdb/vaxnbsd-tdep.c                                 |    3 +-
 gdb/vaxobsd-tdep.c                                 |    3 +-
 gdb/vec.c                                          |    2 +-
 gdb/vec.h                                          |    5 +-
 gdb/version.h                                      |    3 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |    2 +-
 gdb/windows-nat.h                                  |    2 +-
 gdb/windows-tdep.c                                 |    2 +-
 gdb/windows-tdep.h                                 |    2 +-
 gdb/windows-termcap.c                              |    2 +-
 gdb/wrapper.c                                      |    2 +-
 gdb/wrapper.h                                      |    2 +-
 gdb/xcoffread.c                                    |  195 +-
 gdb/xcoffread.h                                    |    2 +-
 gdb/xcoffsolib.c                                   |    9 +-
 gdb/xcoffsolib.h                                   |    8 +-
 gdb/xml-support.c                                  |    3 +-
 gdb/xml-support.h                                  |    3 +-
 gdb/xml-syscall.c                                  |   17 +-
 gdb/xml-syscall.h                                  |    2 +-
 gdb/xml-tdesc.c                                    |   14 +-
 gdb/xml-tdesc.h                                    |    2 +-
 gdb/xstormy16-tdep.c                               |    2 +-
 gdb/xtensa-config.c                                |    2 +-
 gdb/xtensa-linux-nat.c                             |    2 +-
 gdb/xtensa-linux-tdep.c                            |    2 +-
 gdb/xtensa-tdep.c                                  |    2 +-
 gdb/xtensa-tdep.h                                  |    2 +-
 gdb/xtensa-xtregs.c                                |    2 +-
 include/demangle.h                                 |    2 +-
 include/floatformat.h                              |    2 +-
 include/gdb/callback.h                             |    2 +-
 include/gdb/fileio.h                               |    2 +-
 include/gdb/remote-sim.h                           |    4 +-
 include/gdb/signals.def                            |    2 +-
 include/gdb/signals.h                              |    2 +-
 include/gdb/sim-arm.h                              |    3 +-
 include/gdb/sim-cr16.h                             |    2 +-
 include/gdb/sim-d10v.h                             |    3 +-
 include/gdb/sim-frv.h                              |    2 +-
 include/gdb/sim-h8300.h                            |    3 +-
 include/gdb/sim-lm32.h                             |    2 +-
 include/gdb/sim-m32c.h                             |    3 +-
 include/gdb/sim-ppc.h                              |    2 +-
 include/gdb/sim-rx.h                               |    2 +-
 include/gdb/sim-sh.h                               |    2 +-
 include/libiberty.h                                |    2 +-
 include/opcode/ChangeLog                           |   21 +
 include/opcode/hppa.h                              |    4 +-
 include/opcode/mips.h                              |   34 +-
 include/plugin-api.h                               |    2 +-
 include/xtensa-config.h                            |    2 +-
 libdecnumber/Makefile.in                           |    3 +-
 libdecnumber/dconfig.h                             |    2 +-
 libiberty/ChangeLog                                |    4 -
 libiberty/cp-demangle.h                            |    3 +-
 libiberty/cplus-dem.c                              |    2 +-
 libiberty/floatformat.c                            |    2 +-
 libiberty/lbasename.c                              |    2 +-
 libiberty/maint-tool                               |    2 +-
 libiberty/make-temp-file.c                         |    3 +-
 libiberty/pex-common.c                             |    2 +-
 libiberty/pex-unix.c                               |    4 +-
 opcodes/ChangeLog                                  | 1017 +--
 opcodes/ChangeLog-2010                             | 1012 ++
 opcodes/hppa-dis.c                                 |   10 +-
 opcodes/i386-dis.c                                 |   99 +-
 opcodes/i386-gen.c                                 |    7 +-
 opcodes/i386-init.h                                |  137 +-
 opcodes/i386-opc.h                                 |    3 +
 opcodes/i386-opc.tbl                               |    9 +
 opcodes/i386-tbl.h                                 | 5036 +++++----
 opcodes/mips-dis.c                                 |   31 +
 opcodes/mips-opc.c                                 |   65 +
 sim/.gitignore                                     |    8 +
 sim/ChangeLog                                      |    8 +
 sim/Makefile.in                                    |    2 +-
 sim/arm/Makefile.in                                |    2 +-
 sim/arm/iwmmxt.c                                   |    3 +-
 sim/arm/iwmmxt.h                                   |    3 +-
 sim/arm/maverick.c                                 |    3 +-
 sim/arm/wrapper.c                                  |    4 +-
 sim/avr/Makefile.in                                |    2 +-
 sim/avr/interp.c                                   |    2 +-
 sim/common/ChangeLog                               |   22 +
 sim/common/Make-common.in                          |    4 +-
 sim/common/Makefile.in                             |    2 +-
 sim/common/callback.c                              |    4 +-
 sim/common/cgen-cpu.h                              |    2 +-
 sim/common/cgen-defs.h                             |    2 +-
 sim/common/cgen-engine.h                           |    2 +-
 sim/common/cgen-mem.h                              |    2 +-
 sim/common/cgen-ops.h                              |    2 +-
 sim/common/cgen-par.c                              |    2 +-
 sim/common/cgen-par.h                              |    2 +-
 sim/common/cgen-run.c                              |    3 +-
 sim/common/cgen-scache.c                           |    2 +-
 sim/common/cgen-scache.h                           |    3 +-
 sim/common/cgen-sim.h                              |    3 +-
 sim/common/cgen-trace.c                            |    2 +-
 sim/common/cgen-trace.h                            |    2 +-
 sim/common/cgen-types.h                            |    2 +-
 sim/common/cgen-utils.c                            |    2 +-
 sim/common/dv-core.c                               |    2 +-
 sim/common/dv-glue.c                               |    2 +-
 sim/common/dv-pal.c                                |    2 +-
 sim/common/dv-sockser.c                            |    3 +-
 sim/common/genmloop.sh                             |    2 +-
 sim/common/hw-alloc.c                              |    3 +-
 sim/common/hw-alloc.h                              |    6 +-
 sim/common/hw-base.c                               |    2 +-
 sim/common/hw-base.h                               |    2 +-
 sim/common/hw-device.c                             |    2 +-
 sim/common/hw-device.h                             |    2 +-
 sim/common/hw-events.c                             |    3 +-
 sim/common/hw-events.h                             |    3 +-
 sim/common/hw-handles.c                            |    2 +-
 sim/common/hw-handles.h                            |    2 +-
 sim/common/hw-instances.c                          |    2 +-
 sim/common/hw-instances.h                          |    2 +-
 sim/common/hw-main.h                               |    3 +-
 sim/common/hw-ports.c                              |    3 +-
 sim/common/hw-ports.h                              |    3 +-
 sim/common/hw-properties.c                         |    2 +-
 sim/common/hw-properties.h                         |    2 +-
 sim/common/hw-tree.c                               |    2 +-
 sim/common/hw-tree.h                               |    2 +-
 sim/common/nrun.c                                  |    2 +-
 sim/common/run-sim.h                               |    2 +-
 sim/common/run.1                                   |    2 +-
 sim/common/run.c                                   |    3 +-
 sim/common/sim-abort.c                             |    3 +-
 sim/common/sim-alu.h                               |    2 +-
 sim/common/sim-arange.c                            |    3 +-
 sim/common/sim-arange.h                            |    3 +-
 sim/common/sim-base.h                              |    2 +-
 sim/common/sim-basics.h                            |    3 +-
 sim/common/sim-bits.c                              |    2 +-
 sim/common/sim-bits.h                              |    2 +-
 sim/common/sim-config.c                            |    2 +-
 sim/common/sim-config.h                            |    3 +-
 sim/common/sim-core.c                              |    2 +-
 sim/common/sim-core.h                              |    2 +-
 sim/common/sim-cpu.c                               |    3 +-
 sim/common/sim-cpu.h                               |    3 +-
 sim/common/sim-endian.c                            |    2 +-
 sim/common/sim-endian.h                            |    2 +-
 sim/common/sim-engine.c                            |    2 +-
 sim/common/sim-engine.h                            |    2 +-
 sim/common/sim-events.c                            |    2 +-
 sim/common/sim-events.h                            |    2 +-
 sim/common/sim-fpu.c                               |    2 +-
 sim/common/sim-fpu.h                               |    2 +-
 sim/common/sim-hload.c                             |    3 +-
 sim/common/sim-hrw.c                               |    3 +-
 sim/common/sim-hw.c                                |    3 +-
 sim/common/sim-hw.h                                |    3 +-
 sim/common/sim-info.c                              |    3 +-
 sim/common/sim-inline.c                            |    2 +-
 sim/common/sim-inline.h                            |    2 +-
 sim/common/sim-io.c                                |    2 +-
 sim/common/sim-io.h                                |    2 +-
 sim/common/sim-load.c                              |    4 +-
 sim/common/sim-memopt.c                            |   47 +-
 sim/common/sim-memopt.h                            |    3 +-
 sim/common/sim-model.c                             |    2 +-
 sim/common/sim-model.h                             |    2 +-
 sim/common/sim-module.c                            |    2 +-
 sim/common/sim-module.h                            |    2 +-
 sim/common/sim-n-bits.h                            |    2 +-
 sim/common/sim-n-core.h                            |    2 +-
 sim/common/sim-n-endian.h                          |    2 +-
 sim/common/sim-options.c                           |    2 +-
 sim/common/sim-options.h                           |    2 +-
 sim/common/sim-profile.c                           |    2 +-
 sim/common/sim-profile.h                           |    2 +-
 sim/common/sim-reason.c                            |    3 +-
 sim/common/sim-reg.c                               |    3 +-
 sim/common/sim-resume.c                            |    3 +-
 sim/common/sim-run.c                               |    3 +-
 sim/common/sim-signal.c                            |    3 +-
 sim/common/sim-signal.h                            |    3 +-
 sim/common/sim-stop.c                              |    3 +-
 sim/common/sim-trace.c                             |    2 +-
 sim/common/sim-trace.h                             |    2 +-
 sim/common/sim-types.h                             |    3 +-
 sim/common/sim-utils.c                             |    2 +-
 sim/common/sim-utils.h                             |    3 +-
 sim/common/sim-watch.c                             |    3 +-
 sim/common/sim-watch.h                             |    3 +-
 sim/common/syscall.c                               |    2 +-
 sim/common/version.h                               |    3 +-
 sim/cr16/Makefile.in                               |    2 +-
 sim/cr16/cr16_sim.h                                |    2 +-
 sim/cr16/endian.c                                  |    2 +-
 sim/cr16/gencode.c                                 |    2 +-
 sim/cr16/interp.c                                  |    2 +-
 sim/cr16/simops.c                                  |    2 +-
 sim/cris/Makefile.in                               |    2 +-
 sim/cris/cris-sim.h                                |    2 +-
 sim/cris/cris-tmpl.c                               |    2 +-
 sim/cris/crisv10f.c                                |    2 +-
 sim/cris/crisv32f.c                                |    2 +-
 sim/cris/devices.c                                 |    2 +-
 sim/cris/dv-cris.c                                 |    2 +-
 sim/cris/dv-rv.c                                   |    2 +-
 sim/cris/mloop.in                                  |    2 +-
 sim/cris/rvdummy.c                                 |    2 +-
 sim/cris/sim-if.c                                  |    2 +-
 sim/cris/sim-main.h                                |    2 +-
 sim/cris/tconfig.in                                |    2 +-
 sim/cris/traps.c                                   |    2 +-
 sim/d10v/Makefile.in                               |    2 +-
 sim/erc32/Makefile.in                              |    2 +-
 sim/frv/Makefile.in                                |    2 +-
 sim/frv/cache.c                                    |    2 +-
 sim/frv/cache.h                                    |    2 +-
 sim/frv/devices.c                                  |    2 +-
 sim/frv/frv-sim.h                                  |    2 +-
 sim/frv/frv.c                                      |    4 +-
 sim/frv/interrupts.c                               |    2 +-
 sim/frv/memory.c                                   |    2 +-
 sim/frv/mloop.in                                   |    2 +-
 sim/frv/options.c                                  |    2 +-
 sim/frv/pipeline.c                                 |    2 +-
 sim/frv/profile-fr400.c                            |    3 +-
 sim/frv/profile-fr400.h                            |    2 +-
 sim/frv/profile-fr450.c                            |    2 +-
 sim/frv/profile-fr500.c                            |    2 +-
 sim/frv/profile-fr500.h                            |    2 +-
 sim/frv/profile-fr550.c                            |    3 +-
 sim/frv/profile-fr550.h                            |    3 +-
 sim/frv/profile.c                                  |    2 +-
 sim/frv/profile.h                                  |    2 +-
 sim/frv/registers.c                                |    2 +-
 sim/frv/registers.h                                |    3 +-
 sim/frv/reset.c                                    |    2 +-
 sim/frv/sim-if.c                                   |    2 +-
 sim/frv/sim-main.h                                 |    2 +-
 sim/frv/traps.c                                    |    2 +-
 sim/h8300/Makefile.in                              |    2 +-
 sim/igen/Makefile.in                               |    2 +-
 sim/igen/compare_igen_models                       |    3 +-
 sim/igen/filter.c                                  |    2 +-
 sim/igen/filter.h                                  |    2 +-
 sim/igen/filter_host.c                             |    2 +-
 sim/igen/filter_host.h                             |    2 +-
 sim/igen/gen-engine.c                              |    2 +-
 sim/igen/gen-engine.h                              |    2 +-
 sim/igen/gen-icache.c                              |    2 +-
 sim/igen/gen-icache.h                              |    2 +-
 sim/igen/gen-idecode.c                             |    2 +-
 sim/igen/gen-idecode.h                             |    2 +-
 sim/igen/gen-itable.c                              |    2 +-
 sim/igen/gen-itable.h                              |    2 +-
 sim/igen/gen-model.c                               |    2 +-
 sim/igen/gen-model.h                               |    2 +-
 sim/igen/gen-semantics.c                           |    2 +-
 sim/igen/gen-semantics.h                           |    2 +-
 sim/igen/gen-support.c                             |    2 +-
 sim/igen/gen-support.h                             |    2 +-
 sim/igen/gen.c                                     |    2 +-
 sim/igen/gen.h                                     |    2 +-
 sim/igen/igen.c                                    |    2 +-
 sim/igen/igen.h                                    |    2 +-
 sim/igen/ld-cache.c                                |    2 +-
 sim/igen/ld-cache.h                                |    2 +-
 sim/igen/ld-decode.c                               |    2 +-
 sim/igen/ld-decode.h                               |    2 +-
 sim/igen/ld-insn.c                                 |    2 +-
 sim/igen/ld-insn.h                                 |    2 +-
 sim/igen/lf.c                                      |    2 +-
 sim/igen/lf.h                                      |    2 +-
 sim/igen/misc.c                                    |    2 +-
 sim/igen/misc.h                                    |    2 +-
 sim/igen/table.c                                   |    2 +-
 sim/igen/table.h                                   |    2 +-
 sim/iq2000/Makefile.in                             |    3 +-
 sim/iq2000/iq2000-sim.h                            |    2 +-
 sim/iq2000/iq2000.c                                |    2 +-
 sim/iq2000/mloop.in                                |    2 +-
 sim/iq2000/sim-if.c                                |    3 +-
 sim/lm32/dv-lm32cpu.c                              |    2 +-
 sim/lm32/dv-lm32timer.c                            |    2 +-
 sim/lm32/dv-lm32uart.c                             |    2 +-
 sim/lm32/lm32-sim.h                                |    2 +-
 sim/lm32/lm32.c                                    |    2 +-
 sim/lm32/sim-if.c                                  |    2 +-
 sim/lm32/sim-main.h                                |    2 +-
 sim/lm32/traps.c                                   |    2 +-
 sim/lm32/user.c                                    |    2 +-
 sim/m32c/Makefile.in                               |    3 +-
 sim/m32c/blinky.S                                  |    3 +-
 sim/m32c/configure.in                              |    3 +-
 sim/m32c/cpu.h                                     |    3 +-
 sim/m32c/gdb-if.c                                  |    3 +-
 sim/m32c/gloss.S                                   |    3 +-
 sim/m32c/int.c                                     |    3 +-
 sim/m32c/int.h                                     |    3 +-
 sim/m32c/load.c                                    |    3 +-
 sim/m32c/load.h                                    |    3 +-
 sim/m32c/m32c.opc                                  |    3 +-
 sim/m32c/main.c                                    |    3 +-
 sim/m32c/mem.c                                     |    3 +-
 sim/m32c/mem.h                                     |    3 +-
 sim/m32c/misc.c                                    |    3 +-
 sim/m32c/misc.h                                    |    3 +-
 sim/m32c/opc2c.c                                   |    3 +-
 sim/m32c/r8c.opc                                   |    3 +-
 sim/m32c/reg.c                                     |    3 +-
 sim/m32c/safe-fgets.c                              |    3 +-
 sim/m32c/safe-fgets.h                              |    3 +-
 sim/m32c/sample.S                                  |    3 +-
 sim/m32c/sample.ld                                 |    3 +-
 sim/m32c/sample2.c                                 |    3 +-
 sim/m32c/srcdest.c                                 |    3 +-
 sim/m32c/syscalls.c                                |    3 +-
 sim/m32c/syscalls.h                                |    3 +-
 sim/m32c/trace.c                                   |    3 +-
 sim/m32c/trace.h                                   |    3 +-
 sim/m32r/Makefile.in                               |    2 +-
 sim/m32r/devices.c                                 |    2 +-
 sim/m32r/m32r-sim.h                                |    2 +-
 sim/m32r/m32r.c                                    |    2 +-
 sim/m32r/m32r2.c                                   |    2 +-
 sim/m32r/m32rx.c                                   |    2 +-
 sim/m32r/mloop.in                                  |    2 +-
 sim/m32r/mloop2.in                                 |    2 +-
 sim/m32r/mloopx.in                                 |    2 +-
 sim/m32r/sim-if.c                                  |    2 +-
 sim/m32r/traps-linux.c                             |    2 +-
 sim/m32r/traps.c                                   |    2 +-
 sim/m68hc11/Makefile.in                            |    2 +-
 sim/m68hc11/dv-m68hc11.c                           |    2 +-
 sim/m68hc11/dv-m68hc11eepr.c                       |    2 +-
 sim/m68hc11/dv-m68hc11sio.c                        |    2 +-
 sim/m68hc11/dv-m68hc11spi.c                        |    2 +-
 sim/m68hc11/dv-m68hc11tim.c                        |    2 +-
 sim/m68hc11/dv-nvram.c                             |    2 +-
 sim/m68hc11/emulos.c                               |    3 +-
 sim/m68hc11/gencode.c                              |    2 +-
 sim/m68hc11/interp.c                               |    4 +-
 sim/m68hc11/interrupts.c                           |    2 +-
 sim/m68hc11/interrupts.h                           |    2 +-
 sim/m68hc11/m68hc11_sim.c                          |    2 +-
 sim/m68hc11/sim-main.h                             |    2 +-
 sim/mcore/Makefile.in                              |    4 +-
 sim/mcore/interp.c                                 |    2 +-
 sim/mcore/sysdep.h                                 |    3 +-
 sim/microblaze/Makefile.in                         |    4 +-
 sim/microblaze/interp.c                            |    2 +-
 sim/microblaze/microblaze.h                        |    2 +-
 sim/microblaze/microblaze.isa                      |    2 +-
 sim/microblaze/sim-main.h                          |    2 +-
 sim/microblaze/sysdep.h                            |    2 +-
 sim/mips/cp1.c                                     |    3 +-
 sim/mips/cp1.h                                     |    2 +-
 sim/mips/dsp.c                                     |    3 +-
 sim/mips/dv-tx3904cpu.c                            |    3 +-
 sim/mips/dv-tx3904irc.c                            |    3 +-
 sim/mips/dv-tx3904sio.c                            |    2 +-
 sim/mips/dv-tx3904tmr.c                            |    3 +-
 sim/mips/mdmx.c                                    |    3 +-
 sim/mips/sim-main.h                                |    2 +-
 sim/mn10300/Makefile.in                            |    2 +-
 sim/mn10300/dv-mn103cpu.c                          |    3 +-
 sim/mn10300/dv-mn103int.c                          |    3 +-
 sim/mn10300/dv-mn103iop.c                          |    3 +-
 sim/mn10300/dv-mn103ser.c                          |    3 +-
 sim/mn10300/dv-mn103tim.c                          |    2 +-
 sim/moxie/Makefile.in                              |    2 +-
 sim/moxie/interp.c                                 |    2 +-
 sim/moxie/sim-main.h                               |    2 +-
 sim/moxie/sysdep.h                                 |    2 +-
 sim/ppc/ChangeLog                                  |    4 +
 sim/ppc/altivec_expression.h                       |    2 +-
 sim/ppc/altivec_registers.h                        |    2 +-
 sim/ppc/dp-bit.c                                   |    3 +-
 sim/ppc/e500_expression.h                          |    2 +-
 sim/ppc/e500_registers.h                           |    2 +-
 sim/ppc/gdb-sim.c                                  |    3 +-
 sim/ppc/psim.texinfo                               |    4 +-
 sim/rx/ChangeLog                                   |    7 +
 sim/rx/Makefile.in                                 |    2 +-
 sim/rx/configure.in                                |    3 +-
 sim/rx/cpu.h                                       |    3 +-
 sim/rx/err.c                                       |    2 +-
 sim/rx/err.h                                       |    2 +-
 sim/rx/fpu.c                                       |    2 +-
 sim/rx/fpu.h                                       |    2 +-
 sim/rx/gdb-if.c                                    |    2 +-
 sim/rx/load.c                                      |    3 +-
 sim/rx/load.h                                      |    2 +-
 sim/rx/main.c                                      |    3 +-
 sim/rx/mem.c                                       |    3 +-
 sim/rx/mem.h                                       |    3 +-
 sim/rx/misc.c                                      |    3 +-
 sim/rx/misc.h                                      |    3 +-
 sim/rx/reg.c                                       |    3 +-
 sim/rx/rx.c                                        |   14 +-
 sim/rx/syscalls.c                                  |    3 +-
 sim/rx/syscalls.h                                  |    3 +-
 sim/rx/trace.c                                     |    3 +-
 sim/rx/trace.h                                     |    3 +-
 sim/sh/Makefile.in                                 |    2 +-
 sim/sh64/Makefile.in                               |    2 +-
 sim/sh64/eng.h                                     |    2 +-
 sim/sh64/sh64-sim.h                                |    3 +-
 sim/sh64/sh64.c                                    |    2 +-
 sim/sh64/sim-if.c                                  |    2 +-
 sim/testsuite/Makefile.in                          |    2 +-
 sim/testsuite/common/bits-gen.c                    |    3 +-
 sim/testsuite/d10v-elf/Makefile.in                 |    2 +-
 sim/testsuite/frv-elf/Makefile.in                  |    3 +-
 sim/testsuite/m32r-elf/Makefile.in                 |    3 +-
 sim/testsuite/mips64el-elf/Makefile.in             |    2 +-
 sim/testsuite/sim/cris/asm/asm.exp                 |    3 +-
 sim/testsuite/sim/cris/c/c.exp                     |    3 +-
 sim/testsuite/sim/cris/hw/rv-n-cris/rvc.exp        |    3 +-
 sim/testsuite/sim/mips/ChangeLog                   |    8 +
 sim/testsuite/sim/mips/mips32-dsp.s                |    2 +-
 sim/testsuite/sim/mips/testutils.inc               |    3 +-
 sim/testsuite/sim/mips/utils-dsp.inc               |    3 +-
 sim/testsuite/sim/mips/utils-fpu.inc               |    3 +-
 sim/testsuite/sim/mips/utils-mdmx.inc              |    3 +-
 sim/v850/Makefile.in                               |    2 +-
 2653 files changed, 34714 insertions(+), 27207 deletions(-)
 create mode 100644 bfd/ChangeLog-2010
 create mode 100644 gdb/ChangeLog-2010
 create mode 100644 gdb/bfin-linux-tdep.c
 create mode 100644 gdb/bfin-tdep.c
 create mode 100644 gdb/bfin-tdep.h
 create mode 100644 gdb/copyright.py
 create mode 100644 gdb/gdbserver/.gitignore
 create mode 100644 gdb/gdbserver/linux-bfin-low.c
 create mode 100644 gdb/regformats/reg-bfin.dat
 create mode 100644 gdb/syscalls/bfin-linux.xml
 create mode 100644 gdb/testsuite/gdb.arch/arm-disp-step.S
 create mode 100644 gdb/testsuite/gdb.arch/arm-disp-step.exp
 create mode 100644 gdb/testsuite/gdb.base/morestack.c
 create mode 100644 gdb/testsuite/gdb.base/morestack.exp
 create mode 100644 opcodes/ChangeLog-2010
 create mode 100644 sim/.gitignore

First 500 lines of diff:
diff --git a/COPYING.LIBGLOSS b/COPYING.LIBGLOSS
index 403d42b..5e78978 100644
--- a/COPYING.LIBGLOSS
+++ b/COPYING.LIBGLOSS
@@ -58,27 +58,10 @@ duplicated in all such forms.
 This file is distributed WITHOUT ANY WARRANTY; without even the implied
 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
-(4) GPL (fr30 directory only)
+(4) (formerly GPL for fr30)
 
-Copyright (C) 1998 Free Software Foundation, Inc.
-Contributed by Cygnus Solutions.
-
-This file is part of GNU CC.
-
-GNU CC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU CC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU CC; see the file COPYING.  If not, write to
-the Free Software Foundation, 51 Franklin Street, Fifth Floor,
-Boston, MA 02110-1301, USA.
+The GPL is no longer applicable to the fr30 platform.  The piece of
+code (syscalls.c) referencing the GPL has been officially relicensed.
 
 (5) Advanced Micro Devices
 
diff --git a/ChangeLog b/ChangeLog
index bc19a77..5a48a71 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2011-01-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Sync from GCC:
+	2010-12-22  Hariharan Sandanagobalane  <hariharan@picochip.com>
+
+	* configure.ac: (picochip): Disable libiberty.
+	* configure: Regenerate.
+
+2010-12-18  Jeff Johnston  <jjohnstn@redhat.com>
+
+	* COPYING.LIBGLOSS: Remove the GPL for fr30 target.
+
 2010-12-10  Ian Lance Taylor  <iant@google.com>
 
 	PR bootstrap/46819
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8e12461..eb99588 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3413 +1,23 @@
-2010-12-13  Alan Modra  <amodra@gmail.com>
+2011-01-05  DJ Delorie  <dj@redhat.com>
 
-	* aoutx.h (aout_link_check_ar_symbols): Formatting.
-	* cofflink.c (coff_link_check_ar_symbols): Likewise.
-	* elflink.c (elf_link_add_archive_symbols): Likewise.
-	* pdp11.c (aout_link_check_ar_symbols): Likewise.
-	* xcofflink.c (xcoff_link_check_dynamic_ar_symbols,
-	xcoff_link_check_dynamic_ar_symbols): Likewise.
-
-	* aoutx.h (aout_link_check_archive_element): Simplify code dealing
-	with add_archive_element substitute BFD.
-	* cofflink.c (coff_link_check_archive_element): Likewise.
-	* ecoff.c (ecoff_link_check_archive_element): Likewise.
-	(ecoff_link_add_archive_symbols): Likewise.
-	* linker.c (generic_link_check_archive_element): Likewise.
-	* pdp11.c (aout_link_check_archive_element): Likewise.
-	* vms-alpha.c (alpha_vms_link_add_archive_symbols): Likewise.
-	* xcofflink.c (xcoff_link_check_archive_element): Likewise.
-
-	* aoutx.h (aout_link_check_archive_element): Free symbols from old
-	bfd if !keep_memory.
-	* cofflink.c (coff_link_check_archive_element): Likewise.
-	* pdp11.c (aout_link_check_archive_element): Likewise.
-	* xcofflink.c (xcoff_link_check_archive_element): Likewise.
-
-2010-12-13  Alan Modra  <amodra@gmail.com>
-
-	* plugin.c (bfd_plugin_mkobject): Delete.
-	(plugin_vec): Use bfd_false instead.
-
-2010-12-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-	* elflink.c (elf_link_add_archive_symbols): Remove subsbfd.
-
-2010-12-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-	* elf.c (special_sections_g): Add ".gnu.lto_".
-
-2010-12-10  Alan Modra  <amodra@gmail.com>
-
-	* config.bfd: Configure rs6000-*-aix* as for powerpc-*-aix*.
-	Add aix5coff64_vec to powerpc ELF entries.
-
-2010-12-09  Mike Frysinger  <vapier@gentoo.org>
-
-	* .gitignore: New file.
-
-2010-12-06  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
-
-	PR ld/12288
-	* plugin.c (message): Add putchar for the trailing `\n'.
-
-2010-12-04  Mike Frysinger  <vapier@gentoo.org>
-
-	* Makefile.am (!INSTALL_LIBBFD/bfdinclude_HEADERS): Set to nothing.
-	(PLUGINS/bfdinclude_HEADERS): Append plugin-api.h.
-	* Makefile.in: Regenerated.
-
-2010-12-04  Alan Modra  <amodra@gmail.com>
-
-	PR ld/12277
-	* elflink.c (elf_link_output_extsym): Set bfd_error on symbol
-	and section errors.  Allow better translation of error messages.
-
-2010-12-02  Richard Sandiford  <richard.sandiford@linaro.org>
-
-	* 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-02  Richard Sandiford  <richard.sandiford@linaro.org>
-
-	* 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-02  Paul Koning  <ni1d@arrl.net>
-
-	* pdp11.c (aout_link_add_symbols): Ignore debug symbols.
-
-2010-11-30  Joel Sherrill  <joel.sherrill@oarcorp.com>
-
-	* config.bfd: Add sparc64-rtems.
-
-2010-11-25  Alan Modra  <amodra@gmail.com>
-
-	* po/es.po: Update.
-	* po/fi.po: Update.
-	* po/fr.po: Update.
-	* po/ja.po: Update.
-	* po/zh_CN.po: Update.
-
-2010-11-24  Joel Brobecker  <brobecker@adacore.com>
-
-	* Makefile.am (OPTIONAL_BACKENDS): Add rs6000-core.lo.
-	(OPTIONAL_BACKENDS_CFILES): Add rs6000-core.c.
-	* Makefile.in: Regenerate.
-
-2010-11-24  Alan Modra  <amodra@gmail.com>
-
-	PR ld/12253
-	* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct
-	DW_EH_PE_datarel handling.  Truncate .eh_frame_hdr address to
-	ptr_size.
-
-2010-11-23  Mingming Sun  <mingm.sun@gmail.com>
-
-	* elfxx-mips.c (mips_set_isa_flags): Move bfd_mach_loongson_3a
-	after bfd_mach_mips_sb1.
-
-2010-11-17  Tristan Gingold  <gingold@adacore.com>
-
-	* vms-lib.c (vms_write_index): Add comments.
-	Partially revert previous patch.  Free blocks later.
-
-2010-11-17  Nick Clifton  <nickc@redhat.com>
-
-	PR ld/12161
-	* elf32-avr.c (elf32_avr_check_relocs): Delete.
-	(elf_backend_check_relocs): Delete.
-
-2010-11-16  Jie Zhang  <jie.zhang@analog.com>
-
-	* elf32-bfin.c (elf32_bfin_code_in_l1): New variable.
-	(elf32_bfin_data_in_l1): New variable.
-	(elf32_bfin_final_write_processing): New.
-	(elf_backend_final_write_processing): Define.
-
-2010-11-15  Mike Frysinger  <vapier@gentoo.org>
-
-	PR binutils/12177
-	* elf32-bfin.c (_bfin_create_got_section): Drop unused flags code.
-
-2010-11-12  H.J. Lu  <hongjiu.lu@intel.com>
-
-	* archive.c (_bfd_get_elt_at_filepos): Copy BFD_COMPRESS and
-	BFD_DECOMPRESS.
-	(bfd_openr_next_archived_file): Revert the last change.
-
-2010-11-11  Mingming Sun  <mingm.sun@gmail.com>
-
-	* archures.c (bfd_mach_mips_loongson_3a): Defined.
-	* bfd-in2.h (bfd_mach_mips_loongson_3a): Defined.
-	* cpu-mips.c (I_loongson_3a): New add.
-	(arch_info_struct): Add loongson_3a.
-	* elfxx-mips.c (_bfd_elf_mips_mach): Add loongson_3a.
-	(mips_set_isa_flags): Add loongson_3a.
-	(mips_mach_extensions): Add loongson_3a in MIPS64 extensions.
-
-2010-11-10  Richard Sandiford  <richard.sandiford@linaro.org>
-
-	* elf32-arm.c (elf32_arm_merge_eabi_attributes): Remove unused
-	variables.
-
-2010-11-10  Nick Clifton  <nickc@redhat.com>
-
-	* po/ja.po: Updated Japanese translation.
-	* po/ru.po: Updated Russian translation.
-
-2010-11-08  Nick Clifton  <nickc@redhat.com>
-
-	* po/ja.po: Updated Japanese translation.
-
-2010-11-08  Alan Modra  <amodra@gmail.com>
-
-	* hash.c (bfd_hash_hash): Extract from..
-	(bfd_hash_lookup): ..here.
-	(bfd_hash_rename): New function.
-	* section.c (bfd_rename_section): New function.
-	* bfd-in.h (bfd_hash_rename): Declare.
-	* bfd-in2.h: Regenerate.
-	* elf.c (_bfd_elf_make_section_from_shdr): Rename input sections
-	when compressing or decompressing.  Don't assert name match.
-	* elf64-hppa.c (get_reloc_section): Don't assert name match.
-	* elfxx-ia64.c (get_reloc_section): Likewise.
-
-2010-11-05  Joseph Myers  <joseph@codesourcery.com>
-
-	* elf32-tic6x.c (elf32_tic6x_obj_attrs_handle_unknown): New.
-	(elf32_tic6x_merge_attributes): Use
-	_bfd_elf_merge_unknown_attribute_low and
-	_bfd_elf_merge_unknown_attribute_list.
-	(elf_backend_obj_attrs_handle_unknown): Define.
-
-2010-11-05  Joseph Myers  <joseph@codesourcery.com>
-
-	* elf-attrs.c (_bfd_elf_merge_unknown_attribute_low,
-	_bfd_elf_merge_unknown_attribute_list): Correct test for matching
-	string attributes.
-
-2010-11-05  Tristan Gingold  <gingold@adacore.com>
-
-	* po/bfd.pot: Regenerate
-
-2010-11-05  Tristan Gingold  <gingold@adacore.com>
-
-	* configure.in: Bump version to 2.21.51
-	* configure: Regenerate.
-
-2010-11-04  Maciej W. Rozycki  <macro@codesourcery.com>
-
-	PR ld/10144
-	* elfxx-mips.c (_bfd_mips_elf_check_relocs)
-	[R_MIPS_32, R_MIPS_REL32, R_MIPS_64]: Ignore relocs from
-	SEC_DEBUGGING sections.
-
-2010-11-04  Tristan Gingold  <gingold@adacore.com>
-
-	* vms-lib.c (vms_write_index): Fix thinko: reverse the loop.
-	Use bfd_zmalloc instead of bfd_malloc.  Fix comment.
-
-2010-11-04  Kai Tietz  <kai.tietz@onevision.com>
-
-	* coffcode.h (GNU_LINKONCE_WT): New.
-	(sec_to_styp_flags): Add handling of new debug
-	section.
-	(styp_to_sec_flags): Likewise.
-
-2010-11-04  Tristan Gingold  <gingold@adacore.com>
-
-	* makefile.vms (CFLAGS): Make badalias warnings informational.
-	* vms-lib.c (vms_lib_bread): Avoid arithmetic on void pointer.
-
-2010-11-04  Joseph Myers  <joseph@codesourcery.com>
-
-	* elf-attrs.c (_bfd_elf_merge_unknown_attribute_low,
-	_bfd_elf_merge_unknown_attribute_list): New.
-	* elf-bfd.h (struct elf_backend_data): Add
-	obj_attrs_handle_unknown.
-	(_bfd_elf_merge_unknown_attribute_low,
-	_bfd_elf_merge_unknown_attribute_list): Declare.
-	* elf32-arm.c (elf32_arm_obj_attrs_handle_unknown): New.  Split
-	out from elf32_arm_merge_eabi_attributes.
-	(elf32_arm_merge_eabi_attributes): Use
-	_bfd_elf_merge_unknown_attribute_low and
-	_bfd_elf_merge_unknown_attribute_list.
-	(elf_backend_obj_attrs_handle_unknown): Define.
-	* elfxx-target.h (elf_backend_obj_attrs_handle_unknown): Define.
-	(elfNN_bed): Update initializer.
-
-2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>
-
-	* bfd.c (BFD_FLAGS_FOR_BFD_USE_MASK): New.
-	* bfd-in2.h: Regenerated.
-
-2010-11-02  Joseph Myers  <joseph@codesourcery.com>
-
-	* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Except for
-	Tag_ABI_compatibility, treat odd tags as strings and even ones as
-	integers.
-	(elf32_tic6x_obj_attrs_order, elf32_tic6x_tag_to_array_alignment,
-	elf32_tic6x_array_alignment_to_tag): New.
-	(elf32_tic6x_merge_attributes): Handle more attributes.  Set type
-	for merged attributes.
-	(elf_backend_obj_attrs_order): Define.
-
-2010-10-29  Maciej W. Rozycki  <macro@codesourcery.com>
-
-	* elfxx-mips.c (mips_elf_calculate_relocation): Fix a typo.
-
-2010-10-29  Pawel Sikora  <pluto@pld-linux.org>
-
-	PR binutils/12075
-	* compress.c (bfd_compress_section_contents): Use uLong on
-	compressed_size.
-
-2010-10-29  Joseph Myers  <joseph@codesourcery.com>
-
-	* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Check
-	Tag_ABI_compatibility not Tag_compatibility.
-	(elf32_tic6x_merge_attributes): Update compatibility attribute
-	name in comment.  Return FALSE if merging common attributes fails.
-
-2010-10-29  Nick Clifton  <nickc@redhat.com>
-
-	PR bintils/6962
-	* coffcode.h (handle_COMDAT): Only check the base type when
-	looking for a section symbol.
-
-2010-10-29  H.J. Lu  <hongjiu.lu@intel.com>
-	    Cary Coutant  <ccoutant@google.com>
-
-	* archive.c (bfd_openr_next_archived_file): Copy BFD_COMPRESS
-	and BFD_DECOMPRESS.
-
-	* bfd.c (BFD_COMPRESS): New.
-	(BFD_DECOMPRESS): Likewise.
-	(BFD_FLAGS_SAVED): Likewise.
-	(bfd_preserve_save): Replace BFD_IN_MEMORY with BFD_FLAGS_SAVED.
-
-	* compress.c (bfd_uncompress_section_contents): Removed.
-	(get_uncompressed_size): New.
-	(decompress_contents): Likewise.
-	(bfd_compress_section_contents): Likewise.
-	(bfd_get_full_section_contents): Likewise.
-	(bfd_is_section_compressed): Likewise.
-	(bfd_init_section_decompress_status): Likewise.
-	(bfd_init_section_compress_status): Likewise.
-
-	* dwarf2.c (dwarf_debug_sections): New.
-	(dwarf_debug_section_enum): Likewise.
-	(read_section): Remove section_name and compressed_section_name.
-	Add dwarf_debug_section_enum.  Try compressed debug section.
-	(read_indirect_string): Updated.
-	(read_abbrevs): Likewise.
-	(decode_line_info): Likewise.
-	(read_debug_ranges): Likewise.
-	(find_line): Updated.
-
-	* ecoff.c (bfd_debug_section): Add compress_status and
-	compressed_size.
-
-	* elf.c (_bfd_elf_make_section_from_shdr): Call
-	bfd_is_section_compressed to check if a DWARF debug section is
-	compressed.  Call bfd_init_section_compress_status or
-	bfd_init_section_decompress_status if needed.
-
-	* elflink.c (elf_link_input_bfd): Replace bfd_get_section_contents
-	with bfd_get_full_section_contents.
-	* merge.c (_bfd_add_merge_section): Likewise.
-	* reloc.c (bfd_generic_get_relocated_section_contents): Likewise.
-	* simple.c (bfd_simple_get_relocated_section_contents): Likewise.
-
-	* elfxx-target.h (TARGET_BIG_SYM): Allow BFD_COMPRESS and
-	BFD_DECOMPRESS.
-	(TARGET_LITTLE_SYM): Likewise.
-
-	* libbfd-in.h (dwarf_debug_section): New.
-	(dwarf_debug_sections): Likewise.
-
-	* libbfd.c (_bfd_generic_get_section_contents): Issue an error
-	when getting contents on compressed/decompressed section.
-
-	* section.c (COMPRESS_SECTION_NONE): New.
-	(COMPRESS_SECTION_DONE): Likewise.
-	(DECOMPRESS_SECTION_SIZED): Likewise.
-	(BFD_FAKE_SECTION): Add compress_status and compressed_size.
-	(bfd_malloc_and_get_section): Replace bfd_get_section_contents
-	with bfd_get_full_section_contents.
-
-	* bfd-in2.h: Regenerated.
-	* libbfd.h: Likewise.
-
-2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
-	    Joseph Myers  <joseph@codesourcery.com>
-
-	* elf32-tic6x.c (elf32_tic6x_merge_attributes): Check for mismatch
-	of DSBT attributes.
-
-2010-10-25  Daniel Jacobowitz  <dan@codesourcery.com>
-
-	* elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Always call
-	_bfd_clear_contents.  Pass it the input section.
-	* libbfd-in.h (_bfd_clear_contents): Add input_section argument.
-	* libbfd.h: Regenerate.
-	* reloc.c (_bfd_clear_contents): Take input_section argument.
-	Use non-zero for .debug_ranges.
-	(bfd_generic_get_relocated_section_conten): Update _bfd_clear_contents
-	call.
-
-	* elf32-arm.c (elf32_arm_relocate_section): Use
-	RELOC_AGAINST_DISCARDED_SECTION.
-	* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
-	* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
-	* elf32-arm.c (elf32_arm_relocate_section): Likewise.
-	* elf32-avr.c (elf32_avr_relocate_section): Likewise.
-	* elf32-bfin.c (bfin_relocate_section): Likewise.
-	(bfinfdpic_relocate_section): Likewise.
-	* elf32-cr16.c (elf32_cr16_relocate_section): Likewise.
-	* elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise.
-	* elf32-cris.c (cris_elf_relocate_section): Likewise.
-	* elf32-crx.c (elf32_crx_relocate_section): Likewise.
-	* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
-	* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
-	* elf32-frv.c (elf32_frv_relocate_section): Likewise.
-	* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
-	* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
-	* elf32-i370.c (i370_elf_relocate_section): Likewise.
-	* elf32-i860.c (elf32_i860_relocate_section): Likewise.
-	* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
-	* elf32-iq2000.c (iq2000_elf_relocate_section): Likewise.
-	* elf32-lm32.c (lm32_elf_relocate_section): Likewise.
-	* elf32-m32c.c (m32c_elf_relocate_section): Likewise.
-	* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
-	* elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise.
-	* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
-	* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
-	* elf32-mep.c (mep_elf_relocate_section): Likewise.
-	* elf32-moxie.c (moxie_elf_relocate_section): Likewise.
-	* elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
-	* elf32-mt.c (mt_elf_relocate_section): Likewise.
-	* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
-	* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
-	* elf32-rx.c (rx_elf_relocate_section): Likewise.
-	* elf32-s390.c (elf_s390_relocate_section): Likewise.
-	* elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise.
-	* elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise.
-	* elf32-sh.c (sh_elf_relocate_section): Likewise.
-	* elf32-spu.c (spu_elf_relocate_section): Likewise.
-	* elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise.
-	* elf32-v850.c (v850_elf_relocate_section): Likewise.
-	* elf32-vax.c (elf_vax_relocate_section): Likewise.
-	* elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise.
-	* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
-	* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
-	* elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise.
-	(elf64_alpha_relocate_section): Likewise.
-	* elf64-hppa.c (elf64_hppa_relocate_section): Likewise.
-	* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
-	* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
-	* elf64-s390.c (elf_s390_relocate_section): Likewise.
-	* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
-	* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
-	* elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise.
-	* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
-
-2010-10-25  Nathan Sidwell  <nathan@codesourcery.com>
-
-	* elf32-tic6x.c: Add attribution.


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-12-14  8:35 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-12-14  8:35 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  499db2603581cc2e71446dd76ffc196210a5fdad (commit)
       via  a3422d9d1cf66dbfd75f1139fe924aba4133afd9 (commit)
       via  8a65048726d8ceba13dfd089a76b3893562dfc1c (commit)
       via  5c8b735209edd71f4c5337194b8f80c7effb9cb0 (commit)
       via  06986c99481f6ac7677f3acefd4881b01db48371 (commit)
       via  c64955e410919ac6cdacefe2d5cb5b9d417d74c4 (commit)
       via  ab83f16f599b5d3d0f99245a6c58d2aa422168d6 (commit)
       via  6c0ea7dd3632660e4f85170b5ce3e86c78087f1b (commit)
       via  e6377c333cf6f1573e4e0ff22ac56a3fe11bcf0e (commit)
       via  9d6207ac0871bb8039bb5a08a59d0f4e30a2cf98 (commit)
       via  d84e5e930e2e86762b84643d39cfc31f3d13bb59 (commit)
       via  6d2bf6d7d060fbbd3f32d8c3e7d54fe6460eed48 (commit)
       via  6254e798e614d8120de346a830578666efe03c74 (commit)
       via  e33f3e3e0c1a0c2011bc46a5dd6b7d2ab056cbd8 (commit)
       via  9ae2bba719f306e922e622bd3ff161a4bbaed20d (commit)
       via  412f42e610580d43101d23aea4837002325c271e (commit)
       via  823ea0e017d2c769a434845a0f4a2fdf99551c52 (commit)
       via  5a36b4fd39d6ed34881f4b41320f2d262a2cf1f7 (commit)
       via  9aef96442583bee6235626825ac5cd7ff249211a (commit)
       via  6227a1b5c83a964f69d136366286901f3c6d6954 (commit)
       via  dbc801b6a84373b31d3c91fa6316bf793155aa9b (commit)
       via  4e16f9ba78fefbc9866c210389754d842fb3c2aa (commit)
       via  5ed19ecbad49ec0c29220870e9cfc69ef2ed5577 (commit)
       via  63962a7ceeaa8d3e64fa64623061d76da307d839 (commit)
       via  aba8cd875362142c4a9415b27d7ee6569ed6467a (commit)
       via  7b2b0d224cdb69b849e35c8cf9178a68b5fbb5a5 (commit)
       via  78dfc48ba55545702ef520758de3cb70f9dae689 (commit)
       via  e014e39f5adef100506cdae7b40c33ab413c4a4f (commit)
       via  b5f2c9de753b28ba696acd64e2ae5f461e8e5bb3 (commit)
       via  2bf6f365906ab18210152f960bb1964fc8bd8ea7 (commit)
       via  f066d508597485ba85468202f253fb8fa905cd70 (commit)
       via  fc2a20735997e42ad2a708f2ecde99284e6e6227 (commit)
       via  ecfcf3d644585028a6b31bd6b8fef11a99819abe (commit)
       via  e363f217cac07310e00c4a048c22e2fdc8eae2e6 (commit)
       via  89ce8d4bd4a1aa64169928b4478eb112db891c8a (commit)
       via  e8c3912c58bde7afceb133154d94430097195e6e (commit)
       via  f6fffb5c85b6ae486e8c7c4818143b678d01207a (commit)
       via  95eff2fb6321f6da995145ac27760e33e6300397 (commit)
       via  625c318cdc3f4cda81d28a76878827b3930de728 (commit)
       via  6483066954a45f74ba5c8714e67c911026b47c78 (commit)
       via  cfd59d46a2bcfc9de4e72aeba847ac29e56a8b43 (commit)
       via  9d11e2823c8c241c2cf465e5eb8c0765a329e148 (commit)
       via  c649ca66b44a7390e0c263ed927c8fd5d4b18bc1 (commit)
       via  68a319b90dca7951d5df3640da7e943a28b02e37 (commit)
       via  b9dfe9746d527111b67c454b6d64b44a69db63d2 (commit)
       via  6703fb1c02cb1cab84045480543723ddb120a172 (commit)
       via  b47f816c5c5b4076f1b9d7601bd617d77d98a5da (commit)
       via  431f664cad8887aed70646d72334ce5e42997e49 (commit)
       via  f56bc74802e5301a778b69b270767ec0cd4c167a (commit)
      from  f6910284eff09630a961887b140c1a2301e0073b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 499db2603581cc2e71446dd76ffc196210a5fdad
Merge: f691028 a3422d9
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Tue Dec 14 08:35:00 2010 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                              |   17 +
 bfd/.gitignore                         |   40 +++
 bfd/ChangeLog                          |   47 +++
 bfd/aoutx.h                            |   43 ++-
 bfd/cofflink.c                         |   47 ++--
 bfd/config.bfd                         |   12 +-
 bfd/ecoff.c                            |   25 +-
 bfd/elf.c                              |    1 +
 bfd/elflink.c                          |    9 +-
 bfd/linker.c                           |   22 +-
 bfd/pdp11.c                            |   35 ++-
 bfd/plugin.c                           |    9 +-
 bfd/version.h                          |    2 +-
 bfd/vms-alpha.c                        |   11 +-
 bfd/xcofflink.c                        |   30 ++-
 configure                              |   33 ++
 configure.ac                           |   24 ++
 gdb/ChangeLog                          |  146 +++++++++
 gdb/NEWS                               |    7 +
 gdb/breakpoint.c                       |   98 +++++-
 gdb/breakpoint.h                       |   18 +-
 gdb/configure                          |   15 +
 gdb/configure.ac                       |   15 +
 gdb/dwarf2read.c                       |  551 +++++++++++++++++++++++---------
 gdb/gdbthread.h                        |   10 +
 gdb/gdbtypes.c                         |    2 +-
 gdb/gdbtypes.h                         |   13 +-
 gdb/infcmd.c                           |   34 ++-
 gdb/inferior.h                         |    2 +
 gdb/infrun.c                           |  192 ++++++++++-
 gdb/irix5-nat.c                        |   11 +-
 gdb/mi/mi-main.c                       |   40 ++-
 gdb/mi/mi-parse.c                      |   51 ++--
 gdb/mi/mi-parse.h                      |   14 +-
 gdb/mips64obsd-tdep.c                  |    8 +
 gdb/solib-svr4.c                       |   21 +-
 gdb/sparc-tdep.c                       |    2 +-
 gdb/symfile.h                          |   11 +-
 gdb/testsuite/ChangeLog                |   15 +
 gdb/testsuite/gdb.base/interp.exp      |   11 +
 gdb/testsuite/gdb.cp/nextoverthrow.cc  |  203 ++++++++++++
 gdb/testsuite/gdb.cp/nextoverthrow.exp |  153 +++++++++
 gdb/testsuite/gdb.java/jnpe.exp        |   74 +++++
 gdb/testsuite/gdb.java/jnpe.java       |   40 +++
 gdb/testsuite/gdb.trace/tsv.exp        |   70 ++++-
 gdb/thread.c                           |   19 ++
 gdb/value.c                            |   18 +
 gdb/version.in                         |    2 +-
 libiberty/.gitignore                   |    2 +
 libiberty/ChangeLog                    |    9 +
 libiberty/splay-tree.c                 |   52 +++-
 opcodes/.gitignore                     |    2 +
 opcodes/ChangeLog                      |    9 +
 opcodes/mips-opc.c                     |   56 ++--
 src-release                            |    2 +-
 55 files changed, 1995 insertions(+), 410 deletions(-)
 create mode 100644 bfd/.gitignore
 create mode 100644 gdb/testsuite/gdb.cp/nextoverthrow.cc
 create mode 100644 gdb/testsuite/gdb.cp/nextoverthrow.exp
 create mode 100644 gdb/testsuite/gdb.java/jnpe.exp
 create mode 100644 gdb/testsuite/gdb.java/jnpe.java
 create mode 100644 libiberty/.gitignore
 create mode 100644 opcodes/.gitignore

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index fbe634e..bc19a77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2010-12-10  Ian Lance Taylor  <iant@google.com>
+
+	PR bootstrap/46819
+	* configure.ac: For --disable-libgcj clear libgcj_saved.
+	* configure: Rebuild.
+
+2010-12-10  Tobias Burnus  <burnus@net-b.de>
+
+	PR fortran/46540
+	* configure.ac: Add --disable-libquadmath and
+	--disable-libquadmath-support.
+	* configure: Regenerate.
+
+2010-12-10  Tristan Gingold  <gingold@adacore.com>
+
+	* src-release (ETC_SUPPORT): add gnu-oids.texi
+
 2010-12-03  Hans-Peter Nilsson  <hp@axis.com>
 
 	PR libffi/46792
diff --git a/bfd/.gitignore b/bfd/.gitignore
new file mode 100644
index 0000000..3316133
--- /dev/null
+++ b/bfd/.gitignore
@@ -0,0 +1,40 @@
+/bfd-in3.h
+/bfd.h
+/bfd_stdint.h
+/bfdver.h
+/elf32-ia64.c
+/elf32-target.h
+/elf64-ia64.c
+/elf64-target.h
+/libtool-soversion
+/ofiles
+/peigen.c
+/pepigen.c
+/pex64igen.c
+/stmp-bfd-h
+/targmatch.h
+
+/doc/aoutx.texi
+/doc/archive.texi
+/doc/archures.texi
+/doc/bfdio.texi
+/doc/bfdt.texi
+/doc/bfdver.texi
+/doc/bfdwin.texi
+/doc/cache.texi
+/doc/chew
+/doc/coffcode.texi
+/doc/core.texi
+/doc/elf.texi
+/doc/elfcode.texi
+/doc/format.texi
+/doc/hash.texi
+/doc/init.texi
+/doc/libbfd.texi
+/doc/linker.texi
+/doc/mmo.texi
+/doc/opncls.texi
+/doc/reloc.texi
+/doc/section.texi
+/doc/syms.texi
+/doc/targets.texi
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 009a020..8e12461 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,50 @@
+2010-12-13  Alan Modra  <amodra@gmail.com>
+
+	* aoutx.h (aout_link_check_ar_symbols): Formatting.
+	* cofflink.c (coff_link_check_ar_symbols): Likewise.
+	* elflink.c (elf_link_add_archive_symbols): Likewise.
+	* pdp11.c (aout_link_check_ar_symbols): Likewise.
+	* xcofflink.c (xcoff_link_check_dynamic_ar_symbols,
+	xcoff_link_check_dynamic_ar_symbols): Likewise.
+
+	* aoutx.h (aout_link_check_archive_element): Simplify code dealing
+	with add_archive_element substitute BFD.
+	* cofflink.c (coff_link_check_archive_element): Likewise.
+	* ecoff.c (ecoff_link_check_archive_element): Likewise.
+	(ecoff_link_add_archive_symbols): Likewise.
+	* linker.c (generic_link_check_archive_element): Likewise.
+	* pdp11.c (aout_link_check_archive_element): Likewise.
+	* vms-alpha.c (alpha_vms_link_add_archive_symbols): Likewise.
+	* xcofflink.c (xcoff_link_check_archive_element): Likewise.
+
+	* aoutx.h (aout_link_check_archive_element): Free symbols from old
+	bfd if !keep_memory.
+	* cofflink.c (coff_link_check_archive_element): Likewise.
+	* pdp11.c (aout_link_check_archive_element): Likewise.
+	* xcofflink.c (xcoff_link_check_archive_element): Likewise.
+
+2010-12-13  Alan Modra  <amodra@gmail.com>
+
+	* plugin.c (bfd_plugin_mkobject): Delete.
+	(plugin_vec): Use bfd_false instead.
+
+2010-12-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elflink.c (elf_link_add_archive_symbols): Remove subsbfd.
+
+2010-12-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf.c (special_sections_g): Add ".gnu.lto_".
+
+2010-12-10  Alan Modra  <amodra@gmail.com>
+
+	* config.bfd: Configure rs6000-*-aix* as for powerpc-*-aix*.
+	Add aix5coff64_vec to powerpc ELF entries.
+
+2010-12-09  Mike Frysinger  <vapier@gentoo.org>
+
+	* .gitignore: New file.
+
 2010-12-06  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
 
 	PR ld/12288
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index efa9d47..7ca221e 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -3305,8 +3305,8 @@ aout_link_check_ar_symbols (bfd *abfd,
 		continue;
 	    }
 
-	  if (! (*info->callbacks->add_archive_element)
-					(info, abfd, name, subsbfd))
+	  if (!(*info->callbacks
+		->add_archive_element) (info, abfd, name, subsbfd))
 	    return FALSE;
 	  *pneeded = TRUE;
 	  return TRUE;
@@ -3333,8 +3333,8 @@ aout_link_check_ar_symbols (bfd *abfd,
 			 outside BFD.  We assume that we should link
 			 in the object file.  This is done for the -u
 			 option in the linker.  */
-		      if (! (*info->callbacks->add_archive_element)
-					(info, abfd, name, subsbfd))
+		      if (!(*info->callbacks
+			    ->add_archive_element) (info, abfd, name, subsbfd))
 			return FALSE;
 		      *pneeded = TRUE;
 		      return TRUE;
@@ -3343,8 +3343,8 @@ aout_link_check_ar_symbols (bfd *abfd,
 		     symbol.  It is already on the undefs list.  */
 		  h->type = bfd_link_hash_common;
 		  h->u.c.p = (struct bfd_link_hash_common_entry *)
-                      bfd_hash_allocate (&info->hash->table,
-                                         sizeof (struct bfd_link_hash_common_entry));
+		    bfd_hash_allocate (&info->hash->table,
+				       sizeof (struct bfd_link_hash_common_entry));
 		  if (h->u.c.p == NULL)
 		    return FALSE;
 
@@ -3382,8 +3382,8 @@ aout_link_check_ar_symbols (bfd *abfd,
 	     it if the current link symbol is common.  */
 	  if (h->type == bfd_link_hash_undefined)
 	    {
-	      if (! (*info->callbacks->add_archive_element)
-					(info, abfd, name, subsbfd))
+	      if (!(*info->callbacks
+		    ->add_archive_element) (info, abfd, name, subsbfd))
 		return FALSE;
 	      *pneeded = TRUE;
 	      return TRUE;
@@ -3404,27 +3404,36 @@ aout_link_check_archive_element (bfd *abfd,
 				 struct bfd_link_info *info,
 				 bfd_boolean *pneeded)
 {
-  bfd *subsbfd = NULL;
+  bfd *oldbfd;
+  bfd_boolean needed;
 
-  if (! aout_get_external_symbols (abfd))
+  if (!aout_get_external_symbols (abfd))
     return FALSE;
 
-  if (! aout_link_check_ar_symbols (abfd, info, pneeded, &subsbfd))
+  oldbfd = abfd;
+  if (!aout_link_check_ar_symbols (abfd, info, pneeded, &abfd))
     return FALSE;
 
-  if (*pneeded)
+  needed = *pneeded;
+  if (needed)
     {
       /* Potentially, the add_archive_element hook may have set a
 	 substitute BFD for us.  */
-      if (subsbfd && !aout_get_external_symbols (subsbfd))
-	return FALSE;
-      if (! aout_link_add_symbols (subsbfd ? subsbfd : abfd, info))
+      if (abfd != oldbfd)
+	{
+	  if (!info->keep_memory
+	      && !aout_link_free_symbols (oldbfd))
+	    return FALSE;
+	  if (!aout_get_external_symbols (abfd))
+	    return FALSE;
+	}
+      if (!aout_link_add_symbols (abfd, info))
 	return FALSE;
     }
 
-  if (! info->keep_memory || ! *pneeded)
+  if (!info->keep_memory || !needed)
     {
-      if (! aout_link_free_symbols (abfd))
+      if (!aout_link_free_symbols (abfd))
 	return FALSE;
     }
 
diff --git a/bfd/cofflink.c b/bfd/cofflink.c
index a28d396..33de7fe 100644
--- a/bfd/cofflink.c
+++ b/bfd/cofflink.c
@@ -244,8 +244,8 @@ coff_link_check_ar_symbols (bfd *abfd,
 	  if (h != (struct bfd_link_hash_entry *) NULL
 	      && h->type == bfd_link_hash_undefined)
 	    {
-	      if (! (*info->callbacks->add_archive_element)
-					(info, abfd, name, subsbfd))
+	      if (!(*info->callbacks
+		    ->add_archive_element) (info, abfd, name, subsbfd))
 		return FALSE;
 	      *pneeded = TRUE;
 	      return TRUE;
@@ -269,29 +269,38 @@ coff_link_check_archive_element (bfd *abfd,
 				 struct bfd_link_info *info,
 				 bfd_boolean *pneeded)
 {
-  bfd *subsbfd = NULL;
+  bfd *oldbfd;
+  bfd_boolean needed;
 
-  if (! _bfd_coff_get_external_symbols (abfd))
-    return FALSE;
-
-  if (! coff_link_check_ar_symbols (abfd, info, pneeded, &subsbfd))
-    return FALSE;
-
-  /* Potentially, the add_archive_element hook may have set a
-     substitute BFD for us.  */
-  if (*pneeded
-      && subsbfd
-      && ! _bfd_coff_get_external_symbols (subsbfd))
+  if (!_bfd_coff_get_external_symbols (abfd))
     return FALSE;
 
-  if (*pneeded
-      && ! coff_link_add_symbols (subsbfd ? subsbfd : abfd, info))
+  oldbfd = abfd;
+  if (!coff_link_check_ar_symbols (abfd, info, pneeded, &abfd))
     return FALSE;
 
-  if ((! info->keep_memory || ! *pneeded)
-      && ! _bfd_coff_free_symbols (abfd))
-    return FALSE;
+  needed = *pneeded;
+  if (needed)
+    {
+      /* Potentially, the add_archive_element hook may have set a
+	 substitute BFD for us.  */
+      if (abfd != oldbfd)
+	{
+	  if (!info->keep_memory
+	      && !_bfd_coff_free_symbols (oldbfd))
+	    return FALSE;
+	  if (!_bfd_coff_get_external_symbols (abfd))
+	    return FALSE;
+	}
+      if (!coff_link_add_symbols (abfd, info))
+	return FALSE;
+    }
 
+  if (!info->keep_memory || !needed)
+    {
+      if (!_bfd_coff_free_symbols (abfd))
+	return FALSE;
+    }
   return TRUE;
 }
 
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 9b719d8..2de94a4 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -1076,26 +1076,26 @@ case "${targ}" in
     targ_selvecs="bfd_elf32_pjl_vec bfd_elf32_pj_vec bfd_elf32_i386_vec"
     ;;
 
-  powerpc-*-aix5.[01])
+  powerpc-*-aix5.[01] | rs6000-*-aix5.[01])
     targ_defvec=rs6000coff_vec
     targ_selvecs="aix5coff64_vec"
     want64=true
     ;;
 #ifdef BFD64
-  powerpc64-*-aix5.[01])
+  powerpc64-*-aix5.[01] | rs6000-*-aix5.[01])
     targ_defvec=aix5coff64_vec
     targ_selvecs="rs6000coff_vec"
     want64=true
     ;;
 #endif
-  powerpc-*-aix[5-9]*)
+  powerpc-*-aix[5-9]* | rs6000-*-aix[5-9]*)
     targ_cflags=-DAIX_WEAK_SUPPORT
     targ_defvec=rs6000coff_vec
     targ_selvecs="aix5coff64_vec"
     want64=true
     ;;
 #ifdef BFD64
-  powerpc64-*-aix[5-9]*)
+  powerpc64-*-aix[5-9]* | rs6000-*-aix[5-9]*)
     targ_cflags=-DAIX_WEAK_SUPPORT
     targ_defvec=aix5coff64_vec
     targ_selvecs="rs6000coff_vec"
@@ -1122,12 +1122,12 @@ case "${targ}" in
   powerpc64-*-elf* | powerpc-*-elf64* | powerpc64-*-linux* | \
   powerpc64-*-*bsd*)
     targ_defvec=bfd_elf64_powerpc_vec
-    targ_selvecs="bfd_elf64_powerpcle_vec bfd_elf32_powerpc_vec bfd_elf32_powerpcle_vec rs6000coff_vec rs6000coff64_vec"
+    targ_selvecs="bfd_elf64_powerpcle_vec bfd_elf32_powerpc_vec bfd_elf32_powerpcle_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec"
     want64=true
     ;;
   powerpc64le-*-elf* | powerpcle-*-elf64*)
     targ_defvec=bfd_elf64_powerpcle_vec
-    targ_selvecs="bfd_elf64_powerpc_vec bfd_elf32_powerpcle_vec bfd_elf32_powerpc_vec rs6000coff_vec rs6000coff64_vec"
+    targ_selvecs="bfd_elf64_powerpc_vec bfd_elf32_powerpcle_vec bfd_elf32_powerpc_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec"
     want64=true
     ;;
 #endif
diff --git a/bfd/ecoff.c b/bfd/ecoff.c
index 4349486..f85627d 100644
--- a/bfd/ecoff.c
+++ b/bfd/ecoff.c
@@ -3600,7 +3600,7 @@ ecoff_link_check_archive_element (bfd *abfd,
       EXTR esym;
       bfd_boolean def;
       const char *name;
-      bfd *subsbfd;
+      bfd *oldbfd;
       struct bfd_link_hash_entry *h;
 
       (*swap_ext_in) (abfd, (void *) ext_ptr, &esym);
@@ -3645,18 +3645,17 @@ ecoff_link_check_archive_element (bfd *abfd,
 	continue;
 
       /* Include this element.  */
-      subsbfd = NULL;
-      if (! (*info->callbacks->add_archive_element)
-					(info, abfd, name, &subsbfd))
+      oldbfd = abfd;
+      if (!(*info->callbacks
+	    ->add_archive_element) (info, abfd, name, &abfd))
 	goto error_return;
       /* Potentially, the add_archive_element hook may have set a
 	 substitute BFD for us.  */
-      if (subsbfd
+      if (abfd != oldbfd
 	  && !reread_ext_syms_and_strs (&symhdr, &external_ext_size, &esize,
-				&external_ext, &ssext, subsbfd, backend))
+					&external_ext, &ssext, abfd, backend))
 	goto error_return;
-      if (! ecoff_link_add_externals (subsbfd ? subsbfd : abfd, info,
-				external_ext, ssext))
+      if (! ecoff_link_add_externals (abfd, info, external_ext, ssext))
 	goto error_return;
 
       *pneeded = TRUE;
@@ -3733,7 +3732,6 @@ ecoff_link_add_archive_symbols (bfd *abfd, struct bfd_link_info *info)
       unsigned int file_offset;
       const char *name;
       bfd *element;
-      bfd *subsbfd;
 
       h = *pundef;
 
@@ -3820,13 +3818,10 @@ ecoff_link_add_archive_symbols (bfd *abfd, struct bfd_link_info *info)
       /* Unlike the generic linker, we know that this element provides
 	 a definition for an undefined symbol and we know that we want
 	 to include it.  We don't need to check anything.  */
-      subsbfd = NULL;
-      if (! (*info->callbacks->add_archive_element)
-					(info, element, name, &subsbfd))
+      if (!(*info->callbacks
+	    ->add_archive_element) (info, element, name, &element))
 	return FALSE;
-      /* Potentially, the add_archive_element hook may have set a
-	 substitute BFD for us.  */
-      if (! ecoff_link_add_object_symbols (subsbfd ? subsbfd : element, info))
+      if (! ecoff_link_add_object_symbols (element, info))
 	return FALSE;
 
       pundef = &(*pundef)->u.undef.next;
diff --git a/bfd/elf.c b/bfd/elf.c
index 075a668..0e7cd9a 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2082,6 +2082,7 @@ static const struct bfd_elf_special_section special_sections_f[] =
 static const struct bfd_elf_special_section special_sections_g[] =
 {
   { STRING_COMMA_LEN (".gnu.linkonce.b"), -2, SHT_NOBITS,      SHF_ALLOC + SHF_WRITE },
+  { STRING_COMMA_LEN (".gnu.lto_"),       -1, SHT_PROGBITS,    SHF_EXCLUDE },
   { STRING_COMMA_LEN (".got"),             0, SHT_PROGBITS,    SHF_ALLOC + SHF_WRITE },
   { STRING_COMMA_LEN (".gnu.version"),     0, SHT_GNU_versym,  0 },
   { STRING_COMMA_LEN (".gnu.version_d"),   0, SHT_GNU_verdef,  0 },
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 32575d9..6136a94 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -5011,7 +5011,6 @@ elf_link_add_archive_symbols (bfd *abfd, struct bfd_link_info *info)
 	{
 	  struct elf_link_hash_entry *h;
 	  bfd *element;
-	  bfd *subsbfd = NULL;
 	  struct bfd_link_hash_entry *undefs_tail;
 	  symindex mark;
 
@@ -5074,12 +5073,10 @@ elf_link_add_archive_symbols (bfd *abfd, struct bfd_link_info *info)
 
 	  undefs_tail = info->hash->undefs_tail;
 
-	  if (! (*info->callbacks->add_archive_element)
-				(info, element, symdef->name, &subsbfd))
+	  if (!(*info->callbacks
+		->add_archive_element) (info, element, symdef->name, &element))
 	    goto error_return;
-	  /* Potentially, the add_archive_element hook may have set a
-	     substitute BFD for us.  */
-	  if (! bfd_link_add_symbols (subsbfd ? subsbfd : element, info))
+	  if (!bfd_link_add_symbols (element, info))
 	    goto error_return;
 
 	  /* If there are any new undefined symbols, we need to make
diff --git a/bfd/linker.c b/bfd/linker.c
index fc52b51..2b52ba9 100644
--- a/bfd/linker.c
+++ b/bfd/linker.c
@@ -1223,20 +1223,18 @@ generic_link_check_archive_element (bfd *abfd,
 	{
 	  bfd_size_type symcount;
 	  asymbol **symbols;
-	  bfd *subsbfd = NULL;
+	  bfd *oldbfd = abfd;
 
 	  /* This object file defines this symbol, so pull it in.  */
-	  if (! (*info->callbacks->add_archive_element)
-				(info, abfd, bfd_asymbol_name (p), &subsbfd))
+	  if (!(*info->callbacks
+		->add_archive_element) (info, abfd, bfd_asymbol_name (p),
+					&abfd))
 	    return FALSE;
 	  /* Potentially, the add_archive_element hook may have set a
 	     substitute BFD for us.  */
-	  if (subsbfd)
-	    {
-	      abfd = subsbfd;
-	      if (!bfd_generic_link_read_symbols (abfd))
-		return FALSE;
-	    }
+	  if (abfd != oldbfd
+	      && !bfd_generic_link_read_symbols (abfd))
+	    return FALSE;
 	  symcount = _bfd_generic_link_get_symcount (abfd);
 	  symbols = _bfd_generic_link_get_symbols (abfd);
 	  if (! generic_link_add_symbol_list (abfd, info, symcount,
@@ -1257,12 +1255,12 @@ generic_link_check_archive_element (bfd *abfd,
 	  symbfd = h->u.undef.abfd;
 	  if (symbfd == NULL)
 	    {
-	      bfd *subsbfd = NULL;
 	      /* This symbol was created as undefined from outside
 		 BFD.  We assume that we should link in the object
 		 file.  This is for the -u option in the linker.  */
-	      if (! (*info->callbacks->add_archive_element)
-				(info, abfd, bfd_asymbol_name (p), &subsbfd))
+	      if (!(*info->callbacks
+		    ->add_archive_element) (info, abfd, bfd_asymbol_name (p),
+					    &abfd))
 		return FALSE;
 	      /* Potentially, the add_archive_element hook may have set a
 		 substitute BFD for us.  But no symbols are going to get
diff --git a/bfd/pdp11.c b/bfd/pdp11.c
index 08aab37..3821037 100644
--- a/bfd/pdp11.c
+++ b/bfd/pdp11.c
@@ -2601,8 +2601,8 @@ aout_link_check_ar_symbols (bfd *abfd,
 	     but not if it is defined in the .text section.  That
 	     seems a bit crazy to me, and I haven't implemented it.
 	     However, it might be correct.  */


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-12-08 15:56 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-12-08 15:56 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  6d10d6492fe95ecc02bda0b46076537203cb21aa (commit)
       via  b1463fe8242bc8a3ff48142ccf92a8c6848f59f9 (commit)
       via  a2c1503ec49af285b5d301ff6d47e34a17a152f7 (commit)
       via  8d84f1b4d57be1385c4c778e522edf6c4f2fa408 (commit)
       via  7c87f1bb2041e03818d3705f8719dad2a8c30d9b (commit)
       via  68db70f05288f15c45bd62a8de6e84677f0fb985 (commit)
       via  063caa6468033583e6ba78c8f88273de2c0ebb92 (commit)
       via  47ec54a885067d30025c3adeca6bb7859196d1c0 (commit)
       via  208f1fe14d05fae1b312d5c4f93d2fbcba7ec099 (commit)
       via  affaea642de48625e4f2c2c5f94e45da9d49a9d5 (commit)
       via  2575f0876960e6a2f687a3fa5ac9e78eb5c3bc41 (commit)
       via  10324b77c51dfcb388dfe6c73e4ba899c4299be0 (commit)
       via  3b8b668119f4e13c43e0b48a87d89bc2303433c6 (commit)
       via  e857f088aa2014034c13a16a6f3371a57121bb46 (commit)
       via  ef3577f3951ccfbe46a6eb8b27c1b97218639925 (commit)
       via  9c434f75aeaa0b00633c90e36295892c8c7effee (commit)
       via  bc0eec5df968522388fe1f429befbf0459309de1 (commit)
       via  13b6ef50481fcd848929b318b0a2c5778ef49f0c (commit)
       via  6198197160c73228157e2eba024db47a7c2c36f8 (commit)
       via  8c2f422d73fa741746eb4229dbcf1e7da06ff830 (commit)
       via  1c53376a468030ca605dcc68cba7cd2c3bc989ee (commit)
       via  45caa5ecada82820bbc97526012e5a273f14afe1 (commit)
       via  58721f002d34434cf546ceb8e84ab0074fcd02b4 (commit)
       via  67035de23cccb3b513bbb38f14233fc6137dd1f0 (commit)
       via  2d8421141d727a1fea5710ea2ecbe233059f5482 (commit)
       via  8e8cccf62c844a3e6c5bd4d83d17e8c9524a4a53 (commit)
       via  43bc0813e0971ead8195028935c804d707d97b0a (commit)
       via  8d09ceb05be685c540469d4a6b726c8eef3b3c72 (commit)
       via  609e018959c7aa390ea3aefdf360971ff1683335 (commit)
       via  250315712b8621a9d3ad400dfb4333f71564b21c (commit)
       via  ae4029a1b3a9b71bfa5311763201aeee4deebf9b (commit)
       via  a3d62c38050b4871fa20ba93e2fae0bd649f808f (commit)
       via  40b3754dd3c4e3773d584de01624b5896d1328a5 (commit)
       via  be9b6948c117e936c5e1c7c8f0ad75c662846b71 (commit)
      from  e95153a3c062f9df9b6dd9ea24fe10a83cbf5f7d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 6d10d6492fe95ecc02bda0b46076537203cb21aa
Merge: e95153a b1463fe
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Wed Dec 8 15:55:55 2010 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 COPYING.NEWLIB                           |   15 ++++++++++
 ChangeLog                                |   17 ++++++++++-
 bfd/ChangeLog                            |   17 +++++++++++
 bfd/Makefile.am                          |    2 +
 bfd/Makefile.in                          |   10 ++++--
 bfd/elflink.c                            |   45 ++++++++++++++++++------------
 bfd/plugin.c                             |    1 +
 bfd/version.h                            |    2 +-
 config/ChangeLog                         |   14 +++++++++
 config/lthostflags.m4                    |   33 ++++++++++++++++++++++
 config/mh-cygwin                         |    6 ++-
 config/mh-mingw                          |    6 ++-
 configure                                |   12 ++++----
 configure.ac                             |   12 ++++----
 gdb/ChangeLog                            |   24 ++++++++++++++++
 gdb/NEWS                                 |    5 +++
 gdb/configure.tgt                        |    4 +-
 gdb/doc/ChangeLog                        |    5 +++
 gdb/doc/gdb.texinfo                      |   10 ++++++
 gdb/dwarf2read.c                         |   13 ++------
 gdb/linespec.c                           |   23 ++++++++-------
 gdb/main.c                               |    5 +++
 gdb/mi/mi-parse.c                        |    2 +-
 gdb/testsuite/ChangeLog                  |   16 ++++++++++
 gdb/testsuite/gdb.base/call-sc.exp       |   30 ++++++++++---------
 gdb/testsuite/gdb.base/callfuncs.exp     |   12 +++++--
 gdb/testsuite/gdb.base/catch-syscall.exp |    4 +-
 gdb/testsuite/gdb.base/finish.exp        |    6 ++-
 gdb/testsuite/gdb.base/return.exp        |    5 ++-
 gdb/testsuite/gdb.base/return2.exp       |    8 +++--
 gdb/testsuite/gdb.python/lib-types.exp   |    3 --
 gdb/testsuite/gdb.python/py-pp-maint.exp |    3 --
 gdb/testsuite/lib/gdb-python.exp         |   18 ------------
 gdb/testsuite/lib/gdb.exp                |    2 +-
 gdb/version.in                           |    2 +-
 sim/m32c/ChangeLog                       |    4 ++
 sim/m32c/Makefile.in                     |   11 +++++--
 37 files changed, 290 insertions(+), 117 deletions(-)
 create mode 100644 config/lthostflags.m4

First 500 lines of diff:
diff --git a/COPYING.NEWLIB b/COPYING.NEWLIB
index 59687b6..7f90c7e 100644
--- a/COPYING.NEWLIB
+++ b/COPYING.NEWLIB
@@ -862,3 +862,18 @@ http://www.ti.com/
  THEORY OF  LIABILITY, WHETHER IN CONTRACT, STRICT  LIABILITY, OR TORT
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+(38) National Semiconductor (cr16-* and crx-* targets)
+
+Copyright (c) 2004 National Semiconductor Corporation
+
+The authors hereby grant permission to use, copy, modify, distribute,
+and license this software and its documentation for any purpose, provided
+that existing copyright notices are retained in all copies and that this
+notice is included verbatim in any distributions. No written agreement,
+license, or royalty fee is required for any of the authorized uses.
+Modifications to this software may be copyrighted by their authors
+and need not follow the licensing terms described here, provided that
+the new terms are clearly indicated on the first page of each file where
+they apply. 
+
diff --git a/ChangeLog b/ChangeLog
index 09dba95..fbe634e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2010-12-03  Hans-Peter Nilsson  <hp@axis.com>
+
+	PR libffi/46792
+	* configure.ac (cris-*-elf, crisv32-*-elf): Disable target-libffi.
+	* configure: Regenerate.
+
+2010-12-02  Ian Lance Taylor  <iant@google.com>
+
+	* configure.ac: Always set default for poststage1_ldflags to
+	-static-libstdc++ -static-libgcc.
+
+2010-12-02  Jeff Johnston  <jjohnstn@redhat.com>
+
+	* COPYING.NEWLIB: Add National Semiconductor notice.
+
 2010-11-29  Andreas Schwab  <schwab@redhat.com>
 
 	* configure.ac: Move comment to remove extra space in last argument
@@ -5,7 +20,7 @@
 
 2010-11-26  Alexandre Oliva  <aoliva@redhat.com>
 
-	PR other/46020
+	PR other/46026
 	* configure.ac (CXX_FOR_TARGET): Add -funconfigured-libstdc++-v3.
 	* Makefile.def (CXX_FOR_TARGET): Removed from flags_to_pass.
 	* Makefile.tpl (CXX_FOR_TARGET_FLAG_TO_PASS): New.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 20df60a..009a020 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,20 @@
+2010-12-06  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
+
+	PR ld/12288
+	* plugin.c (message): Add putchar for the trailing `\n'.
+
+2010-12-04  Mike Frysinger  <vapier@gentoo.org>
+
+	* Makefile.am (!INSTALL_LIBBFD/bfdinclude_HEADERS): Set to nothing.
+	(PLUGINS/bfdinclude_HEADERS): Append plugin-api.h.
+	* Makefile.in: Regenerated.
+
+2010-12-04  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12277
+	* elflink.c (elf_link_output_extsym): Set bfd_error on symbol
+	and section errors.  Allow better translation of error messages.
+
 2010-12-02  Richard Sandiford  <richard.sandiford@linaro.org>
 
 	* elf32-arm.c (elf32_arm_link_hash_table): Remove sgot, sgotplt,
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index da14d57..9c454cc 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -23,6 +23,7 @@ else !INSTALL_LIBBFD
 # Empty these so that the respective installation directories will not be created.
 bfdlibdir =
 bfdincludedir =
+bfdinclude_HEADERS =
 rpath_bfdlibdir = @bfdlibdir@
 noinst_LTLIBRARIES = libbfd.la
 libbfd_la_LDFLAGS += -rpath $(rpath_bfdlibdir)
@@ -33,6 +34,7 @@ NO_WERROR = @NO_WERROR@
 AM_CFLAGS = $(WARN_CFLAGS)
 AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
 if PLUGINS
+bfdinclude_HEADERS += $(INCDIR)/plugin-api.h
 LIBDL = -ldl
 endif
 
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index c452dd7..2cbf6a0 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -38,6 +38,7 @@ build_triplet = @build@
 host_triplet = @host@
 target_triplet = @target@
 @INSTALL_LIBBFD_FALSE@am__append_1 = -rpath $(rpath_bfdlibdir)
+@PLUGINS_TRUE@am__append_2 = $(INCDIR)/plugin-api.h
 subdir = .
 DIST_COMMON = README ChangeLog $(srcdir)/Makefile.in \
 	$(srcdir)/Makefile.am $(top_srcdir)/configure \
@@ -136,8 +137,8 @@ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
 	install-pdf-recursive install-ps-recursive install-recursive \
 	installcheck-recursive installdirs-recursive pdf-recursive \
 	ps-recursive uninstall-recursive
-am__bfdinclude_HEADERS_DIST = bfd.h $(INCDIR)/ansidecl.h \
-	$(INCDIR)/symcat.h $(INCDIR)/bfdlink.h
+am__bfdinclude_HEADERS_DIST = $(INCDIR)/plugin-api.h bfd.h \
+	$(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h
 HEADERS = $(bfdinclude_HEADERS)
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
   distclean-recursive maintainer-clean-recursive
@@ -327,7 +328,10 @@ bfddocdir = doc
 libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \
 	@SHARED_LDFLAGS@ $(am__empty)
 @INSTALL_LIBBFD_TRUE@bfdlib_LTLIBRARIES = libbfd.la
-@INSTALL_LIBBFD_TRUE@bfdinclude_HEADERS = $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h
+@INSTALL_LIBBFD_FALSE@bfdinclude_HEADERS = $(am__append_2)
+@INSTALL_LIBBFD_TRUE@bfdinclude_HEADERS = $(BFD_H) \
+@INSTALL_LIBBFD_TRUE@	$(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
+@INSTALL_LIBBFD_TRUE@	$(INCDIR)/bfdlink.h $(am__append_2)
 @INSTALL_LIBBFD_FALSE@rpath_bfdlibdir = @bfdlibdir@
 @INSTALL_LIBBFD_FALSE@noinst_LTLIBRARIES = libbfd.la
 AM_CFLAGS = $(WARN_CFLAGS)
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 590e324..32575d9 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -8643,6 +8643,7 @@ elf_link_output_extsym (struct elf_link_hash_entry *h, void *data)
 		  h->ref_regular ? NULL : h->root.u.undef.abfd,
 		  NULL, 0, finfo->info->unresolved_syms_in_shared_libs == RM_GENERATE_ERROR)))
 	    {
+	      bfd_set_error (bfd_error_bad_value);
 	      eoinfo->failed = TRUE;
 	      return FALSE;
 	    }
@@ -8659,16 +8660,21 @@ elf_link_output_extsym (struct elf_link_hash_entry *h, void *data)
       && !h->dynamic_weak
       && ! elf_link_check_versioned_symbol (finfo->info, bed, h))
     {
-      (*_bfd_error_handler)
-	(_("%B: %s symbol `%s' in %B is referenced by DSO"),
-	 finfo->output_bfd,
-	 h->root.u.def.section == bfd_abs_section_ptr
-	 ? finfo->output_bfd : h->root.u.def.section->owner,
-	 ELF_ST_VISIBILITY (h->other) == STV_INTERNAL
-	 ? "internal"
-	 : ELF_ST_VISIBILITY (h->other) == STV_HIDDEN
-	 ? "hidden" : "local",
-	 h->root.root.string);
+      bfd *def_bfd;
+      const char *msg;
+
+      if (ELF_ST_VISIBILITY (h->other) == STV_INTERNAL)
+	msg = _("%B: internal symbol `%s' in %B is referenced by DSO");
+      else if (ELF_ST_VISIBILITY (h->other) == STV_HIDDEN)
+	msg = _("%B: hidden symbol `%s' in %B is referenced by DSO");
+      else
+	msg = _("%B: local symbol `%s' in %B is referenced by DSO");
+      def_bfd = finfo->output_bfd;
+      if (h->root.u.def.section != bfd_abs_section_ptr)
+	def_bfd = h->root.u.def.section->owner;
+      (*_bfd_error_handler) (msg, finfo->output_bfd, def_bfd,
+			     h->root.root.string);
+      bfd_set_error (bfd_error_bad_value);
       eoinfo->failed = TRUE;
       return FALSE;
     }
@@ -8753,6 +8759,7 @@ elf_link_output_extsym (struct elf_link_hash_entry *h, void *data)
 		(*_bfd_error_handler)
 		  (_("%B: could not find output section %A for input section %A"),
 		   finfo->output_bfd, input_sec->output_section, input_sec);
+		bfd_set_error (bfd_error_nonrepresentable_section);
 		eoinfo->failed = TRUE;
 		return FALSE;
 	      }
@@ -8870,14 +8877,16 @@ elf_link_output_extsym (struct elf_link_hash_entry *h, void *data)
       && h->root.type == bfd_link_hash_undefined
       && !h->def_regular)
     {
-      (*_bfd_error_handler)
-	(_("%B: %s symbol `%s' isn't defined"),
-	 finfo->output_bfd,
-	 ELF_ST_VISIBILITY (sym.st_other) == STV_PROTECTED
-	 ? "protected"
-	 : ELF_ST_VISIBILITY (sym.st_other) == STV_INTERNAL
-	 ? "internal" : "hidden",
-	 h->root.root.string);
+      const char *msg;
+
+      if (ELF_ST_VISIBILITY (sym.st_other) == STV_PROTECTED)
+	msg = _("%B: protected symbol `%s' isn't defined");
+      else if (ELF_ST_VISIBILITY (sym.st_other) == STV_INTERNAL)
+	msg = _("%B: internal symbol `%s' isn't defined");
+      else
+	msg = _("%B: hidden symbol `%s' isn't defined");
+      (*_bfd_error_handler) (msg, finfo->output_bfd, h->root.root.string);
+      bfd_set_error (bfd_error_bad_value);
       eoinfo->failed = TRUE;
       return FALSE;
     }
diff --git a/bfd/plugin.c b/bfd/plugin.c
index a46bf90..61cd687 100644
--- a/bfd/plugin.c
+++ b/bfd/plugin.c
@@ -78,6 +78,7 @@ message (int level ATTRIBUTE_UNUSED,
   va_start (args, format);
   printf ("bfd plugin: ");
   vprintf (format, args);
+  putchar ('\n');
   va_end (args);
   return LDPS_OK;
 }
diff --git a/bfd/version.h b/bfd/version.h
index 281aec9..684eafa 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20101202
+#define BFD_VERSION_DATE 20101208
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/config/ChangeLog b/config/ChangeLog
index 8e98f6d..83eab40 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,17 @@
+2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+	PR target/40125
+	PR lto/46695
+	* lthostflags.m4: New file.
+	(ACX_LT_HOST_FLAGS): Define.
+
+2010-12-02  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+	* mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.
+	(BOOT_LDFLAGS): Add matching stack size flag.
+	* mh-mingw (LDFLAGS): Likewise.
+	(BOOT_LDFLAGS): Likewise.
+
 2010-11-27  Eric Botcazou  <ebotcazou@adacore.com>
 
 	* bootstrap-lto.mk (BOOT_ADAFLAGS): Delete.
diff --git a/config/lthostflags.m4 b/config/lthostflags.m4
new file mode 100644
index 0000000..bc0f59e
--- /dev/null
+++ b/config/lthostflags.m4
@@ -0,0 +1,33 @@
+dnl Copyright (C) 2010 Free Software Foundation, Inc.
+dnl This file is free software, distributed under the terms of the GNU
+dnl General Public License.  As a special exception to the GNU General
+dnl Public License, this file may be distributed as part of a program
+dnl that contains a configuration script generated by Autoconf, under
+dnl the same distribution terms as the rest of that program.
+
+dnl usage: ACX_LT_HOST_FLAGS([default_flags])
+dnl Defines and AC_SUBSTs lt_host_flags
+
+
+AC_DEFUN([ACX_LT_HOST_FLAGS], [
+AC_REQUIRE([AC_CANONICAL_SYSTEM])
+
+case $host in
+  *-cygwin* | *-mingw*)
+    # 'host' will be top-level target in the case of a target lib,
+    # we must compare to with_cross_host to decide if this is a native
+    # or cross-compiler and select where to install dlls appropriately.
+    if test -n "$with_cross_host" &&
+	test x"$with_cross_host" != x"no"; then
+      lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
+    else
+      lt_host_flags='-no-undefined -bindir "$(bindir)"';
+    fi
+    ;;
+  *)
+    lt_host_flags=[$1]
+    ;;
+esac
+
+AC_SUBST(lt_host_flags)
+])
diff --git a/config/mh-cygwin b/config/mh-cygwin
index 3a9698b..e3f7325 100644
--- a/config/mh-cygwin
+++ b/config/mh-cygwin
@@ -1,8 +1,10 @@
 EXTRA_TARGET_HOST_ALL_MODULES=maybe-all-libtermcap
 EXTRA_TARGET_HOST_INSTALL_MODULES=maybe-install-libtermcap
 
-# Increase stack limit to same as Linux default.
-LDFLAGS += -Wl,--stack,8388608
+# Increase stack limit to a figure based on the Linux default, with 4MB added
+# as GCC turns out to need that much more to pass all the limits-* tests.
+LDFLAGS += -Wl,--stack,12582912
+BOOT_LDFLAGS += -Wl,--stack,12582912
 
 all-gdb: maybe-all-libtermcap
 
diff --git a/config/mh-mingw b/config/mh-mingw
index d91323e..bc1d274 100644
--- a/config/mh-mingw
+++ b/config/mh-mingw
@@ -2,5 +2,7 @@
 # Vista (see PR33281 for details).
 BOOT_CFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format
 CFLAGS += -D__USE_MINGW_ACCESS
-# Increase stack limit to same as Linux default.
-LDFLAGS += -Wl,--stack,8388608
+# Increase stack limit to a figure based on the Linux default, with 4MB added
+# as GCC turns out to need that much more to pass all the limits-* tests.
+LDFLAGS += -Wl,--stack,12582912
+BOOT_LDFLAGS += -Wl,--stack,12582912
diff --git a/configure b/configure
index 6833413..6dde71a 100755
--- a/configure
+++ b/configure
@@ -3247,8 +3247,8 @@ case "${target}" in
       *-*-aout)
 	unsupported_languages="$unsupported_languages fortran"
 	noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
-      *-*-elf)
-	noconfigdirs="$noconfigdirs target-boehm-gc";;
+      *-*-elf) # See PR46792 regarding target-libffi.
+	noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
       *-*-linux*)
 	noconfigdirs="$noconfigdirs target-newlib target-libgloss";;
       *)
@@ -5606,10 +5606,10 @@ if test "${with_boot_ldflags+set}" = set; then :
  fi
 else
   poststage1_ldflags=
- # With --enable-build-with-cxx, default to linking libstdc++ and
- # libgcc statically.  But if the user explicitly specified the
- # libraries to use, trust that they are doing what they want.
- if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then
+ # In stages 2 and 3, default to linking libstdc++ and libgcc
+ # statically.  But if the user explicitly specified the libraries to
+ # use, trust that they are doing what they want.
+ if test "$poststage1_libs" = ""; then
    poststage1_ldflags="-static-libstdc++ -static-libgcc"
  fi
 fi
diff --git a/configure.ac b/configure.ac
index 65c0a74..fcf5ba2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -707,8 +707,8 @@ case "${target}" in
       *-*-aout)
 	unsupported_languages="$unsupported_languages fortran"
 	noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
-      *-*-elf)
-	noconfigdirs="$noconfigdirs target-boehm-gc";;
+      *-*-elf) # See PR46792 regarding target-libffi.
+	noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
       *-*-linux*)
 	noconfigdirs="$noconfigdirs target-newlib target-libgloss";;
       *)
@@ -1561,10 +1561,10 @@ AC_ARG_WITH(boot-ldflags,
    poststage1_ldflags=$withval
  fi],
 [poststage1_ldflags=
- # With --enable-build-with-cxx, default to linking libstdc++ and
- # libgcc statically.  But if the user explicitly specified the
- # libraries to use, trust that they are doing what they want.
- if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then
+ # In stages 2 and 3, default to linking libstdc++ and libgcc
+ # statically.  But if the user explicitly specified the libraries to
+ # use, trust that they are doing what they want.
+ if test "$poststage1_libs" = ""; then
    poststage1_ldflags="-static-libstdc++ -static-libgcc"
  fi])
 AC_SUBST(poststage1_ldflags)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2abbdf9..6611a84 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,27 @@
+2010-12-07  Doug Evans  <dje@google.com>
+
+	* dwarf2read.c (dw2_lookup_symtab): Remove duplicate call to
+	gdb_realpath.
+
+	PR python/12227
+	* NEWS: Mention -data-directory.
+	* main.c (captured_main): Recognize -data-directory.
+
+2010-12-06  Marc Khouzam  <marc.khouzam@ericsson.com>
+
+	* mi/mi-parse.c (mi_parse): Missing else.
+
+2010-12-04  Masaki Muranaka  <monaka@monami-software.com>
+
+	* configure.tgt: Accept microblaze*-*-linux* for linux target
+	and microblaze*-*-* for  as target.
+
+2010-12-02  Keith Seitz  <keiths@redhat.com>
+
+	* linespec.c (find_method): Move name canonicalization outside
+	the loop.
+	Be paranoid and use a cleanup.
+
 2010-12-01  Doug Evans  <dje@google.com>
 
 	* dwarf2read.c (save_gdb_index_command): Add comment.
diff --git a/gdb/NEWS b/gdb/NEWS
index f1efcd2..9dfb249 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,11 @@
 
 *** Changes since GDB 7.2
 
+* New command line options
+
+-data-directory DIR	Specify DIR as the "data-directory".
+			This is mostly for testing purposes.
+
 * GDB has a new command: "set directories".
   It is like the "dir" command except that it replaces the
   source path list instead of augmenting it.
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 24a6bf9..161cbdc 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -317,14 +317,14 @@ mep-*-*)
 	# No sim needed. Target uses SID.
 	;;
 
-microblaze*-linux-*)
+microblaze*-linux-*|microblaze*-*-linux*)
 	# Target: Xilinx MicroBlaze running Linux
 	gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o microblaze-rom.o \
 			monitor.o dsrec.o solib.o solib-svr4.o corelow.o \
 			symfile-mem.o linux-tdep.o"
 	gdb_sim=../sim/microblaze/libsim.a
 	;;
-microblaze*-xilinx-*)
+microblaze*-*-*)
 	# Target: Xilinx MicroBlaze running standalone
 	gdb_target_obs="microblaze-tdep.o microblaze-rom.o monitor.o dsrec.o"
 	gdb_sim=../sim/microblaze/libsim.a
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 6b4f2bb..c1d0e1c 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-07  Doug Evans  <dje@google.com>
+
+	* gdb.texinfo (Mode Options): Document -data-directory.
+	(Data Files): Add reference to -data-directory.
+
 2010-11-29  Doug Evans  <dje@google.com>
 
 	* gdb.texinfo (Pretty-Printer Introduction): Change
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 422812c..dc9630a 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -1111,6 +1111,12 @@ used if possible.
 Run @value{GDBN} using @var{directory} as its working directory,
 instead of the current directory.
 
+@item -data-directory @var{directory}
+@cindex @code{--data-directory}
+Run @value{GDBN} using @var{directory} as its data directory.
+The data directory is where @value{GDBN} searches for its
+auxiliary files.  @xref{Data Files}.
+
 @item -fullname
 @itemx -f
 @cindex @code{--fullname}
@@ -15598,6 +15604,10 @@ You can set the default data directory by using the configure-time
 automatically if the installed @value{GDBN} is moved to a new
 location.
 
+The data directory may also be specified with the
+@code{--data-directory} command line option.
+@xref{Mode Options}.
+
 @node Targets
 @chapter Specifying a Debugging Target
 
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 31a08a7..1cc5258 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-12-02 15:47 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-12-02 15:47 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  82687b9d81b51ee9e331ff8313b154bbb4a65f5b (commit)
       via  bf55fc65300668210defd040346ccb97572fbbf5 (commit)
       via  0e3bd63abac1bf727c4ee3e1bb19a51478d8f26e (commit)
       via  dd7fa16627e6a20d07cd28f76d8e75b9f6859f2c (commit)
       via  3a50499e5622e8367b5c9c198c413e81fa16762d (commit)
       via  459e7811f623ac06f660a24ba7de0d59e19b8c2d (commit)
       via  b1f76c17d2109a25df532f640649c40258e88c28 (commit)
       via  b6119e4c53e0bcf363b0a4c94f0f2ad610311ad9 (commit)
       via  1153e77e8c6b91750247cf178b37d3220fa7021c (commit)
       via  b5f803c02471fe84a46832837c260297a6a326b8 (commit)
       via  ae2216f8dc8476759f74a590c9d5dcf71079d9cb (commit)
       via  b6f9421c247b6719cf55d5c39035d1df94194ebe (commit)
       via  cb995e236d1c599ac3d488c83b0ca5764ed0aeb5 (commit)
       via  78e9675f6783611aab8b4e94e046e95c4a18b2ea (commit)
       via  3e8ef87fbbea3c9862f697fa1a29766f18617232 (commit)
       via  85c05a4bbc86c4757e0b8a76a2bfd43e80d800ed (commit)
       via  d712a8cd14ef424c3375c4288d4a78f4ecc4166d (commit)
       via  5a9fa87006fc0437a80a99e7029e602c0a3a30c3 (commit)
       via  83520a07e6de31319c8ebce35d7ef9ea8abde0b5 (commit)
       via  904b05782deb53da93b07a60b70193b5a80f6d40 (commit)
       via  d3bf95b7dcbba0d0b07a51c616e195e55554ae02 (commit)
       via  c81a691b89389250cd099d1a3f23d852a1ad755c (commit)
       via  e012eb4d0574f51690879f3f7d22b97624751f1d (commit)
       via  f436a264c48a1c9af4df3ce44f5a4a2b3baf9491 (commit)
       via  c1ba9992999df7398c4ecd1b5c5fd2744a94b698 (commit)
       via  3d2e431c087213db1819fd1f79ec6f1615bb11b2 (commit)
       via  7c77df928722862f8a421fa01d7d130536fcda28 (commit)
       via  6b6d9dcf6b372f1621d66cfac6db16446db16cc4 (commit)
       via  093e1a0ee6293f32388b272727b72252d3b61434 (commit)
       via  a620bea1c18806dbb70d4edfc53bf2780bdd3df4 (commit)
       via  35eab7192e80a85ccaabc3f0e69e818b211668dd (commit)
       via  991bb59f8b9ac560375ab4c88008f93a623658ef (commit)
       via  700fddc9194d10d401750892a591a40e931c0aca (commit)
       via  835fbceccdda29447944bbab66776d21c6d2d0cf (commit)
       via  2aba9ea677658117faded40e8f1c6fb330917ab9 (commit)
       via  b8e1362dfeb4d6b60a43c94fd4aa8907e213e25b (commit)
       via  accc40197410a941c8204c6df41567c16f0a33dc (commit)
       via  177ab22bbe9f6d7bb3ae7a9cba41e72ea9ea6c93 (commit)
       via  71fc13a56b65aea77ee1317df8ac83a5b86f55b8 (commit)
       via  f09e6dcfbbda0f7246fbf3a810e24887d1e568f0 (commit)
       via  6f8883e65614cae34cc7a9eb29fb9d3528c9cc85 (commit)
       via  a24ff2e26f4da78f60bd5aa5b7f87df2fb11ca82 (commit)
       via  c86ddad3a712a517ccdfbdb6c90cc03809e8b75b (commit)
       via  7adb23486304cc019107f471d8244af795b051bb (commit)
       via  89d9534b624f4f720b6220d2f9ab30edae799a82 (commit)
       via  f7695626f4b7194ce9641c157f102c202b69925e (commit)
       via  39ce3341012e276568acbd9fdf3edd24adbb0908 (commit)
       via  a313658be3a7cd02ace023336e5b3ea8a743aa7d (commit)
       via  f9a30507f9f3627079c1780d91a3e1da89f6a9a7 (commit)
       via  e2c83c617157ec06dc3e76751b39e013584b2dd4 (commit)
       via  5cf7563464e78052c620347f938ca42545c4cf9d (commit)
       via  16072ec1dd19fe5e5c617db032ba8753e0b2b386 (commit)
       via  e055e88cae3798e2d6b0f8e701ca2e7146d92cc9 (commit)
       via  5f23ff1059b86f13a502e8bf7a4c3aab124dd3b0 (commit)
       via  593e09637f44612fe086029d32d8453ba75040b5 (commit)
       via  b070b0107a8b4b5cb7fbacda9b7e3d089deec1e7 (commit)
       via  e4af494a33d4e5f578c6c0750638a350c79df2a8 (commit)
       via  8b67714783a8b60c04a24d838cf6c50ddd60cf23 (commit)
       via  c281b56cc2d7ea0605b7923173a78f035d38ffd4 (commit)
       via  3fc7d264201681748647d014da65d380d05c2dba (commit)
       via  39727e36ab29517fed8cb16ed0e2aaa79cb6f6f4 (commit)
       via  3e9577a3f26567026aa5586abf2bc27f0823f244 (commit)
       via  04e6c5faf49a7064d59f1a0f068aee524dd022bc (commit)
       via  11ac5e7119e50062f24458ad2797b25dbc4a93f6 (commit)
       via  972d3868050ac286a42db710a269a4629f554e6f (commit)
       via  64fc52e7842e462ad8a0366aa8302c2403f3d56b (commit)
       via  cf9266e4aba69774199be4c1772f42ed3f71af28 (commit)
       via  583382853d3785b95f0f884613a9983d9d5976f0 (commit)
       via  040e6378851e55009a384a29e3e6fd30d0b21144 (commit)
       via  8644bcf4e1ea08fa10b8921abbb3e8967d618029 (commit)
       via  e885e909e9fdf7e467f287f26d5937346e7be972 (commit)
       via  b678aa61bbede33bffb21d1488c4865ea331b102 (commit)
       via  855894ae790aac1e57dfc1fe8518855c2477fb9a (commit)
       via  3d81451aabc6ef8a122269afdc1440d4661c1732 (commit)
       via  d8d0d782ba2ecf92f27a8998d1e420598d42b22f (commit)
       via  23f09e1ff96133c8b9816cf74bca30c443b48275 (commit)
       via  de2b84a059ad39ec7e20b946c21b57e4c01a88c7 (commit)
       via  615974baac8d724eabe2cfedfc3dd62699adee82 (commit)
       via  6c8a0aee8c8a7ca0d12f45dbd63028bce335f4b1 (commit)
       via  197ed1878baf51c6fe8d95491ad427676846fc79 (commit)
       via  8c45ad8c62da1ef803ce581fb9042235f7137c93 (commit)
       via  bb90878e4562bd391465e507479b4fb213bd6af8 (commit)
       via  4603a5b5dc15bbffcc7812b67e0ad6351b700625 (commit)
       via  415f09bd7cb0725648e5466e37dd2d69ecdc0d25 (commit)
       via  2f5f9b1fcdf40195d6a61f1a65821ad4b1edbbc6 (commit)
       via  57a6cbb76ff935e121f9aa53a8990efaec1e7425 (commit)
       via  7a11e9bd3b139eb44ee7d42768e787ef8ca78fd3 (commit)
       via  d1fc604b415ca3131317a756b367ea897e0429ba (commit)
       via  13c4c9e3f9bc987f086d1915f390463cb0cb2694 (commit)
       via  91744bbf499d9ba21d1b37c4b1f579466025c120 (commit)
       via  9f2350f5bdd0bb74d9cf5bbca93bb8c629de0563 (commit)
       via  346b48e584fe2f29eb42a911b7a1f75b78de76b5 (commit)
       via  3bdfa178f9adcd5c17982beabd2ce29bb95ac406 (commit)
       via  9fddf5efe24f5845290b57e9f5d7c6fc18cccfc8 (commit)
       via  b8a1b776cab8fae3c84fb81b9612be3551d40528 (commit)
       via  18d38d40f28cb3f1c8b8c8c06c34686ebcbbfb03 (commit)
       via  9ab5dfcc43387a69d321dc5bb7164458d70343cf (commit)
       via  9616aab5db4d77f873cf23e2cbc3202aa70b13a9 (commit)
       via  c4428a8156c05d6d4fba4b320b1d189e3ee2f51b (commit)
       via  062bf169ea520e1df44d8be481d20980a6434688 (commit)
       via  f1be2183671500f038d5b2f306cb679f8ed40edc (commit)
       via  9111ab394243391043003312d4ffabcb32d6d9b0 (commit)
       via  91ae9167fecccf168d504c0d392a12fd20b55e24 (commit)
       via  4ea975cacd5fc8294f794ffe0efd3a7dcd096a5f (commit)
       via  10577ce572a9daca27e01b18989adf11fa311d16 (commit)
       via  b34773ff57ea50fb048666b5c5911ceff63ffe2e (commit)
       via  4a90afa09837546b165e96237eb1aec193d3af1f (commit)
       via  027ba3cf6c89accc0b4cf2a3e879d2deb2d86d57 (commit)
       via  a9844f83c0d32f1c7cdb4b1b391ce1931f5df31c (commit)
       via  7850396a466baacc66a0bea032a62e3292d1f45c (commit)
       via  b2055d0efdde2d42d0e225b8b1cf3a83bde37909 (commit)
       via  92d8796f2aa0ca266ee6f1712ff36114812a68bb (commit)
       via  3058f5862f1d4cd76f4274e94f0f6167753458ec (commit)
       via  03fe07839e8255e7d8b167503de6098487fd8209 (commit)
       via  d19aa4cdcb58fcd413e52b13f2ef8d2a10f2ca07 (commit)
       via  013fb3f4708bfd4abaa7d23ed7d4686e8d2b0951 (commit)
       via  8cc0c2627794bae027ad150b788e54a589418414 (commit)
       via  a76ad177c4b4612438364ac4f469c2ef956b3ed8 (commit)
       via  2ed409cb3f9525381b01e66193036f0cebe9b241 (commit)
       via  6db9963f5b0883efe02478fa1bfec4c1fd2fcadf (commit)
       via  187ef33d1d9eeb5f5f1ba2c0477251d5ec4c2767 (commit)
       via  8e903e74ea8b8a39cb8f99dd784a95619bdb0ae6 (commit)
       via  fe12b092e5f0085281ce09e94c541ea2eeb8e4e4 (commit)
       via  fa5655a7be2021f47987cd41832e24f509cb22f2 (commit)
       via  ccae871af2e5963b0b6d5467a41982f7f218875b (commit)
       via  83ef38220fa6a963e11b592dc63fe5ff540fcbf1 (commit)
       via  b3dc839d953520a1e4b2a66425e5c589475cec4d (commit)
       via  f4160a60204da977af41ce5cc984af76a0b96e65 (commit)
       via  35e427b76abcbcbf3faa7be78828a900777476e3 (commit)
       via  479d34415d438cb903b03495d21024f7a0d2bb38 (commit)
       via  4da0884073e5a4e464eed13293fb4458255d8dd7 (commit)
       via  dd80b3ebfaae70b2fb34cc0a92348a272e6cc848 (commit)
       via  603686b32e907e5a2f6761e2633c6a3937128c07 (commit)
       via  5097cdcc3758b39b213555d944e995c57531004c (commit)
       via  1f3223243cb9dce65d15e485eb7b10c3c29b3e0e (commit)
       via  91e77a2dadfcc2da238145c8f7538e1bf60cd893 (commit)
       via  1fbfe5836f6cb33edb0d232ba145ccd52c359b7e (commit)
       via  95aa50e02997e2c95e342adb6895bda63bf89bac (commit)
       via  94607e51af04ec6ee708c55239cdeb78c7d41df0 (commit)
       via  e8b212e21800a12661936e7a943c7daa9d1088a7 (commit)
       via  97060a82bac95c43b0ad497fa1313b5ca59c3d00 (commit)
       via  e15d3f1e9a9e0373291f0f8ca8420ca3fc749ba2 (commit)
       via  1b080e5c812a10d012790f79eefbf638de75ccd1 (commit)
       via  774ffe9e9d84a0ff884bb2b21d97c8f915c5152e (commit)
       via  550202613b8b567107580a062f418947b689e1ed (commit)
       via  787ced139be0421e8c5e0fbfe7ff5429d8b67601 (commit)
       via  dcca8d3dfdd4166e3192214edb8e04dca236731f (commit)
       via  0c775a6234f13a97229cc0bcebeb73f0cafa9d9d (commit)
       via  1afa9b4c79b59bf187f6629e31cafb85f4e445c6 (commit)
       via  9f2a4c761ef976fdfb4f577965f533ece6ae5fbd (commit)
      from  84d75e8311a875434bde397c4ab5229b0d101609 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 82687b9d81b51ee9e331ff8313b154bbb4a65f5b
Merge: 84d75e8 bf55fc6
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Thu Dec 2 15:47:35 2010 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 .gitignore                                         |   40 +
 ChangeLog                                          |  144 +
 Makefile.def                                       |   19 +-
 Makefile.in                                        | 2549 +++++++++++-
 Makefile.tpl                                       |   93 +-
 bfd/ChangeLog                                      |   97 +-
 bfd/Makefile.am                                    |    2 +
 bfd/Makefile.in                                    |    3 +
 bfd/archive.c                                      |   13 +-
 bfd/config.bfd                                     |    4 +-
 bfd/cpu-mips.c                                     |    2 +
 bfd/elf-eh-frame.c                                 |   34 +-
 bfd/elf32-arm.c                                    |  304 +-
 bfd/elf32-avr.c                                    |   43 -
 bfd/elf32-bfin.c                                   |   24 +-
 bfd/elfxx-mips.c                                   |    8 +-
 bfd/pdp11.c                                        |    4 +-
 bfd/po/es.po                                       | 3994 +++++++++++++-----
 bfd/po/fi.po                                       | 4053 +++++++++++++-----
 bfd/po/fr.po                                       | 3988 +++++++++++++-----
 bfd/po/ja.po                                       | 4464 ++++++++++++++------
 bfd/po/zh_CN.po                                    |    2 +-
 bfd/version.h                                      |    2 +-
 bfd/vms-lib.c                                      |   40 +-
 config-ml.in                                       |   18 +-
 config/ChangeLog                                   |   38 +
 config/bootstrap-lto.mk                            |    7 +-
 config/cloog.m4                                    |  286 ++
 config/{mh-ppc-darwin => mh-darwin}                |    0
 configure                                          |  720 +++-
 configure.ac                                       |  236 +-
 etc/ChangeLog                                      |    4 +
 etc/Makefile.in                                    |    2 +-
 gdb/ChangeLog                                      |  458 ++
 gdb/Makefile.in                                    |   22 +-
 gdb/NEWS                                           |    6 +
 gdb/ada-lang.c                                     |  127 +-
 gdb/ada-lang.h                                     |    3 +-
 gdb/ada-tasks.c                                    |   19 +-
 gdb/ada-typeprint.c                                |    7 +-
 gdb/alpha-tdep.c                                   |    2 +-
 gdb/arm-linux-tdep.c                               |    5 +-
 gdb/arm-tdep.c                                     |    3 +-
 gdb/breakpoint.c                                   |    8 +-
 gdb/breakpoint.h                                   |    8 +-
 gdb/c-lang.c                                       |   15 +-
 gdb/configure                                      |   11 +-
 gdb/configure.ac                                   |    7 +-
 gdb/cp-valprint.c                                  |    8 +
 gdb/data-directory/Makefile.in                     |    4 +-
 gdb/defs.h                                         |    4 -
 gdb/dictionary.c                                   |   42 +-
 gdb/dictionary.h                                   |    8 +-
 gdb/doc/ChangeLog                                  |   41 +
 gdb/doc/Makefile.in                                |   21 +-
 gdb/doc/configure                                  | 3064 --------------
 gdb/doc/configure.ac                               |    9 -
 gdb/doc/gdb.texinfo                                |   99 +-
 gdb/dummy-frame.c                                  |   13 +-
 gdb/dummy-frame.h                                  |    4 +-
 gdb/dwarf2-frame.c                                 |   10 +
 gdb/dwarf2expr.c                                   |   31 +
 gdb/dwarf2expr.h                                   |   22 +-
 gdb/dwarf2loc.c                                    |  291 ++-
 gdb/dwarf2loc.h                                    |   11 +-
 gdb/dwarf2read.c                                   |  170 +-
 gdb/elfread.c                                      |   10 +-
 gdb/exceptions.c                                   |    5 +-
 gdb/fbsd-nat.c                                     |    4 +-
 gdb/gdb-add-index.sh                               |   29 -
 gdb/gdbserver/ChangeLog                            |    4 +
 gdb/gdbserver/linux-low.c                          |    2 +-
 gdb/gdbthread.h                                    |  144 +-
 gdb/infcall.c                                      |   42 +-
 gdb/infcmd.c                                       |   74 +-
 gdb/inferior.c                                     |    2 +-
 gdb/inferior.h                                     |   69 +-
 gdb/infrun.c                                       |  565 ++--
 gdb/jv-valprint.c                                  |    8 +
 gdb/linux-nat.c                                    |   12 +-
 gdb/mi/mi-interp.c                                 |    4 +-
 gdb/mi/mi-main.c                                   |   31 +-
 gdb/mips-irix-tdep.c                               |   40 +
 gdb/mips-tdep.c                                    |    2 +-
 gdb/opencl-lang.c                                  |   39 +
 gdb/p-valprint.c                                   |    8 +
 gdb/procfs.c                                       |    4 +-
 gdb/psymtab.c                                      |   19 +-
 gdb/python/lib/gdb/command/pretty_printers.py      |   10 +-
 gdb/python/lib/gdb/printing.py                     |   10 +-
 gdb/python/py-breakpoint.c                         |   25 +-
 gdb/python/py-inferior.c                           |    3 +
 gdb/python/py-prettyprint.c                        |   90 +-
 gdb/python/py-utils.c                              |   19 +
 gdb/python/python-internal.h                       |   18 +-
 gdb/python/python.c                                |   13 +
 gdb/ravenscar-sparc-thread.c                       |    2 +-
 gdb/ravenscar-thread.c                             |   44 +-
 gdb/rs6000-tdep.c                                  |  151 +-
 gdb/solib-irix.c                                   |   10 +-
 gdb/solib-osf.c                                    |   10 +-
 gdb/solib-spu.c                                    |    4 +-
 gdb/solib-sunos.c                                  |   10 +-
 gdb/solib-svr4.c                                   |   10 +-
 gdb/spu-tdep.c                                     |    2 +-
 gdb/symfile.c                                      |   79 +-
 gdb/symfile.h                                      |   10 +-
 gdb/testsuite/ChangeLog                            |  101 +
 gdb/testsuite/gdb.arch/system-gcore.exp            |   21 +-
 gdb/testsuite/gdb.asm/asm-source.exp               |   44 +-
 gdb/testsuite/gdb.asm/powerpc.inc                  |    6 +-
 .../gdb.asm/{powerpc.inc => powerpc64.inc}         |   37 +-
 gdb/testsuite/gdb.base/break-entry.exp             |   14 +
 gdb/testsuite/gdb.base/call-ar-st.exp              |   50 +-
 gdb/testsuite/gdb.base/funcargs.exp                |  379 +-
 gdb/testsuite/gdb.base/gcore.exp                   |   21 +-
 gdb/testsuite/gdb.base/page.exp                    |    3 +-
 gdb/testsuite/gdb.base/sigaltstack.exp             |    5 +-
 gdb/testsuite/gdb.base/siginfo.exp                 |    5 +-
 gdb/testsuite/gdb.base/signals.exp                 |   15 +-
 gdb/testsuite/gdb.base/sigstep.exp                 |    5 +-
 gdb/testsuite/gdb.base/step-resume-infcall.c       |   47 +
 gdb/testsuite/gdb.base/step-resume-infcall.exp     |   52 +
 gdb/testsuite/gdb.base/trace-commands.exp          |   18 +-
 gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.S        |   55 +
 gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.exp      |   44 +
 gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.S      |   68 +
 gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.exp    |   52 +
 gdb/testsuite/gdb.dwarf2/implptr.S                 |  882 ++++
 gdb/testsuite/gdb.dwarf2/implptr.c                 |   68 +
 gdb/testsuite/gdb.dwarf2/implptr.exp               |   80 +
 gdb/testsuite/gdb.python/py-breakpoint.exp         |   23 +
 gdb/testsuite/gdb.python/py-inferior.exp           |   25 +-
 gdb/testsuite/gdb.python/py-pp-maint.exp           |   18 +-
 gdb/testsuite/gdb.python/py-prettyprint.c          |    6 +-
 gdb/testsuite/gdb.python/py-prettyprint.exp        |    2 +
 gdb/testsuite/gdb.python/py-value.exp              |    7 +-
 gdb/testsuite/gdb.python/python.exp                |    9 +-
 gdb/testsuite/gdb.server/ext-run.exp               |    5 +-
 gdb/testsuite/gdb.stabs/gdb11479.exp               |    6 +-
 gdb/testsuite/lib/gdb.exp                          |   38 +-
 gdb/thread.c                                       |   14 +-
 gdb/valarith.c                                     |    8 +-
 gdb/valops.c                                       |   38 +-
 gdb/valprint.c                                     |    7 +
 gdb/value.c                                        |   31 +-
 gdb/value.h                                        |   16 +
 gdb/varobj.c                                       |   18 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |    8 +-
 include/ChangeLog                                  |   14 +
 include/elf/bfin.h                                 |    3 +
 include/opcode/ChangeLog                           |   16 +
 include/opcode/arm.h                               |    7 +-
 include/opcode/mips.h                              |    4 +-
 include/opcode/s390.h                              |    3 +-
 include/simple-object.h                            |   13 +-
 libdecnumber/ChangeLog                             |    5 +
 libdecnumber/dconfig.h                             |    7 +-
 libiberty/ChangeLog                                |   58 +
 libiberty/Makefile.in                              |    3 +
 libiberty/config.in                                |    6 +-
 libiberty/configure                                |   24 +-
 libiberty/configure.ac                             |   12 +-
 libiberty/cp-demangle.c                            |   22 +-
 libiberty/setproctitle.c                           |    5 +-
 libiberty/simple-object-coff.c                     |   18 +-
 libiberty/simple-object-common.h                   |    8 +-
 libiberty/simple-object-elf.c                      |   57 +-
 libiberty/simple-object-mach-o.c                   |   20 +-
 libiberty/simple-object.c                          |   13 +-
 libiberty/testsuite/demangle-expected              |   13 +-
 opcodes/ChangeLog                                  |    9 +-
 opcodes/po/es.po                                   |  353 +-
 opcodes/po/fr.po                                   |  351 +-
 opcodes/po/nl.po                                   |  348 +-
 opcodes/po/zh_CN.po                                |    2 +-
 sim/common/ChangeLog                               |   17 +
 sim/common/dv-sockser.c                            |   15 +-
 sim/common/dv-sockser.h                            |    1 +
 sim/common/sim-core.c                              |    3 +
 sim/common/sim-profile.c                           |   10 +
 182 files changed, 21293 insertions(+), 9927 deletions(-)
 create mode 100644 .gitignore
 create mode 100644 config/cloog.m4
 rename config/{mh-ppc-darwin => mh-darwin} (100%)
 delete mode 100755 gdb/doc/configure
 delete mode 100644 gdb/doc/configure.ac
 delete mode 100755 gdb/gdb-add-index.sh
 copy gdb/testsuite/gdb.asm/{powerpc.inc => powerpc64.inc} (54%)
 create mode 100644 gdb/testsuite/gdb.base/step-resume-infcall.c
 create mode 100644 gdb/testsuite/gdb.base/step-resume-infcall.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/implptr.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/implptr.c
 create mode 100644 gdb/testsuite/gdb.dwarf2/implptr.exp

First 500 lines of diff:
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..dc1bf3f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,40 @@
+*.diff
+*.patch
+*.orig
+*.rej
+
+*~
+*.a
+*.flt
+*.gdb
+*.gmo
+*.info
+*.la
+*.lo
+*.o
+*.tmp
+
+.deps
+.libs
+
+autom4te.cache
+config.cache
+config.h
+config.intl
+config.log
+config.status
+libtool
+Makefile
+stamp-*
+POTFILES
+*-POTFILES
+*/po/Makefile.in
+
+.gdbinit
+.gdb_history
+core
+
+lost+found
+
+*.log
+*.sum
diff --git a/ChangeLog b/ChangeLog
index f97c1ab..09dba95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,152 @@
+2010-11-29  Andreas Schwab  <schwab@redhat.com>
+
+	* configure.ac: Move comment to remove extra space in last argument
+	of GCC_TARGET_TOOL.
+
+2010-11-26  Alexandre Oliva  <aoliva@redhat.com>
+
+	PR other/46020
+	* configure.ac (CXX_FOR_TARGET): Add -funconfigured-libstdc++-v3.
+	* Makefile.def (CXX_FOR_TARGET): Removed from flags_to_pass.
+	* Makefile.tpl (CXX_FOR_TARGET_FLAG_TO_PASS): New.
+	(BASE_FLAGS_TO_PASS): Use it.
+	* configure: Rebuilt.
+	* Makefile.in: Rebuilt.
+
+2010-11-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR binutils/12258
+	* configure.ac: Correct comments for --enable-gold/--enable-ld.
+	Properly check default linker.
+	* configure: Regnerated.
+
+2010-11-23  Matthias Klose  <doko@ubuntu.com>
+
+	* configure.ac: For --enable-gold, handle value `default' instead of
+	`both*'.   New configure option --{en,dis}able-ld.
+	* configure: Regenerate.
+
+2010-11-20  Ian Lance Taylor  <iant@google.com>
+
+	* configure.ac: Only disable a language library if no language needs
+	it.  Don't let --disable-libgcj uncondtionally disable libffi.
+	* configure: Rebuild.
+
+2010-11-20  Paolo Bonzini  <bonzini@gnu.org>
+
+	* configure: Regenerate.
+
+2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	PR other/46202
+	* configure.ac: Fix just-built in-tree STRIP name to be
+	binutils/strip-new.
+	* configure: Regenerate.
+	* Makefile.def (install-strip-gcc, install-strip-binutils)
+	(install-strip-opcodes, install-strip-ld, install-strip-itcl)
+	(install-strip-sid): Mirror dependencies on non-strip variants
+	of these targets on the respective -strip prerequisites.
+	* Makefile.tpl (install-strip, install-strip-host)
+	(install-strip-target): New targets.
+	(install-strip-[+module+], install-strip-target-[+module+]):
+	New targets.
+	* Makefile.in: Regenerate.
+
+2010-11-19  Ian Lance Taylor  <iant@google.com>
+	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* configure.ac: Add target-libgo to target_libraries.  Set
+	and substitute GOC_FOR_BUILD and GOC_FOR_TARGET.
+	* Makefile.tpl (BUILD_EXPORTS): Add GOC and GOCFLAGS.
+	(HOST_EXPORTS): Add GOC.
+	(BASE_TARGET_EXPORTS): Add GOC.
+	(GOC_FOR_BUILD, GOCFLAGS, GOC_FOR_TARGET): New variables.
+	(GOCFLAGS_FOR_TARGET): New variable.
+	(EXTRA_HOST_FLAGS): Add GOC.
+	(EXTRA_TARGET_FLAGS): Add GOC and GOCFLAGS.
+	* Makefile.def (target_modules): Add libgo.
+	(flags_to_pass): Add GOC_FOR_TARGET and GOCFLAGS_FOR_TARGET.
+	(dependencies): Add dependency from configure-target-libgo to
+	configure-target-libffi and all-target-libstdc++-v3.  Add
+	dependencies from all-target-libgo to all-target-libffi.
+	(languages): Add go.
+	* configure: Rebuild.
+	* Makefile.in: Rebuild.
+
+2010-11-19  Ian Lance Taylor  <iant@google.com>
+
+	* config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
+	compiler/flag environment variables.
+
+2010-11-18  Ian Lance Taylor  <iant@google.com>
+
+	* configure.ac: Check for lang_requires_boot_languages in
+	config-lang.in files.
+	* configure: Rebuild.
+
+2010-11-17  Mike Frysinger  <vapier@gentoo.org>
+
+	* .gitignore: New file.
+
+2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+	    Tobias Burnus  <burnus@net-b.de>
+
+	PR fortran/32049
+	* Makefile.def: Add libquadmath; build it with language=fortran.
+	* configure.ac: Add libquadmath.
+	* Makefile.tpl: Handle multiple libs in check-[+language+].
+	* Makefile.in: Regenerate.
+	* configure: Regenerate.
+
+2010-11-15  Andreas Schwab  <schwab@redhat.com>
+
+	* configure.ac: Fix spelling in option names.
+	* configure: Regenerated.
+
+2010-11-13  Georg-Johann Lay  <georgjohann@web.de>
+
+	PR bootstrap/39622
+	* configure.ac (FLAGS_FOR_TARGET): Add include-fixed path.
+	* configure: Regenerated.
+
+2010-11-12  Tobias Grosser  <grosser@fim.uni-passau.de>
+
+	* config/cloog.m4: Add -enable-cloog-backend=(isl|ppl|ppl-legacy) to
+	define the cloog backend to use. Furthermore, only pass the ppllibs to
+	the configure checks, if necessary.
+	* configure: Regenerate.
+
+2010-11-12  Tobias Grosser  <grosser@fim.uni-passau.de>
+
+	* config/cloog.m4: Use CLooG predefined macro to check for CLooG PPL.
+	* configure: regenerate
+
+2010-11-12  Tobias Grosser  <grosser@fim.uni-passau.de>
+
+	* config/cloog.m4: Fix typo.  verison -> version.
+	* configure: Regenerate.
+
+2010-11-12  Tobias Grosser  <grosser@fim.uni-passau.de>
+
+	* config/cloog.m4: Pass ppl libraries to the CLooG version check.
+	* configure: Regenerate.
+
+2010-11-11  Andreas Simbuerger  <simbuerg@fim.uni-passau.de>
+
+	* configure.ac: Support official CLooG.org versions.
+	* configure: Regenerate.
+	* config/cloog.m4: New.
+
 2010-11-05  Michael Eager  <eager@eagercon.com>
 
 	* COPYING.LIBGLOSS: Correct typo in microblaze.
 	* COPYING.NEWLIB: Same.
 
+2010-11-04  Iain Sandoe  <iains@gcc.gnu.org>
+
+	* configure.ac (*-*-darwin*): Use mh-darwin for all Darwin variants.
+	* configure: Regenerate.
+
 2010-11-03  Ian Lance Taylor  <iant@google.com>
 	    Dave Korn  <dave.korn.cygwin@gmail.com>
 
diff --git a/Makefile.def b/Makefile.def
index 6223bf3..8eb5b03 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -155,8 +155,10 @@ target_modules = { module= libmudflap; lib_path=.libs; };
 target_modules = { module= libssp; lib_path=.libs; };
 target_modules = { module= newlib; };
 target_modules = { module= libgcc; bootstrap=true; no_check=true; };
+target_modules = { module= libquadmath; };
 target_modules = { module= libgfortran; };
 target_modules = { module= libobjc; };
+target_modules = { module= libgo; };
 target_modules = { module= libtermcap; no_check=true;
                    missing=mostlyclean;
                    missing=clean;
@@ -280,12 +282,13 @@ flags_to_pass = { flag= AS_FOR_TARGET ; };
 flags_to_pass = { flag= CC_FOR_TARGET ; };
 flags_to_pass = { flag= CFLAGS_FOR_TARGET ; };
 flags_to_pass = { flag= CPPFLAGS_FOR_TARGET ; };
-flags_to_pass = { flag= CXX_FOR_TARGET ; };
 flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; };
 flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; };
 flags_to_pass = { flag= FLAGS_FOR_TARGET ; };
 flags_to_pass = { flag= GCJ_FOR_TARGET ; };
 flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; };
+flags_to_pass = { flag= GOC_FOR_TARGET ; };
+flags_to_pass = { flag= GOCFLAGS_FOR_TARGET ; };
 flags_to_pass = { flag= LD_FOR_TARGET ; };
 flags_to_pass = { flag= LIPO_FOR_TARGET ; };
 flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; };
@@ -346,6 +349,7 @@ dependencies = { module=dvi-gcc; on=all-build-libiberty; };
 dependencies = { module=pdf-gcc; on=all-build-libiberty; };
 dependencies = { module=html-gcc; on=all-build-libiberty; };
 dependencies = { module=install-gcc ; on=install-fixincludes; };
+dependencies = { module=install-strip-gcc ; on=install-strip-fixincludes; };
 
 dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; };
 dependencies = { module=configure-libcpp; on=configure-intl; };
@@ -407,9 +411,11 @@ dependencies = { module=all-binutils; on=all-intl; };
 // binutils might be on PATH, and they might need the shared opcodes
 // library.
 dependencies = { module=install-binutils; on=install-opcodes; };
+dependencies = { module=install-strip-binutils; on=install-strip-opcodes; };
 
 // libopcodes depends on libbfd
 dependencies = { module=install-opcodes; on=install-bfd; };
+dependencies = { module=install-strip-opcodes; on=install-strip-bfd; };
 
 dependencies = { module=configure-gas; on=configure-intl; };
 dependencies = { module=all-gas; on=all-libiberty; };
@@ -430,6 +436,7 @@ dependencies = { module=all-ld; on=all-build-byacc; };
 dependencies = { module=all-ld; on=all-build-flex; };
 dependencies = { module=all-ld; on=all-intl; };
 dependencies = { module=install-ld; on=install-gold; };
+dependencies = { module=install-strip-ld; on=install-strip-gold; };
 dependencies = { module=configure-gold; on=configure-intl; };
 dependencies = { module=all-gold; on=all-libiberty; };
 dependencies = { module=all-gold; on=all-intl; };
@@ -460,6 +467,7 @@ dependencies = { module=configure-itcl; on=configure-tk; };
 dependencies = { module=all-itcl; on=all-tcl; };
 dependencies = { module=all-itcl; on=all-tk; };
 dependencies = { module=install-itcl; on=install-tcl; };
+dependencies = { module=install-strip-itcl; on=install-strip-tcl; };
 
 dependencies = { module=configure-tk; on=configure-tcl; };
 dependencies = { module=all-tk; on=all-tcl; };
@@ -470,7 +478,9 @@ dependencies = { module=all-sid; on=all-opcodes; };
 dependencies = { module=all-sid; on=all-tcl; };
 dependencies = { module=all-sid; on=all-tk; };
 dependencies = { module=install-sid; on=install-tcl; };
+dependencies = { module=install-strip-sid; on=install-strip-tcl; };
 dependencies = { module=install-sid; on=install-tk; };
+dependencies = { module=install-strip-sid; on=install-strip-tk; };
 
 dependencies = { module=configure-sim; on=configure-intl; };
 dependencies = { module=all-sim; on=all-intl; };
@@ -538,6 +548,9 @@ dependencies = { module=configure-target-boehm-gc; on=all-target-libstdc++-v3; }
 dependencies = { module=configure-target-fastjar; on=configure-target-zlib; };
 dependencies = { module=all-target-fastjar; on=all-target-zlib; };
 dependencies = { module=all-target-fastjar; on=all-target-libiberty; };
+dependencies = { module=configure-target-libgo; on=configure-target-libffi; };
+dependencies = { module=configure-target-libgo; on=all-target-libstdc++-v3; };
+dependencies = { module=all-target-libgo; on=all-target-libffi; };
 dependencies = { module=configure-target-libjava; on=configure-target-zlib; };
 dependencies = { module=configure-target-libjava; on=configure-target-boehm-gc; };
 dependencies = { module=configure-target-libjava; on=configure-target-qthreads; };
@@ -571,11 +584,13 @@ dependencies = { module=configure-target-libiberty; on=all-binutils; };
 dependencies = { module=configure-target-libiberty; on=all-ld; };
 dependencies = { module=configure-target-newlib; on=all-binutils; };
 dependencies = { module=configure-target-newlib; on=all-ld; };
+dependencies = { module=configure-target-libgfortran; on=all-target-libquadmath; };
 
 languages = { language=c;	gcc-check-target=check-gcc; };
 languages = { language=c++;	gcc-check-target=check-c++;
 				lib-check-target=check-target-libstdc++-v3; };
 languages = { language=fortran;	gcc-check-target=check-fortran;
+				lib-check-target=check-target-libquadmath;
 				lib-check-target=check-target-libgfortran; };
 languages = { language=java;	gcc-check-target=check-java;
 				lib-check-target=check-target-libjava; };
@@ -584,6 +599,8 @@ languages = { language=ada;	gcc-check-target=check-ada;
 languages = { language=objc;	gcc-check-target=check-objc;
 				lib-check-target=check-target-libobjc; };
 languages = { language=obj-c++;	gcc-check-target=check-obj-c++; };
+languages = { language=go;	gcc-check-target=check-go;
+				lib-check-target=check-target-libgo; };
 
 // Toplevel bootstrap
 bootstrap_stage = { id=1 ; };
diff --git a/Makefile.in b/Makefile.in
index aaea69d..945fc5d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -157,6 +157,8 @@ BUILD_EXPORTS = \
 	CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
 	GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
 	GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
+	GOC="$(GOC_FOR_BUILD)"; export GOC; \
+	GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
 	DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
 	LD="$(LD_FOR_BUILD)"; export LD; \
 	LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
@@ -193,6 +195,7 @@ HOST_EXPORTS = \
 	CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
 	GCJ="$(GCJ)"; export GCJ; \
 	GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
+	GOC="$(GOC)"; export GOC; \
 	AR="$(AR)"; export AR; \
 	AS="$(AS)"; export AS; \
 	CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
@@ -273,6 +276,7 @@ BASE_TARGET_EXPORTS = \
 	CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
 	GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
 	GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
+	GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
 	DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
 	LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
 	LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
@@ -339,6 +343,7 @@ CXX_FOR_BUILD = @CXX_FOR_BUILD@
 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
+GOC_FOR_BUILD = @GOC_FOR_BUILD@
 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
 LD_FOR_BUILD = @LD_FOR_BUILD@
 NM_FOR_BUILD = @NM_FOR_BUILD@
@@ -401,6 +406,7 @@ LDFLAGS = @LDFLAGS@
 LIBCFLAGS = $(CFLAGS)
 CXXFLAGS = @CXXFLAGS@
 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
+GOCFLAGS = $(CFLAGS)
 
 TFLAGS =
 
@@ -516,6 +522,7 @@ CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
+GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
 LD_FOR_TARGET=@LD_FOR_TARGET@
 
@@ -537,6 +544,7 @@ CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
 LDFLAGS_FOR_TARGET = 
+GOCFLAGS_FOR_TARGET = -O2 -g
 
 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
@@ -632,6 +640,26 @@ HOST_LIB_PATH_libelf = \
 @endif libelf
 
 
+CXX_FOR_TARGET_FLAG_TO_PASS = \
+	"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
+@if target-libstdc++-v3
+# CXX_FOR_TARGET is tricky to get right for target libs that require a
+# functional C++ compiler.  When we recurse, if we expand
+# CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
+# libstdc++ include flags from the script.  Instead, we get an
+# -funconfigured-* word, so that we'll get errors if this invalid C++
+# command line is used for anything, but also so that we can use the
+# word to decide whether or not to pass on this CXX_FOR_TARGET.  If we
+# don't pass it on, sub-make will use the default definition, that
+# re-expands it at the time of use, so we'll get it right when we need
+# it.  One potential exception is the expansion of CXX_FOR_TARGET
+# passed down as part of CXX within TARGET_FLAGS, but this wouldn't
+# really work, for C++ host programs can't depend on the current-stage
+# C++ target library.
+CXX_FOR_TARGET_FLAG_TO_PASS = \
+	$(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
+@endif target-libstdc++-v3
+
 # Flags to pass down to all sub-makes.
 BASE_FLAGS_TO_PASS = \
 	"DESTDIR=$(DESTDIR)" \
@@ -699,12 +727,13 @@ BASE_FLAGS_TO_PASS = \
 	"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
 	"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
 	"CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
-	"CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
 	"CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
 	"DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
 	"FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
 	"GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
 	"GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
+	"GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
+	"GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
 	"LD_FOR_TARGET=$(LD_FOR_TARGET)" \
 	"LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
 	"LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
@@ -737,6 +766,7 @@ BASE_FLAGS_TO_PASS = \
 	"STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
 	"STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
 	"STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
+	$(CXX_FOR_TARGET_FLAG_TO_PASS) \
 	"TFLAGS=$(TFLAGS)" \
 	"CONFIG_SHELL=$(SHELL)" \
 	"MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" 
@@ -754,6 +784,7 @@ EXTRA_HOST_FLAGS = \
 	'DLLTOOL=$(DLLTOOL)' \
 	'GCJ=$(GCJ)' \
 	'GFORTRAN=$(GFORTRAN)' \
+	'GOC=$(GOC)' \
 	'LD=$(LD)' \
 	'LIPO=$(LIPO)' \
 	'NM=$(NM)' \
@@ -802,6 +833,8 @@ EXTRA_TARGET_FLAGS = \
 	'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
 	'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
 	'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
+	'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
+	'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
 	'LD=$(COMPILER_LD_FOR_TARGET)' \
 	'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
 	'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
@@ -926,8 +959,10 @@ configure-target:  \
     maybe-configure-target-libssp \
     maybe-configure-target-newlib \
     maybe-configure-target-libgcc \
+    maybe-configure-target-libquadmath \
     maybe-configure-target-libgfortran \
     maybe-configure-target-libobjc \
+    maybe-configure-target-libgo \
     maybe-configure-target-libtermcap \
     maybe-configure-target-winsup \
     maybe-configure-target-libgloss \
@@ -1108,8 +1143,10 @@ all-target: maybe-all-target-newlib
 @if target-libgcc-no-bootstrap
 all-target: maybe-all-target-libgcc
 @endif target-libgcc-no-bootstrap
+all-target: maybe-all-target-libquadmath
 all-target: maybe-all-target-libgfortran
 all-target: maybe-all-target-libobjc
+all-target: maybe-all-target-libgo
 all-target: maybe-all-target-libtermcap
 all-target: maybe-all-target-winsup
 all-target: maybe-all-target-libgloss
@@ -1229,8 +1266,10 @@ info-target: maybe-info-target-libmudflap
 info-target: maybe-info-target-libssp
 info-target: maybe-info-target-newlib
 info-target: maybe-info-target-libgcc
+info-target: maybe-info-target-libquadmath
 info-target: maybe-info-target-libgfortran
 info-target: maybe-info-target-libobjc
+info-target: maybe-info-target-libgo
 info-target: maybe-info-target-libtermcap
 info-target: maybe-info-target-winsup
 info-target: maybe-info-target-libgloss
@@ -1343,8 +1382,10 @@ dvi-target: maybe-dvi-target-libmudflap
 dvi-target: maybe-dvi-target-libssp
 dvi-target: maybe-dvi-target-newlib
 dvi-target: maybe-dvi-target-libgcc
+dvi-target: maybe-dvi-target-libquadmath
 dvi-target: maybe-dvi-target-libgfortran
 dvi-target: maybe-dvi-target-libobjc
+dvi-target: maybe-dvi-target-libgo
 dvi-target: maybe-dvi-target-libtermcap
 dvi-target: maybe-dvi-target-winsup
 dvi-target: maybe-dvi-target-libgloss
@@ -1457,8 +1498,10 @@ pdf-target: maybe-pdf-target-libmudflap
 pdf-target: maybe-pdf-target-libssp
 pdf-target: maybe-pdf-target-newlib
 pdf-target: maybe-pdf-target-libgcc
+pdf-target: maybe-pdf-target-libquadmath
 pdf-target: maybe-pdf-target-libgfortran
 pdf-target: maybe-pdf-target-libobjc
+pdf-target: maybe-pdf-target-libgo
 pdf-target: maybe-pdf-target-libtermcap
 pdf-target: maybe-pdf-target-winsup
 pdf-target: maybe-pdf-target-libgloss
@@ -1571,8 +1614,10 @@ html-target: maybe-html-target-libmudflap
 html-target: maybe-html-target-libssp
 html-target: maybe-html-target-newlib
 html-target: maybe-html-target-libgcc
+html-target: maybe-html-target-libquadmath


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-11-12 11:47 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-11-12 11:47 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  85f67c7e591d0bedce08442ee0bba726b002e509 (commit)
       via  1cc93f904c223a595c3f41894751af0b30445e86 (commit)
       via  003496e6982380db1773e30170b119c7f3620dff (commit)
       via  3edd55a2b0f3444c7d37cbf003b73694e54d2bc2 (commit)
       via  ef713b00f2cd6a459d0a54fc135a89b037f8473b (commit)
       via  7d5a91474a0cdb796031ddc25aa0d107be6eb39d (commit)
      from  0abf147df1fa3e9eb85beda61deac1c0e7aa905b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 85f67c7e591d0bedce08442ee0bba726b002e509
Merge: 0abf147 1cc93f9
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Fri Nov 12 11:47:34 2010 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h           |    2 +-
 gdb/ChangeLog           |   36 ++++++++++++++++++
 gdb/doc/ChangeLog       |    5 +++
 gdb/testsuite/ChangeLog |    5 +++
 gdb/version.in          |    2 +-
 sim/rx/ChangeLog        |    8 ++++
 sim/rx/rx.c             |   93 +++++++++++++++++++++++++++++++++++++++++++----
 7 files changed, 142 insertions(+), 9 deletions(-)

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 7f9f32a..653cfa1 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20101111
+#define BFD_VERSION_DATE 20101112
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8c8a5bd..2c413a3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,39 @@
+2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* python/py-breakpoint.c (BPPY_REQUIRE_VALID): Check if bp is
+	NULL.
+	(BPPY_SET_REQUIRE_VALID): Ditto.
+	(bpnum_is_valid): Delete function.
+	(bppy_get_visibility): New function.
+	(bppy_new): Parse for, and validate internal keyword.  Pass
+	internal keyword to breakpoint or watchpoint functions.
+	(build_bp_list): New function.
+	(gdbpy_breakpoints): Rewrite.  Use build_bp_list and
+	iterate_over_breakpoints.
+	(gdbpy_breakpoint_created): Rewrite.  Do not store breakpoints in a
+	look-aside vector.
+	(gdbpy_breakpoint_deleted): Rewrite, defer breakpoint management
+	to internal breakpoint chain.
+
+	* breakpoint.c (set_breakpoint_number): New function.
+	(breakpoint_1): Check if breakpoint number is more than zero.
+	(set_raw_breakpoint_without_location): Set py_bp_object to NULL.
+	(create_breakpoint_sal): Take a new parameter called internal.
+	Call set_breakpoint_number with internal parameter.  Do not
+	mention internal breakpoints.  All callers updated.
+	(create_breakpoint): Ditto.
+	(create_breakpoints_sal): Ditto.
+	(watch_command_1): Ditto.
+	(watch_command_wrapper): Take a new parameter called internal.
+	All callers updated.
+	(rwatch_command_wrapper): Ditto.
+	(awatch_command_wrapper): Ditto.
+	(save_breakpoints): Update breakpoint save condition check.
+	(iterate_over_breakpoints): New function.
+	* breakpoint.h: Add conditional python includes.  Add py_bp_object
+	and comment to struct breakpoint.  Update all callers.
+	* defs.h: Add PyObject definition for GDB builds without Python.
+
 2010-11-10  Doug Evans  <dje@google.com>
 
 	* python/lib/gdb/command/pretty_printers.py
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 7e006ce..d999772 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* gdb.texinfo (Breakpoints In Python): Document "internal"
+	parameter, and visible attribute.
+
 2010-11-05  Doug Evans  <dje@google.com>
 
 	* gdb.texinfo (Source Path): Document "set directories".
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index dae986b..11b86ad 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* gdb.python/py-breakpoint.exp: Add internal watchpoint and
+	breakpoint tests.
+
 2010-11-09  Pedro Alves  <pedro@codesourcery.com>
 
 	* gdb.base/watchpoint.exp: Test "watch -location" with an
diff --git a/gdb/version.in b/gdb/version.in
index 68269e5..fc2ec7b 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-7.2.50.20101111-cvs
+7.2.50.20101112-cvs
diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog
index 8728ebf..16678f8 100644
--- a/sim/rx/ChangeLog
+++ b/sim/rx/ChangeLog
@@ -1,3 +1,11 @@
+2010-11-11  DJ Delorie  <dj@redhat.com>
+
+	* rx.c (lsb_count): New.
+	(divu_cycles): New.
+	(div_cycles): New.
+	(decode_opcode): Fix cycle count math for div, divu, suntil, and
+	swhile.
+
 2010-09-29  Kevin Buettner  <kevinb@redhat.com>
 
 	* mem.c (rx_mem_ptr): When invalidating the decode cache, account
diff --git a/sim/rx/rx.c b/sim/rx/rx.c
index 247d624..881dc66 100644
--- a/sim/rx/rx.c
+++ b/sim/rx/rx.c
@@ -136,7 +136,7 @@ static const char * id_names[] = {
 };
 
 static const char * optype_names[] = {
-  "    ",
+  " -  ",
   "#Imm",	/* #addend */
   " Rn ",	/* Rn */
   "[Rn]",	/* [Rn + addend] */
@@ -264,6 +264,52 @@ cycles (int throughput)
       new_rt = r;				\
     }
 
+static int
+lsb_count (unsigned long v, int is_signed)
+{
+  int i, lsb;
+  if (is_signed && (v & 0x80000000U))
+    v = (unsigned long)(long)(-v);
+  for (i=31; i>=0; i--)
+    if (v & (1 << i))
+      {
+	/* v is 0..31, we want 1=1-2, 2=3-4, 3=5-6, etc. */
+	lsb = (i + 2) / 2;
+	return lsb;
+      }
+  return 0;
+}
+
+static int
+divu_cycles(unsigned long num, unsigned long den)
+{
+  int nb = lsb_count (num, 0);
+  int db = lsb_count (den, 0);
+  int rv;
+
+  if (nb < db)
+    rv = 2;
+  else
+    rv = 3 + nb - db;
+  E (rv);
+  return rv;
+}
+
+static int
+div_cycles(long num, long den)
+{
+  int nb = lsb_count ((unsigned long)num, 1);
+  int db = lsb_count ((unsigned long)den, 1);
+  int rv;
+
+  if (nb < db)
+    rv = 3;
+  else
+    rv = 5 + nb - db;
+  E (rv);
+  return rv;
+}
+
 #else /* !CYCLE_ACCURATE */
 
 #define cycles(t)
@@ -274,6 +320,9 @@ cycles (int throughput)
 #define RL(r)
 #define RLD(r)
 
+#define divu_cycles(n,d)
+#define div_cycles(n,d)
+
 #endif /* else CYCLE_ACCURATE */
 
 static int size2bytes[] = {
@@ -1126,6 +1175,7 @@ decode_opcode ()
 	{
 	  tprintf("#NAN\n");
 	  set_flags (FLAGBIT_O, FLAGBIT_O);
+	  cycles (3);
 	}
       else
 	{
@@ -1133,9 +1183,8 @@ decode_opcode ()
 	  tprintf("%d\n", v);
 	  set_flags (FLAGBIT_O, 0);
 	  PD (v);
+	  div_cycles (mb, ma);
 	}
-      /* Note: spec says 3 to 22 cycles, we are pessimistic.  */
-      cycles (22);
       break;
 
     case RXO_divu: /* d = d / s */
@@ -1146,6 +1195,7 @@ decode_opcode ()
 	{
 	  tprintf("#NAN\n");
 	  set_flags (FLAGBIT_O, FLAGBIT_O);
+	  cycles (2);
 	}
       else
 	{
@@ -1153,9 +1203,8 @@ decode_opcode ()
 	  tprintf("%u\n", v);
 	  set_flags (FLAGBIT_O, 0);
 	  PD (v);
+	  divu_cycles (umb, uma);
 	}
-      /* Note: spec says 2 to 20 cycles, we are pessimistic.  */
-      cycles (20);
       break;
 
     case RXO_emul:
@@ -1906,7 +1955,7 @@ decode_opcode ()
     case RXO_suntil:
       RL(3);
 #ifdef CYCLE_ACCURATE
-      tx = regs.r[3];
+      tx = 0;
 #endif
       if (regs.r[3] == 0)
 	{
@@ -1922,10 +1971,15 @@ decode_opcode ()
 	      regs.r[3] --;
 	      umb = mem_get_si (get_reg (1));
 	      regs.r[1] += 4;
+#ifdef CYCLE_ACCURATE
+	      tx ++;
+#endif
 	      if (umb == uma)
 		break;
 	    }
+#ifdef CYCLE_ACCURATE
 	  cycles (3 + 3 * tx);
+#endif
 	  break;
 	case RX_Word:
 	  uma = get_reg (2) & 0xffff;
@@ -1934,10 +1988,15 @@ decode_opcode ()
 	      regs.r[3] --;
 	      umb = mem_get_hi (get_reg (1));
 	      regs.r[1] += 2;
+#ifdef CYCLE_ACCURATE
+	      tx ++;
+#endif
 	      if (umb == uma)
 		break;
 	    }
+#ifdef CYCLE_ACCURATE
 	  cycles (3 + 3 * (tx / 2) + 3 * (tx % 2));
+#endif
 	  break;
 	case RX_Byte:
 	  uma = get_reg (2) & 0xff;
@@ -1946,10 +2005,15 @@ decode_opcode ()
 	      regs.r[3] --;
 	      umb = mem_get_qi (regs.r[1]);
 	      regs.r[1] += 1;
+#ifdef CYCLE_ACCURATE
+	      tx ++;
+#endif
 	      if (umb == uma)
 		break;
 	    }
+#ifdef CYCLE_ACCURATE
 	  cycles (3 + 3 * (tx / 4) + 3 * (tx % 4));
+#endif
 	  break;
 	default:
 	  abort();
@@ -1963,7 +2027,7 @@ decode_opcode ()
     case RXO_swhile:
       RL(3);
 #ifdef CYCLE_ACCURATE
-      tx = regs.r[3];
+      tx = 0;
 #endif
       if (regs.r[3] == 0)
 	break;
@@ -1976,10 +2040,15 @@ decode_opcode ()
 	      regs.r[3] --;
 	      umb = mem_get_si (get_reg (1));
 	      regs.r[1] += 4;
+#ifdef CYCLE_ACCURATE
+	      tx ++;
+#endif
 	      if (umb != uma)
 		break;
 	    }
+#ifdef CYCLE_ACCURATE
 	  cycles (3 + 3 * tx);
+#endif
 	  break;
 	case RX_Word:
 	  uma = get_reg (2) & 0xffff;
@@ -1988,10 +2057,15 @@ decode_opcode ()
 	      regs.r[3] --;
 	      umb = mem_get_hi (get_reg (1));
 	      regs.r[1] += 2;
+#ifdef CYCLE_ACCURATE
+	      tx ++;
+#endif
 	      if (umb != uma)
 		break;
 	    }
+#ifdef CYCLE_ACCURATE
 	  cycles (3 + 3 * (tx / 2) + 3 * (tx % 2));
+#endif
 	  break;
 	case RX_Byte:
 	  uma = get_reg (2) & 0xff;
@@ -2000,10 +2074,15 @@ decode_opcode ()
 	      regs.r[3] --;
 	      umb = mem_get_qi (regs.r[1]);
 	      regs.r[1] += 1;
+#ifdef CYCLE_ACCURATE
+	      tx ++;
+#endif
 	      if (umb != uma)
 		break;
 	    }
+#ifdef CYCLE_ACCURATE
 	  cycles (3 + 3 * (tx / 4) + 3 * (tx % 4));
+#endif
 	  break;
 	default:
 	  abort();


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-11-11 11:40 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-11-11 11:40 UTC (permalink / raw)
  To: archer-commits

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 30704 bytes --]

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  0abf147df1fa3e9eb85beda61deac1c0e7aa905b (commit)
       via  f315c52904765d5565ca733990b4669cbdd49e9b (commit)
       via  831cbee68bdbcd09f9ab019f97eaeffaab814435 (commit)
       via  cf320ffc8f681fe4c905b72e84cef4cfdd6c34df (commit)
       via  0aef60bc38db1570f0cb8dbb911262462fa3bb9c (commit)
       via  d8fe843c07b52bd0fe2c6028255e9ba238872d16 (commit)
       via  2d2fab1e79945baf5d0afd9b5b39e7a06e227516 (commit)
       via  4d7c3dada182d003459fc58a3d9ccd007a71d829 (commit)
       via  51d482007a9e846df89e68d78ef290f659a59370 (commit)
      from  eceecd861134add14a6bf9d9392ed4c8f2f9a784 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 0abf147df1fa3e9eb85beda61deac1c0e7aa905b
Merge: eceecd8 f315c52
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Thu Nov 11 11:40:16 2010 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                 |   20 +
 bfd/archures.c                                |    1 +
 bfd/bfd-in2.h                                 |    1 +
 bfd/elf32-arm.c                               |    7 -
 bfd/elfxx-mips.c                              |    8 +
 bfd/po/ja.po                                  |  308 +-
 bfd/po/ru.po                                  | 4038 ++++++++++++++++++-------
 bfd/version.h                                 |    2 +-
 gdb/ChangeLog                                 |   11 +
 gdb/python/lib/gdb/command/pretty_printers.py |    3 +-
 gdb/valops.c                                  |   21 +-
 gdb/value.c                                   |   15 +-
 gdb/value.h                                   |    5 +-
 gdb/version.in                                |    2 +-
 include/elf/ChangeLog                         |    4 +
 include/elf/mips.h                            |    1 +
 include/opcode/ChangeLog                      |    6 +
 include/opcode/mips.h                         |    5 +
 opcodes/ChangeLog                             |   11 +
 opcodes/mips-dis.c                            |    4 +
 opcodes/mips-opc.c                            |  119 +-
 opcodes/po/fi.po                              |  441 ++--
 22 files changed, 3490 insertions(+), 1543 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 77d99a3..aab75e9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,23 @@
+2010-11-11  Mingming Sun  <mingm.sun@gmail.com>
+
+	* archures.c (bfd_mach_mips_loongson_3a): Defined.
+	* bfd-in2.h (bfd_mach_mips_loongson_3a): Defined.
+	* cpu-mips.c (I_loongson_3a): New add.
+	(arch_info_struct): Add loongson_3a.
+	* elfxx-mips.c (_bfd_elf_mips_mach): Add loongson_3a.
+	(mips_set_isa_flags): Add loongson_3a.
+	(mips_mach_extensions): Add loongson_3a in MIPS64 extensions.
+
+2010-11-10  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf32-arm.c (elf32_arm_merge_eabi_attributes): Remove unused
+	variables.
+
+2010-11-10  Nick Clifton  <nickc@redhat.com>
+
+	* po/ja.po: Updated Japanese translation.
+	* po/ru.po: Updated Russian translation.
+
 2010-11-08  Nick Clifton  <nickc@redhat.com>
 
 	* po/ja.po: Updated Japanese translation.
diff --git a/bfd/archures.c b/bfd/archures.c
index 1867154..1d61ae3 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -173,6 +173,7 @@ DESCRIPTION
 .#define bfd_mach_mips5                 5
 .#define bfd_mach_mips_loongson_2e      3001
 .#define bfd_mach_mips_loongson_2f      3002
+.#define bfd_mach_mips_loongson_3a      3003
 .#define bfd_mach_mips_sb1              12310201 {* octal 'SB', 01 *}
 .#define bfd_mach_mips_octeon		6501
 .#define bfd_mach_mips_xlr              887682   {* decimal 'XLR'  *}
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index f3e2b45..e7805b6 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1860,6 +1860,7 @@ enum bfd_architecture
 #define bfd_mach_mips5                 5
 #define bfd_mach_mips_loongson_2e      3001
 #define bfd_mach_mips_loongson_2f      3002
+#define bfd_mach_mips_loongson_3a      3003
 #define bfd_mach_mips_sb1              12310201 /* octal 'SB', 01 */
 #define bfd_mach_mips_octeon           6501
 #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'  */
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 577060b..ffe8f60 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -9904,9 +9904,6 @@ elf32_arm_merge_eabi_attributes (bfd *ibfd, bfd *obfd)
 {
   obj_attribute *in_attr;
   obj_attribute *out_attr;
-  obj_attribute_list *in_list;
-  obj_attribute_list *out_list;
-  obj_attribute_list **out_listp;
   /* Some tags have 0 = don't care, 1 = strong requirement,
      2 = weak requirement.  */
   static const int order_021[3] = {0, 2, 1};
@@ -10417,10 +10414,6 @@ elf32_arm_merge_eabi_attributes (bfd *ibfd, bfd *obfd)
     return FALSE;
 
   /* Check for any attributes not known on ARM.  */
-  in_list = elf_other_obj_attributes_proc (ibfd);
-  out_listp = &elf_other_obj_attributes_proc (obfd);
-  out_list = *out_listp;
-
   result &= _bfd_elf_merge_unknown_attribute_list (ibfd, obfd);
 
   return result;
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 4718dd4..cfbb06e 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -5946,6 +5946,9 @@ _bfd_elf_mips_mach (flagword flags)
     case E_MIPS_MACH_LS2F:
       return bfd_mach_mips_loongson_2f;
 
+    case E_MIPS_MACH_LS3A:
+      return bfd_mach_mips_loongson_3a;
+
     case E_MIPS_MACH_OCTEON:
       return bfd_mach_mips_octeon;
 
@@ -10556,6 +10559,10 @@ mips_set_isa_flags (bfd *abfd)
       val = E_MIPS_ARCH_3 | E_MIPS_MACH_LS2F;
       break;
 
+    case bfd_mach_mips_loongson_3a:
+      val = E_MIPS_ARCH_64 | E_MIPS_MACH_LS3A;
+      break;
+
     case bfd_mach_mips_sb1:
       val = E_MIPS_ARCH_64 | E_MIPS_MACH_SB1;
       break;
@@ -12258,6 +12265,7 @@ static const struct mips_mach_extension mips_mach_extensions[] = {
   { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },
   { bfd_mach_mips_sb1, bfd_mach_mipsisa64 },
   { bfd_mach_mips_xlr, bfd_mach_mipsisa64 },
+  { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64 },
 
   /* MIPS V extensions.  */
   { bfd_mach_mipsisa64, bfd_mach_mips5 },
diff --git a/bfd/po/ja.po b/bfd/po/ja.po
index b855447..e3eab97 100644
--- a/bfd/po/ja.po
+++ b/bfd/po/ja.po
@@ -1,4 +1,4 @@
-# Japanese message for bfd 2.11
+# Japanese message for bfd
 # This file is distributed under the same license as the binutils package.
 # Copyright (C) 2001, 2010 Free Software Foundation, Inc.
 # Daisuke Yamashita <yamad@mb.infoweb.ne.jp>, 2001
@@ -8,7 +8,7 @@ msgstr ""
 "Project-Id-Version: bfd 2.20.1\n"
 "Report-Msgid-Bugs-To: bug-binutils@gnu.org\n"
 "POT-Creation-Date: 2010-03-03 15:03+0100\n"
-"PO-Revision-Date: 2010-11-07 20:53+0900\n"
+"PO-Revision-Date: 2010-11-09 20:28+0900\n"
 "Last-Translator: Yasuaki Taniguchi <yasuakit@gmail.com>\n"
 "Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
 "MIME-Version: 1.0\n"
@@ -154,19 +154,19 @@ msgid "#<Invalid error code>"
 msgstr "#<不適切なエラーコード>"
 
 #: bfd.c:920
-#, fuzzy, c-format
+#, c-format
 msgid "BFD %s assertion fail %s:%d"
-msgstr "bfd アサーションが失敗 %s:%d"
+msgstr "BFD %s アサーション失敗 %s:%d"
 
 #: bfd.c:932
-#, fuzzy, c-format
+#, c-format
 msgid "BFD %s internal error, aborting at %s line %d in %s\n"
-msgstr "BFD 内部エラー。%s の %d 行目 %s で中断しました\n"
+msgstr "BFD %1$s 内部エラー。 %4$s 内 %3$d 行 %2$s で中止しました\n"
 
 #: bfd.c:936
-#, fuzzy, c-format
+#, c-format
 msgid "BFD %s internal error, aborting at %s line %d\n"
-msgstr "BFD 内部エラー。%s の %d 行目で中断しました\n"
+msgstr "BFD %1$s 内部エラー。%3$d 行 %2$s で中止しました\n"
 
 #: bfd.c:938
 msgid "Please report this bug.\n"
@@ -185,7 +185,7 @@ msgstr "マップしません: 環境変数が設定されていません\n"
 #: binary.c:284
 #, c-format
 msgid "Warning: Writing section `%s' to huge (ie negative) file offset 0x%lx."
-msgstr "警告: セクション `%s' 巨大(例 負数)なファイルオフセット 0x%lx への書込みです。"
+msgstr "警告: セクション `%s' で巨大な (例: 負数) ファイルオフセット 0x%lx への書き込みです"
 
 #: bout.c:1150 elf-m10300.c:2078 elf32-avr.c:1639 elf32-frv.c:5743
 #: elfxx-sparc.c:2456 reloc.c:5386 reloc16.c:162 vms.c:1918 elf32-ia64.c:788
@@ -219,11 +219,11 @@ msgstr "複数の gp 値を使用しています"
 
 #: coff-alpha.c:1560
 msgid "%B: unsupported relocation: ALPHA_R_GPRELHIGH"
-msgstr "%B: サポートされていない再配置: ALPHA_R_GPRELHIGH"
+msgstr "%B: サポートされていない再配置です: ALPHA_R_GPRELHIGH"
 
 #: coff-alpha.c:1567
 msgid "%B: unsupported relocation: ALPHA_R_GPRELLOW"
-msgstr "%B: サポートされていない再配置: ALPHA_R_GPRELLOW"
+msgstr "%B: サポートされていない再配置です: ALPHA_R_GPRELLOW"
 
 #: coff-alpha.c:1574 elf32-m32r.c:2477 elf64-alpha.c:3943 elf64-alpha.c:4098
 #: elf32-ia64.c:4462 elf64-ia64.c:4462
@@ -231,21 +231,23 @@ msgid "%B: unknown relocation type %d"
 msgstr "%B: 不明な再配置型 %d です"
 
 #: coff-arm.c:1039
-#, fuzzy, c-format
+#, c-format
 msgid "%B: unable to find THUMB glue '%s' for `%s'"
-msgstr "%s: THUMB グルー '%s' (`%s' 用) を見つけられません"
+msgstr "%1$B: `%3$s' に対する THUMB 糊 '%2$s' が見つかりません"
 
 #: coff-arm.c:1068
-#, fuzzy, c-format
+#, c-format
 msgid "%B: unable to find ARM glue '%s' for `%s'"
-msgstr "%s: ARM グルー '%s' (`%s' 用) を見つけられません"
+msgstr "%1$B: `%3$s' に対する ARM 糊 '%2$s' が見つかりません"
 
 #: coff-arm.c:1370 elf32-arm.c:6372
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "%B(%s): warning: interworking not enabled.\n"
 "  first occurrence: %B: arm call to thumb"
-msgstr "%s(%s): 警告: interworking が有効ではありません。"
+msgstr ""
+"%B(%s): 警告: ARM/THUMB 命令相互利用が有効になっていません。\n"
+"  最初の出現箇所: %B: THUMB を呼び出す ARM 命令"
 
 #: coff-arm.c:1460
 #, c-format
@@ -254,49 +256,52 @@ msgid ""
 "  first occurrence: %B: thumb call to arm\n"
 "  consider relinking with --support-old-code enabled"
 msgstr ""
+"%B(%s): 警告: ARM/THUMB 命令相互利用が有効になっていません。\n"
+"  最初の出現箇所: %B: ARM を呼び出す THUMB 命令\n"
+"  --support-old-code を有効にして再リンクすることを検討してください"
 
 #: coff-arm.c:1755 coff-tic80.c:695 cofflink.c:3030
 msgid "%B: bad reloc address 0x%lx in section `%A'"
-msgstr "%B: 不正な再配置アドレス 0x%lx がセクション `%s' 内にあります"
+msgstr "%1$B: セクション `%3$A' 内に誤った再配置アドレス 0x%2$lx があります"
 
 #: coff-arm.c:2080
 msgid "%B: illegal symbol index in reloc: %d"
 msgstr "%B: 再配置内のシンボル索引が不正です: %d"
 
 #: coff-arm.c:2211
-#, fuzzy, c-format
+#, c-format
 msgid "error: %B is compiled for APCS-%d, whereas %B is compiled for APCS-%d"
-msgstr "エラー: %s は APCS-%d 用にコンパイルされたにもかかわらず、%s が APCS-%d 用にコンパイルされました"
+msgstr "エラー: %B は APCS-%d に対してコンパイルされているにもかかわらず、 %B は APCS-%d に対してコンパイルされています"
 
 #: coff-arm.c:2227 elf32-arm.c:10334
-#, fuzzy, c-format
+#, c-format
 msgid "error: %B passes floats in float registers, whereas %B passes them in integer registers"
-msgstr "エラー: %s は浮動小数を%sレジスタに渡しているにもかかわらず、%s がそれらを%sレジスタに渡しています"
+msgstr "エラー: %B は浮動小数を浮動小数レジスタに渡しているにもかかわらず、 %B は浮動小数を整数レジスタに渡しています"
 
 #: coff-arm.c:2230 elf32-arm.c:10338
-#, fuzzy, c-format
+#, c-format
 msgid "error: %B passes floats in integer registers, whereas %B passes them in float registers"
-msgstr "エラー: %s は浮動小数を%sレジスタに渡しているにもかかわらず、%s がそれらを%sレジスタに渡しています"
+msgstr "エラー: %B は浮動小数を整数レジスタに渡しているにもかかわらず、 %B は浮動小数を浮動小数レジスタに渡しています"
 
 #: coff-arm.c:2244
-#, fuzzy, c-format
+#, c-format
 msgid "error: %B is compiled as position independent code, whereas target %B is absolute position"
-msgstr "%s: エラー: 位置非依存コードとしてコンパイルされたにもかかわらず、ターゲット %s は絶対位置になっています"
+msgstr "エラー: %B は位置非依存コードとしてコンパイルされているにも関わらず、ターゲット %B は絶対位置コードになっています"
 
 #: coff-arm.c:2247
-#, fuzzy, c-format
+#, c-format
 msgid "error: %B is compiled as absolute position code, whereas target %B is position independent"
-msgstr "%s: エラー: 絶対位置コードとしてコンパイルされたにもかかわらず、ターゲット %s は位置非依存コードになっています"
+msgstr "エラー: %B は絶対位置コードとしてコンパイルされているにもかかわらず、ターゲット %B は位置非依存コードになっています"
 
 #: coff-arm.c:2275 elf32-arm.c:10403
-#, fuzzy, c-format
+#, c-format
 msgid "Warning: %B supports interworking, whereas %B does not"
-msgstr "警告: 入力ファイル %s が interworking をサポートしているにもかかわらず、%s はサポートしていません。"
+msgstr "警告: %B は ARM/THUMB 命令相互利用をサポートしているにもかかわらず、 %B はサポートしていません"
 
 #: coff-arm.c:2278 elf32-arm.c:10409
-#, fuzzy, c-format
+#, c-format
 msgid "Warning: %B does not support interworking, whereas %B does"
-msgstr "警告: 入力ファイル %s が interworking をサポートしているにもかかわらず、%s はサポートしています。"
+msgstr "警告: %B は ARM/THUMB 命令相互利用をサポートしていないにもかかわらず、 %B はサポートしています"
 
 #: coff-arm.c:2302
 #, c-format
@@ -326,32 +331,32 @@ msgstr " [絶対位置]"
 #: coff-arm.c:2321
 #, c-format
 msgid " [interworking flag not initialised]"
-msgstr " [interworking フラグは初期化されていません]"
+msgstr " [ARM/THUMB 命令相互利用のフラグは初期化されていません]"
 
 #: coff-arm.c:2323
 #, c-format
 msgid " [interworking supported]"
-msgstr " [interworking がサポートされます]"
+msgstr " [ARM/THUMB 命令相互利用がサポートされています]"
 
 #: coff-arm.c:2325
 #, c-format
 msgid " [interworking not supported]"
-msgstr " [interworking はサポートされません]"
+msgstr " [ARM/THUMB 命令相互利用はサポートされていません]"
 
 #: coff-arm.c:2371 elf32-arm.c:9367
-#, fuzzy, c-format
+#, c-format
 msgid "Warning: Not setting interworking flag of %B since it has already been specified as non-interworking"
-msgstr "警告: 既に非 interworking と指定されているため、%s の interworking フラグを設定しません"
+msgstr "警告: ARM/THUMB 命令相互利用をしないように既に指定されているため、 %B の ARM/THUMB 命令相互利用フラグを設定しません"
 
 #: coff-arm.c:2375 elf32-arm.c:9371
-#, fuzzy, c-format
+#, c-format
 msgid "Warning: Clearing the interworking flag of %B due to outside request"
-msgstr "警告: 要求外のため %s の interworking フラグをクリアします"
+msgstr "警告: 要求外のため %s の ARM/THUMB 命令相互利用フラグをクリアします"
 
 #: coff-h8300.c:1122
 #, c-format
 msgid "cannot handle R_MEM_INDIRECT reloc when using %s output"
-msgstr ""
+msgstr "%s 出力を利用している時には R_MEM_INDIRECT 再配置を扱えません"
 
 #: coff-i860.c:147
 #, c-format
@@ -360,11 +365,11 @@ msgstr "再配置 `%s' はまだ実装されていません\n"
 
 #: coff-i860.c:605 coff-tic54x.c:398 coffcode.h:5143
 msgid "%B: warning: illegal symbol index %ld in relocs"
-msgstr "%B: 警告: 不正なシンボル索引 %ld が再配置内にあります"
+msgstr "%B: 警告: 不正なシンボル索引 %ld が再配置領域内にあります"
 
 #: coff-i960.c:143 coff-i960.c:506
 msgid "uncertain calling convention for non-COFF symbol"
-msgstr "非 COFF シンボル用の呼び出し規約が不確定です"
+msgstr "非 COFF シンボルに対する呼び出し規約が不確定です"
 
 #: coff-m68k.c:506 elf32-bfin.c:5691 elf32-cr16.c:2965 elf32-m68k.c:4615
 msgid "unsupported reloc type"
@@ -372,19 +377,19 @@ msgstr "サポートされていない再配置型です"
 
 #: coff-maxq.c:126
 msgid "Can't Make it a Short Jump"
-msgstr ""
+msgstr "短いジャンプを行うことができません"
 
 #: coff-maxq.c:191
 msgid "Exceeds Long Jump Range"
-msgstr ""
+msgstr "長いジャンプの範囲を超えています"
 
 #: coff-maxq.c:202 coff-maxq.c:276
 msgid "Absolute address Exceeds 16 bit Range"
-msgstr ""
+msgstr "絶対アドレスが 16 bit の範囲を超えています"
 
 #: coff-maxq.c:240
 msgid "Absolute address Exceeds 8 bit Range"
-msgstr ""
+msgstr "絶対アドレスが 8 bit の範囲を超えています"
 
 #: coff-maxq.c:333
 msgid "Unrecognized Reloc Type"
@@ -402,7 +407,7 @@ msgstr "認識できない再配置です"
 #: coff-rs6000.c:2789
 #, c-format
 msgid "%s: unsupported relocation type 0x%02x"
-msgstr "%s: 再配置型 0x%02x はサポートされません"
+msgstr "%s: 再配置型 0x%02x はサポートされていません"
 
 #: coff-rs6000.c:2882
 #, c-format
@@ -421,7 +426,7 @@ msgstr "認識できない再配置型 0x%x です"
 #: coff-tic4x.c:240
 #, c-format
 msgid "%s: warning: illegal symbol index %ld in relocs"
-msgstr "%s: 警告: 不正なシンボル索引 %ld が再配置内にあります"
+msgstr "%s: 警告: 不正なシンボル索引 %ld が再配置領域内にあります"
 
 #: coff-w65.c:367
 #, c-format
@@ -429,20 +434,19 @@ msgid "ignoring reloc %s\n"
 msgstr "再配置 %s を無視しています\n"
 
 #: coffcode.h:960
-#, fuzzy
 msgid "%B: warning: COMDAT symbol '%s' does not match section name '%s'"
-msgstr "警告: %s: 局所シンボル `%s' がセクションを持っていません"
+msgstr "%B: 警告: COMDAT シンボル '%s' はセクション名 '%s' に適合しません"
 
 #. Generate a warning message rather using the 'unhandled'
 #. variable as this will allow some .sys files generate by
 #. other toolchains to be processed.  See bugzilla issue 196.
 #: coffcode.h:1176
 msgid "%B: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section %s"
-msgstr ""
+msgstr "%B: 警告: セクション %s 内の IMAGE_SCN_MEM_NOT_PAGED セクションフラグを無視しています"
 
 #: coffcode.h:1240
 msgid "%B (%s): Section flag %s (0x%x) ignored"
-msgstr ""
+msgstr "%B (%s): セクションフラグ %s (0x%x) を無視しました"
 
 #: coffcode.h:2382
 #, c-format
@@ -455,7 +459,7 @@ msgstr "%B: 存在しないシンボル索引に対する再配置です: %ld"
 
 #: coffcode.h:3669
 msgid "%B: section %s: string table overflow at offset %ld"
-msgstr "%B: セクション %s: オフセット %ld で文字列テーブルがオーバーフローしました"
+msgstr "%B: セクション %s: オフセット %ld で文字列テーブルが溢れました"
 
 #: coffcode.h:4477
 msgid "%B: warning: line number table read failed"
@@ -470,9 +474,8 @@ msgid "%B: warning: duplicate line number information for `%s'"
 msgstr "%B: 警告: `%s' に対する行番号情報が重複しています"
 
 #: coffcode.h:4912
-#, fuzzy
 msgid "%B: Unrecognized storage class %d for %s symbol `%s'"
-msgstr "%s: 記憶クラス %d (section %s, symbol `%s') を認識できません"
+msgstr "%1$B: %3$s シンボル `%4$s' に対する認識できない記憶域クラス %2$d です"
 
 #: coffcode.h:5038
 msgid "warning: %B: local symbol `%s' has no section"
@@ -487,34 +490,31 @@ msgid "%B: bad string table size %lu"
 msgstr "%s: 文字列テーブルサイズ %lu が誤っています"
 
 #: cofflink.c:513 elflink.c:4308
-#, fuzzy
 msgid "Warning: type of symbol `%s' changed from %d to %d in %B"
-msgstr "警告: シンボル `%s' の型は %d から %d に変更されました (%s 内)"
+msgstr "警告: %4$B 内でシンボル `%1$s' の型が %2$d から %3$d に変更されました"
 
 #: cofflink.c:2308
-#, fuzzy
 msgid "%B: relocs in section `%A', but it has no contents"
-msgstr "%s: セクション `%s' 内の再配置領域に内容がありません"
+msgstr "%B: セクション `%A' に再配置領域がありますが、中身がありません"
 
 #: cofflink.c:2639 coffswap.h:826
 #, c-format
 msgid "%s: %s: reloc overflow: 0x%lx > 0xffff"
-msgstr "%s: %s: 再配置領域がオーバーフローしました: 0x%lx > 0xffff"
+msgstr "%s: %s: 再配置領域が溢れました: 0x%lx > 0xffff"
 
 #: cofflink.c:2648 coffswap.h:812
 #, c-format
 msgid "%s: warning: %s: line number overflow: 0x%lx > 0xffff"
-msgstr "%s: 警告: %s: 行番号がオーバーフローしました: 0x%lx > 0xffff"
+msgstr "%s: 警告: %s: 行番号が溢れました: 0x%lx > 0xffff"
 
 #: cpu-arm.c:189 cpu-arm.c:200
-#, fuzzy
 msgid "error: %B is compiled for the EP9312, whereas %B is compiled for XScale"
-msgstr "エラー: %s は APCS-%d 用にコンパイルされたにもかかわらず、%s が APCS-%d 用にコンパイルされました"
+msgstr "エラー: %B は EP9312 に対してコンパイルされているにもかかわらず、 %B は XScale に対してコンパイルされています"
 
 #: cpu-arm.c:332
 #, c-format
 msgid "warning: unable to update contents of %s section in %s"
-msgstr ""
+msgstr "警告: %2$s 内にある %1$s セクションの内容を更新できません"
 
 #: dwarf2.c:436
 #, c-format
@@ -522,19 +522,19 @@ msgid "Dwarf Error: Can't find %s section."
 msgstr "Dwarf エラー: %s セクションが見つかりません。"
 
 #: dwarf2.c:463
-#, fuzzy, c-format
+#, c-format
 msgid "Dwarf Error: unable to decompress %s section."
-msgstr "Dwarf エラー: 行番号セクションが変形されました。"
+msgstr "Dwarf エラー: %s セクションを伸張できません。"
 
 #: dwarf2.c:474
-#, fuzzy, c-format
+#, c-format
 msgid "Dwarf Error: Offset (%lu) greater than or equal to %s size (%lu)."
-msgstr "Dwarf エラー: line オフセット (%u) が line サイズ (%u) より大きいです。"
+msgstr "Dwarf エラー: オフセット (%lu) が %s のサイズ (%lu) 以上です。"
 
 #: dwarf2.c:871
-#, fuzzy, c-format
+#, c-format
 msgid "Dwarf Error: Invalid or unhandled FORM value: %u."
-msgstr "Dwarf エラー: FORM 値が不適切であるか、取り扱えません: %d。"
+msgstr "Dwarf エラー: 無効または扱えない FORM 値です: %u"
 
 #: dwarf2.c:1085
 msgid "Dwarf Error: mangled line number section (bad file number)."
@@ -882,18 +882,20 @@ msgid "%B: unsupported relocation type %s"
 msgstr "%s: サポートされていない再配置タイプ %s です"
 
 #: elf32-arm.c:3149
-#, fuzzy
 msgid ""
 "%B(%s): warning: interworking not enabled.\n"
 "  first occurrence: %B: Thumb call to ARM"
-msgstr "%s(%s): 警告: interworking が有効ではありません。"
+msgstr ""
+"%B(%s): 警告: ARM/THUMB 命令相互利用が有効ではありません\n"
+"  最初の出現箇所: %B: ARM を呼び出す THUMB 命令"
 
 #: elf32-arm.c:3190
-#, fuzzy
 msgid ""


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-11-10  9:10 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-11-10  9:10 UTC (permalink / raw)
  To: archer-commits

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 24766 bytes --]

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  43fcee644f6be43d36009200576018bf12924a44 (commit)
       via  1cadd0709fed603af6a5ed85c3b0bad29e86f8da (commit)
       via  9c71e9c0d7209d261e25e637a353d86490ddfd95 (commit)
       via  3ee415453d3877b67cfaa0c3c127af6304a8e658 (commit)
       via  45159048697d9647168a2b436a312ea3d2dc7780 (commit)
       via  1007825bd6b7e3b8790bf0f42485e1359aa3962b (commit)
       via  3fb10e156211cbabdde596b03fea1b9780ecc679 (commit)
       via  3ac4c69d2e95f5985c27c4e9287f34a8cea98ecf (commit)
       via  bef9f4dc3ec8d6060d7efa0a02d396ef635fb2a6 (commit)
       via  1e63dae39c2da9726182d90e491049be8b05be2b (commit)
      from  50f5e14daaa9630ab1dc15ca533f87d03bc68e83 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 43fcee644f6be43d36009200576018bf12924a44
Merge: 50f5e14 1cadd07
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Wed Nov 10 09:09:59 2010 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                   |    4 +
 bfd/po/ja.po                                    | 5006 +++++++++++++++--------
 bfd/version.h                                   |    2 +-
 gdb/ChangeLog                                   |    7 +
 gdb/breakpoint.c                                |    6 +-
 gdb/testsuite/ChangeLog                         |   21 +
 gdb/testsuite/gdb.base/break-entry.exp          |   12 +-
 gdb/testsuite/gdb.base/maint.exp                |    4 +-
 gdb/testsuite/gdb.base/nodebug.exp              |    4 +-
 gdb/testsuite/gdb.base/sepsymtab.exp            |    2 +-
 gdb/testsuite/gdb.base/watchpoint-cond-gone.exp |    3 +-
 gdb/testsuite/gdb.base/watchpoint.exp           |   13 +-
 gdb/version.in                                  |    2 +-
 13 files changed, 3412 insertions(+), 1674 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index bd33568..77d99a3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-08  Nick Clifton  <nickc@redhat.com>
+
+	* po/ja.po: Updated Japanese translation.
+
 2010-11-08  Alan Modra  <amodra@gmail.com>
 
 	* hash.c (bfd_hash_hash): Extract from..
diff --git a/bfd/po/ja.po b/bfd/po/ja.po
index 9373b27..b855447 100644
--- a/bfd/po/ja.po
+++ b/bfd/po/ja.po
@@ -1,2023 +1,3466 @@
 # Japanese message for bfd 2.11
-# Copyright (C) 2001 Free Software Foundation, Inc.
+# This file is distributed under the same license as the binutils package.
+# Copyright (C) 2001, 2010 Free Software Foundation, Inc.
 # Daisuke Yamashita <yamad@mb.infoweb.ne.jp>, 2001
-#
+# Yasuaki Taniguchi <yasuakit@gmail.com>, 2010.
 msgid ""
 msgstr ""
-"Project-Id-Version: bfd 2.11\n"
-"POT-Creation-Date: 2002-01-31 17:07+0000\n"
-"PO-Revision-Date: 2001-12-22 13:37+0900\n"
-"Last-Translator: Daisuke Yamashita <yamad@mb.infoweb.ne.jp>\n"
-"Language-Team: Japanese <ja@li.org>\n"
+"Project-Id-Version: bfd 2.20.1\n"
+"Report-Msgid-Bugs-To: bug-binutils@gnu.org\n"
+"POT-Creation-Date: 2010-03-03 15:03+0100\n"
+"PO-Revision-Date: 2010-11-07 20:53+0900\n"
+"Last-Translator: Yasuaki Taniguchi <yasuakit@gmail.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nulurals=1; plural=0;\n"
 
-#: aout-adobe.c:196
-#, c-format
-msgid "%s: Unknown section type in a.out.adobe file: %x\n"
-msgstr "%s: a.out.adobe ¥Õ¥¡¥¤¥ë¤ËÉÔÌÀ¤Ê¥»¥¯¥·¥ç¥ó·¿¤¬¤¢¤ê¤Þ¤¹: %x\n"
+#: aout-adobe.c:127
+msgid "%B: Unknown section type in a.out.adobe file: %x\n"
+msgstr "%B: a.out.adobe ファイルに不明なセクション型があります: %x\n"
 
-#: aout-cris.c:208
+#: aout-cris.c:204
 #, c-format
 msgid "%s: Invalid relocation type exported: %d"
-msgstr "%s: export ¤µ¤ì¤¿ºÆÇÛÃÖ¥¿¥¤¥×¤¬ÉÔŬÀڤǤ¹: %d"
+msgstr "%s: エクスポートされた再配置型が無効です: %d"
 
-#: aout-cris.c:252
-#, c-format
-msgid "%s: Invalid relocation type imported: %d"
-msgstr "%s: import ¤µ¤ì¤¿ºÆÇÛÃÖ¥¿¥¤¥×¤¬ÉÔŬÀڤǤ¹: %d"
+#: aout-cris.c:247
+msgid "%B: Invalid relocation type imported: %d"
+msgstr "%B: インポートされた再配置型が無効です: %d"
 
-#: aout-cris.c:263
-#, c-format
-msgid "%s: Bad relocation record imported: %d"
-msgstr "%s: import ¤µ¤ì¤¿ºÆÇÛÃ֥쥳¡¼¥É¤¬ÉÔÀµ¤Ç¤¹: %d"
+#: aout-cris.c:258
+msgid "%B: Bad relocation record imported: %d"
+msgstr "%B: インポートされた再配置レコードが誤っています: %d"
 
-#: aoutx.h:1282 aoutx.h:1699
+#: aoutx.h:1271 aoutx.h:1609
 #, c-format
 msgid "%s: can not represent section `%s' in a.out object file format"
-msgstr "%s: a.out ¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë·Á¼°¤Ç¤Ï¥»¥¯¥·¥ç¥ó `%s' ¤òɽ¸½¤Ç¤­¤Þ¤»¤ó"
+msgstr "%s: a.out オブジェクトファイル形式ではセクション `%s' を表現できません"
 
-#: aoutx.h:1669
+#: aoutx.h:1575
 #, c-format
-msgid ""
-"%s: can not represent section for symbol `%s' in a.out object file format"
-msgstr ""
-"%s: a.out ¥ª¥Ö¥¸¥§¥¯¥È¥Õ¥¡¥¤¥ë·Á¼°¤Ç¤Ï¥·¥ó¥Ü¥ë `%s' ÍѤΥ»¥¯¥·¥ç¥ó¤òɽ¸½¤Ç¤­"
-"¤Þ¤»¤ó"
+msgid "%s: can not represent section for symbol `%s' in a.out object file format"
+msgstr "%s: a.out オブジェクトファイル形式ではシンボル `%s' 用のセクションを表現できません"
 
-#: aoutx.h:1671
+#: aoutx.h:1577
 msgid "*unknown*"
-msgstr "*ÉÔ ÌÀ*"
+msgstr "*不明*"
+
+#: aoutx.h:3997 aoutx.h:4323
+msgid "%P: %B: unexpected relocation type\n"
+msgstr "%P: %B: 予期しない再配置タイプです\n"
 
-#: aoutx.h:3735
+#: aoutx.h:5358
 #, c-format
-msgid "%s: relocateable link from %s to %s not supported"
-msgstr "%s: %s ¤«¤é %s ¤Ø¤ÎºÆÇÛÃÖ²Äǽ¥ê¥ó¥¯¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤»¤ó"
+msgid "%s: relocatable link from %s to %s not supported"
+msgstr "%s: %s から %s への再配置可能リンクはサポートされていません"
 
-#: archive.c:1826
+#: archive.c:2057
 msgid "Warning: writing archive was slow: rewriting timestamp\n"
-msgstr "·Ù¹ð: ½ñ¸Ë¤Ø¤Î½ñ¤­¹þ¤ß¤¬ÃÙ¤ì¤Þ¤·¤¿: ¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò½ñ¤­´¹¤¨¤Þ¤¹\n"
+msgstr "警告: 書庫への書き込みが遅れました: タイムスタンプを書き換えます\n"
 
-#: archive.c:2093
+#: archive.c:2344
 msgid "Reading archive file mod timestamp"
-msgstr "½ñ¸Ë¥Õ¥¡¥¤¥ë¤Î½¤Àµ»þ¹ïÆɹþ¤ßÃæ"
+msgstr "書庫ファイルの更新日時を読み込んでいます"
 
-#. FIXME: bfd can't call perror.
-#: archive.c:2120
+#: archive.c:2368
 msgid "Writing updated armap timestamp"
-msgstr "¹¹¿·¤µ¤ì¤¿ armap ¥¿¥¤¥à¥¹¥¿¥ó¥×½ñ¹þ¤ßÃæ"
+msgstr "更新された armap 日時を書き込み中です"
 
-#: bfd.c:274
+#: bfd.c:376
 msgid "No error"
-msgstr "¥¨¥é¡¼¤Ï¤¢¤ê¤Þ¤»¤ó"
+msgstr "エラーはありません"
 
-#: bfd.c:275
+#: bfd.c:377
 msgid "System call error"
-msgstr "¥·¥¹¥Æ¥à¥³¡¼¥ë¥¨¥é¡¼"
+msgstr "システムコールエラー"
 
-#: bfd.c:276
+#: bfd.c:378
 msgid "Invalid bfd target"
-msgstr "ÉÔŬÀÚ¤Ê bfd ¥¿¡¼¥²¥Ã¥È¤Ç¤¹"
+msgstr "無効な bfd ターゲットです"
 
-#: bfd.c:277
+#: bfd.c:379
 msgid "File in wrong format"
-msgstr "´Ö°ã¤Ã¤¿·Á¼°¤Î¥Õ¥¡¥¤¥ë"
+msgstr "誤った形式のファイルです"
 
-#: bfd.c:278
-#, fuzzy
+#: bfd.c:380
 msgid "Archive object file in wrong format"
-msgstr "´Ö°ã¤Ã¤¿·Á¼°¤Î¥Õ¥¡¥¤¥ë"
+msgstr "誤った形式のオブジェクトファイル書庫です"
 
-#: bfd.c:279
+#: bfd.c:381
 msgid "Invalid operation"
-msgstr "ÉÔŬÀÚ¤ÊÁàºî"
+msgstr "無効な操作です"
 
-#: bfd.c:280
+#: bfd.c:382
 msgid "Memory exhausted"
-msgstr "¥á¥â¥ê¤ò»È¤¤²Ì¤¿¤·¤Þ¤·¤¿"
+msgstr "メモリを使い果たしました"
 
-#: bfd.c:281
+#: bfd.c:383
 msgid "No symbols"
-msgstr "¥·¥ó¥Ü¥ë¤¬¤¢¤ê¤Þ¤»¤ó"
+msgstr "シンボルがありません"
 
-#: bfd.c:282
+#: bfd.c:384
 msgid "Archive has no index; run ranlib to add one"
-msgstr ""
-"½ñ¸Ë¤Ë¥¤¥ó¥Ç¥Ã¥¯¥¹¤¬¤¢¤ê¤Þ¤»¤ó -- Äɲ乤뤿¤á¤Ë ranlib ¤ò¼Â¹Ô¤·¤Þ¤·¤ç¤¦"
+msgstr "書庫に索引がありません。追加するために ranlib を実行してください"
 
-#: bfd.c:283
+#: bfd.c:385
 msgid "No more archived files"
-msgstr "¤³¤ì°Ê¾å½ñ¸Ë¥Õ¥¡¥¤¥ë¤Ï¤¢¤ê¤Þ¤»¤ó"
+msgstr "これ以上書庫ファイルはありません"
 
-#: bfd.c:284
+#: bfd.c:386
 msgid "Malformed archive"
-msgstr "¤ª¤«¤·¤Ê½ñ¸Ë¤Ç¤¹"
+msgstr "不正な形式の書庫です"
 
-#: bfd.c:285
+#: bfd.c:387
 msgid "File format not recognized"
-msgstr "¥Õ¥¡¥¤¥ë·Á¼°¤¬Ç§¼±¤Ç¤­¤Þ¤»¤ó"
+msgstr "ファイル形式が認識できません"
 
-#: bfd.c:286
+#: bfd.c:388
 msgid "File format is ambiguous"
-msgstr "¥Õ¥¡¥¤¥ë·Á¼°¤¬Û£Ëæ¤Ç¤¹"
+msgstr "ファイル形式が曖昧です"
 
-#: bfd.c:287
+#: bfd.c:389
 msgid "Section has no contents"
-msgstr "¥»¥¯¥·¥ç¥ó¤ËÆâÍƤ¬¤¢¤ê¤Þ¤»¤ó"
+msgstr "セクションに内容がありません"
 
-#: bfd.c:288
+#: bfd.c:390
 msgid "Nonrepresentable section on output"
-msgstr "½ÐÎϤËÂбþ¤¹¤ë¥»¥¯¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤»¤ó"
+msgstr "出力に対応するセクションがありません"
 
-#: bfd.c:289
+#: bfd.c:391
 msgid "Symbol needs debug section which does not exist"
-msgstr "¸ºß¤·¤Æ¤¤¤Ê¤¤¥Ç¥Ð¥Ã¥°¥»¥¯¥·¥ç¥ó¤ò¥·¥ó¥Ü¥ë¤¬É¬ÍפȤ·¤Æ¤¤¤Þ¤¹"
+msgstr "存在していないデバッグセクションをシンボルが必要としています"
 
-#: bfd.c:290
+#: bfd.c:392
 msgid "Bad value"
-msgstr "ÉÔÀµ¤ÊÃͤǤ¹"
+msgstr "不正な値です"
 
-#: bfd.c:291
+#: bfd.c:393
 msgid "File truncated"
-msgstr "¥Õ¥¡¥¤¥ë¤¬ÅÓÀÚ¤ì¤Æ¤¤¤Þ¤¹"
+msgstr "ファイルが途切れています"
 
-#: bfd.c:292
+#: bfd.c:394
 msgid "File too big"
-msgstr "¥Õ¥¡¥¤¥ë¤¬Â礭¤¹¤®¤Þ¤¹"
+msgstr "ファイルが大きすぎます"
 
-#: bfd.c:293
+#: bfd.c:395
+#, c-format
+msgid "Error reading %s: %s"
+msgstr "%s を読み込み中にエラーが発生しました: %s"
+
+#: bfd.c:396
 msgid "#<Invalid error code>"
-msgstr "#<ÉÔŬÀڤʥ¨¥é¡¼¥³¡¼¥É>"
+msgstr "#<不適切なエラーコード>"
 
-#: bfd.c:700
+#: bfd.c:920
 #, fuzzy, c-format
 msgid "BFD %s assertion fail %s:%d"
-msgstr "bfd ¥¢¥µ¡¼¥·¥ç¥ó¤¬¼ºÇÔ %s:%d"
+msgstr "bfd アサーションが失敗 %s:%d"
 
-#: bfd.c:719
+#: bfd.c:932
 #, fuzzy, c-format
 msgid "BFD %s internal error, aborting at %s line %d in %s\n"
-msgstr "BFD ÆâÉô¥¨¥é¡¼¡£%s ¤Î %d ¹ÔÌÜ %s ¤ÇÃæÃǤ·¤Þ¤·¤¿\n"
+msgstr "BFD 内部エラー。%s の %d 行目 %s で中断しました\n"
 
-#: bfd.c:723
+#: bfd.c:936
 #, fuzzy, c-format
 msgid "BFD %s internal error, aborting at %s line %d\n"
-msgstr "BFD ÆâÉô¥¨¥é¡¼¡£%s ¤Î %d ¹ÔÌܤÇÃæÃǤ·¤Þ¤·¤¿\n"
+msgstr "BFD 内部エラー。%s の %d 行目で中断しました\n"
 
-#: bfd.c:725
+#: bfd.c:938
 msgid "Please report this bug.\n"
-msgstr "¤³¤Î¥Ð¥°¤òÊó¹ð¤·¤Æ¤¯¤À¤µ¤¤¡£\n"
+msgstr "このバグを報告してください。\n"
 
-#: binary.c:306
+#: bfdwin.c:206
 #, c-format
-msgid "Warning: Writing section `%s' to huge (ie negative) file offset 0x%lx."
-msgstr ""
-"·Ù¹ð: ¥»¥¯¥·¥ç¥ó `%s' µðÂç(Îã Éé¿ô)¤Ê¥Õ¥¡¥¤¥ë¥ª¥Õ¥»¥Ã¥È 0x%lx ¤Ø¤Î½ñ¹þ¤ß¤Ç"
-"¤¹¡£"
+msgid "not mapping: data=%lx mapped=%d\n"
+msgstr "マップしません: データ=%lx マップ済=%d\n"
+
+#: bfdwin.c:209
+#, c-format
+msgid "not mapping: env var not set\n"
+msgstr "マップしません: 環境変数が設定されていません\n"
 
-#: coff-a29k.c:119
-msgid "Missing IHCONST"
-msgstr "IHCONST ¤ò·ç¤¤¤Æ¤¤¤Þ¤¹"
+#: binary.c:284
+#, c-format
+msgid "Warning: Writing section `%s' to huge (ie negative) file offset 0x%lx."
+msgstr "警告: セクション `%s' 巨大(例 負数)なファイルオフセット 0x%lx への書込みです。"
 
-#: coff-a29k.c:180
-msgid "Missing IHIHALF"
-msgstr "IHIHALF ¤ò·ç¤¤¤Æ¤¤¤Þ¤¹"
+#: bout.c:1150 elf-m10300.c:2078 elf32-avr.c:1639 elf32-frv.c:5743
+#: elfxx-sparc.c:2456 reloc.c:5386 reloc16.c:162 vms.c:1918 elf32-ia64.c:788
+#: elf64-ia64.c:788
+msgid "%P%F: --relax and -r may not be used together\n"
+msgstr "%P%F: --relax および -r は同時に使用できません\n"
 
-#: coff-a29k.c:212 coff-or32.c:228
-msgid "Unrecognized reloc"
-msgstr "ǧ¼±¤Ç¤­¤Ê¤¤ºÆÇÛÃ֤Ǥ¹"
+#: cache.c:226
+msgid "reopening %B: %s\n"
+msgstr "%B を再オープンしています: %s\n"
 
-#: coff-a29k.c:408
-msgid "missing IHCONST reloc"
-msgstr "IHCONST ºÆÇÛÃÖ¤ò·ç¤¤¤Æ¤¤¤Þ¤¹"
+#: coff-alpha.c:490
+msgid ""
+"%B: Cannot handle compressed Alpha binaries.\n"
+"   Use compiler flags, or objZ, to generate uncompressed binaries."
+msgstr ""
+"%B: 圧縮された Alpha バイナリを扱うことができません。\n"
+"   コンパイラのフラグまたは objZ で非圧縮のバイナリを作成してください。"
 
-#: coff-a29k.c:498
-msgid "missing IHIHALF reloc"
-msgstr "IHIHALF ºÆÇÛÃÖ¤ò·ç¤¤¤Æ¤¤¤Þ¤¹"
+#: coff-alpha.c:647
+msgid "%B: unknown/unsupported relocation type %d"
+msgstr "%B: 不明/サポートされない再配置型 %d です"
 
-#: coff-alpha.c:881 coff-alpha.c:918 coff-alpha.c:1989 coff-mips.c:1433
+#: coff-alpha.c:899 coff-alpha.c:936 coff-alpha.c:2024 coff-mips.c:1003
 msgid "GP relative relocation used when GP not defined"
-msgstr "GP ¤¬Ì¤ÄêµÁ¤Î»þ¤Ë GP ´ØÏ¢ºÆÇÛÃÖ¤¬»È¤ï¤ì¤Þ¤·¤¿"
+msgstr "GP が未定義の時に GP 関連再配置が使われました"
 
-#: coff-alpha.c:1485
+#: coff-alpha.c:1501
 msgid "using multiple gp values"
-msgstr "Ê£¿ô¤Î gp Ãͤò»ÈÍѤ¹¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹"
+msgstr "複数の gp 値を使用しています"
 
-#: coff-arm.c:1051 elf32-arm.h:285
-#, c-format
-msgid "%s: unable to find THUMB glue '%s' for `%s'"
-msgstr "%s: THUMB ¥°¥ë¡¼ '%s' (`%s' ÍÑ) ¤ò¸«¤Ä¤±¤é¤ì¤Þ¤»¤ó"
+#: coff-alpha.c:1560
+msgid "%B: unsupported relocation: ALPHA_R_GPRELHIGH"
+msgstr "%B: サポートされていない再配置: ALPHA_R_GPRELHIGH"
 
-#: coff-arm.c:1080 elf32-arm.h:320
-#, c-format
-msgid "%s: unable to find ARM glue '%s' for `%s'"
-msgstr "%s: ARM ¥°¥ë¡¼ '%s' (`%s' ÍÑ) ¤ò¸«¤Ä¤±¤é¤ì¤Þ¤»¤ó"
+#: coff-alpha.c:1567
+msgid "%B: unsupported relocation: ALPHA_R_GPRELLOW"
+msgstr "%B: サポートされていない再配置: ALPHA_R_GPRELLOW"
 
-#: coff-arm.c:1375 coff-arm.c:1470 elf32-arm.h:886 elf32-arm.h:990
-#, c-format
-msgid "%s(%s): warning: interworking not enabled."
-msgstr "%s(%s): ·Ù¹ð: interworking ¤¬Í­¸ú¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£"
+#: coff-alpha.c:1574 elf32-m32r.c:2477 elf64-alpha.c:3943 elf64-alpha.c:4098
+#: elf32-ia64.c:4462 elf64-ia64.c:4462
+msgid "%B: unknown relocation type %d"
+msgstr "%B: 不明な再配置型 %d です"
 
-#: coff-arm.c:1379 elf32-arm.h:993
-#, c-format
-msgid "  first occurrence: %s: arm call to thumb"
-msgstr "  ½é²óȯÀ¸: %s: arm ¤Î thumb ¸Æ¤Ó½Ð¤·"
+#: coff-arm.c:1039
+#, fuzzy, c-format
+msgid "%B: unable to find THUMB glue '%s' for `%s'"
+msgstr "%s: THUMB グルー '%s' (`%s' 用) を見つけられません"
 
-#: coff-arm.c:1474 elf32-arm.h:889
-#, c-format
-msgid "  first occurrence: %s: thumb call to arm"
-msgstr "  ½é²óȯÀ¸: %s: thumb ¤Î arm ¸Æ¤Ó½Ð¤·"
+#: coff-arm.c:1068
+#, fuzzy, c-format
+msgid "%B: unable to find ARM glue '%s' for `%s'"
+msgstr "%s: ARM グルー '%s' (`%s' 用) を見つけられません"
 
-#: coff-arm.c:1477
-msgid "  consider relinking with --support-old-code enabled"
-msgstr ""
-"  --support-old-code ¤òÍ­¸ú¤Ë¤·¤ÆºÆ¥ê¥ó¥¯¤¹¤ë¤³¤È¤ò¹Íθ¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤"
+#: coff-arm.c:1370 elf32-arm.c:6372
+#, fuzzy, c-format
+msgid ""
+"%B(%s): warning: interworking not enabled.\n"
+"  first occurrence: %B: arm call to thumb"
+msgstr "%s(%s): 警告: interworking が有効ではありません。"
 
-#: coff-arm.c:1767 coff-tic80.c:686 cofflink.c:3017
+#: coff-arm.c:1460
 #, c-format
-msgid "%s: bad reloc address 0x%lx in section `%s'"
-msgstr "%s: ÉÔÀµ¤ÊºÆÇÛÃÖ¥¢¥É¥ì¥¹ 0x%lx ¤¬¥»¥¯¥·¥ç¥ó `%s' Æâ¤Ë¤¢¤ê¤Þ¤¹"
+msgid ""
+"%B(%s): warning: interworking not enabled.\n"
+"  first occurrence: %B: thumb call to arm\n"
+"  consider relinking with --support-old-code enabled"
+msgstr ""
 
-#: coff-arm.c:2107
-#, c-format
-msgid "%s: illegal symbol index in reloc: %d"
-msgstr "%s: ºÆÇÛÃÖÆâ¤Î¥·¥ó¥Ü¥ë¥¤¥ó¥Ç¥Ã¥¯¥¹¤¬ÉÔÀµ¤Ç¤¹: %d"
+#: coff-arm.c:1755 coff-tic80.c:695 cofflink.c:3030
+msgid "%B: bad reloc address 0x%lx in section `%A'"
+msgstr "%B: 不正な再配置アドレス 0x%lx がセクション `%s' 内にあります"
 
-#: coff-arm.c:2235
-#, c-format
-msgid "%s: ERROR: compiled for APCS-%d whereas target %s uses APCS-%d"
-msgstr ""
-"%s: ¥¨¥é¡¼: APCS-%d ÍѤ˥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¥¿¡¼¥²¥Ã¥È %s ¤Ë¤â¤«¤«¤ï¤é¤º APCS-%d "
-"¤ò»È¤Ã¤Æ¤¤¤Þ¤¹"
+#: coff-arm.c:2080
+msgid "%B: illegal symbol index in reloc: %d"
+msgstr "%B: 再配置内のシンボル索引が不正です: %d"
 
-#: coff-arm.c:2250
-#, c-format
-msgid ""
-"%s: ERROR: passes floats in float registers whereas target %s uses integer "
-"registers"
-msgstr ""
-"%s: ¥¨¥é¡¼: ÉâÆ°¾®¿ô¥ì¥¸¥¹¥¿¤ËÉâÆ°¾®¿ô¤òÅϤ·¤Æ¤¤¤ë¤Ë¤â¤«¤«¤ï¤é¤º¡¢¥¿¡¼¥²¥Ã¥È "
-"%s ¤¬À°¿ô¥ì¥¸¥¹¥¿¤ò»È¤Ã¤Æ¤¤¤Þ¤¹"
+#: coff-arm.c:2211
+#, fuzzy, c-format
+msgid "error: %B is compiled for APCS-%d, whereas %B is compiled for APCS-%d"
+msgstr "エラー: %s は APCS-%d 用にコンパイルされたにもかかわらず、%s が APCS-%d 用にコンパイルされました"
 
-#: coff-arm.c:2253
-#, c-format
-msgid ""
-"%s: ERROR: passes floats in integer registers whereas target %s uses float "
-"registers"
-msgstr ""
-"%s: ¥¨¥é¡¼: À°¿ô¥ì¥¸¥¹¥¿¤ËÉâÆ°¾®¿ô¤òÅϤ·¤Æ¤¤¤ë¤Ë¤â¤«¤«¤ï¤é¤º¡¢¥¿¡¼¥²¥Ã¥È %s "
-"¤ÏÉâÆ°¾®¿ô¥ì¥¸¥¹¥¿¤ò»È¤Ã¤Æ¤¤¤Þ¤¹"
+#: coff-arm.c:2227 elf32-arm.c:10334
+#, fuzzy, c-format
+msgid "error: %B passes floats in float registers, whereas %B passes them in integer registers"
+msgstr "エラー: %s は浮動小数を%sレジスタに渡しているにもかかわらず、%s がそれらを%sレジスタに渡しています"
 
-#: coff-arm.c:2268
-#, c-format
-msgid ""
-"%s: ERROR: compiled as position independent code, whereas target %s is "
-"absolute position"
-msgstr ""
-"%s: ¥¨¥é¡¼: °ÌÃÖÈó°Í¸¥³¡¼¥É¤È¤·¤Æ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¤Ë¤â¤«¤«¤ï¤é¤º¡¢¥¿¡¼¥²¥Ã¥È "
-"%s ¤ÏÀäÂаÌÃ֤ˤʤäƤ¤¤Þ¤¹"
+#: coff-arm.c:2230 elf32-arm.c:10338
+#, fuzzy, c-format
+msgid "error: %B passes floats in integer registers, whereas %B passes them in float registers"
+msgstr "エラー: %s は浮動小数を%sレジスタに渡しているにもかかわらず、%s がそれらを%sレジスタに渡しています"
 
-#: coff-arm.c:2271
-#, c-format
-msgid ""
-"%s: ERROR: compiled as absolute position code, whereas target %s is position "
-"independent"
-msgstr ""
-"%s: ¥¨¥é¡¼: ÀäÂаÌÃÖ¥³¡¼¥É¤È¤·¤Æ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¤Ë¤â¤«¤«¤ï¤é¤º¡¢¥¿¡¼¥²¥Ã¥È %"
-"s ¤Ï°ÌÃÖÈó°Í¸¥³¡¼¥É¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹"
+#: coff-arm.c:2244
+#, fuzzy, c-format
+msgid "error: %B is compiled as position independent code, whereas target %B is absolute position"
+msgstr "%s: エラー: 位置非依存コードとしてコンパイルされたにもかかわらず、ターゲット %s は絶対位置になっています"
 
-#: coff-arm.c:2300
+#: coff-arm.c:2247
 #, fuzzy, c-format
-msgid "Warning: %s supports interworking, whereas %s does not."
-msgstr ""
-"·Ù¹ð: ÆþÎÏ¥Õ¥¡¥¤¥ë %s ¤¬ interworking ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤Ë¤â¤«¤«¤ï¤é¤º¡¢%s ¤Ï"
-"¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó¡£"
+msgid "error: %B is compiled as absolute position code, whereas target %B is position independent"
+msgstr "%s: エラー: 絶対位置コードとしてコンパイルされたにもかかわらず、ターゲット %s は位置非依存コードになっています"
 
-#: coff-arm.c:2303
+#: coff-arm.c:2275 elf32-arm.c:10403
 #, fuzzy, c-format


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-11-08  9:41 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-11-08  9:41 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  50f5e14daaa9630ab1dc15ca533f87d03bc68e83 (commit)
       via  6405077542cc5b6325d29381059ec6da8e014489 (commit)
       via  7230711e31ddbf07c57cbb2f6fa365ef1ea5fca1 (commit)
       via  110f62ff8cdaafe1f62d4ccf87acbf9ec54ec8c1 (commit)
       via  daf877c040390d8c63871f303a8af637af29a21e (commit)
       via  e848cef8dfe2b3cd4064029df315f4cb3798d1c2 (commit)
       via  e0b23b65cc7d2632e753f4e63b15cb35a367fad3 (commit)
       via  c014cc56111333f7c8757615a06ff83467bebb3d (commit)
       via  dc79c9d70fd271361c1de38988c31914bf02b911 (commit)
       via  f2cce584e9ca6da90e08ba4ef9c5728e6d5659de (commit)
       via  86f524e3bac0da140d57dcb15d50a3b85cb5f3c0 (commit)
       via  4550c9db5003341e7690bbd7b4a08f6d5d49c725 (commit)
       via  c61e52853767278ca6a9f997dae8e4e706b745b8 (commit)
       via  9500a47c33216200c084a2d186f51f89bb2842c0 (commit)
       via  2601496ec3f61488f10bbba6d34e3532a2fdd11d (commit)
       via  100d4cd4f6f42014c07e6acd0d9b6187d1259b2e (commit)
       via  48f09c3898b89b81f693bab1389476a10ba72e2c (commit)
       via  a5f2975bdd252a4b851cdbf5d082a07ebebc7cd0 (commit)
       via  e4fc1367b43f494dd3f33c5f29b08f631809790e (commit)
       via  b44aa726772752492fc1721e381d09b0146156a7 (commit)
       via  5d4538292daab7951fc4a816bba8b31feeaab991 (commit)
       via  e77390af68b6110d9ef06395c3c5055249cd2a50 (commit)
       via  7feb2234cbbe936c2a48e8b442bfcaf487bb6c00 (commit)
       via  be5d47630b22a77813f607d9e2f8b2b843345a30 (commit)
       via  8d7ba29117a77e20beba75ec5c767a801a0c4ba4 (commit)
       via  9c14d06d05f4ebb7c839c8285f598c6091a35da9 (commit)
       via  f8d20ee4a41ea7149ac8bd4f78a0316e3ac059b4 (commit)
       via  2a19fb230b8ee399551804ee86727c4d9ad31e1c (commit)
       via  0e144e829308658248d5546d52ffeb28b15e2b68 (commit)
       via  5ab6e655f66d692250a3fd029c2e2dd3d98c6c6e (commit)
       via  165ea935fa6610ee8d21fa7a123a867acc94f3ce (commit)
       via  e8c38aa2bb35b5abeae940f8728661b77012aec2 (commit)
       via  1dce25c761a38616931e47546359a0babbc5f88d (commit)
       via  471b5dc75b242447b2ad91a069ae84874d6e30f2 (commit)
       via  071518426bded225bc28d6480fd39f1891519f74 (commit)
       via  b7ccfa5e25fb1df62eb455e7ee234b99c70d13dc (commit)
       via  e56e65ba8ddc42de23477c11c8553e11edac51db (commit)
       via  2c7c9e97e654779550ce5f1da513368e53852996 (commit)
       via  7415f6aaa8613ca439040420347d6df75e495702 (commit)
       via  0cc7114393b1d8ab9f6c58284afe4941c6d8f2f7 (commit)
       via  a88208defa655bd9070d1281c31a4224f6fd6db7 (commit)
       via  5f5809c6ce20fce7b221e65843b18550e53203b5 (commit)
       via  7b593c557d14ab9cc21638be6518e279b929cdfb (commit)
       via  4b4ecb533f41287206e9eec601963c2a014b9f83 (commit)
       via  583e61f90299f75322cd29483351d378c6d185c8 (commit)
       via  6aa0516e6febd8d17d8d2fd49ad9061b7940b1ee (commit)
       via  7eef2add1e87e2a3083c8549029d28c93df5dab4 (commit)
       via  87c4cdd048cfaef8db45587bc58f06df97e992b9 (commit)
       via  39f348ae3d7fcda912135ea2ef8af4a3797c5a0a (commit)
       via  156555e0dd67ee54144f7877847d6a4d5b3bfb85 (commit)
       via  550df216bb6d848ad393cf96c88d626d7da88505 (commit)
       via  26148f25dbe24f2c22ffaaba73852172611d311b (commit)
       via  8405572c5488d38c1b02fc159432eaaf7ff07eb3 (commit)
       via  8d8114061768f9657f0869d2954f63a5a48c7382 (commit)
       via  89cb907efc4c75ce8bfc672c69b4bc22f2c74aae (commit)
       via  5062b183c190c8339d11d61aa0cac1150fe41b70 (commit)
       via  00c3bfe025e9419e0a9a337e940db4f76e8ff78c (commit)
       via  a858b45ab08abe6362385984f9dd2999aa2df59d (commit)
       via  bf5cb1467d41bca799f36f4564d8f4c76476dc5b (commit)
       via  98d040efa816a321cec956def2865b0372a17741 (commit)
       via  12ce367e025aa650b27afb83d36eecff66ef5905 (commit)
       via  874be79c426e888f67f18d96b0a837c79546a08a (commit)
       via  f539ba5797fa3c3a167c84d368778333bbf6e6db (commit)
       via  3468845cf828e997090099c88b1735c604106d24 (commit)
       via  5d5b76023ab4d796ed9eb9e3a02a02f1dd06aaa0 (commit)
       via  af87e42fa4e758ed82ce7cfec167ebec299e3bf9 (commit)
       via  5e6f6a11bf2d5c6cdb4556d6906615d6dd64b5ff (commit)
       via  9a2bd35a6fdbe385d0768e876a269c2d4fefb1f3 (commit)
       via  06df7f5ccdb68654e2978554d279ed4d1b46a645 (commit)
       via  774c0801b3a964a7d611102d69f9230a127f5366 (commit)
       via  68c19cc2eb92a1a44b6e5b6465f9315b4e5266e0 (commit)
       via  21847ae52fc7b26bee800270ba1d96abc1db07f6 (commit)
       via  fd50a55b1de8ccd660f7573fa677dcbf5234504f (commit)
       via  f4adc15f9eade09c52dc4c8815cb489597fa8e80 (commit)
       via  89681dbb8411456f08a5f3b9c8a4a3d4b231daad (commit)
       via  d6320a093f4d297b2a0819988d4e3e6a1b1321f7 (commit)
       via  e42900c60c2bde6a8680c4fd260a57d173419efd (commit)
       via  d16905b01ec440caf9b9d0aebe1ada80b22ee281 (commit)
       via  936e4250911dc3c4943783bb44a5c94a987897ed (commit)
       via  91e5d44a5440bd1018028759f02fadc715f6b103 (commit)
       via  5220f0051c7d9dc4e440c2f48aab5e6779bb07d0 (commit)
       via  dc732ab277fc738be8596790f3b6512883fad19b (commit)
       via  2af78ff3212d774245864f527a442b57dc4ec736 (commit)
       via  b513843c81172d96f0d365ffd3f356a175b1b683 (commit)
       via  8f8155235f71462c4f2e3031336131824e72e4ad (commit)
       via  0b9e810b27cf59712abc905289ad134fecc8c6ce (commit)
       via  d552655b4fa7dcaf2b40d9e190b752df6b063036 (commit)
       via  730af9f6239085f1f62a61a37612154d32f75d72 (commit)
       via  f8942a0d2ad1734c52e1dd3cadd3aa412de327e5 (commit)
       via  b612002e6aab3536b645fae3e7ac991dbc11427e (commit)
       via  9af2d88c1e99cc0bf4593efe2cc25e26be7fb0a8 (commit)
       via  ea00e595c65960514f156a8e1639e71eef5753e4 (commit)
       via  ed2c7099633ddd54a58a523b6e4c377013193f94 (commit)
       via  7770d2f4535f87eee0415946a675d1fb8f489303 (commit)
       via  1dc2e9b312872dd2882594324b8b0dbb5cf2025a (commit)
       via  e675d31ff4c84d9e8e1d92d8274bd52b9c3fe80d (commit)
       via  27791b32eea79646c8b96e3c6b83aeefc27bc1a1 (commit)
       via  c2d636362c30af59d290a2e66860143669542185 (commit)
       via  8e3eeadc9e1d04a52be2b8b00578b339aabe9dcd (commit)
       via  b3338f3e3f76357d4ce3a649dbe7957824a82a07 (commit)
       via  a58b0da3c225ac304959ef6e8de56fe84d970ed0 (commit)
       via  3ccd7a287fc2515525f797ee492e64d487c92708 (commit)
      from  73caedb514b04d9aeb75a91ac9f9851699367a3f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 50f5e14daaa9630ab1dc15ca533f87d03bc68e83
Merge: 73caedb 6405077
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Nov 8 09:38:17 2010 +0000

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 COPYING.LIBGLOSS                                   |    2 +-
 COPYING.NEWLIB                                     |    2 +-
 ChangeLog                                          |   19 +
 bfd/ChangeLog                                      |  281 ++-
 bfd/archive.c                                      |   10 +-
 bfd/bfd-in.h                                       |    4 +
 bfd/bfd-in2.h                                      |   63 +-
 bfd/bfd.c                                          |   17 +-
 bfd/coffcode.h                                     |    9 +-
 bfd/compress.c                                     |  396 ++-
 bfd/configure                                      |    2 +-
 bfd/configure.in                                   |    2 +-
 bfd/doc/ChangeLog                                  |    4 +
 bfd/doc/bfd.texinfo                                |   11 +-
 bfd/dwarf2.c                                       |  174 +-
 bfd/ecoff.c                                        |   10 +-
 bfd/elf-attrs.c                                    |  111 +
 bfd/elf-bfd.h                                      |   10 +-
 bfd/elf-m10200.c                                   |   11 +-
 bfd/elf-m10300.c                                   |   11 +-
 bfd/elf.c                                          |   77 +-
 bfd/elf32-arm.c                                    |  155 +-
 bfd/elf32-avr.c                                    |   11 +-
 bfd/elf32-bfin.c                                   |   22 +-
 bfd/elf32-cr16.c                                   |   11 +-
 bfd/elf32-cr16c.c                                  |   11 +-
 bfd/elf32-cris.c                                   |   11 +-
 bfd/elf32-crx.c                                    |   11 +-
 bfd/elf32-d10v.c                                   |   11 +-
 bfd/elf32-fr30.c                                   |   11 +-
 bfd/elf32-frv.c                                    |   11 +-
 bfd/elf32-h8300.c                                  |   11 +-
 bfd/elf32-hppa.c                                   |   15 +-
 bfd/elf32-i370.c                                   |   11 +-
 bfd/elf32-i860.c                                   |   11 +-
 bfd/elf32-ip2k.c                                   |   11 +-
 bfd/elf32-iq2000.c                                 |   11 +-
 bfd/elf32-lm32.c                                   |   11 +-
 bfd/elf32-m32c.c                                   |   11 +-
 bfd/elf32-m32r.c                                   |   11 +-
 bfd/elf32-m68hc1x.c                                |   11 +-
 bfd/elf32-m68k.c                                   |   11 +-
 bfd/elf32-mcore.c                                  |   11 +-
 bfd/elf32-mep.c                                    |   11 +-
 bfd/elf32-moxie.c                                  |   11 +-
 bfd/elf32-msp430.c                                 |   11 +-
 bfd/elf32-mt.c                                     |   11 +-
 bfd/elf32-openrisc.c                               |   11 +-
 bfd/elf32-ppc.c                                    |    6 +-
 bfd/elf32-rx.c                                     |   11 +-
 bfd/elf32-s390.c                                   |   11 +-
 bfd/elf32-score.c                                  |   11 +-
 bfd/elf32-score7.c                                 |   11 +-
 bfd/elf32-sh.c                                     |   11 +-
 bfd/elf32-spu.c                                    |   11 +-
 bfd/elf32-tic6x.c                                  |  283 ++-
 bfd/elf32-v850.c                                   |   11 +-
 bfd/elf32-vax.c                                    |   11 +-
 bfd/elf32-xc16x.c                                  |    8 +-
 bfd/elf32-xstormy16.c                              |   11 +-
 bfd/elf32-xtensa.c                                 |   11 +-
 bfd/elf64-alpha.c                                  |   25 +-
 bfd/elf64-hppa.c                                   |   18 +-
 bfd/elf64-mmix.c                                   |   11 +-
 bfd/elf64-ppc.c                                    |   14 +-
 bfd/elf64-s390.c                                   |   11 +-
 bfd/elf64-sh64.c                                   |   11 +-
 bfd/elflink.c                                      |    4 +-
 bfd/elfxx-ia64.c                                   |   18 +-
 bfd/elfxx-mips.c                                   |   32 +-
 bfd/elfxx-sparc.c                                  |   12 +-
 bfd/elfxx-target.h                                 |    8 +-
 bfd/hash.c                                         |   58 +-
 bfd/libbfd-in.h                                    |   16 +-
 bfd/libbfd.c                                       |    9 +
 bfd/libbfd.h                                       |   16 +-
 bfd/makefile.vms                                   |    2 +-
 bfd/merge.c                                        |    5 +-
 bfd/opncls.c                                       |   28 +-
 bfd/po/bfd.pot                                     | 3803 +++++++++++++++-----
 bfd/reloc.c                                        |   19 +-
 bfd/section.c                                      |   58 +-
 bfd/simple.c                                       |   14 +-
 bfd/version.h                                      |    2 +-
 bfd/vms-lib.c                                      |   14 +-
 configure                                          |  907 +-----
 configure.ac                                       |  159 +-
 gdb/ChangeLog                                      |  207 ++
 gdb/Makefile.in                                    |    9 +-
 gdb/NEWS                                           |   21 +
 gdb/ada-valprint.c                                 |   23 +-
 gdb/c-exp.y                                        |  136 +-
 gdb/c-lang.c                                       |    2 +-
 gdb/c-lang.h                                       |    7 +
 gdb/c-typeprint.c                                  |   23 +-
 gdb/c-valprint.c                                   |    7 +-
 gdb/configure                                      |    8 +
 gdb/configure.ac                                   |    8 +
 gdb/data-directory/Makefile.in                     |    5 +-
 gdb/defs.h                                         |    2 +-
 gdb/dictionary.c                                   |    5 +-
 gdb/doc/ChangeLog                                  |   24 +
 gdb/doc/gdb.texinfo                                |  379 ++-
 gdb/dwarf2read.c                                   |   21 +-
 gdb/eval.c                                         |   28 +-
 gdb/gdbthread.h                                    |    2 -
 gdb/gdbtypes.c                                     |  193 +-
 gdb/gdbtypes.h                                     |   56 +-
 gdb/infrun.c                                       |   10 +-
 gdb/linux-nat.c                                    |   14 +-
 gdb/opencl-lang.c                                  | 1162 ++++++
 gdb/python/lib/gdb/__init__.py                     |    4 +
 gdb/python/lib/gdb/{ => command}/__init__.py       |    2 +
 gdb/python/lib/gdb/command/pretty_printers.py      |  369 ++
 gdb/python/lib/gdb/printing.py                     |  197 +
 gdb/python/py-prettyprint.c                        |    8 +-
 gdb/python/python-internal.h                       |   10 +-
 gdb/python/python.c                                |   31 +-
 gdb/python/python.h                                |    2 +
 gdb/remote.c                                       |   22 +-
 gdb/scm-exp.c                                      |  502 ---
 gdb/scm-lang.c                                     |  308 --
 gdb/scm-lang.h                                     |   77 -
 gdb/scm-tags.h                                     |  378 --
 gdb/scm-valprint.c                                 |  462 ---
 gdb/solib.c                                        |    9 +-
 gdb/source.c                                       |   62 +-
 gdb/testsuite/ChangeLog                            |   70 +
 gdb/testsuite/Makefile.in                          |    4 +-
 gdb/testsuite/configure                            |    3 +-
 gdb/testsuite/configure.ac                         |    2 +-
 gdb/testsuite/gdb.ada/null_array.exp               |    9 +
 gdb/testsuite/gdb.base/default.exp                 |    2 +-
 gdb/testsuite/gdb.base/exprs.exp                   |    9 +
 gdb/testsuite/gdb.base/gnu_vector.exp              |   22 +-
 gdb/testsuite/gdb.base/help.exp                    |    2 +-
 gdb/testsuite/gdb.cp/oranking.exp                  |    3 -
 gdb/testsuite/gdb.cp/overload.cc                   |   18 +
 gdb/testsuite/gdb.cp/overload.exp                  |    5 +
 gdb/testsuite/gdb.opencl/Makefile.in               |   17 +
 .../convs_casts.cl}                                |   75 +-
 gdb/testsuite/gdb.opencl/convs_casts.exp           |   95 +
 gdb/testsuite/gdb.opencl/datatypes.cl              |  145 +
 gdb/testsuite/gdb.opencl/datatypes.exp             |  471 +++
 gdb/testsuite/gdb.opencl/operators.cl              |  105 +
 gdb/testsuite/gdb.opencl/operators.exp             |  955 +++++
 gdb/testsuite/gdb.opencl/vec_comps.cl              |   59 +
 gdb/testsuite/gdb.opencl/vec_comps.exp             |  390 ++
 .../gdb.python/{py-param.exp => py-parameter.exp}  |    7 +-
 .../sigstep-threads.c => gdb.python/py-pp-maint.c} |   68 +-
 gdb/testsuite/gdb.python/py-pp-maint.exp           |  126 +
 gdb/testsuite/gdb.python/py-pp-maint.py            |   74 +
 gdb/testsuite/gdb.threads/sigstep-threads.exp      |   74 -
 gdb/testsuite/lib/cl_util.c                        |  519 +++
 gdb/testsuite/lib/cl_util.h                        |   88 +
 gdb/testsuite/lib/opencl.exp                       |   83 +
 gdb/testsuite/lib/opencl_hostapp.c                 |  168 +
 gdb/testsuite/lib/opencl_kernel.cl                 |    5 +
 gdb/top.c                                          |   12 +
 gdb/tracepoint.c                                   |   12 +-
 gdb/valarith.c                                     |   66 +-
 gdb/valops.c                                       |   41 +-
 gdb/valprint.c                                     |   77 +-
 gdb/valprint.h                                     |    3 -
 gdb/value.c                                        |   20 +
 gdb/value.h                                        |    2 +
 gdb/version.in                                     |    2 +-
 include/ChangeLog                                  |    8 +
 include/dwarf2.h                                   |    2 +
 include/elf/ChangeLog                              |   16 +
 include/elf/tic6x-attrs.h                          |   10 +
 include/simple-object.h                            |  203 ++
 libdecnumber/ChangeLog                             |    5 +
 libdecnumber/dconfig.h                             |    7 +-
 libiberty/ChangeLog                                |   39 +
 libiberty/Makefile.in                              |   48 +-
 libiberty/aclocal.m4                               |   49 -
 libiberty/config.in                                |   15 +
 libiberty/configure                                |   55 +-
 libiberty/configure.ac                             |   15 +-
 libiberty/functions.texi                           |  182 +-
 libiberty/pex-unix.c                               |  201 +-
 libiberty/setproctitle.c                           |    2 +-
 libiberty/simple-object-coff.c                     |  804 +++++
 libiberty/simple-object-common.h                   |  355 ++
 libiberty/simple-object-elf.c                      |  916 +++++
 libiberty/simple-object-mach-o.c                   | 1022 ++++++
 libiberty/simple-object.c                          |  423 +++
 libiberty/simple-object.txh                        |  168 +
 opcodes/ChangeLog                                  |   20 +
 opcodes/mips-opc.c                                 |   14 +-
 opcodes/po/opcodes.pot                             |  332 +-
 opcodes/s390-opc.txt                               |    6 +-
 opcodes/tic6x-dis.c                                |    2 +
 194 files changed, 15611 insertions(+), 5374 deletions(-)
 create mode 100644 gdb/opencl-lang.c
 copy gdb/python/lib/gdb/{ => command}/__init__.py (99%)
 create mode 100644 gdb/python/lib/gdb/command/pretty_printers.py
 create mode 100644 gdb/python/lib/gdb/printing.py
 delete mode 100644 gdb/scm-exp.c
 delete mode 100644 gdb/scm-lang.c
 delete mode 100644 gdb/scm-lang.h
 delete mode 100644 gdb/scm-tags.h
 delete mode 100644 gdb/scm-valprint.c
 create mode 100644 gdb/testsuite/gdb.opencl/Makefile.in
 copy gdb/testsuite/{gdb.threads/sigstep-threads.c => gdb.opencl/convs_casts.cl} (52%)
 create mode 100644 gdb/testsuite/gdb.opencl/convs_casts.exp
 create mode 100644 gdb/testsuite/gdb.opencl/datatypes.cl
 create mode 100644 gdb/testsuite/gdb.opencl/datatypes.exp
 create mode 100644 gdb/testsuite/gdb.opencl/operators.cl
 create mode 100644 gdb/testsuite/gdb.opencl/operators.exp
 create mode 100644 gdb/testsuite/gdb.opencl/vec_comps.cl
 create mode 100644 gdb/testsuite/gdb.opencl/vec_comps.exp
 rename gdb/testsuite/gdb.python/{py-param.exp => py-parameter.exp} (95%)
 rename gdb/testsuite/{gdb.threads/sigstep-threads.c => gdb.python/py-pp-maint.c} (54%)
 create mode 100644 gdb/testsuite/gdb.python/py-pp-maint.exp
 create mode 100644 gdb/testsuite/gdb.python/py-pp-maint.py
 delete mode 100644 gdb/testsuite/gdb.threads/sigstep-threads.exp
 create mode 100644 gdb/testsuite/lib/cl_util.c
 create mode 100644 gdb/testsuite/lib/cl_util.h
 create mode 100644 gdb/testsuite/lib/opencl.exp
 create mode 100644 gdb/testsuite/lib/opencl_hostapp.c
 create mode 100644 gdb/testsuite/lib/opencl_kernel.cl
 create mode 100644 include/simple-object.h
 create mode 100644 libiberty/simple-object-coff.c
 create mode 100644 libiberty/simple-object-common.h
 create mode 100644 libiberty/simple-object-elf.c
 create mode 100644 libiberty/simple-object-mach-o.c
 create mode 100644 libiberty/simple-object.c
 create mode 100644 libiberty/simple-object.txh

First 500 lines of diff:
diff --git a/COPYING.LIBGLOSS b/COPYING.LIBGLOSS
index 5f02c44..403d42b 100644
--- a/COPYING.LIBGLOSS
+++ b/COPYING.LIBGLOSS
@@ -229,7 +229,7 @@ POSSIBILITY OF SUCH DAMAGE.
  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  SUCH DAMAGE.
 
-(13) - Xilinx, Inc. (micrroblaze-* and powerpc-* targets)
+(13) - Xilinx, Inc. (microblaze-* and powerpc-* targets)
 
 Copyright (c) 2004, 2009 Xilinx, Inc.  All rights reserved.
 
diff --git a/COPYING.NEWLIB b/COPYING.NEWLIB
index 515fcda..59687b6 100644
--- a/COPYING.NEWLIB
+++ b/COPYING.NEWLIB
@@ -797,7 +797,7 @@ SUCH DAMAGE.
  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-(36) - Xilinx, Inc. (micrroblaze-* and powerpc-* targets)
+(36) - Xilinx, Inc. (microblaze-* and powerpc-* targets)
 
 Copyright (c) 2004, 2009 Xilinx, Inc.  All rights reserved.
 
diff --git a/ChangeLog b/ChangeLog
index 54fb1bd..f97c1ab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2010-11-05  Michael Eager  <eager@eagercon.com>
+
+	* COPYING.LIBGLOSS: Correct typo in microblaze.
+	* COPYING.NEWLIB: Same.
+
+2010-11-03  Ian Lance Taylor  <iant@google.com>
+	    Dave Korn  <dave.korn.cygwin@gmail.com>
+
+	PR lto/46273
+	* configure.ac: Remove libelf tests.  Build lto-plugin on ELF always
+	and on other supported platforms whenever LTO is enabled.
+	* configure: Rebuild.
+
+2010-11-02  Alan Modra  <amodra@gmail.com>
+
+	PR binutils/12110
+	* configure.ac: Error when source path contains spaces.
+	* configure: Regenerate.
+
 2010-10-20  Ian Lance Taylor  <iant@google.com>
 
 	* Makefile.def (target_modules): Set lib_path to src/.libs for
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f5749a9..bd33568 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,280 @@
+2010-11-08  Alan Modra  <amodra@gmail.com>
+
+	* hash.c (bfd_hash_hash): Extract from..
+	(bfd_hash_lookup): ..here.
+	(bfd_hash_rename): New function.
+	* section.c (bfd_rename_section): New function.
+	* bfd-in.h (bfd_hash_rename): Declare.
+	* bfd-in2.h: Regenerate.
+	* elf.c (_bfd_elf_make_section_from_shdr): Rename input sections
+	when compressing or decompressing.  Don't assert name match.
+	* elf64-hppa.c (get_reloc_section): Don't assert name match.
+	* elfxx-ia64.c (get_reloc_section): Likewise.
+
+2010-11-05  Joseph Myers  <joseph@codesourcery.com>
+
+	* elf32-tic6x.c (elf32_tic6x_obj_attrs_handle_unknown): New.
+	(elf32_tic6x_merge_attributes): Use
+	_bfd_elf_merge_unknown_attribute_low and
+	_bfd_elf_merge_unknown_attribute_list.
+	(elf_backend_obj_attrs_handle_unknown): Define.
+
+2010-11-05  Joseph Myers  <joseph@codesourcery.com>
+
+	* elf-attrs.c (_bfd_elf_merge_unknown_attribute_low,
+	_bfd_elf_merge_unknown_attribute_list): Correct test for matching
+	string attributes.
+
+2010-11-05  Tristan Gingold  <gingold@adacore.com>
+
+	* po/bfd.pot: Regenerate
+
+2010-11-05  Tristan Gingold  <gingold@adacore.com>
+
+	* configure.in: Bump version to 2.21.51
+	* configure: Regenerate.
+
+2010-11-04  Maciej W. Rozycki  <macro@codesourcery.com>
+
+	PR ld/10144
+	* elfxx-mips.c (_bfd_mips_elf_check_relocs)
+	[R_MIPS_32, R_MIPS_REL32, R_MIPS_64]: Ignore relocs from
+	SEC_DEBUGGING sections.
+
+2010-11-04  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-lib.c (vms_write_index): Fix thinko: reverse the loop.
+	Use bfd_zmalloc instead of bfd_malloc.  Fix comment.
+
+2010-11-04  Kai Tietz  <kai.tietz@onevision.com>
+
+	* coffcode.h (GNU_LINKONCE_WT): New.
+	(sec_to_styp_flags): Add handling of new debug
+	section.
+	(styp_to_sec_flags): Likewise.
+
+2010-11-04  Tristan Gingold  <gingold@adacore.com>
+
+	* makefile.vms (CFLAGS): Make badalias warnings informational.
+	* vms-lib.c (vms_lib_bread): Avoid arithmetic on void pointer.
+
+2010-11-04  Joseph Myers  <joseph@codesourcery.com>
+
+	* elf-attrs.c (_bfd_elf_merge_unknown_attribute_low,
+	_bfd_elf_merge_unknown_attribute_list): New.
+	* elf-bfd.h (struct elf_backend_data): Add
+	obj_attrs_handle_unknown.
+	(_bfd_elf_merge_unknown_attribute_low,
+	_bfd_elf_merge_unknown_attribute_list): Declare.
+	* elf32-arm.c (elf32_arm_obj_attrs_handle_unknown): New.  Split
+	out from elf32_arm_merge_eabi_attributes.
+	(elf32_arm_merge_eabi_attributes): Use
+	_bfd_elf_merge_unknown_attribute_low and
+	_bfd_elf_merge_unknown_attribute_list.
+	(elf_backend_obj_attrs_handle_unknown): Define.
+	* elfxx-target.h (elf_backend_obj_attrs_handle_unknown): Define.
+	(elfNN_bed): Update initializer.
+
+2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* bfd.c (BFD_FLAGS_FOR_BFD_USE_MASK): New.
+	* bfd-in2.h: Regenerated.
+
+2010-11-02  Joseph Myers  <joseph@codesourcery.com>
+
+	* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Except for
+	Tag_ABI_compatibility, treat odd tags as strings and even ones as
+	integers.
+	(elf32_tic6x_obj_attrs_order, elf32_tic6x_tag_to_array_alignment,
+	elf32_tic6x_array_alignment_to_tag): New.
+	(elf32_tic6x_merge_attributes): Handle more attributes.  Set type
+	for merged attributes.
+	(elf_backend_obj_attrs_order): Define.
+
+2010-10-29  Maciej W. Rozycki  <macro@codesourcery.com>
+
+	* elfxx-mips.c (mips_elf_calculate_relocation): Fix a typo.
+
+2010-10-29  Pawel Sikora  <pluto@pld-linux.org>
+
+	PR binutils/12075
+	* compress.c (bfd_compress_section_contents): Use uLong on
+	compressed_size.
+
+2010-10-29  Joseph Myers  <joseph@codesourcery.com>
+
+	* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type): Check
+	Tag_ABI_compatibility not Tag_compatibility.
+	(elf32_tic6x_merge_attributes): Update compatibility attribute
+	name in comment.  Return FALSE if merging common attributes fails.
+
+2010-10-29  Nick Clifton  <nickc@redhat.com>
+
+	PR bintils/6962
+	* coffcode.h (handle_COMDAT): Only check the base type when
+	looking for a section symbol.
+
+2010-10-29  H.J. Lu  <hongjiu.lu@intel.com>
+	    Cary Coutant  <ccoutant@google.com>
+
+	* archive.c (bfd_openr_next_archived_file): Copy BFD_COMPRESS
+	and BFD_DECOMPRESS.
+
+	* bfd.c (BFD_COMPRESS): New.
+	(BFD_DECOMPRESS): Likewise.
+	(BFD_FLAGS_SAVED): Likewise.
+	(bfd_preserve_save): Replace BFD_IN_MEMORY with BFD_FLAGS_SAVED.
+
+	* compress.c (bfd_uncompress_section_contents): Removed.
+	(get_uncompressed_size): New.
+	(decompress_contents): Likewise.
+	(bfd_compress_section_contents): Likewise.
+	(bfd_get_full_section_contents): Likewise.
+	(bfd_is_section_compressed): Likewise.
+	(bfd_init_section_decompress_status): Likewise.
+	(bfd_init_section_compress_status): Likewise.
+
+	* dwarf2.c (dwarf_debug_sections): New.
+	(dwarf_debug_section_enum): Likewise.
+	(read_section): Remove section_name and compressed_section_name.
+	Add dwarf_debug_section_enum.  Try compressed debug section.
+	(read_indirect_string): Updated.
+	(read_abbrevs): Likewise.
+	(decode_line_info): Likewise.
+	(read_debug_ranges): Likewise.
+	(find_line): Updated.
+
+	* ecoff.c (bfd_debug_section): Add compress_status and
+	compressed_size.
+
+	* elf.c (_bfd_elf_make_section_from_shdr): Call
+	bfd_is_section_compressed to check if a DWARF debug section is
+	compressed.  Call bfd_init_section_compress_status or
+	bfd_init_section_decompress_status if needed.
+
+	* elflink.c (elf_link_input_bfd): Replace bfd_get_section_contents
+	with bfd_get_full_section_contents.
+	* merge.c (_bfd_add_merge_section): Likewise.
+	* reloc.c (bfd_generic_get_relocated_section_contents): Likewise.
+	* simple.c (bfd_simple_get_relocated_section_contents): Likewise.
+
+	* elfxx-target.h (TARGET_BIG_SYM): Allow BFD_COMPRESS and
+	BFD_DECOMPRESS.
+	(TARGET_LITTLE_SYM): Likewise.
+
+	* libbfd-in.h (dwarf_debug_section): New.
+	(dwarf_debug_sections): Likewise.
+
+	* libbfd.c (_bfd_generic_get_section_contents): Issue an error
+	when getting contents on compressed/decompressed section.
+
+	* section.c (COMPRESS_SECTION_NONE): New.
+	(COMPRESS_SECTION_DONE): Likewise.
+	(DECOMPRESS_SECTION_SIZED): Likewise.
+	(BFD_FAKE_SECTION): Add compress_status and compressed_size.
+	(bfd_malloc_and_get_section): Replace bfd_get_section_contents
+	with bfd_get_full_section_contents.
+
+	* bfd-in2.h: Regenerated.
+	* libbfd.h: Likewise.
+
+2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
+            Joseph Myers  <joseph@codesourcery.com>
+
+	* elf32-tic6x.c (elf32_tic6x_merge_attributes): Check for mismatch
+	of DSBT attributes.
+
+2010-10-25  Daniel Jacobowitz  <dan@codesourcery.com>
+
+	* elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Always call
+	_bfd_clear_contents.  Pass it the input section.
+	* libbfd-in.h (_bfd_clear_contents): Add input_section argument.
+	* libbfd.h: Regenerate.
+	* reloc.c (_bfd_clear_contents): Take input_section argument.
+	Use non-zero for .debug_ranges.
+	(bfd_generic_get_relocated_section_conten): Update _bfd_clear_contents
+	call.
+
+	* elf32-arm.c (elf32_arm_relocate_section): Use
+	RELOC_AGAINST_DISCARDED_SECTION.
+	* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
+	* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
+	* elf32-arm.c (elf32_arm_relocate_section): Likewise.
+	* elf32-avr.c (elf32_avr_relocate_section): Likewise.
+	* elf32-bfin.c (bfin_relocate_section): Likewise.
+	(bfinfdpic_relocate_section): Likewise.
+	* elf32-cr16.c (elf32_cr16_relocate_section): Likewise.
+	* elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise.
+	* elf32-cris.c (cris_elf_relocate_section): Likewise.
+	* elf32-crx.c (elf32_crx_relocate_section): Likewise.
+	* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
+	* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
+	* elf32-frv.c (elf32_frv_relocate_section): Likewise.
+	* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
+	* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
+	* elf32-i370.c (i370_elf_relocate_section): Likewise.
+	* elf32-i860.c (elf32_i860_relocate_section): Likewise.
+	* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
+	* elf32-iq2000.c (iq2000_elf_relocate_section): Likewise.
+	* elf32-lm32.c (lm32_elf_relocate_section): Likewise.
+	* elf32-m32c.c (m32c_elf_relocate_section): Likewise.
+	* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
+	* elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise.
+	* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+	* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
+	* elf32-mep.c (mep_elf_relocate_section): Likewise.
+	* elf32-moxie.c (moxie_elf_relocate_section): Likewise.
+	* elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
+	* elf32-mt.c (mt_elf_relocate_section): Likewise.
+	* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
+	* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+	* elf32-rx.c (rx_elf_relocate_section): Likewise.
+	* elf32-s390.c (elf_s390_relocate_section): Likewise.
+	* elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise.
+	* elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise.
+	* elf32-sh.c (sh_elf_relocate_section): Likewise.
+	* elf32-spu.c (spu_elf_relocate_section): Likewise.
+	* elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise.
+	* elf32-v850.c (v850_elf_relocate_section): Likewise.
+	* elf32-vax.c (elf_vax_relocate_section): Likewise.
+	* elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise.
+	* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
+	* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
+	* elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise.
+	(elf64_alpha_relocate_section): Likewise.
+	* elf64-hppa.c (elf64_hppa_relocate_section): Likewise.
+	* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
+	* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
+	* elf64-s390.c (elf_s390_relocate_section): Likewise.
+	* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
+	* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
+	* elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise.
+	* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
+
+2010-10-25  Nathan Sidwell  <nathan@codesourcery.com>
+
+	* elf32-tic6x.c: Add attribution.
+
+2010-10-25  Alan Modra  <amodra@gmail.com>
+
+	* elf32-arm.c (find_stub_size_and_template): Avoid uninitialized
+	var warning at -O3.
+
+2010-10-25  Alan Modra  <amodra@gmail.com>
+
+	* opncls.c (bfd_alloc, bfd_zalloc): Don't mark internal.
+	* libbfd-in.h (bfd_alloc, bfd_zalloc): Don't declare here.
+	* libbfd.h: Regenerate
+	* bfd-in2.h: Regenerate.
+
+2010-10-25  Alan Modra  <amodra@gmail.com>
+
+	* opncls.c (_bfd_id_counter): Rename to bfd_id_counter.
+	(bfd_reserved_id_counter, bfd_use_reserved_id): New vars.
+	(_bfd_new_bfd): Use negative id when bfd_use_reserved_id.
+	(bfd_create): Doc fix.
+	* bfd-in2.h: Regenerate.
+
 2010-10-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
 	* elfxx-sparc.c (tpoff): Define bed, static_tls_size.
@@ -60,7 +337,7 @@
 	(elf_backend_static_tls_alignment): Redefine for Solaris 2.
 	Undef again for Intel L1OM.
 
-2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com> 
+2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
 
 	Apply LD plugin patch series (part 6/6).
 	* aoutx.h (aout_link_check_ar_symbols): Take new "subsbfd" reference
@@ -189,7 +466,7 @@
 	Delete.
 	(elf32_tic6x_rel_relocation_p): Adjusted to match changes in
 	data structures.
- 	* elf32-microblaze.c (microblaze_elf_check_relocs): Use
+	* elf32-microblaze.c (microblaze_elf_check_relocs): Use
 	_bfd_elf_single_rel_hdr.
 	* elf32-ppc.c (ppc_elf_relax_section): Likewise.
 	* elf32-spu.c (spu_elf_relocate_section): Likewise.
diff --git a/bfd/archive.c b/bfd/archive.c
index 1b3f692..ed40141 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -697,6 +697,8 @@ DESCRIPTION
 bfd *
 bfd_openr_next_archived_file (bfd *archive, bfd *last_file)
 {
+  bfd *abfd;
+
   if ((bfd_get_format (archive) != bfd_archive)
       || (archive->direction == write_direction))
     {
@@ -704,8 +706,14 @@ bfd_openr_next_archived_file (bfd *archive, bfd *last_file)
       return NULL;
     }
 
-  return BFD_SEND (archive,
+  abfd = BFD_SEND (archive,
 		   openr_next_archived_file, (archive, last_file));
+
+  /* Copy BFD_COMPRESS and BFD_DECOMPRESS flags.  */
+  if (abfd)
+    abfd->flags |= archive->flags & (BFD_COMPRESS | BFD_DECOMPRESS);
+
+  return abfd;
 }
 
 bfd *
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index cfa5225..63fcdc9 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -404,6 +404,10 @@ extern struct bfd_hash_entry *bfd_hash_lookup
 extern struct bfd_hash_entry *bfd_hash_insert
   (struct bfd_hash_table *, const char *, unsigned long);
 
+/* Rename an entry in a hash table.  */
+extern void bfd_hash_rename
+  (struct bfd_hash_table *, const char *, struct bfd_hash_entry *);
+
 /* Replace an entry in a hash table.  */
 extern void bfd_hash_replace
   (struct bfd_hash_table *, struct bfd_hash_entry *old,
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 4bd47ca..f3e2b45 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -411,6 +411,10 @@ extern struct bfd_hash_entry *bfd_hash_lookup
 extern struct bfd_hash_entry *bfd_hash_insert
   (struct bfd_hash_table *, const char *, unsigned long);
 
+/* Rename an entry in a hash table.  */
+extern void bfd_hash_rename
+  (struct bfd_hash_table *, const char *, struct bfd_hash_entry *);
+
 /* Replace an entry in a hash table.  */
 extern void bfd_hash_replace
   (struct bfd_hash_table *, struct bfd_hash_entry *old,
@@ -964,6 +968,7 @@ extern struct coff_comdat_info *bfd_coff_get_comdat_section
 void bfd_init (void);
 
 /* Extracted from opncls.c.  */
+extern unsigned int bfd_use_reserved_id;
 bfd *bfd_fopen (const char *filename, const char *target,
     const char *mode, int fd);
 
@@ -1000,6 +1005,10 @@ bfd_boolean bfd_make_writable (bfd *abfd);
 
 bfd_boolean bfd_make_readable (bfd *abfd);
 
+void *bfd_alloc (bfd *abfd, bfd_size_type wanted);
+
+void *bfd_zalloc (bfd *abfd, bfd_size_type wanted);
+
 unsigned long bfd_calc_gnu_debuglink_crc32
    (unsigned long crc, const unsigned char *buf, bfd_size_type len);
 
@@ -1348,6 +1357,12 @@ typedef struct bfd_section
   /* Mark flag used by some linker backends for garbage collection.  */
   unsigned int gc_mark : 1;
 
+  /* Section compression status.  */
+  unsigned int compress_status : 2;
+#define COMPRESS_SECTION_NONE    0
+#define COMPRESS_SECTION_DONE    1
+#define DECOMPRESS_SECTION_SIZED 2
+
   /* The following flags are used by the ELF linker. */
 
   /* Mark sections which have been allocated to segments.  */
@@ -1404,6 +1419,9 @@ typedef struct bfd_section
      section size calculated on a previous linker relaxation pass.  */
   bfd_size_type rawsize;
 
+  /* The compressed size of the section in octets.  */
+  bfd_size_type compressed_size;
+
   /* Relaxation table. */
   struct relax_table *relax;
 
@@ -1637,17 +1655,17 @@ extern asection bfd_ind_section;
   /* name, id,  index, next, prev, flags, user_set_vma,            */  \
   { NAME,  IDX, 0,     NULL, NULL, FLAGS, 0,                           \
                                                                        \
-  /* linker_mark, linker_has_input, gc_mark, segment_mark,         */  \
+  /* linker_mark, linker_has_input, gc_mark, decompress_status,    */  \
      0,           0,                1,       0,                        \
                                                                        \
-  /* sec_info_type, use_rela_p,                                    */  \
-     0,             0,                                                 \
+  /* segment_mark, sec_info_type, use_rela_p,                      */  \
+     0,            0,             0,                                   \
                                                                        \
   /* sec_flg0, sec_flg1, sec_flg2, sec_flg3, sec_flg4, sec_flg5,   */  \
      0,        0,        0,        0,        0,        0,              \
                                                                        \
-  /* vma, lma, size, rawsize, relax, relax_count,                  */  \
-     0,   0,   0,    0,       0,     0,                                \
+  /* vma, lma, size, rawsize, compressed_size, relax, relax_count, */  \
+     0,   0,   0,    0,       0,               0,     0,               \
                                                                        \
   /* output_offset, output_section,              alignment_power,  */  \
      0,             (struct bfd_section *) &SEC, 0,                    \
@@ -1699,6 +1717,9 @@ asection *bfd_make_section (bfd *, const char *name);
 bfd_boolean bfd_set_section_flags
    (bfd *abfd, asection *sec, flagword flags);
 
+void bfd_rename_section
+   (bfd *abfd, asection *sec, const char *newname);
+
 void bfd_map_over_sections
    (bfd *abfd,
     void (*func) (bfd *abfd, asection *sect, void *obj),
@@ -5057,6 +5078,21 @@ struct bfd
      will be consistent from run to run.  */
 #define BFD_DETERMINISTIC_OUTPUT 0x4000
 
+  /* Compress sections in this BFD.  */
+#define BFD_COMPRESS 0x8000
+
+  /* Decompress sections in this BFD.  */
+#define BFD_DECOMPRESS 0x10000
+


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-10-22 14:29 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-10-22 14:29 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  6f20b1172e615a5c2bfd30d8ccc87693a661eb35 (commit)
       via  891eaafc8685002d1c8a5169053c86256f5e9ddc (commit)
       via  859bf2bfae8e797048278bd9c195bd0cac2d7650 (commit)
       via  8cc6a10b9e6f99eb81b60807d076aafecb0c0e31 (commit)
       via  ee5cf7d013bae34f525f169e0f3823a012a5871e (commit)
       via  48a7534346e7531457ec11ec543ac839097a9fc9 (commit)
       via  be23213b0255aa5124ce0475ec66b113973a108a (commit)
       via  33f2256080e6494abc9d63c589d3459279723b23 (commit)
       via  07bb390d0d100d7a5046861d2bd9deabffae64ca (commit)
       via  b723d3e94bf135c3c59b7b7cafba4baae355df4a (commit)
       via  0e03e762f44581936efa72e245065fe05a16ff84 (commit)
       via  ee9092a331d74142b74657051ceca14f36a333d4 (commit)
       via  e7d22f507fcee4dd8c7869e30d197e4079356d3a (commit)
       via  6737b3df32e5f18e441bffa81670cad040a4e8bd (commit)
       via  e1eeda55629ae072081070ef7901b68576a67107 (commit)
       via  ab621c2d5de88a3141c9d39592e4a061136a71af (commit)
      from  a18e2b3647d131e7de66c4a5d12591a4b1efe3c7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 6f20b1172e615a5c2bfd30d8ccc87693a661eb35
Merge: a18e2b3 891eaaf
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Fri Oct 22 15:29:23 2010 +0100

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                        |    7 +
 Makefile.def                                     |    2 +-
 Makefile.in                                      |    4 +-
 Makefile.tpl                                     |    2 +-
 bfd/ChangeLog                                    |   62 +++
 bfd/config.bfd                                   |   10 +-
 bfd/configure                                    |    2 +
 bfd/configure.in                                 |    2 +
 bfd/elf-bfd.h                                    |    3 +
 bfd/elf32-i386.c                                 |   13 +-
 bfd/elf32-sparc.c                                |   20 +-
 bfd/elf32-tic6x.c                                |   20 +-
 bfd/elf64-sparc.c                                |   22 +-
 bfd/elf64-x86-64.c                               |   13 +-
 bfd/elflink.c                                    |    6 +-
 bfd/elfxx-sparc.c                                |    7 +-
 bfd/elfxx-target.h                               |    6 +-
 bfd/targets.c                                    |    4 +
 bfd/version.h                                    |    2 +-
 gdb/ChangeLog                                    |   18 +
 gdb/Makefile.in                                  |    3 +-
 gdb/data-directory/Makefile.in                   |   34 ++-
 gdb/doc/ChangeLog                                |    7 +
 gdb/doc/gdbint.texinfo                           |  456 ++++++++++++----------
 gdb/gdbserver/ChangeLog                          |    6 +
 gdb/gdbserver/Makefile.in                        |   36 ++-
 gdb/testsuite/ChangeLog                          |    4 +
 gdb/testsuite/gdb.cp/smartp.cc                   |  163 ++++++++
 gdb/testsuite/gdb.cp/smartp.exp                  |   77 ++++
 gdb/testsuite/gdb.threads/fork-child-threads.exp |    4 +
 gdb/tracepoint.c                                 |   33 ++-
 gdb/version.in                                   |    2 +-
 include/elf/ChangeLog                            |    7 +
 include/elf/tic6x-attrs.h                        |    2 +-
 include/elf/tic6x.h                              |   18 +-
 opcodes/ChangeLog                                |    5 +
 opcodes/Makefile.am                              |    7 +-
 opcodes/Makefile.in                              |    7 +-
 38 files changed, 833 insertions(+), 263 deletions(-)
 create mode 100644 gdb/testsuite/gdb.cp/smartp.cc
 create mode 100644 gdb/testsuite/gdb.cp/smartp.exp

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 5fb7b61..54fb1bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-10-20  Ian Lance Taylor  <iant@google.com>
+
+	* Makefile.def (target_modules): Set lib_path to src/.libs for
+	libstdc++-v3 module.
+	* Makefile.tpl: Fix typo in TARGET_LIB_PATH comment.
+	* Makefile.in: Rebuild.
+
 2010-10-08  Bernd Schmidt  <bernds@codesourcery.com>
 	    Joseph Myers  <joseph@codesourcery.com>
 
diff --git a/Makefile.def b/Makefile.def
index 29cd1a3..6223bf3 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -149,7 +149,7 @@ host_modules= { module= lto-plugin; bootstrap=true; };
 
 target_modules = { module= libstdc++-v3;
 		   bootstrap=true;
-		   lib_path=.libs;
+		   lib_path=src/.libs;
 		   raw_cxx=true; };
 target_modules = { module= libmudflap; lib_path=.libs; };
 target_modules = { module= libssp; lib_path=.libs; };
diff --git a/Makefile.in b/Makefile.in
index 1d5ef9e..aaea69d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -560,11 +560,11 @@ all:
 ###
 
 # This is the list of directories that may be needed in RPATH_ENVVAR
-# so that prorgams built for the target machine work.
+# so that programs built for the target machine work.
 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
 
 @if target-libstdc++-v3
-TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
+TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
 @endif target-libstdc++-v3
 
 @if target-libmudflap
diff --git a/Makefile.tpl b/Makefile.tpl
index 1f0419c..4c55ee2 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -513,7 +513,7 @@ all:
 ###
 
 # This is the list of directories that may be needed in RPATH_ENVVAR
-# so that prorgams built for the target machine work.
+# so that programs built for the target machine work.
 TARGET_LIB_PATH = [+ FOR target_modules +][+
   IF lib_path +]$(TARGET_LIB_PATH_[+module+])[+ ENDIF lib_path +][+
   ENDFOR target_modules +]$(HOST_LIB_PATH_gcc)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7981dce..f5749a9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,65 @@
+2010-10-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+	* elfxx-sparc.c (tpoff): Define bed, static_tls_size.
+	Consider static_tls_alignment.
+
+	* elf32-sparc.c (TARGET_BIG_SYM): Redefine to
+	bfd_elf32_sparc_sol2_vec.
+	(TARGET_BIG_NAME): Redefine to elf32-sparc-sol2.
+	(elf32_bed): Redefine to elf32_sparc_sol2_bed.
+	(elf_backend_static_tls_alignment): Redefine to 8.
+	Include elf32-target.h.
+	(elf_backend_static_tls_alignment): Undef again for VxWorks.
+
+	* elf64-sparc.c (TARGET_BIG_SYM): Redefine to
+	bfd_elf64_sparc_sol2_vec.
+	(TARGET_BIG_NAME): Redefine to elf64-sparc-sol2.
+	(ELF_OSABI): Undef.
+	(elf64_bed): Redefine to elf64_sparc_sol2_bed.
+	(elf_backend_static_tls_alignment): Redefine to 16.
+	Include elf64-target.h.
+
+	* config.bfd (sparc-*-solaris2.[0-6]): Split from sparc-*-elf*.
+	Set targ_defvec to bfd_elf32_sparc_sol2_vec.
+	[BFD64] (sparc-*-solaris2*): Set targ_defvec to
+	bfd_elf32_sparc_sol2_vec.
+	Replace bfd_elf64_sparc_vec by bfd_elf64_sparc_sol2_vec in
+	targ_selvecs.
+
+	* configure.in: Handle bfd_elf32_sparc_sol2_vec,
+	bfd_elf64_sparc_sol2_vec.
+	* configure: Regenerate.
+
+	* targets.c (bfd_elf32_sparc_sol2_vec): Declare.
+	(bfd_elf64_sparc_sol2_vec): Declare.
+	(_bfd_target_vector): Add bfd_elf32_sparc_sol2_vec,
+	bfd_elf64_sparc_sol2_vec.
+
+2010-10-21  Joseph Myers  <joseph@codesourcery.com>
+
+	* elf32-tic6x.c (elf32_tic6x_merge_arch_attributes): Update for
+	attribute renaming.
+	(elf_backend_obj_attrs_section): Change to ".c6xabi.attributes".
+
+2010-10-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+	* elf-bfd.h (struct elf_backend_data): New member
+	static_tls_alignment.
+	* elfxx-target.h (elf_backend_static_tls_alignment): Provide
+	default.
+	(elfNN_bed): Initialize static_tls_alignment.
+	* elflink.c (bfd_elf_final_link): Don't round end of TLS section
+	if static TLS has special alignment requirements.
+	* elf32-i386.c (elf_i386_tpoff): Define bed, static_tls_size.
+	Consider static_tls_alignment.
+	(elf_backend_static_tls_alignment): Redefine for Solaris 2.
+	Undef again for VxWorks.
+	* elf64-x86-64.c (elf64_x86_64_tpoff):  Define bed,
+	static_tls_size.
+	Consider static_tls_alignment.
+	(elf_backend_static_tls_alignment): Redefine for Solaris 2.
+	Undef again for Intel L1OM.
+
 2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com> 
 
 	Apply LD plugin patch series (part 6/6).
diff --git a/bfd/config.bfd b/bfd/config.bfd
index e42535f..f0a03e3 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -1395,14 +1395,18 @@ case "${targ}" in
     targ_defvec=bfd_elf32_sparc_vec
     targ_selvecs=sparcnetbsd_vec
     ;;
-  sparc-*-elf* | sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
+  sparc-*-elf*)
     targ_defvec=bfd_elf32_sparc_vec
     targ_selvecs=sunos_big_vec
     ;;
+  sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
+    targ_defvec=bfd_elf32_sparc_sol2_vec
+    targ_selvecs=sunos_big_vec
+    ;;
 #ifdef BFD64
   sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
-    targ_defvec=bfd_elf32_sparc_vec
-    targ_selvecs="bfd_elf64_sparc_vec sunos_big_vec"
+    targ_defvec=bfd_elf32_sparc_sol2_vec
+    targ_selvecs="bfd_elf64_sparc_sol2_vec sunos_big_vec"
     want64=true
     ;;
 #endif
diff --git a/bfd/configure b/bfd/configure
index 980711a..41009f2 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -15148,6 +15148,7 @@ do
     bfd_elf32_shnbsd_vec)	tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
     bfd_elf32_shvxworks_vec)	tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
     bfd_elf32_sparc_vec)	tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    bfd_elf32_sparc_sol2_vec)	tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
     bfd_elf32_sparc_vxworks_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
     bfd_elf32_spu_vec)		tb="$tb elf32-spu.lo elf32.lo $elf" ;;
     bfd_elf32_tic6x_be_vec)	tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
@@ -15185,6 +15186,7 @@ do
     bfd_elf64_sh64nbsd_vec)	tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
     bfd_elf64_sparc_vec)	tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
     bfd_elf64_sparc_freebsd_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
+    bfd_elf64_sparc_sol2_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
     bfd_elf64_tradbigmips_vec)	tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     bfd_elf64_tradlittlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     bfd_elf64_x86_64_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
diff --git a/bfd/configure.in b/bfd/configure.in
index 13fb66f..2a876bf 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -783,6 +783,7 @@ do
     bfd_elf32_shnbsd_vec)	tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
     bfd_elf32_shvxworks_vec)	tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
     bfd_elf32_sparc_vec)	tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    bfd_elf32_sparc_sol2_vec)	tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
     bfd_elf32_sparc_vxworks_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
     bfd_elf32_spu_vec)		tb="$tb elf32-spu.lo elf32.lo $elf" ;;
     bfd_elf32_tic6x_be_vec)	tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
@@ -820,6 +821,7 @@ do
     bfd_elf64_sh64nbsd_vec)	tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
     bfd_elf64_sparc_vec)	tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
     bfd_elf64_sparc_freebsd_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
+    bfd_elf64_sparc_sol2_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
     bfd_elf64_tradbigmips_vec)	tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     bfd_elf64_tradlittlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     bfd_elf64_x86_64_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 66dcbcd..0527bbd 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1256,6 +1256,9 @@ struct elf_backend_data
      actual tag number to place in the input position.  */
   int (*obj_attrs_order) (int);
 
+  /* This is non-zero if static TLS segments require a special alignment.  */
+  unsigned static_tls_alignment;
+
   /* This is TRUE if the linker should act like collect and gather
      global constructors and destructors by name.  This is TRUE for
      MIPS ELF because the Irix 5 tools can not handle the .init
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 8d8bc85..ae749c6 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -2828,11 +2828,16 @@ static bfd_vma
 elf_i386_tpoff (struct bfd_link_info *info, bfd_vma address)
 {
   struct elf_link_hash_table *htab = elf_hash_table (info);
+  const struct elf_backend_data *bed = get_elf_backend_data (info->output_bfd);
+  bfd_vma static_tls_size;
 
   /* If tls_sec is NULL, we should have signalled an error already.  */
   if (htab->tls_sec == NULL)
     return 0;
-  return htab->tls_size + htab->tls_sec->vma - address;
+
+  /* Consider special static TLS alignment requirements.  */
+  static_tls_size = BFD_ALIGN (htab->tls_size, bed->static_tls_alignment);
+  return static_tls_size + htab->tls_sec->vma - address;
 }
 
 /* Relocate an i386 ELF section.  */
@@ -4795,6 +4800,11 @@ elf_i386_fbsd_post_process_headers (bfd *abfd, struct bfd_link_info *info)
 #undef	elf32_bed
 #define	elf32_bed			elf32_i386_sol2_bed
 
+/* The 32-bit static TLS arena size is rounded to the nearest 8-byte
+   boundary.  */
+#undef elf_backend_static_tls_alignment
+#define elf_backend_static_tls_alignment 8
+
 /* The Solaris 2 ABI requires a plt symbol on all platforms.
 
    Cf. Linker and Libraries Guide, Ch. 2, Link-Editor, Generating the Output
@@ -4848,6 +4858,7 @@ elf_i386_vxworks_link_hash_table_create (bfd *abfd)
 #undef elf_backend_final_write_processing
 #define elf_backend_final_write_processing \
   elf_vxworks_final_write_processing
+#undef elf_backend_static_tls_alignment
 
 /* On VxWorks, we emit relocations against _PROCEDURE_LINKAGE_TABLE_, so
    define it.  */
diff --git a/bfd/elf32-sparc.c b/bfd/elf32-sparc.c
index adfe924..187d466 100644
--- a/bfd/elf32-sparc.c
+++ b/bfd/elf32-sparc.c
@@ -1,6 +1,6 @@
 /* SPARC-specific support for 32-bit ELF
    Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-   2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+   2003, 2004, 2005, 2006, 2007, 2010 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -246,6 +246,23 @@ elf32_sparc_add_symbol_hook (bfd * abfd,
 
 #include "elf32-target.h"
 
+/* Solaris 2.  */
+
+#undef	TARGET_BIG_SYM
+#define	TARGET_BIG_SYM				bfd_elf32_sparc_sol2_vec
+#undef	TARGET_BIG_NAME
+#define	TARGET_BIG_NAME				"elf32-sparc-sol2"
+
+#undef elf32_bed
+#define elf32_bed				elf32_sparc_sol2_bed
+
+/* The 32-bit static TLS arena size is rounded to the nearest 8-byte
+   boundary.  */
+#undef elf_backend_static_tls_alignment
+#define elf_backend_static_tls_alignment	8
+
+#include "elf32-target.h"
+
 /* A wrapper around _bfd_sparc_elf_link_hash_table_create that identifies
    the target system as VxWorks.  */
 
@@ -305,6 +322,7 @@ elf32_sparc_vxworks_final_write_processing (bfd *abfd, bfd_boolean linker)
 #undef elf_backend_final_write_processing
 #define elf_backend_final_write_processing \
   elf32_sparc_vxworks_final_write_processing
+#undef elf_backend_static_tls_alignment
 
 #undef elf32_bed
 #define elf32_bed				sparc_elf_vxworks_bed
diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c
index a570f88..7d971d8 100644
--- a/bfd/elf32-tic6x.c
+++ b/bfd/elf32-tic6x.c
@@ -1673,7 +1673,7 @@ elf32_tic6x_obj_attrs_arg_type (int tag)
     return ATTR_TYPE_FLAG_INT_VAL;
 }
 
-/* Merge the Tag_C6XABI_Tag_CPU_arch attribute values ARCH1 and ARCH2
+/* Merge the Tag_ISA attribute values ARCH1 and ARCH2
    and return the merged value.  At present, all merges succeed, so no
    return value for errors is defined.  */
 
@@ -1687,11 +1687,11 @@ elf32_tic6x_merge_arch_attributes (int arch1, int arch2)
 
   /* In most cases, the numerically greatest value is the correct
      merged value, but merging C64 and C67 results in C674X.  */
-  if ((min_arch == C6XABI_Tag_CPU_arch_C67X
-       || min_arch == C6XABI_Tag_CPU_arch_C67XP)
-      && (max_arch == C6XABI_Tag_CPU_arch_C64X
-	  || max_arch == C6XABI_Tag_CPU_arch_C64XP))
-    return C6XABI_Tag_CPU_arch_C674X;
+  if ((min_arch == C6XABI_Tag_ISA_C67X
+       || min_arch == C6XABI_Tag_ISA_C67XP)
+      && (max_arch == C6XABI_Tag_ISA_C64X
+	  || max_arch == C6XABI_Tag_ISA_C64XP))
+    return C6XABI_Tag_ISA_C674X;
 
   return max_arch;
 }
@@ -1724,9 +1724,9 @@ elf32_tic6x_merge_attributes (bfd *ibfd, bfd *obfd)
 
   /* No specification yet for handling of unknown attributes, so just
      ignore them and handle known ones.  */
-  out_attr[Tag_C6XABI_Tag_CPU_arch].i
-    = elf32_tic6x_merge_arch_attributes (in_attr[Tag_C6XABI_Tag_CPU_arch].i,
-					 out_attr[Tag_C6XABI_Tag_CPU_arch].i);
+  out_attr[Tag_ISA].i
+    = elf32_tic6x_merge_arch_attributes (in_attr[Tag_ISA].i,
+					 out_attr[Tag_ISA].i);
 
   /* Merge Tag_compatibility attributes and any common GNU ones.  */
   _bfd_elf_merge_object_attributes (ibfd, obfd);
@@ -1765,7 +1765,7 @@ elf32_tic6x_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
 #define elf_backend_may_use_rel_p	1
 #define elf_backend_may_use_rela_p	1
 #define elf_backend_obj_attrs_arg_type	elf32_tic6x_obj_attrs_arg_type
-#define elf_backend_obj_attrs_section	"__TI_build_attributes"
+#define elf_backend_obj_attrs_section	".c6xabi.attributes"
 #define elf_backend_obj_attrs_section_type	SHT_C6000_ATTRIBUTES
 #define elf_backend_obj_attrs_vendor	"c6xabi"
 #define elf_backend_rela_normal		1
diff --git a/bfd/elf64-sparc.c b/bfd/elf64-sparc.c
index 1ad0c14..9f05b85 100644
--- a/bfd/elf64-sparc.c
+++ b/bfd/elf64-sparc.c
@@ -1,6 +1,6 @@
 /* SPARC-specific support for 64-bit ELF
    Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-   2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+   2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -934,3 +934,23 @@ const struct elf_size_info elf64_sparc_size_info =
 
 #include "elf64-target.h"
 
+/* Solaris 2.  */
+
+#undef	TARGET_BIG_SYM
+#define	TARGET_BIG_SYM				bfd_elf64_sparc_sol2_vec
+#undef	TARGET_BIG_NAME
+#define	TARGET_BIG_NAME				"elf64-sparc-sol2"
+
+/* Restore default: we cannot use ELFOSABI_SOLARIS, otherwise ELFOSABI_NONE
+   objects won't be recognized.  */
+#undef	ELF_OSABI
+
+#undef elf64_bed
+#define elf64_bed				elf64_sparc_sol2_bed
+
+/* The 64-bit static TLS arena size is rounded to the nearest 16-byte
+   boundary.  */
+#undef elf_backend_static_tls_alignment
+#define elf_backend_static_tls_alignment	16
+
+#include "elf64-target.h"
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 677d9c4..83656ae 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -2607,11 +2607,16 @@ static bfd_vma
 elf64_x86_64_tpoff (struct bfd_link_info *info, bfd_vma address)
 {
   struct elf_link_hash_table *htab = elf_hash_table (info);
+  const struct elf_backend_data *bed = get_elf_backend_data (info->output_bfd);
+  bfd_vma static_tls_size;
 
   /* If tls_segment is NULL, we should have signalled an error already.  */
   if (htab->tls_sec == NULL)
     return 0;
-  return address - htab->tls_size - htab->tls_sec->vma;
+
+  /* Consider special static TLS alignment requirements.  */
+  static_tls_size = BFD_ALIGN (htab->tls_size, bed->static_tls_alignment);
+  return address - static_tls_size - htab->tls_sec->vma;
 }
 
 /* Is the instruction before OFFSET in CONTENTS a 32bit relative
@@ -4565,6 +4570,11 @@ static const struct bfd_elf_special_section
 #undef  elf64_bed
 #define elf64_bed			    elf64_x86_64_sol2_bed
 
+/* The 64-bit static TLS arena size is rounded to the nearest 16-byte
+   boundary.  */
+#undef elf_backend_static_tls_alignment
+#define elf_backend_static_tls_alignment    16
+
 /* The Solaris 2 ABI requires a plt symbol on all platforms.
 
    Cf. Linker and Libraries Guide, Ch. 2, Link-Editor, Generating the Output
@@ -4603,6 +4613,7 @@ elf64_l1om_elf_object_p (bfd *abfd)
 #define elf_backend_object_p		    elf64_l1om_elf_object_p
 
 #undef  elf_backend_post_process_headers
+#undef  elf_backend_static_tls_alignment
 
 #include "elf64-target.h"
 
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 6d37dc8..6726d46 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -10624,7 +10624,11 @@ bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info)
 	  end = sec->vma + size;
 	}
       base = elf_hash_table (info)->tls_sec->vma;
-      end = align_power (end, elf_hash_table (info)->tls_sec->alignment_power);
+      /* Only align end of TLS section if static TLS doesn't have special
+	 alignment requirements.  */
+      if (bed->static_tls_alignment == 1)
+	end = align_power (end,
+			   elf_hash_table (info)->tls_sec->alignment_power);
       elf_hash_table (info)->tls_size = end - base;
     }
 
diff --git a/bfd/elfxx-sparc.c b/bfd/elfxx-sparc.c
index 979505a..ebe040f 100644
--- a/bfd/elfxx-sparc.c
+++ b/bfd/elfxx-sparc.c
@@ -2819,11 +2819,16 @@ static bfd_vma
 tpoff (struct bfd_link_info *info, bfd_vma address)
 {
   struct elf_link_hash_table *htab = elf_hash_table (info);
+  const struct elf_backend_data *bed = get_elf_backend_data (info->output_bfd);
+  bfd_vma static_tls_size;
 
   /* If tls_sec is NULL, we should have signalled an error already.  */
   if (htab->tls_sec == NULL)
     return 0;
-  return address - htab->tls_size - htab->tls_sec->vma;
+
+  /* Consider special static TLS alignment requirements.  */
+  static_tls_size = BFD_ALIGN (htab->tls_size, bed->static_tls_alignment);
+  return address - static_tls_size - htab->tls_sec->vma;
 }
 
 /* Return the relocation value for a %gdop relocation.  */
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h
index 00fd693..57f352c 100644
--- a/bfd/elfxx-target.h
+++ b/bfd/elfxx-target.h
@@ -1,6 +1,6 @@
 /* Target definitions for NN-bit ELF
    Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-   2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+   2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -477,6 +477,9 @@
 #ifndef elf_backend_obj_attrs_order
 #define elf_backend_obj_attrs_order		NULL
 #endif
+#ifndef elf_backend_static_tls_alignment
+#define elf_backend_static_tls_alignment	1
+#endif
 #ifndef elf_backend_post_process_headers
 #define elf_backend_post_process_headers	NULL
 #endif
@@ -738,6 +741,7 @@ static struct elf_backend_data elfNN_bed =
   elf_backend_obj_attrs_arg_type,
   elf_backend_obj_attrs_section_type,
   elf_backend_obj_attrs_order,
+  elf_backend_static_tls_alignment,
   elf_backend_collect,
   elf_backend_type_change_ok,
   elf_backend_may_use_rel_p,
diff --git a/bfd/targets.c b/bfd/targets.c
index aaf7e99..3e99754 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -676,6 +676,7 @@ extern const bfd_target bfd_elf32_shlvxworks_vec;
 extern const bfd_target bfd_elf32_shnbsd_vec;


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-10-20 12:49 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-10-20 12:49 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  a18e2b3647d131e7de66c4a5d12591a4b1efe3c7 (commit)
       via  f03cfcef631b8b709a61f9c62e980a8e9b2df1ba (commit)
       via  9822d0d65fd29fab677141058ab001c091dcb716 (commit)
       via  6da47bfa006acd632167ba2eaf00b0952ab7224f (commit)
       via  d46a12a4692edbb95848cb8aa82ce42a0737a313 (commit)
       via  1e1cb3da9c0aad73e40d3e4d0f72c97d7b15c787 (commit)
       via  16f2c1eff82da476c48410b7bf1e6523e569ebe0 (commit)
       via  d2ec97943ab6a71a34039b90413d49c30c06611c (commit)
       via  dce8ebc2edaca7c4a0dafb0f56fb6d24842bf27f (commit)
       via  ab5fbf66c212fa7e087fd04af41b40bd347f0cf6 (commit)
       via  460494aba401d8c1c06d0860da6cc0cb5cf80597 (commit)
      from  090496ddc886a2b1b0a6188ee57c7dfbc06693da (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit a18e2b3647d131e7de66c4a5d12591a4b1efe3c7
Merge: 090496d f03cfce
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Wed Oct 20 13:49:07 2010 +0100

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h                               |    2 +-
 gdb/ChangeLog                               |   35 ++++++++++++++++++++++
 gdb/arm-tdep.c                              |   12 +++++++
 gdb/eval.c                                  |   43 +++++++++++++++++++++++++++
 gdb/gdbtypes.c                              |    4 +-
 gdb/gdbtypes.h                              |    6 +--
 gdb/python/py-cmd.c                         |    7 ++++-
 gdb/remote.c                                |    2 +-
 gdb/testsuite/ChangeLog                     |   21 +++++++++++++
 gdb/testsuite/gdb.base/foll-fork.exp        |   11 ++++---
 gdb/testsuite/gdb.base/watch_thread_num.exp |   15 +++++----
 gdb/testsuite/gdb.cp/converts.cc            |    8 ++++-
 gdb/testsuite/gdb.cp/converts.exp           |    3 ++
 gdb/testsuite/gdb.cp/oranking.exp           |    1 -
 gdb/valarith.c                              |   10 +++++-
 gdb/valops.c                                |    8 ++++-
 gdb/version.in                              |    2 +-
 17 files changed, 161 insertions(+), 29 deletions(-)

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index b32faf0..ad9dbc4 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20101019
+#define BFD_VERSION_DATE 20101020
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bff8559..02e42da 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,38 @@
+2010-10-20  Vladimir Prus  <vladimir@codesourcery.com>
+
+	* remote.c (remote_get_threadlist): If we got empty
+	response, bail out immediately, and don't emit any
+	warnings.
+
+2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* arm-tdep.c (thumb_get_next_pc_raw): Handle Thumb-16 encoding
+	for "mov pc, REG" as well.
+	(thumb_instruction_changes_pc): Likewise.
+
+2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
+
+	 PR C++/11500:
+	* valarith.c (value_x_unop): Handle STRUCTOP_PTR.
+	* eval.c (evaluate_subexp_standard): Check for overload of
+	'operator->'.
+	* valarith.c (value_x_binop): Throw NOT_FOUND_ERROR.
+	(value_x_unop): Ditto.
+	* valops.c: Include "exceptions.h".
+	(find_overload_match): Throw NOT_FOUND_ERROR.
+	(value_struct_elt): Ditto.
+
+2010-10-19  Tom Tromey  <tromey@redhat.com>
+
+	* python/py-cmd.c (cmdpy_function): Unreference exception state.
+
+2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
+
+	* gdbtypes.h: Introduce BOOL_PTR_CONVERSION_BADNESS.
+	* gdbtypes.c (rank_one_type): Use BOOL_PTR_CONVERSION_BADNESS
+	for conversion.
+	Make all other conversions illegal.
+
 2010-10-18  Doug Evans  <dje@google.com>
 
 	* c-typeprint.c (c_type_print_base, case TYPE_CODE_TYPEDEF): Verify
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 5b32b8a..2df96cd 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -537,6 +537,9 @@ thumb_instruction_changes_pc (unsigned short inst)
   if ((inst & 0xff00) == 0x4700)	/* bx REG, blx REG */
     return 1;
 
+  if ((inst & 0xff87) == 0x4687)	/* mov pc, REG */
+    return 1;
+
   if ((inst & 0xf500) == 0xb100)	/* CBNZ or CBZ.  */
     return 1;
 
@@ -3572,6 +3575,15 @@ thumb_get_next_pc_raw (struct frame_info *frame, CORE_ADDR pc, int insert_bkpt)
       else
 	nextpc = get_frame_register_unsigned (frame, bits (inst1, 3, 6));
     }
+  else if ((inst1 & 0xff87) == 0x4687)	/* mov pc, REG */
+    {
+      if (bits (inst1, 3, 6) == 0x0f)
+	nextpc = pc_val;
+      else
+	nextpc = get_frame_register_unsigned (frame, bits (inst1, 3, 6));
+
+      nextpc = MAKE_THUMB_ADDR (nextpc);
+    }
   else if ((inst1 & 0xf500) == 0xb100)
     {
       /* CBNZ or CBZ.  */
diff --git a/gdb/eval.c b/gdb/eval.c
index 635db34..471dcd7 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -1510,6 +1510,28 @@ evaluate_subexp_standard (struct type *expect_type,
 	  else
 	    {
 	      arg2 = evaluate_subexp (NULL_TYPE, exp, pos, noside);
+
+	      /* Check to see if the operator '->' has been overloaded.  If the operator
+	         has been overloaded replace arg2 with the value returned by the custom
+	         operator and continue evaluation.  */
+	      while (unop_user_defined_p (op, arg2))
+		{
+		  volatile struct gdb_exception except;
+		  struct value *value = NULL;
+		  TRY_CATCH (except, RETURN_MASK_ERROR)
+		    {
+		      value = value_x_unop (arg2, op, noside);
+		    }
+
+		  if (except.reason < 0)
+		    {
+		      if (except.error == NOT_FOUND_ERROR)
+			break;
+		      else
+			throw_exception (except);
+		    }
+		  arg2 = value;
+		}
 	    }
 	  /* Now, say which argument to start evaluating from */
 	  tem = 2;
@@ -1898,6 +1920,27 @@ evaluate_subexp_standard (struct type *expect_type,
       if (noside == EVAL_SKIP)
 	goto nosideret;
 
+      /* Check to see if operator '->' has been overloaded.  If so replace
+         arg1 with the value returned by evaluating operator->().  */
+      while (unop_user_defined_p (op, arg1))
+	{
+	  volatile struct gdb_exception except;
+	  struct value *value = NULL;
+	  TRY_CATCH (except, RETURN_MASK_ERROR)
+	    {
+	      value = value_x_unop (arg1, op, noside);
+	    }
+
+	  if (except.reason < 0)
+	    {
+	      if (except.error == NOT_FOUND_ERROR)
+		break;
+	      else
+		throw_exception (except);
+	    }
+	  arg1 = value;
+	}
+
       /* JYG: if print object is on we need to replace the base type
 	 with rtti type in order to continue on with successful
 	 lookup of member / method only available in the rtti type. */
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index 204bab5..d08dbfe 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -2256,7 +2256,6 @@ rank_one_type (struct type *parm, struct type *arg)
 	case TYPE_CODE_CHAR:
 	case TYPE_CODE_RANGE:
 	case TYPE_CODE_BOOL:
-	  return POINTER_CONVERSION_BADNESS;
 	default:
 	  return INCOMPATIBLE_TYPE_BADNESS;
 	}
@@ -2434,8 +2433,9 @@ rank_one_type (struct type *parm, struct type *arg)
 	case TYPE_CODE_RANGE:
 	case TYPE_CODE_ENUM:
 	case TYPE_CODE_FLT:
+	  return INCOMPATIBLE_TYPE_BADNESS;
 	case TYPE_CODE_PTR:
-	  return BOOLEAN_CONVERSION_BADNESS;
+	  return BOOL_PTR_CONVERSION_BADNESS;
 	case TYPE_CODE_BOOL:
 	  return 0;
 	default:
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index e4dac49..5617a1d 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -1415,12 +1415,10 @@ extern int is_unique_ancestor (struct type *, struct value *);
 #define FLOAT_CONVERSION_BADNESS       2
 /* Badness of integer<->floating conversions */
 #define INT_FLOAT_CONVERSION_BADNESS   2
-/* Badness of converting to a boolean */
-#define BOOLEAN_CONVERSION_BADNESS     2
-/* Badness of pointer conversion */
-#define POINTER_CONVERSION_BADNESS     2
 /* Badness of conversion of pointer to void pointer */
 #define VOID_PTR_CONVERSION_BADNESS    2
+/* Badness of conversion of pointer to boolean.  */
+#define BOOL_PTR_CONVERSION_BADNESS    3
 /* Badness of converting derived to base class */
 #define BASE_CONVERSION_BADNESS        2
 /* Badness of converting from non-reference to reference */
diff --git a/gdb/python/py-cmd.c b/gdb/python/py-cmd.c
index 9f71290..e08b467 100644
--- a/gdb/python/py-cmd.c
+++ b/gdb/python/py-cmd.c
@@ -192,7 +192,12 @@ cmdpy_function (struct cmd_list_element *command, char *args, int from_tty)
 	    error (_("Error occurred in Python command."));
 	}
       else
-	error ("%s", msg);
+	{
+	  Py_XDECREF (ptype);
+	  Py_XDECREF (pvalue);
+	  Py_XDECREF (ptraceback);
+	  error ("%s", msg);
+	}
     }
 
   Py_DECREF (result);
diff --git a/gdb/remote.c b/gdb/remote.c
index 13a9635..68e5678 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -2353,7 +2353,7 @@ remote_get_threadlist (int startflag, threadref *nextthread, int result_limit,
   getpkt (&rs->buf, &rs->buf_size, 0);
 
   if (*rs->buf == '\0')
-    *result_count = 0;
+    return 0;
   else
     *result_count =
       parse_threadlist_response (rs->buf + 2, result_limit, &echo_nextthread,
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 9208bb4..861cadb 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,24 @@
+2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
+	Skip test completely if gdb,no_hardware_watchpoints.
+
+2010-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
+	strict, but do not check for any particular function name within libc.
+
+2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
+
+	* gdb.cp/smartp.exp: New test.
+	* gdb.cp/smartp.cc : New test.
+
+2010-10-19  Sami Wagiaalla  <swagiaal@redhat.com>
+
+	* gdb.cp/converts.exp: Test pointer to bool conversion.
+	Test pointer to long conversion.
+	* gdb.cp/oranking.exp: Removed relevant kfail.
+
 2010-10-18  Tom Tromey  <tromey@redhat.com>
 
 	* gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
diff --git a/gdb/testsuite/gdb.base/foll-fork.exp b/gdb/testsuite/gdb.base/foll-fork.exp
index 4c5e53a..891aa38 100644
--- a/gdb/testsuite/gdb.base/foll-fork.exp
+++ b/gdb/testsuite/gdb.base/foll-fork.exp
@@ -122,7 +122,7 @@ proc catch_fork_child_follow {} {
 
     set bp_after_fork [gdb_get_line_number "set breakpoint here"]
 
-    gdb_test "catch fork" "Catchpoint .*(fork).*" \
+    gdb_test "catch fork" "Catchpoint \[0-9\]* \\(fork\\)" \
 	"explicit child follow, set catch fork"
 
     # Verify that the catchpoint is mentioned in an "info breakpoints",
@@ -136,7 +136,7 @@ proc catch_fork_child_follow {} {
     }
 
     gdb_test "continue" \
-	"Catchpoint.*(forked process.*),.*in .*(fork|__kernel_v?syscall).*" \
+	"Catchpoint \[0-9\]* \\(forked process \[0-9\]*\\),.*" \
 	"explicit child follow, catch fork"
 
     # Verify that the catchpoint is mentioned in an "info breakpoints",
@@ -184,7 +184,7 @@ proc catch_fork_unpatch_child {} {
 	"unpatch child, set catch fork"
 
     gdb_test "continue" \
-	"Catchpoint.*\\(forked process.*\\).*,.*in .*(fork|__kernel_v?syscall).*" \
+	"Catchpoint \[0-9\]* \\(forked process \[0-9\]*\\),.*" \
 	"unpatch child, catch fork"
 
     # Delete all breakpoints and catchpoints.
@@ -225,14 +225,15 @@ proc tcatch_fork_parent_follow {} {
 
     set bp_after_fork [gdb_get_line_number "set breakpoint here"]
 
-    gdb_test "catch fork" "Catchpoint .*(fork).*" \
+    gdb_test "catch fork" "Catchpoint \[0-9\]* \\(fork\\)" \
 	"explicit parent follow, set tcatch fork"
 
 # ??rehrauer: I don't yet know how to get the id of the tcatch
 # via this script, so that I can add a -do list to it.  For now,
 # do the follow stuff after the catch happens.
 
-    gdb_test "continue" "in .*(fork|__kernel_v?syscall).*" \
+    gdb_test "continue" \
+	"Catchpoint \[0-9\]* \\(forked process \[0-9\]*\\),.*" \
 	"explicit parent follow, tcatch fork"
 
     gdb_test_no_output "set follow-fork parent"
diff --git a/gdb/testsuite/gdb.base/watch_thread_num.exp b/gdb/testsuite/gdb.base/watch_thread_num.exp
index 7b77c0d..e5542dd 100644
--- a/gdb/testsuite/gdb.base/watch_thread_num.exp
+++ b/gdb/testsuite/gdb.base/watch_thread_num.exp
@@ -23,6 +23,12 @@ if $tracelevel then {
 	strace $tracelevel
 }
 
+# This test verifies that a watchpoint is detected in the proper thread
+# so the test is only meaningful on a system with hardware watchpoints.
+if [target_info exists gdb,no_hardware_watchpoints] {
+    return 0;
+}
+
 set testfile watch_thread_num
 set srcfile ${testfile}.c
 set binfile ${objdir}/${subdir}/${testfile}
@@ -47,11 +53,6 @@ if { ![runto main] } then {
    return
 }
 
-# Disable hardware watchpoints if necessary.
-if [target_info exists gdb,no_hardware_watchpoints] {
-    gdb_test_no_output "set can-use-hw-watchpoints 0" ""
-}
-
 gdb_test "watch shared_var thread 0" "Unknown thread 0\." "Watchpoint on invalid thread"
 gdb_test "watch shared_var thread" "A syntax error in expression, near `thread'\." "Invalid watch syntax"
 
@@ -71,14 +72,14 @@ gdb_test_multiple "thread" "Thread command" {
 set thread_num "$expect_out(1,string)"
 
 gdb_test_no_output "disable 2" "Disable breakpoint 2"
-gdb_test "watch shared_var thread $thread_num" "atchpoint 3: shared_var" "Watchpoint on shared variable"
+gdb_test "watch shared_var thread $thread_num" "Hardware watchpoint 3: shared_var" "Watchpoint on shared variable"
 gdb_test "info breakpoint 3" "stop only in thread $thread_num"
 
 for {set i 1} {$i <= 10} {incr i 1} {
     set watchpoint "Watchpoint triggered iteration $i"
     set check "Check thread that triggered iteration $i"
 
-    gdb_test "continue" "atchpoint 3: shared_var.*" $watchpoint
+    gdb_test "continue" "Hardware watchpoint 3: shared_var.*" $watchpoint
     gdb_test "thread" ".*Current thread is $thread_num .*" $check
 }
 
diff --git a/gdb/testsuite/gdb.cp/converts.cc b/gdb/testsuite/gdb.cp/converts.cc
index b5e7bde..34b6927 100644
--- a/gdb/testsuite/gdb.cp/converts.cc
+++ b/gdb/testsuite/gdb.cp/converts.cc
@@ -14,7 +14,9 @@ int foo1_2 (char[]) {return 12;}
 int foo1_3 (int*)   {return 13;}
 int foo1_4 (A*)     {return 14;}
 int foo1_5 (void*)  {return 15;}
-int foo1_6 (void**) {return 15;}
+int foo1_6 (void**) {return 16;}
+int foo1_7 (bool)   {return 17;}
+int foo1_8 (long)   {return 18;}
 
 int foo2_1 (char**  )  {return 21;}
 int foo2_2 (char[][1]) {return 22;}
@@ -40,7 +42,9 @@ int main()
   foo1_3 ((int*)bp);   // ..pointer of wrong type
   foo1_4 (bp);         // ..ancestor pointer
   foo1_5 (bp);         // ..void pointer
-  foo1_6 ((void**)bp); // ..void pointer
+  foo1_6 ((void**)bp); // ..void pointer pointer
+  foo1_7 (bp);         // ..boolean
+  foo1_8 ((long)bp);   // ..long int
 
   char **b;          // pointer pointer to..
   char ba[1][1];
diff --git a/gdb/testsuite/gdb.cp/converts.exp b/gdb/testsuite/gdb.cp/converts.exp
index 121bcad..4e4c2ea 100644
--- a/gdb/testsuite/gdb.cp/converts.exp
+++ b/gdb/testsuite/gdb.cp/converts.exp
@@ -40,6 +40,9 @@ gdb_test "p foo1_3 (a)"  "Cannot resolve.*" "pointer to pointer of wrong type"
 gdb_test "p foo1_3 (bp)" "Cannot resolve.*" "pointer to pointer of wrong type"
 gdb_test "p foo1_4 (bp)" "= 14"             "pointer to ancestor pointer"
 gdb_test "p foo1_5 (bp)" "= 15"             "pointer to void pointer"
+gdb_test "p foo1_6 (bp)" "Cannot resolve.*"     "pointer to void pointer pointer"
+gdb_test "p foo1_7 (bp)" "= 17"                 "pointer to boolean"
+gdb_test "p foo1_8 (bp)" "Using non-standard.*" "pointer to long int"
 
 gdb_test "p foo1_5 (b)" "= 15"             "pointer pointer to void pointer"
 gdb_test "p foo2_1 (b)" "= 21"             "pointer pointer to pointer pointer"
diff --git a/gdb/testsuite/gdb.cp/oranking.exp b/gdb/testsuite/gdb.cp/oranking.exp
index f06933a..f1efb77 100644
--- a/gdb/testsuite/gdb.cp/oranking.exp
+++ b/gdb/testsuite/gdb.cp/oranking.exp
@@ -52,7 +52,6 @@ setup_kfail "gdb/12098" *-*-*
 gdb_test "p foo4(&a)" "24"
 
 gdb_test "p test5()" "26"
-setup_kfail "gdb/12098" *-*-*
 gdb_test "p foo5(c)" "26"
 
 gdb_test "p test6()"  "28"
diff --git a/gdb/valarith.c b/gdb/valarith.c
index 554c4ff..88f1448 100644
--- a/gdb/valarith.c
+++ b/gdb/valarith.c
@@ -541,7 +541,8 @@ value_x_binop (struct value *arg1, struct value *arg2, enum exp_opcode op,
 	}
       return call_function_by_hand (argvec[0], 2 - static_memfuncp, argvec + 1);
     }
-  error (_("member function %s not found"), tstr);
+  throw_error (NOT_FOUND_ERROR,
+               _("member function %s not found"), tstr);
 #ifdef lint
   return call_function_by_hand (argvec[0], 2 - static_memfuncp, argvec + 1);
 #endif
@@ -616,6 +617,9 @@ value_x_unop (struct value *arg1, enum exp_opcode op, enum noside noside)
     case UNOP_IND:
       strcpy (ptr, "*");
       break;
+    case STRUCTOP_PTR:
+      strcpy (ptr, "->");
+      break;
     default:
       error (_("Invalid unary operation specified."));
     }
@@ -641,7 +645,9 @@ value_x_unop (struct value *arg1, enum exp_opcode op, enum noside noside)
 	}
       return call_function_by_hand (argvec[0], nargs, argvec + 1);
     }
-  error (_("member function %s not found"), tstr);
+  throw_error (NOT_FOUND_ERROR,
+               _("member function %s not found"), tstr);
+
   return 0;			/* For lint -- never reached */
 }
 \f
diff --git a/gdb/valops.c b/gdb/valops.c
index fe4576e..07b62a1 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -46,6 +46,7 @@
 #include "observer.h"
 #include "objfiles.h"
 #include "symtab.h"
+#include "exceptions.h"
 
 extern int overload_debug;
 /* Local functions.  */
@@ -2215,7 +2216,8 @@ value_struct_elt (struct value **argp, struct value **args,
     }
 
   if (!v)
-    error (_("Structure has no component named %s."), name);
+    throw_error (NOT_FOUND_ERROR,
+                 _("Structure has no component named %s."), name);
   return v;
 }
 
@@ -2533,7 +2535,9 @@ find_overload_match (struct type **arg_types, int nargs,
 
   /* Did we find a match ?  */
   if (method_oload_champ == -1 && func_oload_champ == -1)
-    error (_("No symbol \"%s\" in current context."), name);
+    throw_error (NOT_FOUND_ERROR,
+                 _("No symbol \"%s\" in current context."),
+                 name);
 
   /* If we have found both a method match and a function
      match, find out which one is better, and calculate match
diff --git a/gdb/version.in b/gdb/version.in
index 5be57be..573c8ab 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-7.2.50.20101019-cvs
+7.2.50.20101020-cvs


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-10-19 16:03 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-10-19 16:03 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  090496ddc886a2b1b0a6188ee57c7dfbc06693da (commit)
       via  f27f743af7cfc6b056340ac8fceca0ea7bf8b4f2 (commit)
       via  45fd64be9998b68cca8e6da92e93cca124345b23 (commit)
       via  a448c547d9e1ad698f0ebe52b6206db20b63e906 (commit)
       via  e9246671002e0d459ed97321436c4bf44b4b1afc (commit)
       via  9810479548aa51abe3bed774c5f1426d85fe9e18 (commit)
       via  11dfdf56221313e0a27a1dca916e222bdce7b8c4 (commit)
       via  c213a7dc8e79a49263a222d1db45b2ef384ddb83 (commit)
       via  5471de0bb592c0f63ac67704bf74c733ab95fc89 (commit)
       via  a9d3abcd79018bbaf8ed6000b8fb445936fc7fd1 (commit)
       via  653d38b1806744712655bdd45d0afd85e29a6588 (commit)
       via  414455fb0544ec67c3258a8673a355d208399892 (commit)
       via  31401e24be886bdf460f115f7804c69aa118e5b6 (commit)
       via  cbca720518e5efd7761e29a995944ad1c8535ff4 (commit)
       via  36d1deeb2f285dfb4f588c6c81dea897dc120899 (commit)
       via  1bc4710e30694c7f0319d57ed8e1ee6c23ebd759 (commit)
       via  d9cf29db9c3c4c608efe3c34f6c36b7e9e2c50b7 (commit)
       via  2bf6d9050c558824b2b0204d6ae18c33e81a193d (commit)
       via  96d5306dea53311a18432583ca865f793a31f4f2 (commit)
       via  1670b2d209b4416a5e4a8763a6d16ffa3b6710ad (commit)
       via  d5f4a84e0662cfa26c730eb7f81959a778591ef2 (commit)
       via  06dd19c7dcc8ef5098f1b98f24b657a81f24d99c (commit)
       via  b2237005769b8de286894f2d8d36e9e959019c46 (commit)
       via  d0b8a5a2be345f831d188e55c69778a49c10264f (commit)
       via  7e9d52e9df72f3dd3a925e1527104318658d8451 (commit)
       via  a96476131a8045900eb407d2cc1fc712bcded2bc (commit)
       via  6bb53786952433bfcc34ac896a90a4f124c67811 (commit)
       via  0aaf3f8de1d6f477f8fb8de936f6e41b3e5c2137 (commit)
       via  e5fa5c23990232005caabd89bcbf666f7f63c1b1 (commit)
       via  1090218768a7bc994399067ece174bcfeae86741 (commit)
       via  a52d33ee62cfc9b117e0c34fc98021ca8c115491 (commit)
       via  d8d2c40696f0b959f9a997b05f10e92646ae6997 (commit)
       via  c619812c381908704dd4d385be9a7f74d2b6e49a (commit)
       via  0dec04cd391afbd7848a83092d1fbfc5dfbdb0e1 (commit)
       via  715c8705f637e8505d601c1ccf86fc3e00d58c95 (commit)
       via  c0dab19a92624ea7778c8c10a46acf2e7fa5b0a7 (commit)
       via  18adfa0ebdbcf5bc5b83209a72c1bd7c112b1193 (commit)
       via  8be50900be59aee3d98bfd3739efc43879ecf59d (commit)
       via  cee21f54f10cbc59edd243eead62003426680657 (commit)
       via  1f66ce293dcf912e856512ab042685442cb1a604 (commit)
       via  ba4425ae906ea625835613f9152d5f0e8d4f6208 (commit)
       via  6cf47741faf811d7816dd54cf838e256e32d29b9 (commit)
       via  2d72b617c4080b4f6ad82c0212ecedd90042a289 (commit)
       via  d66549fedb7aba7ab755452e068cc3cdb3525739 (commit)
       via  4272775a1eff21ac17a90a5b3b11e3de0554dd73 (commit)
       via  cca862e1eb7d8a3f1a6f16dee3bfd953ad0e23f9 (commit)
       via  0ae6e883ffabbbd3ebc60d59e3e6aa0d4eecf383 (commit)
       via  539f158bf0dd3e9ebaad971f40998fde44a679fb (commit)
       via  656eeed366db725765eb1bbba41387595b2f3910 (commit)
       via  44cad9ebe5f8f69251216948bd7b0f1719cd417b (commit)
      from  c24d9f262b3a741fa8b93e464d8ade4a40c80bae (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 090496ddc886a2b1b0a6188ee57c7dfbc06693da
Merge: c24d9f2 f27f743
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Tue Oct 19 17:01:44 2010 +0100

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                 |   32 +
 bfd/aoutx.h                                   |   24 +-
 bfd/cofflink.c                                |   19 +-
 bfd/ecoff.c                                   |  101 +-
 bfd/elflink.c                                 |    9 +-
 bfd/linker.c                                  |   41 +-
 bfd/pdp11.c                                   |   18 +-
 bfd/version.h                                 |    2 +-
 bfd/vms-alpha.c                               |   11 +-
 bfd/xcofflink.c                               |   23 +-
 gdb/ChangeLog                                 |  180 +
 gdb/NEWS                                      |    4 +
 gdb/auxv.c                                    |    2 +-
 gdb/c-typeprint.c                             |   27 +-
 gdb/c-valprint.c                              |    2 +-
 gdb/data-directory/Makefile.in                |    3 +-
 gdb/doc/ChangeLog                             |    6 +
 gdb/doc/gdb.texinfo                           |   54 +
 gdb/dwarf2read.c                              |    8 +-
 gdb/f-valprint.c                              |    4 +-
 gdb/gdbthread.h                               |    2 +
 gdb/gdbtypes.c                                |  229 +-
 gdb/gdbtypes.h                                |   12 +-
 gdb/infrun.c                                  |   17 +-
 gdb/jv-valprint.c                             |    3 +-
 gdb/language.h                                |    2 +-
 gdb/linux-nat.c                               |   14 +-
 gdb/m2-valprint.c                             |    4 +-
 gdb/m32r-rom.c                                |    4 +-
 gdb/objfiles.c                                |    2 +-
 gdb/p-lang.c                                  |   18 +-
 gdb/p-typeprint.c                             |    9 +-
 gdb/p-valprint.c                              |    6 +-
 gdb/printcmd.c                                |    2 +-
 gdb/python/lib/gdb/types.py                   |   91 +
 gdb/python/py-breakpoint.c                    |    3 +
 gdb/python/py-cmd.c                           |   21 +-
 gdb/python/py-frame.c                         |    3 +-
 gdb/python/py-function.c                      |    9 +-
 gdb/python/py-inferior.c                      |   16 +-
 gdb/python/py-lazy-string.c                   |   93 +-
 gdb/python/py-param.c                         |   52 +-
 gdb/python/py-prettyprint.c                   |  127 +-
 gdb/python/py-value.c                         |   13 +-
 gdb/python/python-internal.h                  |    6 +-
 gdb/python/python.c                           |   14 +
 gdb/remote-m32r-sdi.c                         |    2 +-
 gdb/remote.c                                  |   14 +
 gdb/solib-som.c                               |    2 +-
 gdb/symfile.c                                 |   29 +-
 gdb/symtab.c                                  |    3 +
 gdb/symtab.h                                  |    3 +-
 gdb/testsuite/ChangeLog                       |   71 +
 gdb/testsuite/gdb.base/break-interp.exp       |   15 +-
 gdb/testsuite/gdb.base/pie-execl.c            |   51 +
 gdb/testsuite/gdb.base/pie-execl.exp          |  100 +
 gdb/testsuite/gdb.base/prelink.exp            |    4 +-
 gdb/testsuite/gdb.base/solib-nodir.exp        |    2 +-
 gdb/testsuite/gdb.cp/converts.cc              |   53 +
 gdb/testsuite/gdb.cp/converts.exp             |   48 +
 gdb/testsuite/gdb.cp/oranking.exp             |    1 -
 gdb/testsuite/gdb.cp/overload.cc              |    7 +
 gdb/testsuite/gdb.cp/overload.exp             |   10 +
 gdb/testsuite/gdb.cp/ptype-cv-cp.cc           |   34 +
 gdb/testsuite/gdb.cp/ptype-cv-cp.exp          |   41 +
 gdb/testsuite/gdb.dwarf2/pr11465.S            |    4 +-
 gdb/testsuite/gdb.dwarf2/pr11465.exp          |    8 +-
 gdb/testsuite/gdb.python/Makefile.in          |    2 +-
 gdb/testsuite/gdb.python/lib-types.cc         |   61 +
 gdb/testsuite/gdb.python/lib-types.exp        |  143 +
 gdb/testsuite/gdb.python/py-error.exp         |   56 +
 gdb/testsuite/gdb.python/py-error.py          |   25 +
 gdb/testsuite/gdb.python/py-prettyprint.c     |    8 +-
 gdb/testsuite/gdb.python/py-prettyprint.exp   |    4 +
 gdb/testsuite/gdb.python/py-prettyprint.py    |    7 +-
 gdb/testsuite/gdb.threads/sigstep-threads.c   |   54 +
 gdb/testsuite/gdb.threads/sigstep-threads.exp |   74 +
 gdb/testsuite/lib/gdb-python.exp              |   18 +
 gdb/testsuite/lib/gdb.exp                     |    4 +-
 gdb/testsuite/lib/prelink-support.exp         |    2 +-
 gdb/valprint.c                                |    9 +-
 gdb/value.h                                   |    3 +-
 gdb/varobj.c                                  |   46 +-
 gdb/version.in                                |    2 +-
 include/ChangeLog                             |   17 +
 include/bfdlink.h                             |    6 +-
 include/plugin-api.h                          |    3 +-
 opcodes/ChangeLog                             |   37 +
 opcodes/bfin-dis.c                            |   16 +-
 opcodes/i386-gen.c                            |    3 +-
 opcodes/i386-init.h                           |    2 +-
 opcodes/i386-opc.h                            |    3 +
 opcodes/i386-opc.tbl                          |  296 +-
 opcodes/i386-tbl.h                            |14772 ++++++++++++------------
 opcodes/mips-opc.c                            |    6 +-
 95 files changed, 9555 insertions(+), 7968 deletions(-)
 create mode 100644 gdb/python/lib/gdb/types.py
 create mode 100644 gdb/testsuite/gdb.base/pie-execl.c
 create mode 100644 gdb/testsuite/gdb.base/pie-execl.exp
 create mode 100644 gdb/testsuite/gdb.cp/converts.cc
 create mode 100644 gdb/testsuite/gdb.cp/converts.exp
 create mode 100644 gdb/testsuite/gdb.cp/ptype-cv-cp.cc
 create mode 100644 gdb/testsuite/gdb.cp/ptype-cv-cp.exp
 create mode 100644 gdb/testsuite/gdb.python/lib-types.cc
 create mode 100644 gdb/testsuite/gdb.python/lib-types.exp
 create mode 100644 gdb/testsuite/gdb.python/py-error.exp
 create mode 100644 gdb/testsuite/gdb.python/py-error.py
 create mode 100644 gdb/testsuite/gdb.threads/sigstep-threads.c
 create mode 100644 gdb/testsuite/gdb.threads/sigstep-threads.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2e18e8c..7981dce 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,35 @@
+2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com> 
+
+	Apply LD plugin patch series (part 6/6).
+	* aoutx.h (aout_link_check_ar_symbols): Take new "subsbfd" reference
+	parameter and pass it when invoking add_archive_element callback.
+	(aout_link_check_archive_element): Handle substitute bfd if it
+	was set during add_archive_element callback in the above.
+	* cofflink.c (coff_link_check_ar_symbols): Take new "subsbfd" reference
+	parameter and pass it when invoking add_archive_element callback.
+	(coff_link_check_archive_element): Handle substitute bfd if it
+	was set during add_archive_element callback in the above.
+	* ecoff.c (read_ext_syms_and_strs): New function holds symbol-reading
+	code factored-out from ecoff_link_check_archive_element.
+	(reread_ext_syms_and_strs): Clear old symbols and call it.
+	(ecoff_link_check_archive_element):  Use the above.  Handle substitute
+	BFD if one is set by add_archive_element callback.
+	(ecoff_link_add_archive_symbols): Likewise allow bfd substitution.
+	* elflink.c (elf_link_add_archive_symbols): Likewise.
+	* linker.c (generic_link_check_archive_element): Likewise.
+	* pdp11.c (aout_link_check_ar_symbols): Take new "subsbfd" reference
+	parameter and pass it when invoking add_archive_element callback.
+	(aout_link_check_archive_element): Handle substitute bfd if it was
+	set during add_archive_element callback in the above.
+	* vms-alpha.c (alpha_vms_link_add_archive_symbols): Handle substitute
+	BFD if one is set by add_archive_element callback.
+	* xcofflink.c (xcoff_link_check_dynamic_ar_symbols): Take new "subsbfd"
+	reference parameter and pass it when invoking add_archive_element
+	callback.
+	(xcoff_link_check_ar_symbols): Likewise.
+	(xcoff_link_check_archive_element): Handle bfd substitution if it was
+	set by callback in the above.
+
 2010-10-11  Alan Modra  <amodra@gmail.com>
 
 	* elf32-frv.c (elf32_frv_relocate_section): Set "name" for global syms.
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index 11598a0..efa9d47 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -3210,7 +3210,8 @@ aout_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info)
 static bfd_boolean
 aout_link_check_ar_symbols (bfd *abfd,
 			    struct bfd_link_info *info,
-			    bfd_boolean *pneeded)
+			    bfd_boolean *pneeded,
+			    bfd **subsbfd)
 {
   struct external_nlist *p;
   struct external_nlist *pend;
@@ -3304,7 +3305,8 @@ aout_link_check_ar_symbols (bfd *abfd,
 		continue;
 	    }
 
-	  if (! (*info->callbacks->add_archive_element) (info, abfd, name))
+	  if (! (*info->callbacks->add_archive_element)
+					(info, abfd, name, subsbfd))
 	    return FALSE;
 	  *pneeded = TRUE;
 	  return TRUE;
@@ -3331,9 +3333,8 @@ aout_link_check_ar_symbols (bfd *abfd,
 			 outside BFD.  We assume that we should link
 			 in the object file.  This is done for the -u
 			 option in the linker.  */
-		      if (! (*info->callbacks->add_archive_element) (info,
-								     abfd,
-								     name))
+		      if (! (*info->callbacks->add_archive_element)
+					(info, abfd, name, subsbfd))
 			return FALSE;
 		      *pneeded = TRUE;
 		      return TRUE;
@@ -3381,7 +3382,8 @@ aout_link_check_ar_symbols (bfd *abfd,
 	     it if the current link symbol is common.  */
 	  if (h->type == bfd_link_hash_undefined)
 	    {
-	      if (! (*info->callbacks->add_archive_element) (info, abfd, name))
+	      if (! (*info->callbacks->add_archive_element)
+					(info, abfd, name, subsbfd))
 		return FALSE;
 	      *pneeded = TRUE;
 	      return TRUE;
@@ -3402,15 +3404,21 @@ aout_link_check_archive_element (bfd *abfd,
 				 struct bfd_link_info *info,
 				 bfd_boolean *pneeded)
 {
+  bfd *subsbfd = NULL;
+
   if (! aout_get_external_symbols (abfd))
     return FALSE;
 
-  if (! aout_link_check_ar_symbols (abfd, info, pneeded))
+  if (! aout_link_check_ar_symbols (abfd, info, pneeded, &subsbfd))
     return FALSE;
 
   if (*pneeded)
     {
-      if (! aout_link_add_symbols (abfd, info))
+      /* Potentially, the add_archive_element hook may have set a
+	 substitute BFD for us.  */
+      if (subsbfd && !aout_get_external_symbols (subsbfd))
+	return FALSE;
+      if (! aout_link_add_symbols (subsbfd ? subsbfd : abfd, info))
 	return FALSE;
     }
 
diff --git a/bfd/cofflink.c b/bfd/cofflink.c
index a29b687..a28d396 100644
--- a/bfd/cofflink.c
+++ b/bfd/cofflink.c
@@ -197,7 +197,8 @@ coff_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info)
 static bfd_boolean
 coff_link_check_ar_symbols (bfd *abfd,
 			    struct bfd_link_info *info,
-			    bfd_boolean *pneeded)
+			    bfd_boolean *pneeded,
+			    bfd **subsbfd)
 {
   bfd_size_type symesz;
   bfd_byte *esym;
@@ -243,7 +244,8 @@ coff_link_check_ar_symbols (bfd *abfd,
 	  if (h != (struct bfd_link_hash_entry *) NULL
 	      && h->type == bfd_link_hash_undefined)
 	    {
-	      if (! (*info->callbacks->add_archive_element) (info, abfd, name))
+	      if (! (*info->callbacks->add_archive_element)
+					(info, abfd, name, subsbfd))
 		return FALSE;
 	      *pneeded = TRUE;
 	      return TRUE;
@@ -267,14 +269,23 @@ coff_link_check_archive_element (bfd *abfd,
 				 struct bfd_link_info *info,
 				 bfd_boolean *pneeded)
 {
+  bfd *subsbfd = NULL;
+
   if (! _bfd_coff_get_external_symbols (abfd))
     return FALSE;
 
-  if (! coff_link_check_ar_symbols (abfd, info, pneeded))
+  if (! coff_link_check_ar_symbols (abfd, info, pneeded, &subsbfd))
+    return FALSE;
+
+  /* Potentially, the add_archive_element hook may have set a
+     substitute BFD for us.  */
+  if (*pneeded
+      && subsbfd
+      && ! _bfd_coff_get_external_symbols (subsbfd))
     return FALSE;
 
   if (*pneeded
-      && ! coff_link_add_symbols (abfd, info))
+      && ! coff_link_add_symbols (subsbfd ? subsbfd : abfd, info))
     return FALSE;
 
   if ((! info->keep_memory || ! *pneeded)
diff --git a/bfd/ecoff.c b/bfd/ecoff.c
index af9d7d6..37003d2 100644
--- a/bfd/ecoff.c
+++ b/bfd/ecoff.c
@@ -3509,6 +3509,58 @@ ecoff_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info)
   return FALSE;
 }
 
+/* Factored out from ecoff_link_check_archive_element.  */
+
+static bfd_boolean
+read_ext_syms_and_strs (HDRR **symhdr, bfd_size_type *external_ext_size,
+	bfd_size_type *esize, void **external_ext, char **ssext, bfd *abfd,
+	const struct ecoff_backend_data * const backend)
+{
+  if (! ecoff_slurp_symbolic_header (abfd))
+    return FALSE;
+
+  /* If there are no symbols, we don't want it.  */
+  if (bfd_get_symcount (abfd) == 0)
+    return TRUE;
+
+  *symhdr = &ecoff_data (abfd)->debug_info.symbolic_header;
+
+  *external_ext_size = backend->debug_swap.external_ext_size;
+  *esize = (*symhdr)->iextMax * *external_ext_size;
+  *external_ext = bfd_malloc (*esize);
+  if (*external_ext == NULL && *esize != 0)
+    return FALSE;
+
+  if (bfd_seek (abfd, (file_ptr) (*symhdr)->cbExtOffset, SEEK_SET) != 0
+      || bfd_bread (*external_ext, *esize, abfd) != *esize)
+    return FALSE;
+
+  *ssext = (char *) bfd_malloc ((bfd_size_type) (*symhdr)->issExtMax);
+  if (*ssext == NULL && (*symhdr)->issExtMax != 0)
+    return FALSE;
+
+  if (bfd_seek (abfd, (file_ptr) (*symhdr)->cbSsExtOffset, SEEK_SET) != 0
+      || (bfd_bread (*ssext, (bfd_size_type) (*symhdr)->issExtMax, abfd)
+	  != (bfd_size_type) (*symhdr)->issExtMax))
+    return FALSE;
+  return TRUE;
+}
+
+static bfd_boolean
+reread_ext_syms_and_strs (HDRR **symhdr, bfd_size_type *external_ext_size,
+	bfd_size_type *esize, void **external_ext, char **ssext, bfd *abfd,
+	const struct ecoff_backend_data * const backend)
+{
+  if (*external_ext != NULL)
+    free (*external_ext);
+  *external_ext = NULL;
+  if (*ssext != NULL)
+    free (*ssext);
+  *ssext = NULL;
+  return read_ext_syms_and_strs (symhdr, external_ext_size, esize,
+				external_ext, ssext, abfd, backend);
+}
+
 /* This is called if we used _bfd_generic_link_add_archive_symbols
    because we were not dealing with an ECOFF archive.  */
 
@@ -3530,35 +3582,15 @@ ecoff_link_check_archive_element (bfd *abfd,
 
   *pneeded = FALSE;
 
-  if (! ecoff_slurp_symbolic_header (abfd))
+  /* Read in the external symbols and external strings.  */
+  if (!read_ext_syms_and_strs (&symhdr, &external_ext_size, &esize,
+	&external_ext, &ssext, abfd, backend))
     goto error_return;
 
   /* If there are no symbols, we don't want it.  */
   if (bfd_get_symcount (abfd) == 0)
     goto successful_return;
 
-  symhdr = &ecoff_data (abfd)->debug_info.symbolic_header;
-
-  /* Read in the external symbols and external strings.  */
-  external_ext_size = backend->debug_swap.external_ext_size;
-  esize = symhdr->iextMax * external_ext_size;
-  external_ext = bfd_malloc (esize);
-  if (external_ext == NULL && esize != 0)
-    goto error_return;
-
-  if (bfd_seek (abfd, (file_ptr) symhdr->cbExtOffset, SEEK_SET) != 0
-      || bfd_bread (external_ext, esize, abfd) != esize)
-    goto error_return;
-
-  ssext = (char *) bfd_malloc ((bfd_size_type) symhdr->issExtMax);
-  if (ssext == NULL && symhdr->issExtMax != 0)
-    goto error_return;
-
-  if (bfd_seek (abfd, (file_ptr) symhdr->cbSsExtOffset, SEEK_SET) != 0
-      || (bfd_bread (ssext, (bfd_size_type) symhdr->issExtMax, abfd)
-	  != (bfd_size_type) symhdr->issExtMax))
-    goto error_return;
-
   /* Look through the external symbols to see if they define some
      symbol that is currently undefined.  */
   ext_ptr = (char *) external_ext;
@@ -3568,6 +3600,7 @@ ecoff_link_check_archive_element (bfd *abfd,
       EXTR esym;
       bfd_boolean def;
       const char *name;
+      bfd *subsbfd;
       struct bfd_link_hash_entry *h;
 
       (*swap_ext_in) (abfd, (void *) ext_ptr, &esym);
@@ -3612,9 +3645,18 @@ ecoff_link_check_archive_element (bfd *abfd,
 	continue;
 
       /* Include this element.  */
-      if (! (*info->callbacks->add_archive_element) (info, abfd, name))
+      subsbfd = NULL;
+      if (! (*info->callbacks->add_archive_element)
+					(info, abfd, name, &subsbfd))
+	goto error_return;
+      /* Potentially, the add_archive_element hook may have set a
+	 substitute BFD for us.  */
+      if (subsbfd
+	  && !reread_ext_syms_and_strs (&symhdr, &external_ext_size, &esize,
+				&external_ext, &ssext, subsbfd, backend))
 	goto error_return;
-      if (! ecoff_link_add_externals (abfd, info, external_ext, ssext))
+      if (! ecoff_link_add_externals (subsbfd ? subsbfd : abfd, info,
+				external_ext, ssext))
 	goto error_return;
 
       *pneeded = TRUE;
@@ -3691,6 +3733,7 @@ ecoff_link_add_archive_symbols (bfd *abfd, struct bfd_link_info *info)
       unsigned int file_offset;
       const char *name;
       bfd *element;
+      bfd *subsbfd;
 
       h = *pundef;
 
@@ -3777,9 +3820,13 @@ ecoff_link_add_archive_symbols (bfd *abfd, struct bfd_link_info *info)
       /* Unlike the generic linker, we know that this element provides
 	 a definition for an undefined symbol and we know that we want
 	 to include it.  We don't need to check anything.  */
-      if (! (*info->callbacks->add_archive_element) (info, element, name))
+      subsbfd = NULL;
+      if (! (*info->callbacks->add_archive_element)
+					(info, element, name, &subsbfd))
 	return FALSE;
-      if (! ecoff_link_add_object_symbols (element, info))
+      /* Potentially, the add_archive_element hook may have set a
+	 substitute BFD for us.  */
+      if (! ecoff_link_add_object_symbols (subsbfd ? subsbfd : element, info))
 	return FALSE;
 
       pundef = &(*pundef)->u.undef.next;
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 41fba17..6d37dc8 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -5011,6 +5011,7 @@ elf_link_add_archive_symbols (bfd *abfd, struct bfd_link_info *info)
 	{
 	  struct elf_link_hash_entry *h;
 	  bfd *element;
+	  bfd *subsbfd = NULL;
 	  struct bfd_link_hash_entry *undefs_tail;
 	  symindex mark;
 
@@ -5073,10 +5074,12 @@ elf_link_add_archive_symbols (bfd *abfd, struct bfd_link_info *info)
 
 	  undefs_tail = info->hash->undefs_tail;
 
-	  if (! (*info->callbacks->add_archive_element) (info, element,
-							 symdef->name))
+	  if (! (*info->callbacks->add_archive_element)
+				(info, element, symdef->name, &subsbfd))
 	    goto error_return;
-	  if (! bfd_link_add_symbols (element, info))
+	  /* Potentially, the add_archive_element hook may have set a
+	     substitute BFD for us.  */
+	  if (! bfd_link_add_symbols (subsbfd ? subsbfd : element, info))
 	    goto error_return;
 
 	  /* If there are any new undefined symbols, we need to make
diff --git a/bfd/linker.c b/bfd/linker.c
index 76bc70a..fc52b51 100644
--- a/bfd/linker.c
+++ b/bfd/linker.c
@@ -223,7 +223,10 @@ SUBSUBSECTION
 	archive and decide which elements of the archive should be
 	included in the link.  For each such element it must call the
 	<<add_archive_element>> linker callback, and it must add the
-	symbols from the object file to the linker hash table.
+	symbols from the object file to the linker hash table.  (The
+	callback may in fact indicate that a replacement BFD should be
+	used, in which case the symbols from that BFD should be added
+	to the linker hash table instead.)
 
 @findex _bfd_generic_link_add_archive_symbols
 	In most cases the work of looking through the symbols in the
@@ -243,9 +246,13 @@ SUBSUBSECTION
 	element should be included in the link.  If the element is to
 	be included, the <<add_archive_element>> linker callback
 	routine must be called with the element as an argument, and
-	the elements symbols must be added to the linker hash table
+	the element's symbols must be added to the linker hash table
 	just as though the element had itself been passed to the
-	<<_bfd_link_add_symbols>> function.
+	<<_bfd_link_add_symbols>> function.  The <<add_archive_element>>
+	callback has the option to indicate that it would like to
+	replace the element archive with a substitute BFD, in which
+	case it is the symbols of that substitute BFD that must be
+	added to the linker hash table instead.
 
 	When the a.out <<_bfd_link_add_symbols>> function receives an
 	archive, it calls <<_bfd_generic_link_add_archive_symbols>>
@@ -257,7 +264,8 @@ SUBSUBSECTION
 	symbol) it calls the <<add_archive_element>> callback and then
 	<<aout_link_check_archive_element>> calls
 	<<aout_link_add_symbols>> to actually add the symbols to the
-	linker hash table.
+	linker hash table - possibly those of a substitute BFD, if the
+	<<add_archive_element>> callback avails itself of that option.
 
 	The ECOFF back end is unusual in that it does not normally
 	call <<_bfd_generic_link_add_archive_symbols>>, because ECOFF
@@ -957,8 +965,10 @@ archive_hash_table_init
    included.  CHECKFN should set *PNEEDED to TRUE if the object file
    should be included, and must also call the bfd_link_info
    add_archive_element callback function and handle adding the symbols
-   to the global hash table.  CHECKFN should only return FALSE if some
-   sort of error occurs.
+   to the global hash table.  CHECKFN must notice if the callback
+   indicates a substitute BFD, and arrange to add those symbols instead
+   if it does so.  CHECKFN should only return FALSE if some sort of
+   error occurs.
 
    For some formats, such as a.out, it is possible to look through an
    object file but not actually include it in the link.  The
@@ -1213,11 +1223,20 @@ generic_link_check_archive_element (bfd *abfd,
 	{
 	  bfd_size_type symcount;
 	  asymbol **symbols;
+	  bfd *subsbfd = NULL;
 
 	  /* This object file defines this symbol, so pull it in.  */
-	  if (! (*info->callbacks->add_archive_element) (info, abfd,
-							 bfd_asymbol_name (p)))
+	  if (! (*info->callbacks->add_archive_element)
+				(info, abfd, bfd_asymbol_name (p), &subsbfd))
 	    return FALSE;
+	  /* Potentially, the add_archive_element hook may have set a
+	     substitute BFD for us.  */
+	  if (subsbfd)
+	    {
+	      abfd = subsbfd;
+	      if (!bfd_generic_link_read_symbols (abfd))
+		return FALSE;
+	    }
 	  symcount = _bfd_generic_link_get_symcount (abfd);
 	  symbols = _bfd_generic_link_get_symbols (abfd);
 	  if (! generic_link_add_symbol_list (abfd, info, symcount,
@@ -1238,12 +1257,16 @@ generic_link_check_archive_element (bfd *abfd,
 	  symbfd = h->u.undef.abfd;
 	  if (symbfd == NULL)
 	    {
+	      bfd *subsbfd = NULL;
 	      /* This symbol was created as undefined from outside
 		 BFD.  We assume that we should link in the object
 		 file.  This is for the -u option in the linker.  */
 	      if (! (*info->callbacks->add_archive_element)
-		  (info, abfd, bfd_asymbol_name (p)))
+				(info, abfd, bfd_asymbol_name (p), &subsbfd))
 		return FALSE;
+	      /* Potentially, the add_archive_element hook may have set a
+		 substitute BFD for us.  But no symbols are going to get
+		 registered by anything we're returning to from here.  */
 	      *pneeded = TRUE;
 	      return TRUE;
 	    }
diff --git a/bfd/pdp11.c b/bfd/pdp11.c
index 1a7694c..5f4d28c 100644
--- a/bfd/pdp11.c
+++ b/bfd/pdp11.c
@@ -2545,7 +2545,8 @@ aout_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info)
 static bfd_boolean
 aout_link_check_ar_symbols (bfd *abfd,
 			    struct bfd_link_info *info,
-			    bfd_boolean *pneeded)
+			    bfd_boolean *pneeded,
+			    bfd **subsbfd)
 {
   struct external_nlist *p;
   struct external_nlist *pend;
@@ -2600,7 +2601,8 @@ aout_link_check_ar_symbols (bfd *abfd,
 	     but not if it is defined in the .text section.  That
 	     seems a bit crazy to me, and I haven't implemented it.
 	     However, it might be correct.  */
-	  if (! (*info->callbacks->add_archive_element) (info, abfd, name))
+	  if (! (*info->callbacks->add_archive_element)
+					(info, abfd, name, subsbfd))
 	    return FALSE;
 	  *pneeded = TRUE;
 	  return TRUE;
@@ -2628,7 +2630,7 @@ aout_link_check_ar_symbols (bfd *abfd,
 			 in the object file.  This is done for the -u
 			 option in the linker.  */
 		      if (! (*info->callbacks->add_archive_element)
-			  (info, abfd, name))
+			  (info, abfd, name, subsbfd))
 			return FALSE;
 		      *pneeded = TRUE;
 		      return TRUE;
@@ -2680,15 +2682,21 @@ aout_link_check_archive_element (bfd *abfd,
 				 struct bfd_link_info *info,
 				 bfd_boolean *pneeded)
 {
+  bfd *subsbfd = NULL;
+
   if (! aout_get_external_symbols (abfd))
     return FALSE;
 
-  if (! aout_link_check_ar_symbols (abfd, info, pneeded))
+  if (! aout_link_check_ar_symbols (abfd, info, pneeded, &subsbfd))
     return FALSE;
 
   if (*pneeded)
     {
-      if (! aout_link_add_symbols (abfd, info))
+      /* Potentially, the add_archive_element hook may have set a
+	 substitute BFD for us.  */
+      if (subsbfd && ! aout_get_external_symbols (subsbfd))
+	return FALSE;
+      if (! aout_link_add_symbols (subsbfd ? subsbfd : abfd, info))
 	return FALSE;
     }
 
diff --git a/bfd/version.h b/bfd/version.h
index 4baa4cd..b32faf0 100644
--- a/bfd/version.h
+++ b/bfd/version.h


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-10-13 10:44 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-10-13 10:44 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  c24d9f262b3a741fa8b93e464d8ade4a40c80bae (commit)
       via  38dc720f9b66df1122f4d63b96a866a00386816a (commit)
       via  a4c2a2ca7166bff825e4806197e040374c854c92 (commit)
       via  d2a8b4a4c7e8c1ae5ecf3935644514eff6e2077c (commit)
       via  f2af4777c54d5b99a30890a0bdb6e5cb2c2a0920 (commit)
       via  75eefffd1a0359b2e38bcd703b63d6232209144c (commit)
       via  a2964f7ce24fabe1e4357e82ea457b9252c550a7 (commit)
       via  bfa490e2a62d2330775c3354a2bb4a10b1ce9f94 (commit)
       via  b9fec5b4ee3a77a1d49e9c6f55ced129f43b8006 (commit)
       via  13b68f3e84043a7be14dfaf4e48456c589ada73b (commit)
       via  e5b782fb1908e3bdb9950489aa0a1b84460ea73c (commit)
       via  86a26289bc9d7f8b26115134a36044748095a9de (commit)
      from  74d8dadb4affedcfb27bef74e5e7f14db6f00150 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit c24d9f262b3a741fa8b93e464d8ade4a40c80bae
Merge: 74d8dad 38dc720
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Wed Oct 13 11:44:34 2010 +0100

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                          |    6 ++++++
 bfd/elf32-frv.c                        |    9 ++++++---
 bfd/version.h                          |    2 +-
 gdb/ChangeLog                          |   13 +++++++++++++
 gdb/arm-tdep.c                         |    3 ++-
 gdb/c-typeprint.c                      |    3 ++-
 gdb/doc/ChangeLog                      |    5 +++++
 gdb/doc/gdb.texinfo                    |    2 +-
 gdb/ser-go32.c                         |    1 +
 gdb/testsuite/ChangeLog                |    5 +++++
 gdb/testsuite/gdb.cp/infcall-dlopen.cc |    6 ++++++
 gdb/version.in                         |    2 +-
 opcodes/ChangeLog                      |   10 ++++++++++
 opcodes/m68k-opc.c                     |    7 ++++---
 opcodes/s390-opc.c                     |    2 +-
 opcodes/s390-opc.txt                   |    8 ++++----
 16 files changed, 68 insertions(+), 16 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index fcfa945..2e18e8c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2010-10-11  Alan Modra  <amodra@gmail.com>
+
+	* elf32-frv.c (elf32_frv_relocate_section): Set "name" for global syms.
+	(elf32_frvfdpic_finish_dynamic_sections): Don't crash on
+	__ROFIXUP_END__ defined in shared lib.
+
 2010-10-11  Thomas Schwinge  <thomas@codesourcery.com>
 
 	* elf32-arm.c (elf32_arm_final_link_relocate)
diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c
index 2acc917..f6975f3 100644
--- a/bfd/elf32-frv.c
+++ b/bfd/elf32-frv.c
@@ -2770,7 +2770,7 @@ elf32_frv_relocate_section (output_bfd, info, input_bfd, input_section,
       struct elf_link_hash_entry *h;
       bfd_vma relocation;
       bfd_reloc_status_type r;
-      const char * name = NULL;
+      const char *name;
       int r_type;
       asection *osec;
       struct frvfdpic_relocs_info *picrel;
@@ -2796,7 +2796,8 @@ elf32_frv_relocate_section (output_bfd, info, input_bfd, input_section,
 
 	  name = bfd_elf_string_from_elf_section
 	    (input_bfd, symtab_hdr->sh_link, sym->st_name);
-	  name = (name == NULL) ? bfd_section_name (input_bfd, sec) : name;
+	  if (name == NULL || name[0] == 0)
+	    name = bfd_section_name (input_bfd, sec);
 	}
       else
 	{
@@ -2808,6 +2809,7 @@ elf32_frv_relocate_section (output_bfd, info, input_bfd, input_section,
 				   h, sec, relocation,
 				   unresolved_reloc, warned);
 	  osec = sec;
+	  name = h->root.root.string;
 	}
 
       if (sec != NULL && elf_discarded_section (sec))
@@ -5896,7 +5898,8 @@ elf32_frvfdpic_finish_dynamic_sections (bfd *output_bfd,
 				       FALSE, FALSE, TRUE);
 	  if (hend
 	      && (hend->type == bfd_link_hash_defined
-		  || hend->type == bfd_link_hash_defweak))
+		  || hend->type == bfd_link_hash_defweak)
+	      && hend->u.def.section->output_section != NULL)
 	    {
 	      bfd_vma value =
 		frvfdpic_gotfixup_section (info)->output_section->vma
diff --git a/bfd/version.h b/bfd/version.h
index 3332bf6..4baa4cd 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20101011
+#define BFD_VERSION_DATE 20101012
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5f3b259..a0765cd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,16 @@
+2010-10-12  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	* ser-go32.c (struct dos_ops): Add missing fdopen field.
+
+2010-10-12  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+	* arm-tdep.c (arm_mode_strings): Add NULL entry at end of array.
+
+2010-10-11  Doug Evans  <dje@google.com>
+
+	* c-typeprint.c (c_type_print_modifier): Add note that this prints
+	the address space id too.
+
 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	Fix attaching to re-prelinked executables on ppc64.
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 19b9c85..5b32b8a 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -124,7 +124,8 @@ static const char *arm_mode_strings[] =
   {
     "auto",
     "arm",
-    "thumb"
+    "thumb",
+    NULL
   };
 
 static const char *arm_fallback_mode_string = "auto";
diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c
index 926ae2f..c7cadc0 100644
--- a/gdb/c-typeprint.c
+++ b/gdb/c-typeprint.c
@@ -321,7 +321,8 @@ c_type_print_varspec_prefix (struct type *type, struct ui_file *stream,
     }
 }
 
-/* Print out "const" and "volatile" attributes.
+/* Print out "const" and "volatile" attributes,
+   and address space id if present.
    TYPE is a pointer to the type being printed out.
    STREAM is the output destination.
    NEED_SPACE = 1 indicates an initial white space is needed */
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index a967bd7..e2b435e 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-11  Doug Evans  <dje@google.com>
+
+	* gdb.texinfo (Values From Inferior): Add reference to "Types in
+	Python" from gdb.Value.type description.
+
 2010-09-28  Joel Brobecker  <brobecker@adacore.com>
 
 	* gdb.texinfo (Ravenscar Profile): New node.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 415efc0..632d657 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -20789,7 +20789,7 @@ this value, thus it is not available for fetching from the inferior.
 
 @defivar Value type
 The type of this @code{gdb.Value}.  The value of this attribute is a
-@code{gdb.Type} object.
+@code{gdb.Type} object (@pxref{Types In Python}).
 @end defivar
 
 @defivar Value dynamic_type
diff --git a/gdb/ser-go32.c b/gdb/ser-go32.c
index d9003b8..a9141d0 100644
--- a/gdb/ser-go32.c
+++ b/gdb/ser-go32.c
@@ -843,6 +843,7 @@ static struct serial_ops dos_ops =
   0,
   dos_open,
   dos_close,
+  NULL,				/* fdopen, not implemented */
   dos_readchar,
   dos_write,
   dos_noop,			/* flush output */
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 865568c..3340523 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
+	* gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
+	(main): Make openlib dummy call.
+
+2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
 	Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
 	* break-interp.exp (reach): Move the core body ...
 	(reach_1): ... here.  Use stop-on-solib-events for _dl_debug_state.
diff --git a/gdb/testsuite/gdb.cp/infcall-dlopen.cc b/gdb/testsuite/gdb.cp/infcall-dlopen.cc
index 1e389e6..7fb204c 100644
--- a/gdb/testsuite/gdb.cp/infcall-dlopen.cc
+++ b/gdb/testsuite/gdb.cp/infcall-dlopen.cc
@@ -23,6 +23,9 @@ openlib (const char *filename)
 {
   void *h = dlopen (filename, RTLD_LAZY);
 
+  if (filename == NULL)
+    return 0;
+
   if (h == NULL)
     return 0;
   if (dlclose (h) != 0)
@@ -33,5 +36,8 @@ openlib (const char *filename)
 int
 main (void)
 {
+  /* Dummy call to get the function always compiled in.  */
+  openlib (NULL);
+
   return 0;
 }
diff --git a/gdb/version.in b/gdb/version.in
index b50a7c4..4db0407 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-7.2.50.20101011-cvs
+7.2.50.20101012-cvs
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 5336e46..43a585d 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,13 @@
+2010-10-12  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* m68k-opc.c (m68k_opcodes): Move fnop before fbf.
+
+2010-10-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+	* s390-opc.c: Make the instruction masks for the load/store on
+	condition instructions to cover the condition code mask as well.
+	* s390-opc.txt: lgoc -> locg and stgoc -> stocg.
+
 2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
 	    Jiang Jilin  <freephp@gmail.com>
 
diff --git a/opcodes/m68k-opc.c b/opcodes/m68k-opc.c
index 71e712e..0f6852f 100644
--- a/opcodes/m68k-opc.c
+++ b/opcodes/m68k-opc.c
@@ -1,6 +1,6 @@
 /* Opcode table for m680[012346]0/m6888[12]/m68851/mcf5200.
    Copyright 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-   2000, 2001, 2003, 2004, 2005, 2006, 2007, 2009
+   2000, 2001, 2003, 2004, 2005, 2006, 2007, 2009, 2010
    Free Software Foundation, Inc.
 
    This file is part of the GNU opcodes library.
@@ -529,6 +529,9 @@ const struct m68k_opcode m68k_opcodes[] =
 {"fatanhx", 4,	two(0xF000, 0x480D), two(0xF1C0, 0xFC7F), "Ii;xF7", mfloat },
 {"fatanhx", 4,	two(0xF000, 0x000D), two(0xF1C0, 0xE07F), "IiFt",   mfloat },
 
+/* This is the same as `fbf .+2'.  */
+{"fnop", 4,	two(0xF280, 0x0000), two(0xFFFF, 0xFFFF), "Ii", mfloat | cfloat },
+
 {"fbeq", 2,	one(0xF081),		one(0xF1FF), "IdBW", mfloat | cfloat },
 {"fbf", 2,	one(0xF080),		one(0xF1FF), "IdBW", mfloat | cfloat },
 {"fbge", 2,	one(0xF093),		one(0xF1FF), "IdBW", mfloat | cfloat },
@@ -1084,8 +1087,6 @@ const struct m68k_opcode m68k_opcodes[] =
 {"fdnegx", 4,	two(0xF000, 0x485E), two(0xF1C0, 0xFC7F), "Ii;xF7", m68040up },
 {"fdnegx", 4,	two(0xF000, 0x005E), two(0xF1C0, 0xE07F), "IiFt",   m68040up },
 
-{"fnop", 4,	two(0xF280, 0x0000), two(0xFFFF, 0xFFFF), "Ii", mfloat | cfloat },
-
 {"fremb", 4,	two(0xF000, 0x5825), two(0xF1C0, 0xFC7F), "Ii;bF7", mfloat },
 {"fremd", 4,	two(0xF000, 0x5425), two(0xF1C0, 0xFC7F), "Ii;FF7", mfloat },
 {"freml", 4,	two(0xF000, 0x4025), two(0xF1C0, 0xFC7F), "Ii;lF7", mfloat },
diff --git a/opcodes/s390-opc.c b/opcodes/s390-opc.c
index fea838e..2f1487d 100644
--- a/opcodes/s390-opc.c
+++ b/opcodes/s390-opc.c
@@ -426,7 +426,7 @@ const struct s390_operand s390_operands[] =
 #define MASK_RSY_AARD    { 0xff, 0x00, 0x00, 0x00, 0x00, 0xff }
 #define MASK_RSY_CCRD    { 0xff, 0x00, 0x00, 0x00, 0x00, 0xff }
 #define MASK_RSY_RDRM    { 0xff, 0x00, 0x00, 0x00, 0x00, 0xff }
-#define MASK_RSY_RDR0    { 0xff, 0x00, 0x00, 0x00, 0x00, 0xff }
+#define MASK_RSY_RDR0    { 0xff, 0x0f, 0x00, 0x00, 0x00, 0xff }
 #define MASK_RXE_FRRD    { 0xff, 0x00, 0x00, 0x00, 0xff, 0xff }
 #define MASK_RXE_RRRD    { 0xff, 0x00, 0x00, 0x00, 0xff, 0xff }
 #define MASK_RXF_FRRDF   { 0xff, 0x00, 0x00, 0x00, 0x0f, 0xff }
diff --git a/opcodes/s390-opc.txt b/opcodes/s390-opc.txt
index 9393ba4..e9b6ffc 100644
--- a/opcodes/s390-opc.txt
+++ b/opcodes/s390-opc.txt
@@ -1008,12 +1008,12 @@ b9e2 locgr RRF_U0RR "load on condition 64  bit" z196 zarch
 b9e200000000 locgr*16 RRF_00RR "load on condition 64  bit" z196 zarch
 eb00000000f2 loc RSY_RDRM "load on condition 32 bit" z196 zarch
 eb00000000f2 loc*12 RSY_RDR0 "load on condition 32 bit" z196 zarch
-eb00000000e2 lgoc RSY_RDRM "load on condition 64 bit" z196 zarch
-eb00000000e2 lgoc*12 RSY_RDR0 "load on condition 64 bit" z196 zarch
+eb00000000e2 locg RSY_RDRM "load on condition 64 bit" z196 zarch
+eb00000000e2 locg*12 RSY_RDR0 "load on condition 64 bit" z196 zarch
 eb00000000f3 stoc RSY_RDRM "store on condition 32 bit" z196 zarch
 eb00000000f3 stoc*12 RSY_RDR0 "store on condition 32 bit" z196 zarch
-eb00000000e3 stgoc RSY_RDRM "store on condition 64 bit" z196 zarch
-eb00000000e3 stgoc*12 RSY_RDR0 "store on condition 64 bit" z196 zarch
+eb00000000e3 stocg RSY_RDRM "store on condition 64 bit" z196 zarch
+eb00000000e3 stocg*12 RSY_RDR0 "store on condition 64 bit" z196 zarch
 b9f8 ark RRF_R0RR2 "add 3 operands 32 bit" z196 zarch
 b9e8 agrk RRF_R0RR2 "add 3 operands 64 bit" z196 zarch
 ec00000000d8 ahik RIE_RRI0 "add immediate 3 operands 32 bit" z196 zarch


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-10-12 12:03 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-10-12 12:03 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  630f7e43bd68928e5a1a0cfa7962f5c36069a002 (commit)
       via  b59c334f41d4a793352df0563f6d7ba0f1166342 (commit)
       via  ce9ec74d6dc0539f7f0a1dde42718831fbecd7db (commit)
       via  12dec400fbd5feede3977ccafe6c7d8e75852f89 (commit)
       via  0cde3f1656516b8d4932048b214702faa4628aeb (commit)
      from  6b5779f3fefbeff1cb9d896f22aeb89e90d0b8e6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 630f7e43bd68928e5a1a0cfa7962f5c36069a002
Merge: 6b5779f b59c334
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Tue Oct 12 13:02:56 2010 +0100

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog                           |    6 ++
 gdb/solib-svr4.c                        |   58 ++++++++++++++
 gdb/testsuite/ChangeLog                 |   15 ++++
 gdb/testsuite/gdb.base/break-interp.exp |  132 ++++++++++++++++++++++---------
 4 files changed, 174 insertions(+), 37 deletions(-)

First 500 lines of diff:
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7341c92..5f3b259 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Fix attaching to re-prelinked executables on ppc64.
+	* solib-svr4.c (svr4_exec_displacement): New variable plt2_asect,
+	initialize it, try to adjust FILESZ field by it.
+
 2010-10-08  Daniel Jacobowitz  <dan@codesourcery.com>
 
 	* tracepoint.c (merge_uploaded_trace_state_variables): Only print
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index 9ad67fb..db21360 100644
--- a/gdb/solib-svr4.c
+++ b/gdb/solib-svr4.c
@@ -1844,6 +1844,7 @@ svr4_exec_displacement (CORE_ADDR *displacementp)
 		  Elf32_External_Phdr *phdr2p;
 		  gdb_byte *buf_vaddr_p, *buf_paddr_p;
 		  CORE_ADDR vaddr, paddr;
+		  asection *plt2_asect;
 
 		  phdrp = &((Elf32_External_Phdr *) buf)[i];
 		  buf_vaddr_p = (gdb_byte *) &phdrp->p_vaddr;
@@ -1869,6 +1870,34 @@ svr4_exec_displacement (CORE_ADDR *displacementp)
 		  if (memcmp (phdrp, phdr2p, sizeof (*phdrp)) == 0)
 		    continue;
 
+		  /* prelink can convert .plt SHT_NOBITS to SHT_PROGBITS.  */
+		  plt2_asect = bfd_get_section_by_name (exec_bfd, ".plt");
+		  if (plt2_asect)
+		    {
+		      int content2;
+		      gdb_byte *buf_filesz_p = (gdb_byte *) &phdrp->p_filesz;
+		      CORE_ADDR filesz;
+
+		      content2 = (bfd_get_section_flags (exec_bfd, plt2_asect)
+				  & SEC_HAS_CONTENTS) != 0;
+
+		      filesz = extract_unsigned_integer (buf_filesz_p, 4,
+							 byte_order);
+
+		      /* PLT2_ASECT is from on-disk file (exec_bfd) while
+			 FILESZ is from the in-memory image.  */
+		      if (content2)
+			filesz += bfd_get_section_size (plt2_asect);
+		      else
+			filesz -= bfd_get_section_size (plt2_asect);
+
+		      store_unsigned_integer (buf_filesz_p, 4, byte_order,
+					      filesz);
+
+		      if (memcmp (phdrp, phdr2p, sizeof (*phdrp)) == 0)
+			continue;
+		    }
+
 		  ok = 0;
 		  break;
 		}
@@ -1921,6 +1950,7 @@ svr4_exec_displacement (CORE_ADDR *displacementp)
 		  Elf64_External_Phdr *phdr2p;
 		  gdb_byte *buf_vaddr_p, *buf_paddr_p;
 		  CORE_ADDR vaddr, paddr;
+		  asection *plt2_asect;
 
 		  phdrp = &((Elf64_External_Phdr *) buf)[i];
 		  buf_vaddr_p = (gdb_byte *) &phdrp->p_vaddr;
@@ -1946,6 +1976,34 @@ svr4_exec_displacement (CORE_ADDR *displacementp)
 		  if (memcmp (phdrp, phdr2p, sizeof (*phdrp)) == 0)
 		    continue;
 
+		  /* prelink can convert .plt SHT_NOBITS to SHT_PROGBITS.  */
+		  plt2_asect = bfd_get_section_by_name (exec_bfd, ".plt");
+		  if (plt2_asect)
+		    {
+		      int content2;
+		      gdb_byte *buf_filesz_p = (gdb_byte *) &phdrp->p_filesz;
+		      CORE_ADDR filesz;
+
+		      content2 = (bfd_get_section_flags (exec_bfd, plt2_asect)
+				  & SEC_HAS_CONTENTS) != 0;
+
+		      filesz = extract_unsigned_integer (buf_filesz_p, 8,
+							 byte_order);
+
+		      /* PLT2_ASECT is from on-disk file (exec_bfd) while
+			 FILESZ is from the in-memory image.  */
+		      if (content2)
+			filesz += bfd_get_section_size (plt2_asect);
+		      else
+			filesz -= bfd_get_section_size (plt2_asect);
+
+		      store_unsigned_integer (buf_filesz_p, 8, byte_order,
+					      filesz);
+
+		      if (memcmp (phdrp, phdr2p, sizeof (*phdrp)) == 0)
+			continue;
+		    }
+
 		  ok = 0;
 		  break;
 		}
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 9b34199..865568c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,18 @@
+2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
+	* break-interp.exp (reach): Move the core body ...
+	(reach_1): ... here.  Use stop-on-solib-events for _dl_debug_state.
+	(test_ld): Provide always real argument, even to the linker.  Replace
+	dl_main by _dl_debug_state.
+
+2010-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Fix results of prelinked PIEs on ppc*.
+	* gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
+	Accept also DISPLACEMENT "PRESENT".
+	(main): Replace "ZERO" displacements by "PRESENT".
+
 2010-10-08  Sami Wagiaalla  <swagiaal@redhat.com>
 
 	* gdb.cp/oranking.exp: New test.
diff --git a/gdb/testsuite/gdb.base/break-interp.exp b/gdb/testsuite/gdb.base/break-interp.exp
index 6566baa..4025083 100644
--- a/gdb/testsuite/gdb.base/break-interp.exp
+++ b/gdb/testsuite/gdb.base/break-interp.exp
@@ -108,45 +108,87 @@ proc strip_debug {dest} {
     }
 }
 
-# `runto' does not check we stopped really at the function we specified.
-# DISPLACEMENT can be "NONE", "ZERO" or "NONZERO"
-proc reach {func command displacement} {
+# Implementation of reach.
+
+proc reach_1 {func command displacement} {
     global gdb_prompt expect_out
 
-    global pf_prefix
-    set old_ldprefix $pf_prefix
-    lappend pf_prefix "reach-$func:"
+    if {$func == "_dl_debug_state"} {
+	# Breakpoint on _dl_debug_state can have problems due to its overlap
+	# with the existing internal breakpoint from GDB.
+	gdb_test_no_output "set stop-on-solib-events 1"
+    } elseif {! [gdb_breakpoint $func allow-pending]} {
+	return
+    }
 
-    if [gdb_breakpoint $func allow-pending] {
-	set test "reach"
-	set test_displacement "seen displacement message as $displacement"
-	gdb_test_multiple $command $test {
-	    -re "Using PIE \\(Position Independent Executable\\) displacement (0x\[0-9a-f\]+) " {
-		# Missing "$gdb_prompt $" is intentional.
-		if {$expect_out(1,string) == "0x0"} {
-		    set case "ZERO"
-		} else {
-		    set case "NONZERO"
-		}
-		if {$displacement == $case} {
-		    pass $test_displacement
-		    set displacement "FOUND-$displacement"
-		} else {
-		    fail $test_displacement
-		}
-		exp_continue
+    set test "reach"
+    set test_displacement "seen displacement message as $displacement"
+    set debug_state_count 0
+    gdb_test_multiple $command $test {
+	-re "Using PIE \\(Position Independent Executable\\) displacement (0x\[0-9a-f\]+) " {
+	    # Missing "$gdb_prompt $" is intentional.
+	    if {$expect_out(1,string) == "0x0"} {
+		set case "ZERO"
+	    } else {
+		set case "NONZERO"
+	    }
+	    if {$displacement == $case || $displacement == "PRESENT"} {
+		pass $test_displacement
+		set displacement "FOUND-$displacement"
+	    } else {
+		fail $test_displacement
 	    }
-	    -re "Breakpoint \[0-9\]+, \\.?$func \\(.*\\) at .*:\[0-9\]+\r\n.*$gdb_prompt $" {
+	    exp_continue
+	}
+	-re "Breakpoint \[0-9\]+, \\.?$func \\(.*\\) at .*:\[0-9\]+\r\n.*$gdb_prompt $" {
+	    if {$func == "_dl_debug_state"} {
+		fail $test
+	    } else {
 		pass $test
 	    }
-	    -re "Breakpoint \[0-9\]+, \[0-9xa-f\]+ in \\.?$func \\(\\).*\r\n$gdb_prompt $" {
+	}
+	-re "Breakpoint \[0-9\]+, \[0-9xa-f\]+ in \\.?$func \\(\\).*\r\n$gdb_prompt $" {
+	    if {$func == "_dl_debug_state"} {
+		fail $test
+	    } else {
 		pass $test
 	    }
 	}
-	if ![regexp {^(NONE|FOUND-.*)$} $displacement] {
-	    fail $test_displacement
+	-re "Stopped due to shared library event\r\n$gdb_prompt $" {
+	    if {$func == "_dl_debug_state"} {
+		if {$debug_state_count == 0} {
+		    # First stop does not yet relocate the _start function
+		    # descriptor on ppc64.
+		    set debug_state_count 1
+		    send_gdb "continue\n"
+		    exp_continue
+		} else {
+		    pass $test
+		}
+	    } else {
+		fail $test
+	    }
 	}
     }
+    if ![regexp {^(NONE|FOUND-.*)$} $displacement] {
+	fail $test_displacement
+    }
+
+    if {$func == "_dl_debug_state"} {
+	gdb_test_no_output "set stop-on-solib-events 0"
+    }
+}
+
+# `runto' does not check we stopped really at the function we specified.
+# DISPLACEMENT can be "NONE" for no message to be present, "ZERO" for
+# displacement of 0 bytes to be present, "NONZERO" for displacement of non-0
+# bytes to be present and "PRESENT" if both "ZERO" and "NONZERO" are valid.
+proc reach {func command displacement} {
+    global pf_prefix
+    set old_ldprefix $pf_prefix
+    lappend pf_prefix "reach-$func:"
+
+    reach_1 $func $command $displacement
 
     set pf_prefix $old_ldprefix
 }
@@ -184,7 +226,7 @@ proc test_core {file displacement} {
 	    } else {
 		set case "NONZERO"
 	    }
-	    if {$displacement == $case} {
+	    if {$displacement == $case || $displacement == "PRESENT"} {
 		pass $test_displacement
 		set displacement "FOUND-$displacement"
 	    } else {
@@ -241,7 +283,7 @@ proc test_attach_gdb {file pid displacement prefix} {
 	    } else {
 		set case "NONZERO"
 	    }
-	    if {$displacement == $case} {
+	    if {$displacement == $case || $displacement == "PRESENT"} {
 		pass $test_displacement
 		set displacement "FOUND-$displacement"
 	    } else {
@@ -342,9 +384,18 @@ proc test_ld {file ifmain trynosym displacement} {
     # prevents that from happening.  So turn it off.
     gdb_test "set disable-randomization off"
 
-    reach "dl_main" "run segv" $displacement
+    if $ifmain {
+	gdb_test_no_output "set args segv"
+    } else {
+	global objdir binfile_test
+
+	# ld.so needs some executable to run to reach _dl_debug_state.
+	gdb_test_no_output "set args ${objdir}/${subdir}/$binfile_test"
+    }
+
+    reach "_dl_debug_state" "run" $displacement
 
-    gdb_test "bt" "#0 +\[^\r\n\]*\\mdl_main\\M.*" "dl bt"
+    gdb_test "bt" "#0 +\[^\r\n\]*\\m_dl_debug_state\\M.*" "dl bt"
 
     if $ifmain {
 	reach "main" continue "NONE"
@@ -356,7 +407,7 @@ proc test_ld {file ifmain trynosym displacement} {
 
     # Try re-run if the new PIE displacement takes effect.
     gdb_test "kill" "" "kill" {Kill the program being debugged\? \(y or n\) } "y"
-    reach "dl_main" "run segv" $displacement
+    reach "_dl_debug_state" "run" $displacement
 
     if $ifmain {
 	test_core $file $displacement
@@ -389,7 +440,7 @@ proc test_ld {file ifmain trynosym displacement} {
     gdb_test "exec-file $file" "exec-file $escapedfile" "load"
 
     if $ifmain {
-	reach "dl_main" run $displacement
+	reach "_dl_debug_state" run $displacement
 
 	set test "info files"
 	set entrynohex ""
@@ -428,7 +479,7 @@ proc test_ld {file ifmain trynosym displacement} {
 		} else {
 		    set case "NONZERO"
 		}
-		if {$displacement == $case} {
+		if {$displacement == $case || $displacement == "PRESENT"} {
 		    pass $test_displacement
 		    set displacement "FOUND-$displacement"
 		} else {
@@ -533,7 +584,10 @@ foreach ldprelink {NO YES} {
 	if {$ldprelink == "NO"} {
 	    set displacement "NONZERO"
 	} else {
-	    set displacement "ZERO"
+	    # x86* kernel loads prelinked PIE binary at its prelinked address
+	    # but ppc* kernel loads it at a random address.  prelink normally
+	    # skips PIE binaries during the system scan.
+	    set displacement "PRESENT"
 	}
 	test_ld $interp 0 [expr {$ldsepdebug == "NO"}] $displacement
 
@@ -582,7 +636,11 @@ foreach ldprelink {NO YES} {
 		    } elseif {$binprelink == "NO"} {
 			set displacement "NONZERO"
 		    } else {
-			set displacement "ZERO"
+			# x86* kernel loads prelinked PIE binary at its
+			# prelinked address but ppc* kernel loads it at
+			# a random address.  prelink normally skips PIE
+			# binaries during the system scan.
+			set displacement "PRESENT"
 		    }
 
 		    if {[prelink$binprelink $relink_args [file tail $exec]]


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-10-11  8:48 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-10-11  8:48 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  fad1b0a1b10a961c15f506d5256452478d4eb3da (commit)
       via  d2970815195013ac303585ae4272b721d168e367 (commit)
       via  271cfeec5a425c90aa90583dcaf6bf988695a047 (commit)
       via  df5ec02eb8b23a7706f93d40e1fb48b0428629fb (commit)
       via  d336ad88e4c37d54669dbef15636e110ca353008 (commit)
       via  da68190916ac987538f5c86a3775bffc13e2768e (commit)
       via  dcc7e051e31667b6788b8bf42165a3f9cdcd25ba (commit)
       via  e61b7c14491a0e4018c58e4e61887488108d1a7d (commit)
       via  97ef8570a549af75a57816e94d6bd1a36c8dd220 (commit)
       via  3831d7e6a2f9dddb67c40b21ed1582a2afbc45fa (commit)
       via  225a0a1ee6f15f73619d42820036f9fb7f899598 (commit)
       via  5b2ee1fb0fc1fd0064f3a70062996be8dfa835de (commit)
       via  f05040bf6e7ece806da2ba0943598312e8187c99 (commit)
       via  bba6cada1d513421728b04c5a9078bd0066186e0 (commit)
       via  3f08e6e0e30cc27608f8c257e9e3adc55cee9f33 (commit)
       via  cf96b9465bb8c84fa4e12b8116cfad216b130f13 (commit)
       via  77a7b168d109e1a85571130cea413017adf7ebf9 (commit)
       via  8be941b9ba9ef001a45aed2349dd0cc619a2024f (commit)
       via  d01f999fb76e39c651b8cc9ec0e9a54ce204041f (commit)
       via  c0db44e3c62db256f853445359619b52f6f916d4 (commit)
       via  326a8778de585aa8bf8358409e735c253e53e613 (commit)
       via  dd27d5c2d16490fdaaec82a6b242ae29229d6e47 (commit)
       via  2b95718c85fe50547c0ac1670c3f53d64020dd00 (commit)
       via  b036112d2e8202b627404901bdf7d81152d394d9 (commit)
       via  7cf0f2402656595e50a390bcdf78dad3bc30f537 (commit)
       via  18fb65f478a4e8288bd9513728ae1e806a519e5c (commit)
       via  7d08342da7ff47c7a075e31af843927b93cefa73 (commit)
       via  b7ea7aba0499438dd4d230cc6577f9d2f108a294 (commit)
       via  6f62fad7e30dbb269e40bd71957e88e35e4c1d90 (commit)
       via  0e7a75f6f7e3894d9574bb5e3b0fe9ca5e2ea0e6 (commit)
       via  43f222f67cc4a0aeeb966c7a9f190eea20459f54 (commit)
       via  15ef70c19bfe9f903856764776e031ba6c3bb6fa (commit)
       via  c0ba854aa9cbdfa8f19402938771525fc9a6f62c (commit)
       via  53ccce96816da4cc81a751df4cb23e1cdda68674 (commit)
       via  943f2dab3dd994445a06e31fed55d3465bb5ed6b (commit)
       via  7330bf514b8675bd531eb2be35436e20454eddf4 (commit)
       via  526ef4cbd8c9d81b03e3959a6e39b428563cc09e (commit)
       via  b43844688379a4524c11ae351dce0720089b7444 (commit)
       via  4df22d322881d57e16ad4cbee187d0d7487f20df (commit)
       via  423f54f27c6911e87cb6a35fbce794d307fe7cf5 (commit)
       via  ebd0153e90ab7856539a14827aeda9a74473a4b9 (commit)
       via  c89aa7b89cf6270eeabf351018a0cd429b6f0320 (commit)
       via  af056d0eca88e1065dae3727d5e66e7d2612dc3d (commit)
       via  c03747ba4ff28b09249912ccf718dedb8287e8f8 (commit)
       via  0c27c473ae34636414ea12e3d7431663a10a0d75 (commit)
       via  1ec52b975c4c261732902aa97a89b26f6870302b (commit)
       via  b1244daa8637c7d9eaaf551f5c999945762f97f1 (commit)
      from  119203a0edb0e5f82f25df1d5ad86c6d02735ff6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit fad1b0a1b10a961c15f506d5256452478d4eb3da
Merge: 119203a d297081
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Oct 11 09:48:08 2010 +0100

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 COPYING.LIBGLOSS                         |   42 ++
 COPYING.NEWLIB                           |   34 ++
 ChangeLog                                |   21 +
 bfd/ChangeLog                            |   40 ++-
 bfd/elf.c                                |    5 +-
 bfd/elf32-arm.c                          |    8 +-
 bfd/elf32-rx.c                           |    4 +-
 bfd/elf32-xtensa.c                       |    2 +-
 bfd/elflink.c                            |   12 +-
 bfd/libbfd.h                             |    1 +
 bfd/pei-x86_64.c                         |   93 +++--
 bfd/reloc.c                              |    2 +
 bfd/version.h                            |    2 +-
 config/ChangeLog                         |   19 +
 configure                                |   13 +-
 configure.ac                             |   13 +-
 cpu/ChangeLog                            |    4 +
 cpu/frv.opc                              |    3 +
 gdb/ChangeLog                            |  154 ++++++++
 gdb/Makefile.in                          |   70 ++--
 gdb/ada-lang.c                           |  203 +++++++---
 gdb/addrmap.c                            |   66 +++-
 gdb/addrmap.h                            |   11 +
 gdb/arm-tdep.c                           |  634 ++++++++++++++++++++++++++++--
 gdb/c-valprint.c                         |    3 +-
 gdb/cc-with-index.sh                     |    1 +
 gdb/configure                            |    3 +-
 gdb/configure.ac                         |    2 +-
 gdb/data-directory/Makefile.in           |  182 +++++++++
 gdb/dictionary.c                         |  178 +++++++--
 gdb/dictionary.h                         |   25 ++
 gdb/dwarf2read.c                         |  100 +++--
 gdb/gdbtypes.c                           |   10 +-
 gdb/gdbtypes.h                           |   29 +-
 gdb/psymtab.c                            |  286 +++++++-------
 gdb/python/lib/gdb/__init__.py           |   14 +
 gdb/symfile.h                            |   40 ++-
 gdb/testsuite/ChangeLog                  |   28 ++
 gdb/testsuite/gdb.arch/altivec-abi.exp   |    2 +-
 gdb/testsuite/gdb.base/catch-syscall.exp |    2 +-
 gdb/testsuite/gdb.base/constvars.c       |   10 +
 gdb/testsuite/gdb.base/constvars.exp     |   17 +
 gdb/testsuite/gdb.base/gnu_vector.c      |   33 ++-
 gdb/testsuite/gdb.base/gnu_vector.exp    |   38 ++-
 gdb/testsuite/gdb.cp/oranking.cc         |  207 ++++++++++
 gdb/testsuite/gdb.cp/oranking.exp        |  100 +++++
 gdb/testsuite/gdb.dwarf2/dw2-strp.exp    |    4 +-
 gdb/tracepoint.c                         |   12 +-
 gdb/valarith.c                           |   30 ++-
 gdb/valops.c                             |   23 +-
 gdb/version.in                           |    2 +-
 include/ChangeLog                        |    4 +
 include/libiberty.h                      |    3 +
 include/opcode/ChangeLog                 |    7 +-
 include/opcode/cgen.h                    |    8 +-
 libiberty/ChangeLog                      |   16 +
 libiberty/Makefile.in                    |   13 +-
 libiberty/config.in                      |   16 +-
 libiberty/configure                      |   26 ++-
 libiberty/configure.ac                   |   14 +-
 libiberty/functions.texi                 |   10 +-
 libiberty/setproctitle.c                 |   47 +++
 opcodes/ChangeLog                        |   38 ++-
 opcodes/Makefile.am                      |    1 +
 opcodes/Makefile.in                      |    8 +-
 opcodes/fr30-desc.h                      |   60 ++--
 opcodes/frv-desc.h                       |   70 ++--
 opcodes/frv-opc.c                        |    3 +
 opcodes/ip2k-desc.h                      |   60 ++--
 opcodes/iq2000-desc.h                    |   72 ++--
 opcodes/lm32-desc.h                      |   56 ++--
 opcodes/m32c-desc.h                      |   56 ++--
 opcodes/m32r-desc.h                      |   68 ++--
 opcodes/mep-desc.h                       |  104 +++---
 opcodes/mep-opc.c                        |    2 +-
 opcodes/mt-desc.h                        |   78 ++--
 opcodes/openrisc-desc.h                  |   58 ++--
 opcodes/or32-dis.c                       |   20 +-
 opcodes/or32-opc.c                       |    6 +-
 opcodes/tic6x-dis.c                      |    6 +-
 opcodes/xc16x-desc.h                     |   72 ++--
 opcodes/xstormy16-desc.h                 |   56 ++--
 sim/common/ChangeLog                     |    4 +
 sim/common/callback.c                    |    2 +-
 sim/cris/ChangeLog                       |    9 +
 sim/cris/cris-desc.h                     |   56 ++--
 sim/cris/traps.c                         |    8 +
 sim/sh64/ChangeLog                       |    4 +
 sim/sh64/sh-desc.h                       |   62 ++--
 sim/testsuite/ChangeLog                  |    4 +
 sim/testsuite/sim/cris/c/seek3.c         |   49 +++
 sim/testsuite/sim/cris/c/seek4.c         |   44 ++
 92 files changed, 3134 insertions(+), 1003 deletions(-)
 create mode 100644 gdb/data-directory/Makefile.in
 create mode 100644 gdb/python/lib/gdb/__init__.py
 create mode 100644 gdb/testsuite/gdb.cp/oranking.cc
 create mode 100644 gdb/testsuite/gdb.cp/oranking.exp
 create mode 100644 libiberty/setproctitle.c
 create mode 100644 sim/testsuite/sim/cris/c/seek3.c
 create mode 100644 sim/testsuite/sim/cris/c/seek4.c

First 500 lines of diff:
diff --git a/COPYING.LIBGLOSS b/COPYING.LIBGLOSS
index ebd2e71..5f02c44 100644
--- a/COPYING.LIBGLOSS
+++ b/COPYING.LIBGLOSS
@@ -260,3 +260,45 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+
+(14) - National Semiconductor Corporation
+
+Copyright (c) 2004 National Semiconductor Corporation
+
+The authors hereby grant permission to use, copy, modify, distribute,
+and license this software and its documentation for any purpose, provided
+that existing copyright notices are retained in all copies and that this
+notice is included verbatim in any distributions. No written agreement,
+license, or royalty fee is required for any of the authorized uses.
+Modifications to this software may be copyrighted by their authors
+and need not follow the licensing terms described here, provided that
+the new terms are clearly indicated on the first page of each file where
+they apply.
+
+
+(15) - CodeSourcery, Inc. (tic6x-* targets)
+
+Copyright (c) 2010 CodeSourcery, Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+    * Neither the name of CodeSourcery nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY CODESOURCERY, INC. ``AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL CODESOURCERY BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/COPYING.NEWLIB b/COPYING.NEWLIB
index cf903b5..515fcda 100644
--- a/COPYING.NEWLIB
+++ b/COPYING.NEWLIB
@@ -828,3 +828,37 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+
+(37) Texas Instruments Incorporated (tic6x-* targets)
+
+Copyright (c) 1996-2010 Texas Instruments Incorporated
+http://www.ti.com/
+
+ Redistribution and  use in source  and binary forms, with  or without
+ modification,  are permitted provided  that the  following conditions
+ are met:
+
+    Redistributions  of source  code must  retain the  above copyright
+    notice, this list of conditions and the following disclaimer.
+
+    Redistributions in binary form  must reproduce the above copyright
+    notice, this  list of conditions  and the following  disclaimer in
+    the  documentation  and/or   other  materials  provided  with  the
+    distribution.
+
+    Neither the  name of Texas Instruments Incorporated  nor the names
+    of its  contributors may  be used to  endorse or  promote products
+    derived  from   this  software  without   specific  prior  written
+    permission.
+
+ THIS SOFTWARE  IS PROVIDED BY THE COPYRIGHT  HOLDERS AND CONTRIBUTORS
+ "AS IS"  AND ANY  EXPRESS OR IMPLIED  WARRANTIES, INCLUDING,  BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL,  EXEMPLARY,  OR CONSEQUENTIAL  DAMAGES  (INCLUDING, BUT  NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF  LIABILITY, WHETHER IN CONTRACT, STRICT  LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/ChangeLog b/ChangeLog
index 4285361..5fb7b61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2010-10-08  Bernd Schmidt  <bernds@codesourcery.com>
+	    Joseph Myers  <joseph@codesourcery.com>
+
+	* COPYING.LIBGLOSS: Add National Semiconductor and CodeSourcery
+	notices.
+	* COPYING.NEWLIB: Add Texas Instruments notice.
+
+2010-10-07  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+	* configure.ac (build_lto_plugin): New shell variable.
+	(--enable-lto): Turn on by default for all non-ELF platforms that
+	have had LTO support added so far.  Set build_lto_plugin appropriately
+	for both ELF and non-ELF.
+	(configdirs): Add lto-plugin or not based on build_lto_plugin.
+	* configure: Regenerate.
+
 2010-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	PR bootstrap/45326
@@ -51,6 +67,11 @@
 	* configure.ac: Fix unportable shell quoting.
 	* configure: Regenerate.
 
+2010-07-26  Naveen.H.S  <naveen.S@kpitcummins.com>
+
+	* configure.ac: Support all v850 targets.
+	* configure: Regenerate.
+
 2010-07-17  Jack Howarth  <howarth@bromo.med.uc.edu>
 
 	PR target/44862
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c21a0f9..fcfa945 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,6 +1,43 @@
+2010-10-11  Thomas Schwinge  <thomas@codesourcery.com>
+
+	* elf32-arm.c (elf32_arm_final_link_relocate)
+	(elf32_arm_relocate_section): Handle relocations against STN_UNDEF.
+
+2010-10-11  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+	* elflink.c (_bfd_elf_link_output_relocs): Delete unused variable
+	"output_rel_hdr".
+
+2010-10-09  John Tytgat  <john@bass-software.com>
+
+	* reloc.c (BFD_RELOC_ARM_HVC): Add.
+	* libbfd.h: Regenerate.
+
+2010-10-08  Kai Tietz  <kai.tietz@onevision.com>
+
+	* pei-x86_64.c (find_next_xdata_or_end): Removed.
+	(pex64_dump_xdata): Remove arguments stop, onaline,
+	and pdata. New argument endx.  Print term "none"
+	instead of misleading "CFA".
+	(sort_xdata_arr): New function.
+	(pex64_bfd_print_pdata): Use binary search/sort for unwind-RVAs
+	instead of searching quadratic.
+
+2010-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
+	    Alan Modra  <amodra@gmail.com>
+
+	Fix build with -DDEBUG=7
+	* elf.c (_bfd_elf_symbol_from_bfd_symbol): Remove call
+	to deleted function elf_symbol_flags.  Add typecast to avoid warning.
+	* elf32-rx.c (dump_symbol) : Rename to..
+	(rx_dump_symbol): ..this to avoid link errors.
+	* elflink.c (elf_link_input_bfd): Add typecast to avoid warnings.
+	(bfd_elf_perform_complex_relocation): Likewise.
+	* elf32-xtensa.c (print_action_list): Likewise.
+
 2010-10-06  Nathan Sidwell  <nathan@codesourcery.com>
 
-	* elf32-arm.c (elf32_arm_stub_long_branch_any_arm_pic, 
+	* elf32-arm.c (elf32_arm_stub_long_branch_any_arm_pic,
 	elf32_arm_stub_long_branch_any_arm_pic): Use a consistent name for
 	ip/r12.
 	(arm_type_of_stub): Remove superfluous braces.
@@ -240,7 +277,6 @@
 
 2010-09-09  Bernd Schmidt  <bernds@codesourcery.com>
 
-	bfd/
 	* elflink.c (bfd_elf_final_link): Correct calculation of
 	max_external_reloc_size.
 
diff --git a/bfd/elf.c b/bfd/elf.c
index 85d4c18..4df0007 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -5217,9 +5217,8 @@ _bfd_elf_symbol_from_bfd_symbol (bfd *abfd, asymbol **asym_ptr_ptr)
 #if DEBUG & 4
   {
     fprintf (stderr,
-	     "elf_symbol_from_bfd_symbol 0x%.8lx, name = %s, sym num = %d, flags = 0x%.8lx%s\n",
-	     (long) asym_ptr, asym_ptr->name, idx, flags,
-	     elf_symbol_flags (flags));
+	     "elf_symbol_from_bfd_symbol 0x%.8lx, name = %s, sym num = %d, flags = 0x%.8lx\n",
+	     (long) asym_ptr, asym_ptr->name, idx, (long) flags);
     fflush (stderr);
   }
 #endif
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 8728949..9fce4b0 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -7229,12 +7229,12 @@ elf32_arm_final_link_relocate (reloc_howto_type *           howto,
 
 	  /* A branch to an undefined weak symbol is turned into a jump to
 	     the next instruction unless a PLT entry will be created.
-	     Do the same for local undefined symbols.
+	     Do the same for local undefined symbols (but not for STN_UNDEF).
 	     The jump to the next instruction is optimized as a NOP depending
 	     on the architecture.  */
 	  if (h ? (h->root.type == bfd_link_hash_undefweak
 		   && !(splt != NULL && h->plt.offset != (bfd_vma) -1))
-	      : bfd_is_und_section (sym_sec))
+	      : r_symndx != STN_UNDEF && bfd_is_und_section (sym_sec))
 	    {
 	      value = (bfd_get_32 (input_bfd, hit_data) & 0xf0000000);
 
@@ -8908,9 +8908,11 @@ elf32_arm_relocate_section (bfd *                  output_bfd,
 	     undefined symbol.  This is a daft object file, but we
 	     should at least do something about it.  V4BX & NONE
 	     relocations do not use the symbol and are explicitly
-	     allowed to use the undefined symbol, so allow those.  */
+	     allowed to use the undefined symbol, so allow those.
+	     Likewise for relocations against STN_UNDEF.  */
 	  if (r_type != R_ARM_V4BX
 	      && r_type != R_ARM_NONE
+	      && r_symndx != STN_UNDEF
 	      && bfd_is_und_section (sec)
 	      && ELF_ST_BIND (sym->st_info) != STB_WEAK)
 	    {
diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c
index 7d9dbc1..4b31a35 100644
--- a/bfd/elf32-rx.c
+++ b/bfd/elf32-rx.c
@@ -29,7 +29,7 @@
 
 #ifdef DEBUG
 char * rx_get_reloc (long);
-void dump_symtab (bfd *, void *, void *);
+void rx_dump_symtab (bfd *, void *, void *);
 #endif
 
 #define RXREL(n,sz,bit,shift,complain,pcrel)				     \
@@ -2962,7 +2962,7 @@ rx_elf_object_p (bfd * abfd)
 
 #ifdef DEBUG
 void
-dump_symtab (bfd * abfd, void * internal_syms, void * external_syms)
+rx_dump_symtab (bfd * abfd, void * internal_syms, void * external_syms)
 {
   size_t locsymcount;
   Elf_Internal_Sym * isymbuf;
diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c
index f9ecde5..6cd396a 100644
--- a/bfd/elf32-xtensa.c
+++ b/bfd/elf32-xtensa.c
@@ -5710,7 +5710,7 @@ print_action_list (FILE *fp, text_action_list *action_list)
 
       fprintf (fp, "%s: %s[0x%lx] \"%s\" %d\n",
 	       r->sec->owner->filename,
-	       r->sec->name, r->offset, t, r->removed_bytes);
+	       r->sec->name, (unsigned long) r->offset, t, r->removed_bytes);
     }
 }
 
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 2c45649..41fba17 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -2341,14 +2341,12 @@ _bfd_elf_link_output_relocs (bfd *output_bfd,
   Elf_Internal_Rela *irelaend;
   bfd_byte *erel;
   struct bfd_elf_section_reloc_data *output_reldata;
-  Elf_Internal_Shdr *output_rel_hdr;
   asection *output_section;
   const struct elf_backend_data *bed;
   void (*swap_out) (bfd *, const Elf_Internal_Rela *, bfd_byte *);
   struct bfd_elf_section_data *esdo;
 
   output_section = input_section->output_section;
-  output_rel_hdr = NULL;
 
   bed = get_elf_backend_data (output_bfd);
   esdo = elf_section_data (output_section);
@@ -7884,7 +7882,8 @@ bfd_elf_perform_complex_relocation (bfd *input_bfd,
 	  "chunksz %ld, start %ld, len %ld, oplen %ld\n"
 	  "    dest: %8.8lx, mask: %8.8lx, reloc: %8.8lx\n",
 	  lsb0_p, signed_p, trunc_p, wordsz, chunksz, start, len,
-	  oplen, x, mask,  relocation);
+	  oplen, (unsigned long) x, (unsigned long) mask,
+	  (unsigned long) relocation);
 #endif
 
   r = bfd_reloc_ok;
@@ -7904,8 +7903,8 @@ bfd_elf_perform_complex_relocation (bfd *input_bfd,
 	  "         shifted mask: %8.8lx\n"
 	  " shifted/masked reloc: %8.8lx\n"
 	  "               result: %8.8lx\n",
-	  relocation, (mask << shift),
-	  ((relocation & mask) << shift), x);
+	  (unsigned long) relocation, (unsigned long) (mask << shift),
+	  (unsigned long) ((relocation & mask) << shift), (unsigned long) x);
 #endif
   /* FIXME: octets_per_byte.  */
   put_value (wordsz, chunksz, input_bfd, x, contents + rel->r_offset);
@@ -9464,7 +9463,8 @@ elf_link_input_bfd (struct elf_final_link_info *finfo, bfd *input_bfd)
 #ifdef DEBUG
 		  printf ("Encountered a complex symbol!");
 		  printf (" (input_bfd %s, section %s, reloc %ld\n",
-			  input_bfd->filename, o->name, rel - internal_relocs);
+			  input_bfd->filename, o->name,
+			  (long) (rel - internal_relocs));
 		  printf (" symbol: idx  %8.8lx, name %s\n",
 			  r_symndx, sym_name);
 		  printf (" reloc : info %8.8lx, addr %8.8lx\n",
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index fb95c40..fb16333 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -1408,6 +1408,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
   "BFD_RELOC_ARM_T32_ADD_PC12",
   "BFD_RELOC_ARM_SHIFT_IMM",
   "BFD_RELOC_ARM_SMC",
+  "BFD_RELOC_ARM_HVC",
   "BFD_RELOC_ARM_SWI",
   "BFD_RELOC_ARM_MULTI",
   "BFD_RELOC_ARM_CP_OFF_IMM",
diff --git a/bfd/pei-x86_64.c b/bfd/pei-x86_64.c
index 76009f3..fdc6205 100644
--- a/bfd/pei-x86_64.c
+++ b/bfd/pei-x86_64.c
@@ -303,41 +303,9 @@ pex64_get_section_by_rva (bfd *abfd, bfd_vma addr, const char *sec_name)
   return section;
 }
 
-static bfd_vma
-find_next_xdata_or_end (bfd *abfd, bfd_byte *pdata, bfd_size_type stop,
-			int onaline, bfd_vma cur_address, bfd_vma max_size)
-{
-  bfd_size_type i;
-  bfd_vma ret = 0;
-
-  for (i = 0; i < stop; i += onaline)
-    {
-      struct pex64_runtime_function rf;
-
-      if (i + PDATA_ROW_SIZE > stop)
-	break;
-      pex64_get_runtime_function (abfd, &rf, &pdata[i]);
-
-      if (rf.rva_BeginAddress == 0 && rf.rva_EndAddress == 0
-	  && rf.rva_UnwindData == 0)
-	/* We are probably into the padding of the section now.  */
-	break;
-      if (rf.rva_UnwindData != 0 && !rf.isChained)
-        {
-	  if (!ret && rf.rva_UnwindData > cur_address)
-	    ret = rf.rva_UnwindData;
-	  else if (rf.rva_UnwindData > cur_address && ret > rf.rva_UnwindData)
-	    ret = rf.rva_UnwindData;
-	}
-    }
-  if (!ret)
-    return max_size;
-  return ret;
-}
-
 static void
 pex64_dump_xdata (FILE *file, bfd *abfd, bfd_vma addr, bfd_vma pc_addr,
-		  bfd_size_type stop, int onaline, bfd_byte *pdata)
+		  bfd_vma *endx)
 {
   asection *section = pex64_get_section_by_rva (abfd, addr, ".rdata");
   bfd_vma vsize;
@@ -364,10 +332,11 @@ pex64_dump_xdata (FILE *file, bfd *abfd, bfd_vma addr, bfd_vma pc_addr,
   vsize = section->vma - pe_data (abfd)->pe_opthdr.ImageBase;
   addr -= vsize;
 
-  end_addr = find_next_xdata_or_end (abfd, pdata, stop, onaline, addr + vsize,
-  				     vsize + (section->rawsize != 0 ? section->rawsize : section->size));
+  if (endx)
+    end_addr = endx[0] - vsize;
+  else
+    end_addr = (section->rawsize != 0 ? section->rawsize : section->size);
 
-  end_addr -= vsize;
   if (bfd_malloc_and_get_section (abfd, section, &data))
     {
       struct pex64_unwind_info ui;
@@ -411,7 +380,7 @@ pex64_dump_xdata (FILE *file, bfd *abfd, bfd_vma addr, bfd_vma pc_addr,
       fprintf (file, "\tPrologue size: %u, Frame offset = 0x%x.\n",
 	       (unsigned int) ui.SizeOfPrologue, (unsigned int) ui.FrameOffset);
       fprintf (file, "\tFrame register is %s.\n",
-	ui.FrameRegister == 0 ? "CFA"
+	ui.FrameRegister == 0 ? "none"
 			      : pex_regs[(unsigned int) ui.FrameRegister]);
 
       pex64_xdata_print_uwd_codes (file, &ui, pc_addr);
@@ -438,6 +407,17 @@ pex64_dump_xdata (FILE *file, bfd *abfd, bfd_vma addr, bfd_vma pc_addr,
     free (data);
 }
 
+static int
+sort_xdata_arr (const void *l, const void *r)
+{
+  const bfd_vma *lp = (const bfd_vma *) l;
+  const bfd_vma *rp = (const bfd_vma *) r;
+
+  if (*lp == *rp)
+    return 0;
+  return (*lp < *rp ? -1 : 1);
+}
+
 static bfd_boolean
 pex64_bfd_print_pdata (bfd *abfd, void *vfile)
 {
@@ -450,6 +430,8 @@ pex64_bfd_print_pdata (bfd *abfd, void *vfile)
   bfd_vma prev_beginaddress = 0;
   int onaline = PDATA_ROW_SIZE;
   int seen_error = 0;
+  bfd_vma *xdata_arr;
+  int xdata_arr_cnt;
 
   if (section == NULL
       || coff_section_data (abfd, section) == NULL
@@ -478,6 +460,8 @@ pex64_bfd_print_pdata (bfd *abfd, void *vfile)
       return FALSE;
     }
 
+  xdata_arr = (bfd_vma *) xmalloc (sizeof (bfd_vma) * ((stop / onaline) + 1));
+  xdata_arr_cnt = 0;
   /* Do sanity check of pdata.  */
   for (i = 0; i < stop; i += onaline)
     {
@@ -523,14 +507,26 @@ pex64_bfd_print_pdata (bfd *abfd, void *vfile)
 	  seen_error = 1;
 	  fprintf (file, "  has negative unwind address\n");
 	}
+      if (rf.rva_UnwindData && !rf.isChained)
+        xdata_arr[xdata_arr_cnt++] = rf.rva_UnwindData;
     }
 
   if (seen_error)
     {
       free (data);
+      free (xdata_arr);
 
       return TRUE;
     }
+
+  /* Add end of list marker.  */
+  xdata_arr[xdata_arr_cnt++] = ~((bfd_vma) 0);
+
+  /* Sort start RVAs of xdata.  */
+  if (xdata_arr_cnt > 1)
+    qsort (xdata_arr, (size_t) xdata_arr_cnt, sizeof (bfd_vma),
+	   sort_xdata_arr);
+
   /* Do dump of pdata related xdata.  */
 
   for (i = 0; i < stop; i += onaline)
@@ -563,12 +559,31 @@ pex64_bfd_print_pdata (bfd *abfd, void *vfile)
 	      fprintf (file, ".\n");
 	    }
 	  else
-	    pex64_dump_xdata (file, abfd, rf.rva_UnwindData, rf.rva_BeginAddress,
-	    		      stop, onaline, data);
+	    {
+	      bfd_vma *p;
+
+	      /* Search for the current entry in the sorted array.  */
+	      p = (bfd_vma *)
+	          bsearch (&rf.rva_UnwindData, xdata_arr,
+			   (size_t) xdata_arr_cnt, sizeof (bfd_vma),
+			   sort_xdata_arr);
+
+	      /* Advance to the next pointer into the xdata section.  We may
+		 have shared xdata entries, which will result in a string of
+		 identical pointers in the array; advance past all of them.  */
+	      while (p[0] <= rf.rva_UnwindData)
+		++p;
+	      if (p[0] == ~((bfd_vma) 0))
+		p = NULL;
+
+	      pex64_dump_xdata (file, abfd, rf.rva_UnwindData,
+				rf.rva_BeginAddress, p);
+	    }
 	}
     }
 
   free (data);
+  free (xdata_arr);
 
   return TRUE;
 }
diff --git a/bfd/reloc.c b/bfd/reloc.c
index e7210eb..65aa3cb 100644


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-10-06  9:00 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-10-06  9:00 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  885c7ee524511c8c2609af838a88b7034293534e (commit)
       via  367f20d2bdb4049fd4d6a129d64a9efb01dc3054 (commit)
       via  fb77fd60a4e632be4d12f0bcea04acf4c61ababa (commit)
       via  92618ab86dce541adcb5aa596e4a9b5e3501f9aa (commit)
       via  880e5eca29b94d95154b150fe1cbed905cef968b (commit)
       via  e16fa69b0506536ac45ebd53e821e4a9c31c56c3 (commit)
       via  4f57f20b4f467e411b761d0abbe5698afad1150c (commit)
       via  edca47c2e236a4ffd2f7a52029aa28d3e6dc1f2c (commit)
       via  6805ac1075724135e072dd95288eb8754db13313 (commit)
       via  329d2d0460d108444ea178ef45a82d2d0b433822 (commit)
       via  a7bc7a97afa95f553a3908b21b6ca230eb4b0ca1 (commit)
       via  15ae69b92ef1be627a37f5889c2e041379d926bb (commit)
       via  95d32c21a9edd56f10731f2b121f6a00a271761e (commit)
       via  4df5723d3d1f3ac8e5ad69db48938d6062f1b837 (commit)
       via  1d12b35d8847fe309096c6f6ff47384e27ff975e (commit)
       via  ec4e8e11bd4cc3ed3301ceadc4f218b9ce7ea237 (commit)
       via  0dc46e7eb62878252cadac52882e12a1449a84c4 (commit)
       via  549516ee264dd9aadfe620a6a1a126ebd31b63f6 (commit)
       via  773fb0dac9329b4d4884149a0c385c89f1264207 (commit)
       via  85d53a5da81016bdcf8f59e660d598b67733b686 (commit)
       via  62c607d7b91baa4d108f1aea59c47b5926fd941f (commit)
       via  382e7d7d333508b51b3bdeb90a38fff105b900da (commit)
       via  20caee832f9f4047243f181b9a8f7dfe055f06a5 (commit)
       via  9bb468270551fd6bba0d1668a4161b1652055466 (commit)
       via  ac56403f3f75e1a731b91ed669791f7c04024b00 (commit)
       via  71280c7d4bd0486db7100f49c87ff5211890f1ff (commit)
       via  e227a3b67ba0cf7aad90a2cc7d3664dc64cf0174 (commit)
       via  ed5c19665ba26348c2f51e257c8667cf21d0df9b (commit)
       via  4b12592f127621657a422b51d53186ccd44b9ad4 (commit)
       via  ea83a2707ca7adb87e4af37ae66221140ec758e4 (commit)
       via  7f73b16f0a7f617c01443fa12d9c0f4073ba7079 (commit)
       via  47967cc493d79ef2b574677c9da5afec3df775f4 (commit)
       via  ad20e5eb15d037a31e3b484e9f57542dc927c0a9 (commit)
       via  aec03eb8ae5e9ebf62daa1c2f1135bd0b23720cc (commit)
       via  72a52a75035eea0e41eacad35b61a8ef8d25ed72 (commit)
       via  cecc659ff339f09009a48032672292883263a4ab (commit)
       via  1f36c401a948ba088da26b8f66002552e90421b6 (commit)
       via  eb6c1ad80260feec29bc4fec1ef0228ad7e383d9 (commit)
       via  d0af2bdde055ad7df65790f5725a926f2b6c5a44 (commit)
       via  e8a090b3384454f09c5f191ffa954f368c76d10a (commit)
       via  f436e12c656a8bbd93ef8948928322c089128eda (commit)
       via  8d7231636f77e0631d4232d79b7e57ec69ae4c09 (commit)
       via  4b8866f58d981ccfc841070c8a366661338db128 (commit)
       via  58beeed5ce32cac71f4abde3b190984f9dbe0664 (commit)
       via  c290e784cf9943779c0531a3e9f6d7aa7c22cb9c (commit)
       via  f6fcc8796498fc0136a2e7493a8ae0ddd29b4018 (commit)
       via  11a94fad08f146f52ea4bfc34f194ceefc85e2e5 (commit)
       via  5cadd780e2909d24cb41b9a1b48b16385c834639 (commit)
      from  be7fce5ed9ba4da749037f4853a531e3b9ba32a9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 885c7ee524511c8c2609af838a88b7034293534e
Merge: be7fce5 367f20d
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Wed Oct 6 10:00:34 2010 +0100

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   47 +++-
 Makefile.def                                       |    4 +
 Makefile.in                                        |   32 ++
 bfd/ChangeLog                                      |   95 ++++++
 bfd/elf-bfd.h                                      |   52 ++--
 bfd/elf.c                                          |  176 +++++++----
 bfd/elf32-arm.c                                    |   21 +-
 bfd/elf32-i386.c                                   |   13 +-
 bfd/elf32-m32r.c                                   |   34 --
 bfd/elf32-microblaze.c                             |    2 +-
 bfd/elf32-ppc.c                                    |    5 +-
 bfd/elf32-spu.c                                    |    2 +-
 bfd/elf32-tic6x.c                                  |   39 +--
 bfd/elf64-alpha.c                                  |    2 +-
 bfd/elf64-hppa.c                                   |    2 +-
 bfd/elf64-mips.c                                   |   33 +-
 bfd/elf64-ppc.c                                    |   27 +-
 bfd/elf64-sparc.c                                  |   13 +-
 bfd/elf64-x86-64.c                                 |   13 +-
 bfd/elfcode.h                                      |   23 +-
 bfd/elflink.c                                      |  326 +++++++++-----------
 bfd/elfxx-ia64.c                                   |    2 +-
 bfd/elfxx-mips.c                                   |   41 +--
 bfd/elfxx-sparc.c                                  |    4 +-
 bfd/version.h                                      |    2 +-
 config/ChangeLog                                   |   14 -
 config/dfp.m4                                      |    4 +-
 configure                                          |   44 ++-
 configure.ac                                       |   32 ++-
 gdb/ChangeLog                                      |  163 ++++++++++
 gdb/ada-lang.c                                     |  189 +++++++-----
 gdb/ada-lang.h                                     |    4 +-
 gdb/ada-typeprint.c                                |   98 ++++--
 gdb/buildsym.c                                     |    2 +-
 gdb/buildsym.h                                     |    2 +-
 gdb/cc-with-index.sh                               |  122 ++++++++
 gdb/coffread.c                                     |    5 +-
 gdb/completer.c                                    |   29 ++-
 gdb/dbxread.c                                      |    7 +-
 gdb/defs.h                                         |    2 +-
 gdb/dwarf2read.c                                   |   61 +++-
 gdb/elfread.c                                      |   14 +-
 gdb/fork-child.c                                   |   15 +-
 gdb/gdbserver/ChangeLog                            |    4 +
 gdb/gdbserver/Makefile.in                          |    2 +-
 gdb/infcall.c                                      |    2 +-
 gdb/inferior.c                                     |   29 ++-
 gdb/machoread.c                                    |    5 +-
 gdb/mdebugread.c                                   |    8 +-
 gdb/mipsread.c                                     |    5 +-
 gdb/objfiles.h                                     |    2 +-
 gdb/psympriv.h                                     |    6 +-
 gdb/psymtab.c                                      |   10 +-
 gdb/python/py-frame.c                              |    2 +-
 gdb/python/python.c                                |   50 +++-
 gdb/somread.c                                      |    5 +-
 gdb/sparc-tdep.c                                   |    8 +
 gdb/sparc64-tdep.c                                 |    8 +
 gdb/stack.c                                        |   16 +-
 gdb/stack.h                                        |    4 +-
 gdb/symfile.c                                      |   23 +-
 gdb/symfile.h                                      |   14 +-
 gdb/testsuite/ChangeLog                            |   54 ++++
 gdb/testsuite/gdb.arch/altivec-abi.exp             |    4 +-
 gdb/testsuite/gdb.base/anon.c                      |   32 ++
 gdb/testsuite/gdb.base/anon.exp                    |   32 ++
 gdb/testsuite/gdb.base/break1.c                    |    1 +
 gdb/testsuite/gdb.base/completion.exp              |    4 +
 gdb/testsuite/gdb.base/corefile.exp                |   25 ++
 gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-inline-param-main.c   |   42 +++
 gdb/testsuite/gdb.dwarf2/dw2-inline-param.S        |  152 +++++++++
 gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp      |   65 ++++
 gdb/testsuite/gdb.python/py-block.exp              |   13 +-
 gdb/testsuite/gdb.python/py-breakpoint.exp         |   13 +-
 gdb/testsuite/gdb.python/py-frame.exp              |   13 +-
 gdb/testsuite/gdb.python/py-inferior.exp           |   11 +-
 gdb/testsuite/gdb.python/py-param.exp              |   29 +--
 gdb/testsuite/gdb.python/py-prettyprint.exp        |   13 +-
 gdb/testsuite/gdb.python/py-shared.exp             |   13 +-
 gdb/testsuite/gdb.python/py-symbol.exp             |   13 +-
 gdb/testsuite/gdb.python/py-symtab.exp             |   13 +-
 gdb/testsuite/gdb.python/py-type.exp               |   13 +-
 gdb/testsuite/gdb.python/py-value.exp              |   31 +--
 gdb/testsuite/gdb.python/python.exp                |   13 +-
 gdb/testsuite/lib/gdb-python.exp                   |   47 +++
 gdb/testsuite/lib/mi-support.exp                   |    2 +-
 gdb/value.c                                        |    5 +-
 gdb/version.in                                     |    2 +-
 gdb/xcoffread.c                                    |    5 +-
 opcodes/ChangeLog                                  |   15 +
 opcodes/i386-dis.c                                 |    1 -
 opcodes/s390-mkopc.c                               |    9 +-
 93 files changed, 1838 insertions(+), 869 deletions(-)
 create mode 100644 gdb/cc-with-index.sh
 create mode 100644 gdb/testsuite/gdb.base/anon.c
 create mode 100644 gdb/testsuite/gdb.base/anon.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-param-main.c
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-param.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp
 create mode 100644 gdb/testsuite/lib/gdb-python.exp

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 263c1f7..4285361 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,49 @@
-2010-06-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+2010-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	PR bootstrap/45326
+	PR bootstrap/45174
+	* configure.ac: Honor initial values of $build_configargs,
+	$host_configargs, $target_configargs.  Mark the precious, so
+	environment settings get recorded.
+	* configure: Regenerate.
+
+2010-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Sync from GCC:
+
+	2010-09-30  Michael Eager  <eager@eagercon.com>
+
+	* configure.ac (microblaze): Add target-libssp to noconfigdirs.
+	* configure: Regenerate.
+
+	2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
+
+	* configure.ac (enable-lto): Add Darwin to the list of supported lto
+	targets and amend comment.
+	* configure: Regenerate.
+
+	2010-09-03  Jack Howarth <howarth@bromo.med.uc.edu>
+
+	* configure.ac: Enable LTO by default on Darwin.
+	* configure: Regenerate.
+
+	2010-07-23  Marc Glisse <marc.glisse@normalesup.org>
+
+	PR bootstrap/44455
+	* configure.ac (extra_mpfr_configure_flags): Copy from
+	extra_mpc_gmp_configure_flags.
+	* configure: Re-generated.
+
+2010-09-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Sync from GCC:
+
+	PR bootstrap/45796
+	* Makefile.def (info-gcc, dvi-gcc, pdf-gcc, html-gcc):
+	Depend on all-build-libiberty.
+	* Makefile.in: Regenerate.
+
+2010-09-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Sync from GCC:
 
diff --git a/Makefile.def b/Makefile.def
index ccc23f6..29cd1a3 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -341,6 +341,10 @@ dependencies = { module=all-gcc; on=all-libcpp; hard=true; };
 dependencies = { module=all-gcc; on=all-libdecnumber; hard=true; };
 dependencies = { module=all-gcc; on=all-libiberty; };
 dependencies = { module=all-gcc; on=all-fixincludes; };
+dependencies = { module=info-gcc; on=all-build-libiberty; };
+dependencies = { module=dvi-gcc; on=all-build-libiberty; };
+dependencies = { module=pdf-gcc; on=all-build-libiberty; };
+dependencies = { module=html-gcc; on=all-build-libiberty; };
 dependencies = { module=install-gcc ; on=install-fixincludes; };
 
 dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; };
diff --git a/Makefile.in b/Makefile.in
index 3268a30..1d5ef9e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -57909,6 +57909,38 @@ all-stage4-gcc: maybe-all-stage4-libiberty
 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
 all-gcc: maybe-all-fixincludes
+info-gcc: maybe-all-build-libiberty
+
+info-stage1-gcc: maybe-all-build-libiberty
+info-stage2-gcc: maybe-all-build-libiberty
+info-stage3-gcc: maybe-all-build-libiberty
+info-stage4-gcc: maybe-all-build-libiberty
+info-stageprofile-gcc: maybe-all-build-libiberty
+info-stagefeedback-gcc: maybe-all-build-libiberty
+dvi-gcc: maybe-all-build-libiberty
+
+dvi-stage1-gcc: maybe-all-build-libiberty
+dvi-stage2-gcc: maybe-all-build-libiberty
+dvi-stage3-gcc: maybe-all-build-libiberty
+dvi-stage4-gcc: maybe-all-build-libiberty
+dvi-stageprofile-gcc: maybe-all-build-libiberty
+dvi-stagefeedback-gcc: maybe-all-build-libiberty
+pdf-gcc: maybe-all-build-libiberty
+
+pdf-stage1-gcc: maybe-all-build-libiberty
+pdf-stage2-gcc: maybe-all-build-libiberty
+pdf-stage3-gcc: maybe-all-build-libiberty
+pdf-stage4-gcc: maybe-all-build-libiberty
+pdf-stageprofile-gcc: maybe-all-build-libiberty
+pdf-stagefeedback-gcc: maybe-all-build-libiberty
+html-gcc: maybe-all-build-libiberty
+
+html-stage1-gcc: maybe-all-build-libiberty
+html-stage2-gcc: maybe-all-build-libiberty
+html-stage3-gcc: maybe-all-build-libiberty
+html-stage4-gcc: maybe-all-build-libiberty
+html-stageprofile-gcc: maybe-all-build-libiberty
+html-stagefeedback-gcc: maybe-all-build-libiberty
 install-gcc: maybe-install-fixincludes
 configure-libcpp: configure-libiberty
 
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8068c4c..c21a0f9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,98 @@
+2010-10-06  Nathan Sidwell  <nathan@codesourcery.com>
+
+	* elf32-arm.c (elf32_arm_stub_long_branch_any_arm_pic, 
+	elf32_arm_stub_long_branch_any_arm_pic): Use a consistent name for
+	ip/r12.
+	(arm_type_of_stub): Remove superfluous braces.
+
+2010-10-04  Bernd Schmidt  <bernds@codesourcery.com>
+
+	* elf-bfd.h (struct bfd_elf_section_reloc_data): New structure.
+	(struct bfd_elf_section_data): New members REL and RELA; delete
+	members REL_HDR, REL_HDR2, REL_COUNT, REL_COUNT2, REL_IDX,
+	REL_IDX2, REL_HASHES.
+	(_bfd_elf_init_reloc_shdr): Adjust declaration.
+	(_bfd_elf_single_rel_hdr): Declare.
+	(RELOC_AGAINST_DISCARDED_SECTION): Use it.
+	* elf.c (bfd_section_from_shdr): Adjusted to match changes in
+	data structures.
+	(_bfd_elf_init_reloc_shdr): New arg RELDATA.  Remove arg REL_HDR.
+	All callers changed.  Allocate memory for the Elf_Internal_Shdr
+	structure.
+	(_bfd_elf_single_rel_hdr): New function.
+	(struct fake_section_arg): New structure.
+	(elf_fake_section): Expect to see a pointer to it in the third
+	argument.  If doing a relocatable link, allocate both REL and RELA
+	sections as needed.
+	(assign_section_numbers): Adjusted to match changes in
+	data structures.
+	(_bfd_elf_compute_section_file_positions): Call elf_fake_sections
+	with a struct fake_section_args argument.
+	* elfcode.h (elf_write_relocs): Adjusted to match changes in
+	data structures.
+	(elf_slurp_reloc_table): Likewise.
+	* elflink.c (_bfd_elf_link_read_relocs): Likewise.
+	(_bfd_elf_link_size_reloc_section): Remove arg REL_HDR, replace with
+	RELDATA.  Remove argument O.  All callers changed.  Remove code to
+	discover the right rel_hdr and count.
+	(_bfd_elf_link_output_relocs): Adjusted to match changes in
+	data structures.
+	(elf_link_adjust_relocs): Remove args REL_HDR, COUNT and REL_HASH;
+	replace with RELDATA.  All callers changed.
+	(elf_link_input_bfd): Correctly generate rel_hash data when both
+	REL and RELA sections are present.
+	(elf_reloc_link_order): Adjusted to match changes in
+	data structures.
+	(bfd_elf_final_link): Simplify code to count relocs.  Free the
+	hashes array for both REL and RELA.
+	(get_dynamic_reloc_section_name): Use _bfd_elf_single_reloc_hdr
+	* elf32-m32r.c (m32r_elf_fake_sections, elf_backend_fake_sections):
+	Delete.
+	* elf32-tic6x.c (elf32_tic6x_fake_sections, elf_backend_fake_sections):
+	Delete.
+	(elf32_tic6x_rel_relocation_p): Adjusted to match changes in
+	data structures.
+ 	* elf32-microblaze.c (microblaze_elf_check_relocs): Use
+	_bfd_elf_single_rel_hdr.
+	* elf32-ppc.c (ppc_elf_relax_section): Likewise.
+	* elf32-spu.c (spu_elf_relocate_section): Likewise.
+	* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
+	* elf64-hppa.c (get_reloc_section): Likewise.
+	* elf64-mips.c (mips_elf64_slurp_reloc_table): Adjusted to match
+	changes in data structures.
+	(mips_elf64_write_relocs): Use _bfd_elf_single_rel_hdr.
+	* elf64-ppc.c (ppc64_elf_edit_opd): Likewise.
+	(ppc64_elf_edit_toc): Likewise.
+	(get_relocs): Adjusted to match changes in data structures.
+	Allocate an Elf_Internal_Shdr structure if necessary.
+	(ppc64_elf_finish_dynamic_sections): Use _bfd_elf_single_rel_hdr.
+	* elf64-sparc.c (elf64_sparc_slurp_reloc_table): Adjusted to match
+	changes in data structures.
+	* elfxx-ia64.c (get_reloc_section): Use _bfd_elf_single_rel_hdr.
+	* elfxx-mips.c (MIPS_RELOC_RELA_P): Remove macro.
+	(mips_elf_rel_relocation_p): Adjusted to match changes in data
+	structures.
+	(_bfd_mips_elf_relocate_section): Use mips_elf_rel_relocation_p rather
+	than MIPS_RELOC_RELOCA_P.
+	* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use
+	_bfd_elf_single_rel_hdr.
+	(_bfd_sparc_elf_relocate_section): Likewise.
+
+2010-10-01  Thomas Schwinge  <thomas@codesourcery.com>
+
+	* elf32-arm.c (elf32_arm_size_stubs): Don't choke on local symbols in
+	SHN_UNDEF, SHN_ABS, SHN_COMMON.
+
+2010-09-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/11812
+	* elf32-i386.c (elf_i386_size_dynamic_sections): Don't
+	 allocate .got.plt section if there are no GOT nor PLT
+	 entries and there is no refeence to _GLOBAL_OFFSET_TABLE_.
+	 * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Li.kewise.
+
+	* elflink.c (_bfd_elf_define_linkage_sym): Clear non_elf.
+
 2010-09-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	* configure: Regenerate.
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index dbcebd2..66dcbcd 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1319,6 +1319,23 @@ struct elf_backend_data
   unsigned default_execstack : 1;
 };
 
+/* Information about reloc sections associated with a bfd_elf_section_data
+   structure.  */
+struct bfd_elf_section_reloc_data
+{
+  /* The ELF header for the reloc section associated with this
+     section, if any.  */
+  Elf_Internal_Shdr *hdr;
+  /* The number of relocations currently assigned to HDR.  */
+  unsigned int count;
+  /* The ELF section number of the reloc section.  Only used for an
+     output file.  */
+  int idx;
+  /* Used by the backend linker to store the symbol hash table entries
+     associated with relocs against global symbols.  */
+  struct elf_link_hash_entry **hashes;
+};
+
 /* Information stored for each BFD section in an ELF file.  This
    structure is allocated by elf_new_section_hook.  */
 
@@ -1327,31 +1344,13 @@ struct bfd_elf_section_data
   /* The ELF header for this section.  */
   Elf_Internal_Shdr this_hdr;
 
-  /* The ELF header for the reloc section associated with this
-     section, if any.  */
-  Elf_Internal_Shdr rel_hdr;
-
-  /* If there is a second reloc section associated with this section,
-     as can happen on Irix 6, this field points to the header.  */
-  Elf_Internal_Shdr *rel_hdr2;
-
-  /* The number of relocations currently assigned to REL_HDR.  */
-  unsigned int rel_count;
-
-  /* The number of relocations currently assigned to REL_HDR2.  */
-  unsigned int rel_count2;
+  /* Information about the REL and RELA reloc sections associated
+     with this section, if any.  */
+  struct bfd_elf_section_reloc_data rel, rela;
 
   /* The ELF section number of this section.  */
   int this_idx;
 
-  /* The ELF section number of the reloc section indicated by
-     REL_HDR if any.  Only used for an output file.  */
-  int rel_idx;
-
-  /* The ELF section number of the reloc section indicated by
-     REL_HDR2 if any.  Only used for an output file.  */
-  int rel_idx2;
-
   /* Used by the backend linker when generating a shared library to
      record the dynamic symbol index for a section symbol
      corresponding to this section.  A value of 0 means that there is
@@ -1361,10 +1360,6 @@ struct bfd_elf_section_data
   /* A pointer to the linked-to section for SHF_LINK_ORDER.  */
   asection *linked_to;
 
-  /* Used by the backend linker to store the symbol hash table entries
-     associated with relocs against global symbols.  */
-  struct elf_link_hash_entry **rel_hashes;
-
   /* A pointer to the swapped relocs.  If the section uses REL relocs,
      rather than RELA, all the r_addend fields will be zero.  This
      pointer may be NULL.  It is used by the backend linker.  */
@@ -1852,7 +1847,7 @@ extern int _bfd_elf_sizeof_headers
 extern bfd_boolean _bfd_elf_new_section_hook
   (bfd *, asection *);
 extern bfd_boolean _bfd_elf_init_reloc_shdr
-  (bfd *, Elf_Internal_Shdr *, asection *, bfd_boolean);
+  (bfd *, struct bfd_elf_section_reloc_data *, asection *, bfd_boolean);
 extern const struct bfd_elf_special_section *_bfd_elf_get_special_section
   (const char *, const struct bfd_elf_special_section *, unsigned int);
 extern const struct bfd_elf_special_section *_bfd_elf_get_sec_type_attr
@@ -2237,6 +2232,7 @@ extern void _bfd_elf_copy_obj_attributes (bfd *, bfd *);
 extern int _bfd_elf_obj_attrs_arg_type (bfd *, int, int);
 extern void _bfd_elf_parse_attributes (bfd *, Elf_Internal_Shdr *);
 extern bfd_boolean _bfd_elf_merge_object_attributes (bfd *, bfd *);
+extern Elf_Internal_Shdr *_bfd_elf_single_rel_hdr (asection *sec);
 
 /* The linker may needs to keep track of the number of relocs that it
    decides to copy as dynamic relocs in check_relocs for each symbol.
@@ -2363,13 +2359,13 @@ extern asection _bfd_elf_large_com_section;
 	   sections may require relocations.  */			\
 	Elf_Internal_Shdr *rel_hdr;					\
 									\
-	rel_hdr = &elf_section_data (input_section->output_section)->rel_hdr; \
+	rel_hdr = _bfd_elf_single_rel_hdr (input_section->output_section); \
 									\
 	/* Avoid empty output section.  */				\
 	if (rel_hdr->sh_size > rel_hdr->sh_entsize)			\
 	  {								\
 	    rel_hdr->sh_size -= rel_hdr->sh_entsize;			\
-	    rel_hdr = &elf_section_data (input_section)->rel_hdr;	\
+	    rel_hdr = _bfd_elf_single_rel_hdr (input_section);		\
 	    rel_hdr->sh_size -= rel_hdr->sh_entsize;			\
 									\
 	    memmove (rel, rel + 1, (relend - rel) * sizeof (*rel));	\
diff --git a/bfd/elf.c b/bfd/elf.c
index fe5f19f..85d4c18 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -1710,8 +1710,10 @@ bfd_section_from_shdr (bfd *abfd, unsigned int shindex)
       /* *These* do a lot of work -- but build no sections!  */
       {
 	asection *target_sect;
-	Elf_Internal_Shdr *hdr2;
+	Elf_Internal_Shdr *hdr2, **p_hdr;
 	unsigned int num_sec = elf_numsections (abfd);
+	struct bfd_elf_section_data *esdt;
+	bfd_size_type amt;
 
 	if (hdr->sh_entsize
 	    != (bfd_size_type) (hdr->sh_type == SHT_REL
@@ -1790,20 +1792,19 @@ bfd_section_from_shdr (bfd *abfd, unsigned int shindex)
 	if (target_sect == NULL)
 	  return FALSE;
 
-	if ((target_sect->flags & SEC_RELOC) == 0
-	    || target_sect->reloc_count == 0)
-	  hdr2 = &elf_section_data (target_sect)->rel_hdr;
+	esdt = elf_section_data (target_sect);
+	if (hdr->sh_type == SHT_RELA)
+	  p_hdr = &esdt->rela.hdr;
 	else
-	  {
-	    bfd_size_type amt;
-	    BFD_ASSERT (elf_section_data (target_sect)->rel_hdr2 == NULL);
-	    amt = sizeof (*hdr2);
-	    hdr2 = (Elf_Internal_Shdr *) bfd_alloc (abfd, amt);
-	    if (hdr2 == NULL)
-	      return FALSE;
-	    elf_section_data (target_sect)->rel_hdr2 = hdr2;
-	  }
+	  p_hdr = &esdt->rel.hdr;
+
+	BFD_ASSERT (*p_hdr == NULL);
+	amt = sizeof (*hdr2);
+	hdr2 = (Elf_Internal_Shdr *) bfd_alloc (abfd, amt);
+	if (hdr2 == NULL)
+	  return FALSE;
 	*hdr2 = *hdr;
+	*p_hdr = hdr2;
 	elf_elfsections (abfd)[shindex] = hdr2;
 	target_sect->reloc_count += NUM_SHDR_ENTRIES (hdr);
 	target_sect->flags |= SEC_RELOC;
@@ -1812,7 +1813,10 @@ bfd_section_from_shdr (bfd *abfd, unsigned int shindex)
 	/* In the section to which the relocations apply, mark whether
 	   its relocations are of the REL or RELA variety.  */
 	if (hdr->sh_size != 0)
-	  target_sect->use_rela_p = hdr->sh_type == SHT_RELA;
+	  {
+	    if (hdr->sh_type == SHT_RELA)
+	      target_sect->use_rela_p = 1;
+	  }
 	abfd->flags |= HAS_RELOC;
 	return TRUE;
       }
@@ -2410,20 +2414,43 @@ bfd_section_from_phdr (bfd *abfd, Elf_Internal_Phdr *hdr, int hdr_index)
     }
 }
 
-/* Initialize REL_HDR, the section-header for new section, containing
-   relocations against ASECT.  If USE_RELA_P is TRUE, we use RELA
-   relocations; otherwise, we use REL relocations.  */
+/* Return the REL_HDR for SEC, assuming there is only a single one, either
+   REL or RELA.  */
+
+Elf_Internal_Shdr *
+_bfd_elf_single_rel_hdr (asection *sec)
+{
+  if (elf_section_data (sec)->rel.hdr)
+    {
+      BFD_ASSERT (elf_section_data (sec)->rela.hdr == NULL);
+      return elf_section_data (sec)->rel.hdr;
+    }
+  else
+    return elf_section_data (sec)->rela.hdr;
+}
+
+/* Allocate and initialize a section-header for a new reloc section,
+   containing relocations against ASECT.  It is stored in RELDATA.  If
+   USE_RELA_P is TRUE, we use RELA relocations; otherwise, we use REL
+   relocations.  */
 
 bfd_boolean
 _bfd_elf_init_reloc_shdr (bfd *abfd,
-			  Elf_Internal_Shdr *rel_hdr,
+			  struct bfd_elf_section_reloc_data *reldata,
 			  asection *asect,
 			  bfd_boolean use_rela_p)
 {
+  Elf_Internal_Shdr *rel_hdr;
   char *name;
   const struct elf_backend_data *bed = get_elf_backend_data (abfd);
-  bfd_size_type amt = sizeof ".rela" + strlen (asect->name);
+  bfd_size_type amt;
+
+  amt = sizeof (Elf_Internal_Shdr);
+  BFD_ASSERT (reldata->hdr == NULL);
+  rel_hdr = bfd_zalloc (abfd, amt);
+  reldata->hdr = rel_hdr;
 
+  amt = sizeof ".rela" + strlen (asect->name);      
   name = (char *) bfd_alloc (abfd, amt);
   if (name == NULL)
     return FALSE;
@@ -2457,30 +2484,37 @@ bfd_elf_get_default_section_type (flagword flags)
   return SHT_PROGBITS;
 }
 
+struct fake_section_arg
+{
+  struct bfd_link_info *link_info;
+  bfd_boolean failed;
+};
+
 /* Set up an ELF internal section header for a section.  */
 
 static void
-elf_fake_sections (bfd *abfd, asection *asect, void *failedptrarg)
+elf_fake_sections (bfd *abfd, asection *asect, void *fsarg)
 {
+  struct fake_section_arg *arg = (struct fake_section_arg *)fsarg;
   const struct elf_backend_data *bed = get_elf_backend_data (abfd);
-  bfd_boolean *failedptr = (bfd_boolean *) failedptrarg;
+  struct bfd_elf_section_data *esd = elf_section_data (asect);
   Elf_Internal_Shdr *this_hdr;
   unsigned int sh_type;
 
-  if (*failedptr)
+  if (arg->failed)
     {
       /* We already failed; just get out of the bfd_map_over_sections
 	 loop.  */
       return;
     }
 
-  this_hdr = &elf_section_data (asect)->this_hdr;
+  this_hdr = &esd->this_hdr;
 
   this_hdr->sh_name = (unsigned int) _bfd_elf_strtab_add (elf_shstrtab (abfd),
 							  asect->name, FALSE);
   if (this_hdr->sh_name == (unsigned int) -1)
     {
-      *failedptr = TRUE;
+      arg->failed = TRUE;
       return;
     }
 
@@ -2632,11 +2666,45 @@ elf_fake_sections (bfd *abfd, asection *asect, void *failedptrarg)
   if ((asect->flags & (SEC_GROUP | SEC_EXCLUDE)) == SEC_EXCLUDE)
     this_hdr->sh_flags |= SHF_EXCLUDE;
 
+  /* If the section has relocs, set up a section header for the
+     SHT_REL[A] section.  If two relocation sections are required for
+     this section, it is up to the processor-specific back-end to
+     create the other.  */
+  if ((asect->flags & SEC_RELOC) != 0)
+    {
+      /* When doing a relocatable link, create both REL and RELA sections if
+	 needed.  */
+      if (arg->link_info
+	  /* Do the normal setup if we wouldn't create any sections here.  */
+	  && esd->rel.count + esd->rela.count > 0
+	  && (arg->link_info->relocatable || arg->link_info->emitrelocations))
+	{
+	  if (esd->rel.count && esd->rel.hdr == NULL
+	      && !_bfd_elf_init_reloc_shdr (abfd, &esd->rel, asect, FALSE))
+	    {
+	      arg->failed = TRUE;
+	      return;
+	    }
+	  if (esd->rela.count && esd->rela.hdr == NULL
+	      && !_bfd_elf_init_reloc_shdr (abfd, &esd->rela, asect, TRUE))


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-09-30  8:57 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-09-30  8:57 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  b78db15b809c3ba3f2ad65aa5a03da9b08b99609 (commit)
       via  7c59491f02de02410c8bccf525b7447a5a0594df (commit)
       via  1010a27d3706b299aa9958e82667d57f01f58204 (commit)
       via  42ffc82f732aa73bf565f4a51ed6e509955c8462 (commit)
       via  0c3e0e15aeb2029e8d7841d289c7be7d38572850 (commit)
       via  b82ddc1f796104420a19b08ee50d72316782bcd2 (commit)
       via  1ee0c33c426de06c97c75bfdf5e5f990c2f42261 (commit)
       via  617f69caa31b60b5c838f8a1a76cec1becfa7dff (commit)
       via  55b9f5fe55d30ef96cd98b9458b7ea7b870e6976 (commit)
       via  7abd9bc8b37cb4244f85a743f237f017d03a2366 (commit)
       via  56164c7ec53e3836f3bf25c8627580c6521b4a23 (commit)
       via  27a709284e8419d78ee042ec78fda19e11a94017 (commit)
       via  9e580aa51107b206d0e1306f126996dd8db71dcf (commit)
       via  734274a9a8c5041fa4dcefe9d72fc0b0d697b2a3 (commit)
       via  41d92efc2bba2bf24b8c0ed8d98eb3b90825fdd9 (commit)
       via  d3eb7e583b5ba36bc96cabd529031df5140d504f (commit)
       via  953b1cda13c595456aa3690205b0f520bad6c78d (commit)
       via  422dd49c10741028349fee7fe3587767226eb032 (commit)
       via  8bf055c94d7fe0c58e5c0fdd724d0fcce6dcf2a0 (commit)
       via  8f12d6cd84773dc22d1e7b3ec36c0e8d91fcd188 (commit)
       via  497c3ac470e706d65f8c27931b29e9069163fafe (commit)
       via  40d6506dc236659cffbad1e37c7bd4ddeb37860f (commit)
       via  261511b8209b641461fab0f0e942c4d1aaf77068 (commit)
       via  f2647fd1f2c72d6264c497637bfab87a23a854df (commit)
       via  d6e7ea1bfef1184826601afb3668b73c4e23840f (commit)
       via  3e28ee57dc62c171355315a6924c07e9463923b4 (commit)
      from  1accd8f5f0c491b18bcb9e222a189e664dc00c9d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit b78db15b809c3ba3f2ad65aa5a03da9b08b99609
Merge: 1accd8f 7c59491
Author: Phil Muldoon <pmuldoon@localhost.localdomain>
Date:   Thu Sep 30 09:56:51 2010 +0100

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |    8 +
 bfd/ChangeLog                                      |    4 +
 bfd/configure                                      |    2 +-
 bfd/version.h                                      |    2 +-
 config/ChangeLog                                   |    4 +
 config/po.m4                                       |    2 +-
 configure                                          |    2 +-
 configure.ac                                       |    2 +-
 gdb/ChangeLog                                      |   68 +++
 gdb/NEWS                                           |    5 +
 gdb/ada-lang.h                                     |    4 +
 gdb/ada-tasks.c                                    |   21 +
 gdb/amd64-windows-tdep.c                           |   33 ++
 gdb/bcache.c                                       |    3 +-
 gdb/configure.tgt                                  |    9 +-
 gdb/doc/ChangeLog                                  |    4 +
 gdb/doc/gdb.texinfo                                |   32 ++
 gdb/dwarf2read.c                                   |  329 +++++++++++----
 gdb/gdb_wchar.h                                    |    9 +-
 gdb/gnu-v3-abi.c                                   |    5 +-
 gdb/ravenscar-sparc-thread.c                       |  185 +++++++++
 gdb/ravenscar-thread.c                             |  434 ++++++++++++++++++++
 gdb/ravenscar-thread.h                             |   41 ++
 gdb/testsuite/ChangeLog                            |    7 +
 .../gdb.dwarf2/dw2-cp-infcall-ref-static-main.c    |   51 +++
 .../gdb.dwarf2/dw2-cp-infcall-ref-static.S         |  115 ++++++
 .../gdb.dwarf2/dw2-cp-infcall-ref-static.exp       |   49 +++
 gdb/version.in                                     |    2 +-
 include/ChangeLog                                  |    8 +
 include/opcode/s390.h                              |    3 +-
 include/opcode/tic6x-control-registers.h           |    4 +-
 intl/ChangeLog                                     |    5 +
 intl/configure                                     |    2 +-
 libiberty/ChangeLog                                |   33 +--
 libiberty/cplus-dem.c                              |  200 ++++++---
 libiberty/testsuite/demangle-expected              |   30 ++
 opcodes/ChangeLog                                  |   24 ++
 opcodes/arm-dis.c                                  |    8 +-
 opcodes/configure                                  |    2 +-
 opcodes/s390-dis.c                                 |   25 ++
 opcodes/s390-mkopc.c                               |    5 +-
 opcodes/s390-opc.c                                 |   36 ++-
 opcodes/s390-opc.txt                               |  149 +++++++-
 sim/rx/ChangeLog                                   |   11 +
 sim/rx/mem.c                                       |   12 +-
 sim/rx/rx.c                                        |    4 +-
 46 files changed, 1773 insertions(+), 220 deletions(-)
 create mode 100644 gdb/ravenscar-sparc-thread.c
 create mode 100644 gdb/ravenscar-thread.c
 create mode 100644 gdb/ravenscar-thread.h
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-cp-infcall-ref-static-main.c
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-cp-infcall-ref-static.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-cp-infcall-ref-static.exp

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 2bfa992..263c1f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-06-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Sync from GCC:
+
+	PR bootstrap/44621
+	* configure.ac: Fix unportable shell quoting.
+	* configure: Regenerate.
+
 2010-07-17  Jack Howarth  <howarth@bromo.med.uc.edu>
 
 	PR target/44862
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b281a04..8068c4c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* configure: Regenerate.
+
 2010-09-24  Thomas Schwinge  <thomas@codesourcery.com>
 
 	* elf32-arm.c, elf32-cris.c, elf32-hppa.c, elf32-i370.c, elf32-m32r.c,
diff --git a/bfd/configure b/bfd/configure
index e1ea93b..980711a 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -18067,7 +18067,7 @@ _LT_EOF
       case "$ac_file" in */Makefile.in)
         # Adjust a relative srcdir.
         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
-        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
+        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
         # In autoconf-2.13 it is called $ac_given_srcdir.
         # In autoconf-2.50 it is called $srcdir.
diff --git a/bfd/version.h b/bfd/version.h
index ebaa451..93b309b 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20100927
+#define BFD_VERSION_DATE 20100930
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/config/ChangeLog b/config/ChangeLog
index 6fdf36c..4b5a427 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* po.m4 (AM_PO_SUBDIRS): Fix unportable shell quoting.
+
 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR target/45524
diff --git a/config/po.m4 b/config/po.m4
index 861e3de..2edd5a7 100644
--- a/config/po.m4
+++ b/config/po.m4
@@ -96,7 +96,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
       case "$ac_file" in */Makefile.in)
         # Adjust a relative srcdir.
         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
-        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
+        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
         # In autoconf-2.13 it is called $ac_given_srcdir.
         # In autoconf-2.50 it is called $srcdir.
diff --git a/configure b/configure
index 0904ffb..47f732f 100755
--- a/configure
+++ b/configure
@@ -3108,7 +3108,7 @@ fi
             configdirs="$configdirs gold"
 	    ;;
 	  *)
-            configdirs="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
+            configdirs=`echo " ${configdirs} " | sed -e 's/ ld / gold /'`
 	    ;;
 	  esac
 	  ENABLE_GOLD=yes
diff --git a/configure.ac b/configure.ac
index 2d39219..eca08fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -351,7 +351,7 @@ ENABLE_GOLD=no)
             configdirs="$configdirs gold"
 	    ;;
 	  *)
-            configdirs="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
+            configdirs=`echo " ${configdirs} " | sed -e 's/ ld / gold /'`
 	    ;;
 	  esac
 	  ENABLE_GOLD=yes
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 55b1d88..fc02717 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,71 @@
+2010-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Fix GDB crash on inferior calls with self-referencing classes.
+	* gnu-v3-abi.c (gnuv3_pass_by_reference): Do not call itself on static
+	member fields.
+
+2010-09-29  Doug Evans  <dje@google.com>
+
+	Workaround for gcc/45682.
+	* dwarf2read.c (partial_die_info): New fields fixup_called,
+	linkage_name.
+	(guess_partial_die_structure_name): Renamed from guess_structure_name.
+	Move definition next to use.  Use linkage_name to determine if class
+	is in a namespace.  All callers updated.
+	(fixup_partial_die): Return early if already called.
+	Set fixup_called when done.
+	(guess_full_die_structure_name): New function.
+	(determine_prefix): Call it for class/struct/union dies if c++ and
+	.debug_types section is present and parent is DW_TAG_compile_unit.
+
+2010-09-28  Joel Brobecker  <brobecker@adacore.com>
+
+	* configure.tgt (sparc-*-*): Set gdb_sim to ../sim/erc32/libsim.a.
+        (sparc-*-rtems*): Delete. Now redundant with sparc-*-*.
+
+2010-09-28  Joel Brobecker  <brobecker@adacore.com>
+
+	* NEWS: Announce Ravenscar Profile support.
+
+2010-09-28  Joel Brobecker  <brobecker@adacore.com>
+	    Jerome Guitton  <guitton@adacore.com>
+
+	* ravenscar-thread.c, ravenscar-thread.h, ravenscar-sparc-thread.c:
+	New files.
+	* configure.tgt (sparc-*-*): Add ravenscar-thread.o and
+	ravenscar-sparc-thread.o to gdb_target_obs.
+
+2010-09-28  Joel Brobecker  <brobecker@adacore.com>
+
+	* ada-tasks.c (iterate_over_live_ada_tasks): New function.
+	* ada-lang.h (iterate_over_live_ada_tasks): Declare.
+
+2010-09-27  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	* amd64-windows-tdep.c (amd64_skip_main_prologue): New function.
+	(amd64_windows_init_abi): Register amd64_skip_main_prologue as gdbarch
+	skip_main_prologue method.
+
+2010-09-27  Tom Tromey  <tromey@redhat.com>
+
+	* dwarf2read.c (dwarf2_read_index): Only allow version 3.
+	(write_psymbols): Add 'psyms_seen' and 'is_static' arguments.
+	Only emit a given psymbol once.
+	(struct signatured_type_index_data) <psyms_seen>: New field.
+	(write_one_signatured_type): Update.
+	(cleanup_htab): New function.
+	(write_psymtabs_to_index): Update.  Create psyms_seen hash.  Bump
+	version to 3.
+	(save_gdb_index_command): Update index documentation.
+
+2010-09-27  Tom Tromey  <tromey@redhat.com>
+
+	* bcache.c (expand_hash_table): Use hash_function, not hash.
+
+2010-09-27  Tom Tromey  <tromey@redhat.com>
+
+	* gdb_wchar.h: Change minimum libiconv to 0x108.
+
 2010-09-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	Fix lost siginfo_t for inferior calls.
diff --git a/gdb/NEWS b/gdb/NEWS
index 01d2f46..85059c6 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -67,6 +67,11 @@
   ** GDBserver is now supported on PowerPC LynxOS (versions 4.x and 5.x),
      and i686 LynxOS (version 5.x).
 
+* Ada task switching is now supported on sparc-elf targets when
+  debugging a program using the Ravenscar Profile.  For more information,
+  see the "Tasking Support when using the Ravenscar Profile" section
+  in the GDB user manual.
+
 *** Changes in GDB 7.2
 
 * Shared library support for remote targets by default
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index d1e8ca5..935c2e1 100644
--- a/gdb/ada-lang.h
+++ b/gdb/ada-lang.h
@@ -378,6 +378,10 @@ extern int valid_task_id (int);
 
 extern int ada_get_task_number (ptid_t);
 
+typedef void (ada_task_list_iterator_ftype) (struct ada_task_info *task);
+extern void iterate_over_live_ada_tasks
+  (ada_task_list_iterator_ftype *iterator);
+
 extern int ada_build_task_list (int warn_if_null);
 
 extern int ada_exception_catchpoint_p (struct breakpoint *b);
diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c
index 8e42252..3cbcc4f 100644
--- a/gdb/ada-tasks.c
+++ b/gdb/ada-tasks.c
@@ -212,6 +212,27 @@ ada_task_is_alive (struct ada_task_info *task_info)
   return (task_info->state != Terminated);
 }
 
+/* Call the ITERATOR function once for each Ada task that hasn't been
+   terminated yet.  */
+
+void
+iterate_over_live_ada_tasks (ada_task_list_iterator_ftype *iterator)
+{
+  int i, nb_tasks;
+  struct ada_task_info *task;
+
+  ada_build_task_list (0);
+  nb_tasks = VEC_length (ada_task_info_s, task_list);
+
+  for (i = 0; i < nb_tasks; i++)
+    {
+      task = VEC_index (ada_task_info_s, task_list, i);
+      if (!ada_task_is_alive (task))
+        continue;
+      iterator (task);
+    }
+}
+
 /* Extract the contents of the value as a string whose length is LENGTH,
    and store the result in DEST.  */
 
diff --git a/gdb/amd64-windows-tdep.c b/gdb/amd64-windows-tdep.c
index 05d0824..0a44562 100644
--- a/gdb/amd64-windows-tdep.c
+++ b/gdb/amd64-windows-tdep.c
@@ -122,6 +122,38 @@ amd64_windows_return_value (struct gdbarch *gdbarch, struct type *func_type,
     }
 }
 
+/* Check that the code pointed to by PC corresponds to a call to
+   __main, skip it if so.  Return PC otherwise.  */
+
+static CORE_ADDR
+amd64_skip_main_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
+{
+  enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
+  gdb_byte op;
+
+  target_read_memory (pc, &op, 1);
+  if (op == 0xe8)
+    {
+      gdb_byte buf[4];
+
+      if (target_read_memory (pc + 1, buf, sizeof buf) == 0)
+ 	{
+ 	  struct minimal_symbol *s;
+ 	  CORE_ADDR call_dest;
+
+	  call_dest = pc + 5 + extract_signed_integer (buf, 4, byte_order);
+ 	  s = lookup_minimal_symbol_by_pc (call_dest);
+ 	  if (s != NULL
+ 	      && SYMBOL_LINKAGE_NAME (s) != NULL
+ 	      && strcmp (SYMBOL_LINKAGE_NAME (s), "__main") == 0)
+ 	    pc += 5;
+ 	}
+    }
+
+  return pc;
+}
+
+
 static void
 amd64_windows_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 {
@@ -140,6 +172,7 @@ amd64_windows_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   tdep->memory_args_by_pointer = 1;
   tdep->integer_param_regs_saved_in_caller_frame = 1;
   set_gdbarch_return_value (gdbarch, amd64_windows_return_value);
+  set_gdbarch_skip_main_prologue (gdbarch, amd64_skip_main_prologue);
 
   set_solib_ops (gdbarch, &solib_target_so_ops);
 }
diff --git a/gdb/bcache.c b/gdb/bcache.c
index 653d6fb..e6ca06c 100644
--- a/gdb/bcache.c
+++ b/gdb/bcache.c
@@ -184,7 +184,8 @@ expand_hash_table (struct bcache *bcache)
 	  struct bstring **new_bucket;
 	  next = s->next;
 
-	  new_bucket = &new_buckets[(hash (&s->d.data, s->length)
+	  new_bucket = &new_buckets[(bcache->hash_function (&s->d.data,
+							    s->length)
 				     % new_num_buckets)];
 	  s->next = *new_bucket;
 	  *new_bucket = s;
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 0b44005..24a6bf9 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -514,14 +514,11 @@ sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
 	gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
 			sparc-sol2-tdep.o sol2-tdep.o solib.o solib-svr4.o"
 	;;
-sparc-*-rtems*)
-	# Target: SPARC embedded with simulator
-	gdb_target_obs="sparc-tdep.o"
-	gdb_sim=../sim/erc32/libsim.a
-	;;
 sparc-*-*)
 	# Target: SPARC
-	gdb_target_obs="sparc-tdep.o"
+	gdb_target_obs="sparc-tdep.o ravenscar-thread.o \
+			ravenscar-sparc-thread.o"
+	gdb_sim=../sim/erc32/libsim.a
 	;;
 sparc64-*-*)
 	# Target: UltraSPARC
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 5a99342..a967bd7 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-28  Joel Brobecker  <brobecker@adacore.com>
+
+	* gdb.texinfo (Ravenscar Profile): New node.
+
 2010-09-22  Tom Tromey  <tromey@redhat.com>
 
 	* gdb.texinfo (Values From Inferior): Mention Value.__init__.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 7791d0c..7840cdf 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -12861,6 +12861,8 @@ to be difficult.
 * Stopping Before Main Program:: Debugging the program during elaboration.
 * Ada Tasks::                   Listing and setting breakpoints in tasks.
 * Ada Tasks and Core Files::    Tasking Support when Debugging Core Files
+* Ravenscar Profile::           Tasking Support when using the Ravenscar
+                                   Profile
 * Ada Glitches::                Known peculiarities of Ada mode.
 @end menu
 
@@ -13411,6 +13413,36 @@ privileges, using the command @samp{"set write on"} (@pxref{Patching}).
 Under these circumstances, you should make a backup copy of the core
 file before inspecting it with @value{GDBN}.
 
+@node Ravenscar Profile
+@subsubsection Tasking Support when using the Ravenscar Profile
+@cindex Ravenscar Profile
+
+The @dfn{Ravenscar Profile} is a subset of the Ada tasking features,
+specifically designed for systems with safety-critical real-time
+requirements.
+
+@table @code
+@kindex set ravenscar task-switching on
+@cindex task switching with program using Ravenscar Profile
+@item set ravenscar task-switching on
+Allows task switching when debugging a program that uses the Ravenscar
+Profile.  This is the default.
+
+@kindex set ravenscar task-switching off
+@item set ravenscar task-switching off
+Turn off task switching when debugging a program that uses the Ravenscar
+Profile.  This is mostly intended to disable the code that adds support
+for the Ravenscar Profile, in case a bug in either @value{GDBN} or in
+the Ravenscar runtime is preventing @value{GDBN} from working properly.
+To be effective, this command should be run before the program is started.
+
+@kindex show ravenscar task-switching
+@item show ravenscar task-switching
+Show whether it is possible to switch from task to task in a program
+using the Ravenscar Profile.
+
+@end table
+
 @node Ada Glitches
 @subsubsection Known Peculiarities of Ada Mode
 @cindex Ada, problems
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index c407b10..743ba89 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -577,10 +577,16 @@ struct partial_die_info
     /* Flag set if any of the DIE's children are template arguments.  */
     unsigned int has_template_arguments : 1;
 
+    /* Flag set if fixup_partial_die has been called on this die.  */
+    unsigned int fixup_called : 1;
+
     /* The name of this DIE.  Normally the value of DW_AT_name, but
        sometimes a default name for unnamed DIEs.  */
     char *name;
 
+    /* The linkage name, if present.  */
+    const char *linkage_name;
+
     /* The scope to prepend to our children.  This is generally
        allocated on the comp_unit_obstack, so will disappear
        when this compilation unit leaves the cache.  */
@@ -595,6 +601,8 @@ struct partial_die_info
 
     /* Pointer into the info_buffer (or types_buffer) pointing at the target of
        DW_AT_sibling, if any.  */
+    /* NOTE: This member isn't strictly necessary, read_partial_die could
+       return DW_AT_sibling values to its caller load_partial_dies.  */
     gdb_byte *sibling;
 
     /* If HAS_SPECIFICATION, the offset of the DIE referred to by
@@ -1915,15 +1923,10 @@ dwarf2_read_index (struct objfile *objfile)
   addr = dwarf2_per_objfile->gdb_index.buffer;
   /* Version check.  */
   version = MAYBE_SWAP (*(offset_type *) addr);
-  if (version == 1)
-    {
-      /* Index version 1 neglected to account for .debug_types.  So,
-	 if we see .debug_types, we cannot use this index.  */
-      if (dwarf2_per_objfile->types.asection != NULL
-	  && dwarf2_per_objfile->types.size != 0)
-	return 0;
-    }
-  else if (version != 2)
+  /* Versions earlier than 3 emitted every copy of a psymbol.  This
+     causes the index to behave very poorly for certain requests.  So,
+     it seems better to just ignore such indices.  */
+  if (version < 3)
     return 0;
 
   map = OBSTACK_ZALLOC (&objfile->objfile_obstack, struct mapped_index);
@@ -1937,14 +1940,11 @@ dwarf2_read_index (struct objfile *objfile)
 		      / 8);
   ++i;
 
-  if (version == 2)
-    {
-      types_list = addr + MAYBE_SWAP (metadata[i]);
-      types_list_elements = ((MAYBE_SWAP (metadata[i + 1])
-			      - MAYBE_SWAP (metadata[i]))
-			     / 8);
-      ++i;
-    }
+  types_list = addr + MAYBE_SWAP (metadata[i]);
+  types_list_elements = ((MAYBE_SWAP (metadata[i + 1])
+			  - MAYBE_SWAP (metadata[i]))
+			 / 8);
+  ++i;
 
   map->address_table = addr + MAYBE_SWAP (metadata[i]);
   map->address_table_size = (MAYBE_SWAP (metadata[i + 1])
@@ -1962,8 +1962,7 @@ dwarf2_read_index (struct objfile *objfile)
   if (!create_cus_from_index (objfile, cu_list, cu_list_elements))
     return 0;
 
-  if (version == 2
-      && types_list_elements
+  if (types_list_elements
       && !create_signatured_type_table_from_index (objfile, types_list,
 						   types_list_elements))
     return 0;
@@ -3912,40 +3911,6 @@ add_partial_subprogram (struct partial_die_info *pdi,
     }
 }
 
-/* See if we can figure out if the class lives in a namespace.  We do
-   this by looking for a member function; its demangled name will
-   contain namespace info, if there is any.  */
-
-static void
-guess_structure_name (struct partial_die_info *struct_pdi,
-		      struct dwarf2_cu *cu)
-{
-  if ((cu->language == language_cplus
-       || cu->language == language_java)
-      && cu->has_namespace_info == 0
-      && struct_pdi->has_children)
-    {
-      /* NOTE: carlton/2003-10-07: Getting the info this way changes
-	 what template types look like, because the demangler
-	 frequently doesn't give the same name as the debug info.  We
-	 could fix this by only using the demangled name to get the
-	 prefix (but see comment in read_structure_type).  */
-
-      struct partial_die_info *real_pdi;
-
-      /* If this DIE (this DIE's specification, if any) has a parent, then
-	 we should not do this.  We'll prepend the parent's fully qualified
-         name when we create the partial symbol.  */
-
-      real_pdi = struct_pdi;


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-09-27 11:40 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-09-27 11:40 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  a95e04ca2ca8fdeae594811689a97427f9297c7e (commit)
       via  0e71db4d2ee3a8c168c6ef5476a36fabd58c7c11 (commit)
       via  7bf5255da5694eff7632e8464e44f3299217034d (commit)
       via  5e8450e4a974ea0d04bb46dadd4cac674e374d22 (commit)
       via  aa639c6329ec493e3e9f123a4a845bed859507e8 (commit)
       via  ee293fdd5ff3486bef65e4f872b463f6d92932d9 (commit)
       via  acc8af847d83213abc69174e5a2cdc9b5b9eeecf (commit)
       via  52dbb162613f7cb7cf4e414b86d507052c63bc21 (commit)
       via  567c55d94fe7bce0dd3d82618b3ee7f910319e1a (commit)
       via  b2bdd4ec26d7368c66530c89e0e9d04584f23ac2 (commit)
       via  5ce5693ba8da81ee0afa7b743e80daf4b735abe4 (commit)
       via  6aceb3f76551c9332a1fc12a7ba4cbb6fbd9a52e (commit)
       via  c35d4b17866d95f88dfec12539acd6714bdb7061 (commit)
       via  31754a9dc78c7d283677b7e5e3d68dff891371b6 (commit)
       via  475c0e4dc2b66e2025dbc862155a55fd8b04466c (commit)
       via  328d04710b395061e65b4c9d3e063ff4ff9d5117 (commit)
       via  120873b176cfac0958e0378feec2c46139890545 (commit)
       via  d53f48c3a270300ec7a3620e2270d9c7d6a0fca4 (commit)
       via  bceafcae973da3cf59458e425f39c46fac613997 (commit)
       via  fa51fc3bc5c3b8781a058b5917e15ca09c5ff2db (commit)
       via  1c2ae3626f38f87861a6f0eb0fb3063023cb3fd7 (commit)
       via  5c7709b71724f8b8371506d280a07660d58ca8cf (commit)
       via  6fcc496fec7b750793c85da4fd70470e8d176cfa (commit)
       via  56b89e1f162465abef29b960fd88b7ae574e70fa (commit)
       via  23c304e2a4ba1b02530f4cc2d5da8c17a5bec27f (commit)
       via  6febdbdd2647bf02802d4f051d37dd312ffdda85 (commit)
       via  07d01a4532b79e258289dc72905ac3725d420baf (commit)
       via  b61a5fe0940352717a42426aec70e4844e8654fc (commit)
       via  c6fa80a910f4e2c12c70869510b04356a93cc009 (commit)
       via  ba4510b656b08751f72d4741b93c4596ad8eeaff (commit)
       via  09f7409a10f0506560e3567be4c15b49ac5396fa (commit)
       via  0b6be011a6eaa679b9a25f623c98f72c625807c4 (commit)
       via  ae35288a9e046b50754df56422e61ca7179e325c (commit)
       via  9f3ac352623ece6d170a6f94b3413ee532528c29 (commit)
       via  c6a5f5560402451d3ebd0f559d4f891151cc96a6 (commit)
       via  cd120c49a12d5ea43939991a64438b337d9e5c7e (commit)
       via  405e18f17fbc5a62ce6c17b0d2749883de095673 (commit)
       via  8f8c824eac3c205b015bc4a4c3bd4b6e4f17d57c (commit)
       via  5a239fd6b354ceb8a4883cadb007b10ea2996065 (commit)
       via  9df2cd6d9d166bc17e3251e41b1118b76976336a (commit)
       via  365f0a0b6b629c3f8e5001d10b55c83963f08d35 (commit)
       via  0cc328604bb680d93e600926a5da3797e93f41d0 (commit)
       via  df0e1413b3a179a86e8e207174902999acdafbb2 (commit)
       via  713e5270b64c38eec2661edd46ac9b29443e21d8 (commit)
       via  016bf22e98cd670562662c2917badf3ba0517f1d (commit)
       via  da5fd72707e1f19dab343c9de9c51d4cf48eba61 (commit)
       via  5911a53fbef58ea324bac00ffc64dc9d6deb8df7 (commit)
       via  519e1f7c53a6d0add495fa08c5eccedbc24a1d3e (commit)
       via  c408df2d80e5def5fc57fff7bc2dcf9e79f6d15a (commit)
       via  3c608a850b8c35416d1dfef6875af62adf62f076 (commit)
       via  0d21ec3bc7edce96ad959d5e9fd2fd8bc0b8e307 (commit)
       via  5354be2515b24e1f451606218fed990039ed3591 (commit)
       via  a94d3393376ef0fd2b60292ad33100ca830c2df0 (commit)
       via  8ce2c9ced8485dc64edd4c274007d9252061521d (commit)
       via  6a4a712ca215ea1fea95fe64e73d92ec7bb8305b (commit)
       via  efe1b362417c1cd51b6a0ca00bcf21a3fb797cd5 (commit)
       via  01a3616d4397e5cc80e024d1583e966706b66854 (commit)
       via  59c9593474be8bba278d9361a689ebad4013e314 (commit)
       via  132173fd8d416c8f2f2f71410a51a5db5d322f50 (commit)
       via  f6333da5a82280bea786876098c03afcc2b0cce7 (commit)
       via  71fe0f1709007d0d57fb8d72cba05522eaa74ff1 (commit)
       via  3e6d829c6e8ff5fa42e0fddee02b35289b923192 (commit)
       via  542a3569b097c18cf0022684ff7a86fe29d55901 (commit)
       via  573c1119b57082cf461812195dda577cea7b0bb8 (commit)
       via  f521e4e01ae86e32bf3372c62c2f1a0d4c18be96 (commit)
      from  7cba5e2afd758c6b3462ca52f0d3c6f4144b3355 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit a95e04ca2ca8fdeae594811689a97427f9297c7e
Merge: 7cba5e2 0e71db4
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Sep 27 12:39:37 2010 +0100

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                              |   44 ++++
 bfd/bfd-in2.h                              |    1 +
 bfd/coffcode.h                             |   45 +++--
 bfd/cpu-d10v.c                             |   20 +-
 bfd/elf.c                                  |    2 +-
 bfd/elf32-arm.c                            |    4 +-
 bfd/elf32-cris.c                           |    2 +-
 bfd/elf32-hppa.c                           |    4 +-
 bfd/elf32-i370.c                           |    2 +-
 bfd/elf32-m32r.c                           |    2 +-
 bfd/elf32-m68k.c                           |    4 +-
 bfd/elf32-microblaze.c                     |    4 +-
 bfd/elf32-ppc.c                            |   10 +-
 bfd/elf32-score.c                          |    6 +-
 bfd/elf32-score7.c                         |    6 +-
 bfd/elf32-sh.c                             |    2 +-
 bfd/elf32-tic6x.c                          |   26 +++
 bfd/elf32-vax.c                            |    2 +-
 bfd/elf32-xtensa.c                         |    2 +-
 bfd/elf64-alpha.c                          |   74 ++++----
 bfd/elf64-hppa.c                           |    2 +-
 bfd/elf64-mips.c                           |    2 +-
 bfd/elf64-ppc.c                            |   14 +-
 bfd/elf64-sparc.c                          |    2 +-
 bfd/elfcode.h                              |    2 +-
 bfd/elflink.c                              |   14 +-
 bfd/elfxx-ia64.c                           |    4 +-
 bfd/elfxx-mips.c                           |    8 +-
 bfd/peXXigen.c                             |   43 ++++
 bfd/version.h                              |    2 +-
 gdb/ChangeLog                              |   83 ++++++++
 gdb/ada-tasks.c                            |   15 +-
 gdb/amd64-linux-nat.c                      |   20 +-
 gdb/configure                              |   26 ++-
 gdb/configure.ac                           |   20 ++-
 gdb/doc/ChangeLog                          |    9 +
 gdb/doc/gdb.texinfo                        |   53 ++++-
 gdb/dwarf2read.c                           |   48 +++--
 gdb/gdbserver/ChangeLog                    |    9 +
 gdb/gdbserver/linux-x86-low.c              |   20 +-
 gdb/infrun.c                               |   58 +++++-
 gdb/main.c                                 |    6 +-
 gdb/objfiles.c                             |    9 +-
 gdb/objfiles.h                             |   45 ++++-
 gdb/python/py-auto-load.c                  |    2 -
 gdb/python/py-objfile.c                    |    2 +-
 gdb/python/py-progspace.c                  |    2 +-
 gdb/testsuite/ChangeLog                    |   30 +++
 gdb/testsuite/gdb.base/siginfo-infcall.c   |   79 +++++++
 gdb/testsuite/gdb.base/siginfo-infcall.exp |   47 ++++
 gdb/testsuite/gdb.cp/pr12028.cc            |   21 ++
 gdb/testsuite/gdb.cp/pr12028.exp           |   29 +++
 gdb/testsuite/gdb.dwarf2/dw2-const.S       |  224 ++++++++++++++++++++
 gdb/testsuite/gdb.dwarf2/dw2-const.exp     |   46 ++++
 gdb/testsuite/gdb.fortran/module.exp       |    2 +
 gdb/testsuite/gdb.fortran/module.f90       |    2 +
 gdb/valops.c                               |    4 +-
 gdb/version.in                             |    2 +-
 include/ChangeLog                          |   13 ++
 include/opcode/ChangeLog                   |   31 +++
 include/opcode/arm.h                       |   31 +++-
 include/opcode/bfin.h                      |  170 +++++++++------
 opcodes/ChangeLog                          |  103 +++++++++
 opcodes/arm-dis.c                          |  177 ++++++++++++++--
 opcodes/bfin-dis.c                         |  317 ++++++++++++++++++++--------
 sim/rx/ChangeLog                           |   14 ++
 sim/rx/cpu.h                               |    1 +
 sim/rx/fpu.c                               |    1 +
 sim/rx/gdb-if.c                            |    1 +
 sim/rx/load.c                              |    3 +
 sim/rx/misc.c                              |    1 +
 sim/rx/rx.c                                |   14 ++-
 sim/rx/syscalls.c                          |    1 +
 73 files changed, 1781 insertions(+), 365 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/siginfo-infcall.c
 create mode 100644 gdb/testsuite/gdb.base/siginfo-infcall.exp
 create mode 100644 gdb/testsuite/gdb.cp/pr12028.cc
 create mode 100644 gdb/testsuite/gdb.cp/pr12028.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-const.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-const.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 545c603..b281a04 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,47 @@
+2010-09-24  Thomas Schwinge  <thomas@codesourcery.com>
+
+	* elf32-arm.c, elf32-cris.c, elf32-hppa.c, elf32-i370.c, elf32-m32r.c,
+	elf32-m68k.c, elf32-microblaze.c, elf32-ppc.c, elf32-score.c,
+	elf32-score7.c, elf32-sh.c, elf32-vax.c, elf32-xtensa.c, elf64-alpha.c,
+	elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-sparc.c, elfcode.h,
+	elflink.c, elfxx-ia64.c, elfxx-mips.c: Use STN_UNDEF when referring to
+	the zero symbol index.
+
+	* elflink.c (bfd_elf_reloc_symbol_deleted_p): Compare the symbol index
+	to STN_UNDEF, not SHN_UNDEF.
+
+2010-09-23  Bernd Schmidt  <bernds@codesourcery.com>
+
+	* elf32-tic6x.c (elf32_tic6x_fake_sections): New function.
+	(elf_backend_fake_sections): Define.
+
+2010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+	* bfd-in2.h (BFD_RELOC_ARM_HVC): New enum value.
+
+2010-09-23  Alan Modra  <amodra@gmail.com>
+
+	* cpu-d10v.c: Make bits_per_address 18 for all arch_info entries.
+
+2010-09-23  Alan Modra  <amodra@gmail.com>
+
+	* elf.c (_bfd_elf_init_private_section_data): Allow for SEC_RELOC
+	difference between input and output section.
+
+2010-09-22  Kai Tietz  <kai.tietz@onevision.com>
+
+	* coffcode.h (sec_to_styp_flags): Adjust debug
+	sections to be conform to pe-coff specification
+	and avoid marking them as excluded.
+	(styp_to_sec_flags): Doing reverse mapping.
+
+	* peXXigen.c (_bfd_XXi_final_link_postscript): Add handling for
+	setting IAT directory entry.
+
+2010-09-20  Richard Henderson  <rth@redhat.com>
+
+	* elf64-alpha.c (elf64_alpha_howto_table): Use bfd_elf_generic_reloc.
+
 2010-09-19  Richard Sandiford  <rdsandiford@googlemail.com>
 
 	* elfxx-mips.c (mips_elf_link_hash_entry): Add got_only_for_calls.
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 0e7b337..4bd47ca 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -3166,6 +3166,7 @@ pc-relative or some form of GOT-indirect relocation.  */
   BFD_RELOC_ARM_T32_ADD_PC12,
   BFD_RELOC_ARM_SHIFT_IMM,
   BFD_RELOC_ARM_SMC,
+  BFD_RELOC_ARM_HVC,
   BFD_RELOC_ARM_SWI,
   BFD_RELOC_ARM_MULTI,
   BFD_RELOC_ARM_CP_OFF_IMM,
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 790908a..ff69704 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -636,6 +636,14 @@ static long
 sec_to_styp_flags (const char *sec_name, flagword sec_flags)
 {
   long styp_flags = 0;
+  bfd_boolean is_dbg = FALSE;
+
+  if (CONST_STRNEQ (sec_name, DOT_DEBUG)
+#ifdef COFF_LONG_SECTION_NAMES
+      || CONST_STRNEQ (sec_name, GNU_LINKONCE_WI)
+#endif
+      || CONST_STRNEQ (sec_name, ".stab"))
+    is_dbg = TRUE;
 
   /* caution: there are at least three groups of symbols that have
      very similar bits and meanings: IMAGE_SCN*, SEC_*, and STYP_*.
@@ -646,16 +654,15 @@ sec_to_styp_flags (const char *sec_name, flagword sec_flags)
      but there are more IMAGE_SCN_* flags.  */
 
   /* FIXME: There is no gas syntax to specify the debug section flag.  */
-  if (CONST_STRNEQ (sec_name, DOT_DEBUG)
-      || CONST_STRNEQ (sec_name, GNU_LINKONCE_WI))
-    sec_flags = SEC_DEBUGGING | SEC_READONLY;
+  if (is_dbg)
+      sec_flags = SEC_DEBUGGING | SEC_READONLY;
 
   /* skip LOAD */
   /* READONLY later */
   /* skip RELOC */
   if ((sec_flags & SEC_CODE) != 0)
     styp_flags |= IMAGE_SCN_CNT_CODE;
-  if ((sec_flags & SEC_DATA) != 0)
+  if ((sec_flags & (SEC_DATA | SEC_DEBUGGING)) != 0)
     styp_flags |= IMAGE_SCN_CNT_INITIALIZED_DATA;
   if ((sec_flags & SEC_ALLOC) != 0 && (sec_flags & SEC_LOAD) == 0)
     styp_flags |= IMAGE_SCN_CNT_UNINITIALIZED_DATA;  /* ==STYP_BSS */
@@ -666,9 +673,9 @@ sec_to_styp_flags (const char *sec_name, flagword sec_flags)
     styp_flags |= IMAGE_SCN_LNK_COMDAT;
   if ((sec_flags & SEC_DEBUGGING) != 0)
     styp_flags |= IMAGE_SCN_MEM_DISCARDABLE;
-  if ((sec_flags & SEC_EXCLUDE) != 0)
+  if ((sec_flags & SEC_EXCLUDE) != 0 && !is_dbg)
     styp_flags |= IMAGE_SCN_LNK_REMOVE;
-  if ((sec_flags & SEC_NEVER_LOAD) != 0)
+  if ((sec_flags & SEC_NEVER_LOAD) != 0 && !is_dbg)
     styp_flags |= IMAGE_SCN_LNK_REMOVE;
   /* skip IN_MEMORY */
   /* skip SORT */
@@ -1120,7 +1127,14 @@ styp_to_sec_flags (bfd *abfd,
   long styp_flags = internal_s->s_flags;
   flagword sec_flags;
   bfd_boolean result = TRUE;
+  bfd_boolean is_dbg = FALSE;
 
+  if (CONST_STRNEQ (name, DOT_DEBUG)
+#ifdef COFF_LONG_SECTION_NAMES
+      || CONST_STRNEQ (name, GNU_LINKONCE_WI)
+#endif
+      || CONST_STRNEQ (name, ".stab"))
+    is_dbg = TRUE;
   /* Assume read only unless IMAGE_SCN_MEM_WRITE is specified.  */
   sec_flags = SEC_READONLY;
 
@@ -1190,27 +1204,30 @@ styp_to_sec_flags (bfd *abfd,
 	     mean that a given section contains debug information.  Thus
 	     we only set the SEC_DEBUGGING flag on sections that we
 	     recognise as containing debug information.  */
-	     if (CONST_STRNEQ (name, DOT_DEBUG)
+	     if (is_dbg
 #ifdef _COMMENT
 	      || strcmp (name, _COMMENT) == 0
 #endif
-#ifdef COFF_LONG_SECTION_NAMES
-  	      || CONST_STRNEQ (name, GNU_LINKONCE_WI)
-#endif
-	      || CONST_STRNEQ (name, ".stab"))
-	    sec_flags |= SEC_DEBUGGING;
+	      )
+	    {
+	      sec_flags |= SEC_DEBUGGING | SEC_READONLY;
+	    }
 	  break;
 	case IMAGE_SCN_MEM_SHARED:
 	  sec_flags |= SEC_COFF_SHARED;
 	  break;
 	case IMAGE_SCN_LNK_REMOVE:
-	  sec_flags |= SEC_EXCLUDE;
+	  if (!is_dbg)
+	    sec_flags |= SEC_EXCLUDE;
 	  break;
 	case IMAGE_SCN_CNT_CODE:
 	  sec_flags |= SEC_CODE | SEC_ALLOC | SEC_LOAD;
 	  break;
 	case IMAGE_SCN_CNT_INITIALIZED_DATA:
-	  sec_flags |= SEC_DATA | SEC_ALLOC | SEC_LOAD;
+	  if (is_dbg)
+	    sec_flags |= SEC_DEBUGGING;
+	  else
+	    sec_flags |= SEC_DATA | SEC_ALLOC | SEC_LOAD;
 	  break;
 	case IMAGE_SCN_CNT_UNINITIALIZED_DATA:
 	  sec_flags |= SEC_ALLOC;
diff --git a/bfd/cpu-d10v.c b/bfd/cpu-d10v.c
index b69e840..b161115 100644
--- a/bfd/cpu-d10v.c
+++ b/bfd/cpu-d10v.c
@@ -1,5 +1,5 @@
 /* BFD support for the D10V processor
-   Copyright 1996, 1999, 2000, 2002, 2005, 2007
+   Copyright 1996, 1999, 2000, 2002, 2005, 2007, 2010
    Free Software Foundation, Inc.
    Contributed by Martin Hunt (hunt@cygnus.com).
 
@@ -27,7 +27,7 @@
 static const bfd_arch_info_type d10v_ts3_info =
 {
   16,	/* 16 bits in a word.  */
-  16,	/* 16 bits in an address.  */
+  18,	/* really 16 bits in an address, but code has 18 bit range.  */
   8,	/* 8 bits in a byte.  */
   bfd_arch_d10v,
   bfd_mach_d10v_ts3,
@@ -42,14 +42,14 @@ static const bfd_arch_info_type d10v_ts3_info =
 
 static const bfd_arch_info_type d10v_ts2_info =
 {
-  16,	/* 16 bits in a word.  */
-  16,	/* 16 bits in an address.  */
-  8,	/* 8 bits in a byte.  */
+  16,
+  18,
+  8,
   bfd_arch_d10v,
   bfd_mach_d10v_ts2,
   "d10v",
   "d10v:ts2",
-  4, 	/* Section alignment power.  */
+  4,
   FALSE,
   bfd_default_compatible,
   bfd_default_scan,
@@ -58,14 +58,14 @@ static const bfd_arch_info_type d10v_ts2_info =
 
 const bfd_arch_info_type bfd_d10v_arch =
 {
-  16,	/* 16 bits in a word.  */
-  16,	/* 16 bits in an address.  */
-  8,	/* 8 bits in a byte.  */
+  16,
+  18,
+  8,
   bfd_arch_d10v,
   bfd_mach_d10v,
   "d10v",
   "d10v",
-  4, 	/* Section alignment power.  */
+  4,
   TRUE,
   bfd_default_compatible,
   bfd_default_scan,
diff --git a/bfd/elf.c b/bfd/elf.c
index 5ec92e9..fe5f19f 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -6110,7 +6110,7 @@ _bfd_elf_init_private_section_data (bfd *ibfd,
       && (osec->flags == isec->flags
 	  || (final_link
 	      && ((osec->flags ^ isec->flags)
-		  & ~ (SEC_LINK_ONCE | SEC_LINK_DUPLICATES)) == 0)))
+		  & ~(SEC_LINK_ONCE | SEC_LINK_DUPLICATES | SEC_RELOC)) == 0)))
     elf_section_type (osec) = elf_section_type (isec);
 
   /* FIXME: Is this correct for all OS/PROC specific flags?  */
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 74fb855..2125582 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -9063,7 +9063,7 @@ elf32_arm_relocate_section (bfd *                  output_bfd,
 	    name = bfd_section_name (input_bfd, sec);
 	}
 
-      if (r_symndx != 0
+      if (r_symndx != STN_UNDEF
 	  && r_type != R_ARM_NONE
 	  && (h == NULL
 	      || h->root.type == bfd_link_hash_defined
@@ -10902,7 +10902,7 @@ elf32_arm_check_relocs (bfd *abfd, struct bfd_link_info *info,
 	  /* PR 9934: It is possible to have relocations that do not
 	     refer to symbols, thus it is also possible to have an
 	     object file containing relocations but no symbol table.  */
-	  && (r_symndx > 0 || nsyms > 0))
+	  && (r_symndx > STN_UNDEF || nsyms > 0))
 	{
 	  (*_bfd_error_handler) (_("%B: bad symbol index: %d"), abfd,
 				   r_symndx);
diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c
index 71634c9..f3ed80d 100644
--- a/bfd/elf32-cris.c
+++ b/bfd/elf32-cris.c
@@ -1493,7 +1493,7 @@ cris_elf_relocate_section (bfd *output_bfd ATTRIBUTE_UNUSED,
 	case R_CRIS_16:
 	case R_CRIS_32:
 	  if (info->shared
-	      && r_symndx != 0
+	      && r_symndx != STN_UNDEF
 	      && (input_section->flags & SEC_ALLOC) != 0
 	      && ((r_type != R_CRIS_8_PCREL
 		   && r_type != R_CRIS_16_PCREL
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index 1a6fef8..3a3a355 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -4472,7 +4472,7 @@ static enum elf_reloc_type_class
 elf32_hppa_reloc_type_class (const Elf_Internal_Rela *rela)
 {
   /* Handle TLS relocs first; we don't want them to be marked
-     relative by the "if (ELF32_R_SYM (rela->r_info) == 0)"
+     relative by the "if (ELF32_R_SYM (rela->r_info) == STN_UNDEF)"
      check below.  */
   switch ((int) ELF32_R_TYPE (rela->r_info))
     {
@@ -4482,7 +4482,7 @@ elf32_hppa_reloc_type_class (const Elf_Internal_Rela *rela)
         return reloc_class_normal;
     }
 
-  if (ELF32_R_SYM (rela->r_info) == 0)
+  if (ELF32_R_SYM (rela->r_info) == STN_UNDEF)
     return reloc_class_relative;
 
   switch ((int) ELF32_R_TYPE (rela->r_info))
diff --git a/bfd/elf32-i370.c b/bfd/elf32-i370.c
index 67e6598..01f9fb8 100644
--- a/bfd/elf32-i370.c
+++ b/bfd/elf32-i370.c
@@ -1183,7 +1183,7 @@ i370_elf_relocate_section (bfd *output_bfd,
 	case (int) R_I370_ADDR31:
 	case (int) R_I370_ADDR16:
 	  if (info->shared
-	      && r_symndx != 0)
+	      && r_symndx != STN_UNDEF)
 	    {
 	      Elf_Internal_Rela outrel;
 	      bfd_byte *loc;
diff --git a/bfd/elf32-m32r.c b/bfd/elf32-m32r.c
index 28eff76..3df6add 100644
--- a/bfd/elf32-m32r.c
+++ b/bfd/elf32-m32r.c
@@ -2897,7 +2897,7 @@ m32r_elf_relocate_section (bfd *output_bfd ATTRIBUTE_UNUSED,
             case R_M32R_HI16_ULO_RELA:
             case R_M32R_LO16_RELA:
               if (info->shared
-                  && r_symndx != 0
+                  && r_symndx != STN_UNDEF
                   && (input_section->flags & SEC_ALLOC) != 0
                   && ((   r_type != R_M32R_10_PCREL_RELA
                        && r_type != R_M32R_18_PCREL_RELA
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index 7323612..8d1ee7f 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -4034,7 +4034,7 @@ elf_m68k_relocate_section (output_bfd, info, input_bfd, input_section,
 	case R_68K_PC16:
 	case R_68K_PC32:
 	  if (info->shared
-	      && r_symndx != 0
+	      && r_symndx != STN_UNDEF
 	      && (input_section->flags & SEC_ALLOC) != 0
 	      && (h == NULL
 		  || ELF_ST_VISIBILITY (h->other) == STV_DEFAULT
@@ -4169,7 +4169,7 @@ elf_m68k_relocate_section (output_bfd, info, input_bfd, input_section,
 	  return FALSE;
 	}
 
-      if (r_symndx != 0
+      if (r_symndx != STN_UNDEF
 	  && r_type != R_68K_NONE
 	  && (h == NULL
 	      || h->root.type == bfd_link_hash_defined
diff --git a/bfd/elf32-microblaze.c b/bfd/elf32-microblaze.c
index a64926a..e260c55 100644
--- a/bfd/elf32-microblaze.c
+++ b/bfd/elf32-microblaze.c
@@ -1067,10 +1067,10 @@ microblaze_elf_relocate_section (bfd *output_bfd,
 	    case (int) R_MICROBLAZE_64:
 	    case (int) R_MICROBLAZE_32:
 	      {
-		/* r_symndx will be zero only for relocs against symbols
+		/* r_symndx will be STN_UNDEF (zero) only for relocs against symbols
 		   from removed linkonce sections, or sections discarded by
 		   a linker script.  */
-		if (r_symndx == 0 || (input_section->flags & SEC_ALLOC) == 0)
+		if (r_symndx == STN_UNDEF || (input_section->flags & SEC_ALLOC) == 0)
 		  {
 		    relocation += addend;
 		    if (r_type == R_MICROBLAZE_32)
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index ef0e159..2b457d6 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -6985,9 +6985,9 @@ ppc_elf_relocate_section (bfd *output_bfd,
 			if (local_sections[r_symndx] == sec)
 			  break;
 		      if (r_symndx >= symtab_hdr->sh_info)
-			r_symndx = 0;
+			r_symndx = STN_UNDEF;
 		      rel->r_addend = htab->elf.tls_sec->vma + DTP_OFFSET;
-		      if (r_symndx != 0)
+		      if (r_symndx != STN_UNDEF)
 			rel->r_addend -= (local_syms[r_symndx].st_value
 					  + sec->output_offset
 					  + sec->output_section->vma);
@@ -7053,9 +7053,9 @@ ppc_elf_relocate_section (bfd *output_bfd,
 		if (local_sections[r_symndx] == sec)
 		  break;
 	      if (r_symndx >= symtab_hdr->sh_info)
-		r_symndx = 0;
+		r_symndx = STN_UNDEF;
 	      rel->r_addend = htab->elf.tls_sec->vma + DTP_OFFSET;
-	      if (r_symndx != 0)
+	      if (r_symndx != STN_UNDEF)
 		rel->r_addend -= (local_syms[r_symndx].st_value
 				  + sec->output_offset
 				  + sec->output_section->vma);
@@ -7658,7 +7658,7 @@ ppc_elf_relocate_section (bfd *output_bfd,
 			     sym_name);
 			  ret = FALSE;
 			}
-		      else if (r_symndx == 0 || bfd_is_abs_section (sec))
+		      else if (r_symndx == STN_UNDEF || bfd_is_abs_section (sec))
 			;
 		      else if (sec == NULL || sec->owner == NULL)
 			{
diff --git a/bfd/elf32-score.c b/bfd/elf32-score.c
index f1f1aae..fec177a 100644
--- a/bfd/elf32-score.c
+++ b/bfd/elf32-score.c
@@ -2126,7 +2126,7 @@ score_elf_final_link_relocate (reloc_howto_type *howto,
                && h != NULL
                && h->root.def_dynamic
                && !h->root.def_regular))
-           && r_symndx != 0
+           && r_symndx != STN_UNDEF
            && (input_section->flags & SEC_ALLOC) != 0)
         {
           /* If we're creating a shared library, or this relocation is against a symbol
@@ -2139,8 +2139,8 @@ score_elf_final_link_relocate (reloc_howto_type *howto,
                                                     input_section))
             return bfd_reloc_undefined;
         }
-      else if (r_symndx == 0)
-        /* r_symndx will be zero only for relocs against symbols
+      else if (r_symndx == STN_UNDEF)
+        /* r_symndx will be STN_UNDEF (zero) only for relocs against symbols
            from removed linkonce sections, or sections discarded by
            a linker script.  */
         value = 0;
diff --git a/bfd/elf32-score7.c b/bfd/elf32-score7.c
index 85ce236..f780e56 100644
--- a/bfd/elf32-score7.c
+++ b/bfd/elf32-score7.c
@@ -2025,7 +2025,7 @@ score_elf_final_link_relocate (reloc_howto_type *howto,
                && h != NULL
                && h->root.def_dynamic
                && !h->root.def_regular))
-           && r_symndx != 0
+           && r_symndx != STN_UNDEF
            && (input_section->flags & SEC_ALLOC) != 0)
         {
           /* If we're creating a shared library, or this relocation is against a symbol
@@ -2038,8 +2038,8 @@ score_elf_final_link_relocate (reloc_howto_type *howto,
                                                     input_section))
             return bfd_reloc_undefined;
         }
-      else if (r_symndx == 0)
-        /* r_symndx will be zero only for relocs against symbols
+      else if (r_symndx == STN_UNDEF)
+        /* r_symndx will be STN_UNDEF (zero) only for relocs against symbols
            from removed linkonce sections, or sections discarded by
            a linker script.  */
         value = 0;
diff --git a/bfd/elf32-sh.c b/bfd/elf32-sh.c
index 023ed7e..4937643 100644
--- a/bfd/elf32-sh.c
+++ b/bfd/elf32-sh.c
@@ -4405,7 +4405,7 @@ sh_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
 	      && (h == NULL
 		  || ELF_ST_VISIBILITY (h->other) == STV_DEFAULT
 		  || h->root.type != bfd_link_hash_undefweak)
-	      && r_symndx != 0
+	      && r_symndx != STN_UNDEF
 	      && (input_section->flags & SEC_ALLOC) != 0
 	      && !is_vxworks_tls
 	      && (r_type == R_SH_DIR32
diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c
index 3815ff1..ed3d3d9 100644
--- a/bfd/elf32-tic6x.c
+++ b/bfd/elf32-tic6x.c
@@ -1348,6 +1348,31 @@ elf32_tic6x_set_use_rela_p (bfd *abfd, bfd_boolean use_rela_p)
 }
 
 static bfd_boolean
+elf32_tic6x_fake_sections (bfd *abfd,
+			   Elf_Internal_Shdr *hdr ATTRIBUTE_UNUSED,
+			   asection *sec)
+{
+  /* The generic elf_fake_sections will set up REL_HDR using the
+     default kind of relocations.  But, we may actually need both
+     kinds of relocations, so we set up the second header here.  */
+  if ((sec->flags & SEC_RELOC) != 0)
+    {
+      struct bfd_elf_section_data *esd;
+      bfd_size_type amt = sizeof (Elf_Internal_Shdr);
+
+      esd = elf_section_data (sec);
+      BFD_ASSERT (esd->rel_hdr2 == NULL);
+      esd->rel_hdr2 = bfd_zalloc (abfd, amt);
+      if (!esd->rel_hdr2)
+        return FALSE;
+      _bfd_elf_init_reloc_shdr (abfd, esd->rel_hdr2, sec,
+                                !sec->use_rela_p);
+    }
+
+  return TRUE;
+}
+
+static bfd_boolean
 elf32_tic6x_mkobject (bfd *abfd)
 {
   bfd_boolean ret;
@@ -1765,6 +1790,7 @@ elf32_tic6x_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
 #define elf_backend_default_use_rela_p	1
 #define elf_backend_may_use_rel_p	1
 #define elf_backend_may_use_rela_p	1


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [SCM]  archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints
@ 2010-09-20 12:36 pmuldoon
  0 siblings, 0 replies; 26+ messages in thread
From: pmuldoon @ 2010-09-20 12:36 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  ce008365f446a6294aef76cb09f184105ccb5690 (commit)
       via  537e20cf693b1dc7723d036d85fbc014cfa2cad8 (commit)
       via  998a835316aca40a3df80a9991fd73b802cbe50f (commit)
       via  7b7b712ff734469249d45c6cc98146f10d45a16a (commit)
       via  8365ae81b6bc04f6aa0f6b159324ad410fcde9e1 (commit)
       via  c7465b74e0390c3561c74222075347b70b656e80 (commit)
       via  8fc8ce88b9e5d37fd7d56d6316befe8d0b34934e (commit)
       via  6bf0f2b7d2a68e073be94bea605df7d8de208e7e (commit)
       via  ba28cdd5101969ea7cfd37beb751ba4b16cd9b5d (commit)
       via  b14ca9d327450399370cd8eed3443feeb1373de5 (commit)
       via  cb6b882dbc1402600f7d5d651ff3e1df151de886 (commit)
       via  780f02f612dece92f3f88fbccf30b6cd4762da2c (commit)
       via  b3be260c7c271e8040c28f1ef613f8b17b2558d6 (commit)
       via  8d61ca616c147122a84210098a56d5ccc717fd20 (commit)
       via  0a4da4bd5cb49f922ecc723bfdd6d5fd654e17cb (commit)
       via  cf7b7b38fd5f32865f0c91d1b6f929c08e04ff0a (commit)
       via  e884cc5b62f170280dd49a35793bb516d95e7d8d (commit)
       via  6ab8c51073a44168a14e41f7c5d590096d1e595d (commit)
       via  7ec6b44ca25a6d438e2d7e0afed2c60dc3c4a6e7 (commit)
       via  b286d112086a57f79a8f99f35603ad8d1ec941e4 (commit)
       via  97b83d6b602057bc8f7a19deb9f73ca79bc360ac (commit)
       via  6b2534a30ca06e71cce484bce81b81deca7fb961 (commit)
       via  cf7740d1f850789e09a5721f5346b0c728afb0e6 (commit)
       via  a5ca68f1382731e7116470550bf72ea41b0ad29c (commit)
       via  562fabbaa40fe9e601eddc2e0ab3c8cc615cf9a3 (commit)
       via  8e041785876903fcba2a5b910364355418e20080 (commit)
       via  9952a7464b8327d03c12dd338e95abff0f020675 (commit)
       via  2b79a82a5aeff8a7bff82c4b87cf0cfc93f65fef (commit)
       via  7928c19c95e1b231d54b54a9d7f1561351a896d4 (commit)
       via  2b30eb2c73bd6e3e90395810f7cec50eab0e3924 (commit)
       via  c150a650f5dca644a1429021bc1383a41729a21a (commit)
       via  7af29a1c682299ffdbc0fe45bdf3e8cb452ca40b (commit)
       via  95043b5295b1c6a3d9ddae522c555abb5a9eaf63 (commit)
       via  80e7c8457cb26d08bc9666bd2c8ea6345ebfde06 (commit)
       via  064df19323c9f55c65f71212acc36fc0ca96d922 (commit)
       via  af8bd20c28872e99508947450db56881d94477e9 (commit)
       via  21e870a935598a2731a54fbfeb57293a15dd4c76 (commit)
       via  d6e3db8d9c3ede1e602885a843d8ada8a94ad498 (commit)
       via  2ffd25c5ace6a94e958467bbf04fbd7e81ca7373 (commit)
       via  dde65f0a6260392383d4026ea333ae9b3d78f785 (commit)
       via  8da7c5d9803d592e1c8cd7d2ef0c1f98aac85653 (commit)
       via  794d06ab231d8e817263d3a150537be5ee7b4e08 (commit)
       via  8621e6dd5d4e09a1135bed0422589940ff698e98 (commit)
       via  2a02d41a75e820ac0b188ce1cac5d6d3b839a829 (commit)
       via  78cca33bcd7e04a61989f45d06b400c9e7738a5e (commit)
       via  c98c00243d8e75b8d2270fb498a3e67051703cd5 (commit)
       via  75340462b9828c45502f4f32ca2b85569c4dc596 (commit)
       via  0beaf39b06501a444f7889f6faf111328d4bff50 (commit)
       via  f9323c693b69235720f629a3362839ed03e2c812 (commit)
       via  a4b255aef270c6827d402671b1869e43e77623b7 (commit)
       via  c29c1e6bd34573233b7a0f511f12a9b0f3a6f5b1 (commit)
       via  649178bdab0fb4110252339e1ed18d238a94596b (commit)
       via  1eac8800a137cb937257b2d9bce01d943eb68378 (commit)
       via  efcb744ec1fabfcde357b03f0e202b7c323c3145 (commit)
       via  58eb7227e73fcad96dc7ba7359b733bcaab8eb10 (commit)
       via  b13bd6996bbef8e41187ce35d9e4df3e735104d6 (commit)
       via  4931291da074cb6c3fefe875856d6d4df8b2ff9b (commit)
       via  a32c9b2b5d7ea3f6e41d5f511c784bd42589e83f (commit)
       via  b7b39aa45195dea276d2452fcae2ccd3f6107345 (commit)
       via  e5d232941da2c8502b1c9d3541bc40df84ec5132 (commit)
       via  b42ed799fa280967003c0abff633b8c5d9921353 (commit)
       via  eca57139b5a7c4619021c0f0610ecf252721cee8 (commit)
       via  63af819489d07814068aa2b1aa60ca728345807e (commit)
       via  81333092777154d9253a19b8a921438d6947e51b (commit)
       via  4eb54660ebf77c7400240600845a6193c11822ec (commit)
       via  f0693f918e2626ad6f0aadec0178a72b6cc1eac5 (commit)
       via  172fd2400ce2a6e40daf416d344bcd8b97b4467c (commit)
       via  b2147050b6428dfc5d36e198f89fdc370209edf8 (commit)
       via  fae9ee2010239a1bbf1faa12113213c2b3cfc054 (commit)
       via  dfba873caef40585f45ed92a91697335fde0b853 (commit)
       via  5ffd042d12b93325b2c6b82b8743a1111c6f8e5b (commit)
       via  6bf40536020ec51fdb58f03f738f88644ab3fdf4 (commit)
       via  b6c7ffa5df5c5e34d4497dfc1e40483f5afab455 (commit)
       via  78cd501a87590d746bda84811532749d49a67562 (commit)
       via  2af34d77acf96a4cb2951fdda1b9b4864c4ff733 (commit)
       via  a1a754aea707cfb6148fdcff3ae78ebeb005006f (commit)
       via  f5be9a8466d0499543f3756e825faf9494497ba6 (commit)
       via  e522eaf70046621bc29e6b30ccbf203280becc88 (commit)
       via  53ba8685cc752ac2066ba194125ad2d8939c3cc5 (commit)
       via  22ad12f7f90df1c90b8280c4e9ffb9ac21dd789f (commit)
       via  afe3ce56dd48efa8966e98e0ffa2db2b0427f78e (commit)
       via  2bdb5783033a1325f694b0c01be7b4caa1f493bf (commit)
       via  56354196db007fccf3eed8e9c9403159c55be0e0 (commit)
       via  747f7e9df785f444a167e2752939089b05401bab (commit)
       via  80edb32c43e8e9654a16ffc3ffd84f1b8e0411dc (commit)
       via  b9bf903b95ab949bd703aea23f84cbd18e7bd2db (commit)
       via  22c20a83d07c1603b4ee955f6c2a0f3d57bb4fcc (commit)
       via  0895467655dce00f8bf0fb6620f50b84fa1b918b (commit)
       via  0abde5838f2d334c9b49fc7206ad20dcdd1a49de (commit)
       via  126951c7ed7dc1eef4ce9a24b1515e1c5c1d3d0a (commit)
       via  4629f9eb136fc5d1f2804c5ff6759e67408c538d (commit)
       via  a9baaa9fc07d5682a8079889a3d42cd1caa17519 (commit)
       via  05b3e3b5f9dffb34f8e6fe18ab082a4da58168ac (commit)
       via  da56528adb0ef748d7e7759ec239b9e1b4673830 (commit)
       via  7d5da991c5d3790da730efc51ec51d71bcd495a8 (commit)
       via  7d0505f3d58ccee53fafafe6da66a3ed26b82445 (commit)
       via  6dfd9363589fcd4133fc30cc0b9f2e079b32089f (commit)
       via  73db14c7fe07a0f844624b8d1996faed42be0366 (commit)
       via  ec14aa826e7db7b536b2d6e82cfa665b181919a2 (commit)
       via  24389a4f7a09961589500df6f35245abe07a8f75 (commit)
       via  08bcb2306f779b29b70a9cafa22a484c69b1f856 (commit)
       via  7696d299cfda2989a7f1433a78177e76c790598d (commit)
       via  cc41ac37eb8ed6f04c33ec58106bbfd650aea076 (commit)
       via  67c667d0c2f0d08be7fc9b36812c5e7ca250ab49 (commit)
       via  9cf83751346a81e36ebcb92135dbd027f8b0b7b5 (commit)
       via  4fdce7c6d4d6f6b4dfdbe97316bc78a90ed4b9d4 (commit)
       via  270ec63e582ad67c85a25643b2ebbe8877cd0ffd (commit)
       via  6f8fa8a818f3cc7ca3e31afdef8e6deefce5adea (commit)
       via  1f292c13c2599afe7bec2ccdb043c68bdd266273 (commit)
       via  6b9b9329b3b8fb99fc3f5e28e9f2b183e3ee4152 (commit)
       via  848579dd6ecd525cdc3fd65c85877053a5c433f1 (commit)
       via  d08e665b36015ad641b0f2abb9ef4239962a4b4b (commit)
       via  251b6e1a7421a6dc44ab00893d0830c5afdef675 (commit)
      from  e14112c9f7208ec91f538c791d438a2385028068 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit ce008365f446a6294aef76cb09f184105ccb5690
Merge: e14112c 537e20c
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Sep 20 13:36:33 2010 +0100

    Merge branch 'master' into archer-pmuldoon-python-breakpoints

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                      |  111 +++++++
 bfd/elf.c                                          |    8 +-
 bfd/elf32-spu.c                                    |   20 +-
 bfd/elflink.c                                      |    8 +-
 bfd/elfxx-mips.c                                   |  198 ++++++------
 bfd/pe-x86_64.c                                    |    6 +-
 bfd/peXXigen.c                                     |  143 +++++----
 bfd/pei-x86_64.c                                   |  201 +++++++-----
 bfd/plugin.c                                       |   25 +-
 bfd/version.h                                      |    2 +-
 config/ChangeLog                                   |   15 +
 config/bootstrap-lto.mk                            |    4 +-
 config/dfp.m4                                      |    9 +-
 gdb/ChangeLog                                      |  236 ++++++++++++++
 gdb/MAINTAINERS                                    |    1 +
 gdb/Makefile.in                                    |    2 +-
 gdb/NEWS                                           |    3 +-
 gdb/alpha-mdebug-tdep.c                            |    2 +-
 gdb/amd64-tdep.c                                   |   15 -
 gdb/breakpoint.c                                   |    2 +-
 gdb/c-exp.y                                        |    1 +
 gdb/charset.c                                      |   20 +-
 gdb/cli/cli-logging.c                              |    6 +
 gdb/coffread.c                                     |    2 +-
 gdb/common/signals.c                               |    4 +-
 gdb/corelow.c                                      |   21 +-
 gdb/defs.h                                         |    4 +
 gdb/doc/ChangeLog                                  |   10 +
 gdb/doc/gdb.texinfo                                |    7 +-
 gdb/dwarf2-frame.h                                 |    4 -
 gdb/dwarf2loc.c                                    |    7 +-
 gdb/dwarf2read.c                                   |  136 ++++-----
 gdb/event-top.c                                    |    2 +
 gdb/fork-child.c                                   |    2 +-
 gdb/gcore.c                                        |    3 +-
 gdb/gdb_wchar.h                                    |   58 +++-
 gdb/gdbserver/ChangeLog                            |   42 +++
 gdb/gdbserver/Makefile.in                          |    2 +-
 gdb/gdbserver/configure                            |   34 ++-
 gdb/gdbserver/configure.ac                         |   28 ++-
 gdb/gdbserver/configure.srv                        |    4 +
 gdb/gdbserver/linux-low.c                          |    8 +-
 gdb/gdbserver/lynx-i386-low.c                      |  319 +++++++++++++++++++
 gdb/gdbserver/lynx-low.c                           |   42 +---
 gdb/gdbserver/lynx-ppc-low.c                       |    2 +-
 gdb/gdbserver/server.c                             |    8 +-
 gdb/gdbserver/target.c                             |    2 +-
 gdb/gdbserver/tracepoint.c                         |    3 -
 gdb/gdbtypes.c                                     |    2 +-
 gdb/gnu-v3-abi.c                                   |    6 +-
 gdb/hppa-tdep.c                                    |    2 +-
 gdb/i386-tdep.c                                    |   10 +-
 gdb/i386-tdep.h                                    |    1 -
 gdb/infrun.c                                       |   28 ++-
 gdb/linux-nat.c                                    |   16 +-
 gdb/m32r-rom.c                                     |    2 +-
 gdb/mi/mi-cmd-stack.c                              |   54 +++-
 gdb/monitor.c                                      |    8 +-
 gdb/psympriv.h                                     |   26 ++-
 gdb/psymtab.c                                      |   82 +++---
 gdb/remote-m32r-sdi.c                              |    6 +-
 gdb/symfile.h                                      |   54 +---
 gdb/symtab.c                                       |  167 ++---------
 gdb/symtab.h                                       |    4 -
 gdb/testsuite/ChangeLog                            |   87 +++++
 gdb/testsuite/gdb.base/break-interp.exp            |   15 +-
 gdb/testsuite/gdb.base/maint.exp                   |   18 +-
 gdb/testsuite/gdb.base/printcmds.exp               |   15 +-
 gdb/testsuite/gdb.base/sigall.exp                  |    4 +-
 gdb/testsuite/gdb.cp/koenig.cc                     |   14 +
 gdb/testsuite/gdb.cp/koenig.exp                    |   11 +
 gdb/testsuite/gdb.cp/templates.cc                  |   32 ++-
 gdb/testsuite/gdb.cp/templates.exp                 |   11 +
 gdb/testsuite/gdb.java/jv-print.exp                |   17 +-
 gdb/testsuite/gdb.mi/dw2-ref-missing-frame-func.c  |   54 ++++
 gdb/testsuite/gdb.mi/dw2-ref-missing-frame-main.c  |   40 +++
 gdb/testsuite/gdb.mi/dw2-ref-missing-frame.S       |  165 ++++++++++
 gdb/testsuite/gdb.mi/dw2-ref-missing-frame.exp     |   77 +++++
 gdb/testsuite/gdb.objc/print.exp                   |   17 +-
 gdb/testsuite/gdb.pascal/print.exp                 |   17 +-
 gdb/testsuite/gdb.python/python.exp                |    6 +
 gdb/testsuite/gdb.threads/threxit-hop-specific.exp |    2 +-
 gdb/testsuite/gdb.threads/tls.c                    |   20 +-
 gdb/testsuite/gdb.threads/tls.exp                  |   10 +-
 gdb/top.c                                          |   13 +-
 gdb/tui/tui-io.c                                   |    2 +
 gdb/utils.c                                        |   20 ++
 gdb/v850-tdep.c                                    |    2 +-
 gdb/value.c                                        |   12 +-
 gdb/version.in                                     |    2 +-
 gdb/xtensa-tdep.c                                  |    9 +-
 include/ChangeLog                                  |    4 +
 include/dwarf2.h                                   |    1 +
 include/gdb/ChangeLog                              |    5 +
 include/gdb/signals.def                            |  150 +++++-----
 include/gdb/signals.h                              |    3 -
 libdecnumber/ChangeLog                             |   25 ++
 libdecnumber/Makefile.in                           |   31 +-
 libdecnumber/configure                             |   16 +-
 libdecnumber/configure.ac                          |    3 +
 libiberty/ChangeLog                                |   44 +++
 libiberty/Makefile.in                              |  330 ++++++++++----------
 libiberty/configure                                |    8 +-
 libiberty/configure.ac                             |    8 +-
 libiberty/cp-demangle.c                            |    1 +
 libiberty/maint-tool                               |    4 +-
 libiberty/testsuite/demangle-expected              |    5 +
 opcodes/ChangeLog                                  |   14 +
 opcodes/arm-dis.c                                  |    1 +
 opcodes/dlx-dis.c                                  |   22 +-
 opcodes/mips-opc.c                                 |    5 +
 111 files changed, 2547 insertions(+), 1085 deletions(-)
 create mode 100644 gdb/gdbserver/lynx-i386-low.c
 create mode 100644 gdb/testsuite/gdb.mi/dw2-ref-missing-frame-func.c
 create mode 100644 gdb/testsuite/gdb.mi/dw2-ref-missing-frame-main.c
 create mode 100644 gdb/testsuite/gdb.mi/dw2-ref-missing-frame.S
 create mode 100644 gdb/testsuite/gdb.mi/dw2-ref-missing-frame.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 26d45ff..545c603 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,114 @@
+2010-09-19  Richard Sandiford  <rdsandiford@googlemail.com>
+
+	* elfxx-mips.c (mips_elf_link_hash_entry): Add got_only_for_calls.
+	(mips_elf_link_hash_newfunc): Initialize it.
+	(mips_elf_record_global_got_symbol): Add a for_call parameter.
+	(mips_elf_count_got_symbols): Check SYMBOL_CALLS_LOCAL rather
+	than SYMBOL_REFERENCES_LOCAL if the GOT entry is only used for calls.
+	Try to remove .got entries in favour of .got.plt entries on VxWorks.
+	(_bfd_mips_elf_check_relocs): Do not try to avoid allocating
+	a global GOT entry for VxWorks calls.  Update uses of
+	mips_elf_record_global_got_symbol.
+	(allocate_dynrelocs): Set got_only_for_calls to false if the GOT
+	entry is used for dynamic relocations.
+
+2010-09-19  Richard Sandiford  <rdsandiford@googlemail.com>
+
+	* elfxx-mips.c (mips_got_entry): Adjust commentary.
+	(mips_elf_create_local_got_entry): If given a symbol, check that it
+	has been assigned to the local part of the GOT.
+	(mips_elf_count_got_symbols): Take the bfd_link_info as argument
+	instead of the master GOT.  Put all locally-binding symbols in
+	the local area.
+	(mips_elf_make_got_per_bfd): Use global_got_area to decide whether
+	a symbol lives in the local or global area.
+	(mips_elf_local_relocation_p): Remove check_forced argument and
+	retain only the !check_forced behavior.
+	(mips_elf_calculate_relocation): Adjust call accordingly.
+	Use global_got_area to decide whether an output relocation
+	should be local or global.  Explicitly decay R_MIPS_GOT_PAGE
+	into R_MIPS_GOT_DISP where appropriate.  Fix selection of
+	local vs. global semantics for R_MIPS*_26.  Remove redundant
+	reevaluation of what is stored in was_local_p.
+	(mips_elf_create_dynamic_relocation): Use global_got_area to decide
+	whether the relocation should be against a global or local symbol.
+	(mips_elf_lay_out_got): Update the GOT traversal after the above
+	change to mips_elf_count_got_symbols.
+	(mips_elf_adjust_addend): Adjust call to mips_elf_local_relocation_p.
+	(_bfd_mips_elf_relocate_section): Likewise.
+	(_bfd_mips_elf_finish_dynamic_symbol): Use global_got_area to decide
+	whether the symbol has a global got entry.
+	(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
+
+2010-09-19  Richard Sandiford  <rdsandiford@googlemail.com>
+
+	* elfxx-mips.c (allocate_dynrelocs): Don't add relocation symbols
+	to the global GOT on VxWorks.
+
+2010-09-19  Richard Sandiford  <rdsandiford@googlemail.com>
+
+	* elfxx-mips.c (_bfd_mips_elf_check_relocs): On VxWorks,
+	exclude __GOTT_BASE__ and __GOTT_INDEX__ from the warning
+	about HI/LO relocations in shared objects.
+
+2010-09-16  Alan Modra  <amodra@gmail.com>
+
+	* elf32-spu.c (spu_elf_size_sections): Omit fixups for non-alloc
+	sections.
+	(spu_elf_create_sections): Mark .fixup with SEC_LINKER_CREATED and
+	set dynobj.
+	(spu_elf_finish_dynamic_sections): New function.
+	(elf_backend_finish_dynamic_sections): Define.
+
+2010-09-16  Alan Modra  <amodra@gmail.com>
+
+	* elf.c (bfd_elf_get_default_section_type): Don't test SEC_NEVER_LOAD.
+	* elflink.c (elf_link_input_bfd): Likewise.
+
+2010-09-15  Kai Tietz  <kai.tietz@onevision.com>
+
+	* 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-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR binutils/12004
+	* plugin.c (bfd_plugin_object_p): Handle NULL iostream.
+
+2010-09-14  Kai Tietz  <kai.tietz@onevision.com>
+
+	* pe-x86_64.c (COFF_SECTION_ALIGNMENT_ENTRIES): Make
+	.rdata, .data, and .text partial matched section names.
+	* pei-x86_64.c: Likewise.
+
+	* peXXigen.c (sort_x64_pdata): New helper.
+	(_bfd_XXi_final_link_postscript): Do pdata sorting.
+
+2010-09-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/11998
+	* elf.c (assign_file_positions_for_load_sections): Don't warn
+	zero LMA adjustment.
+
+2010-09-09  Bernd Schmidt  <bernds@codesourcery.com>
+
+	bfd/
+	* elflink.c (bfd_elf_final_link): Correct calculation of
+	max_external_reloc_size.
+
+2010-09-07  Alan Modra  <amodra@gmail.com>
+	    Marcus Brinkmann  <marcus.brinkmann@ruhr-uni-bochum.de>
+
+	* peXXigen.c: Whitespace.
+	(pe_print_idata): Correct section limit calculations.  Tidy array
+	indexing.
+	(_bfd_XX_print_ce_compressed_pdata): Don't leak memory.
+
 2010-09-02  Richard Henderson  <rth@redhat.com>
 
 	* config.bfd (x86_64-*-mingw*): Select 32-bit pei vectors too.
diff --git a/bfd/elf.c b/bfd/elf.c
index c9e9fab..5ec92e9 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2452,8 +2452,7 @@ int
 bfd_elf_get_default_section_type (flagword flags)
 {
   if ((flags & SEC_ALLOC) != 0
-      && ((flags & (SEC_LOAD | SEC_HAS_CONTENTS)) == 0
-	  || (flags & SEC_NEVER_LOAD) != 0))
+      && (flags & (SEC_LOAD | SEC_HAS_CONTENTS)) == 0)
     return SHT_NOBITS;
   return SHT_PROGBITS;
 }
@@ -4481,8 +4480,9 @@ assign_file_positions_for_load_sections (bfd *abfd,
 	      bfd_vma s_start = sec->lma;
 	      bfd_vma adjust = s_start - p_end;
 
-	      if (s_start < p_end
-		  || p_end < p_start)
+	      if (adjust != 0
+		  && (s_start < p_end
+		      || p_end < p_start))
 		{
 		  (*_bfd_error_handler)
 		    (_("%B: section %A lma %#lx adjusted to %#lx"), abfd, sec,
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c
index 8615e46..b1ea43c 100644
--- a/bfd/elf32-spu.c
+++ b/bfd/elf32-spu.c
@@ -602,9 +602,12 @@ spu_elf_create_sections (struct bfd_link_info *info)
     {
       asection *s;
       flagword flags;
-      ibfd = info->input_bfds;
-      flags = SEC_LOAD | SEC_ALLOC | SEC_READONLY | SEC_HAS_CONTENTS
-	      | SEC_IN_MEMORY;
+
+      if (htab->elf.dynobj == NULL)
+	htab->elf.dynobj = ibfd;
+      ibfd = htab->elf.dynobj;
+      flags = (SEC_LOAD | SEC_ALLOC | SEC_READONLY | SEC_HAS_CONTENTS
+	       | SEC_IN_MEMORY | SEC_LINKER_CREATED);
       s = bfd_make_section_anyway_with_flags (ibfd, ".fixup", flags);
       if (s == NULL || !bfd_set_section_alignment (ibfd, s, 2))
 	return FALSE;
@@ -5096,6 +5099,13 @@ spu_elf_relocate_section (bfd *output_bfd,
   return ret;
 }
 
+static bfd_boolean
+spu_elf_finish_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED,
+				 struct bfd_link_info *info ATTRIBUTE_UNUSED)
+{
+  return TRUE;
+}
+
 /* Adjust _SPUEAR_ syms to point at their overlay stubs.  */
 
 static int
@@ -5402,7 +5412,8 @@ spu_elf_size_sections (bfd * output_bfd, struct bfd_link_info *info)
 
 	      /* If there aren't any relocs, then there's nothing more
 	         to do.  */
-	      if ((isec->flags & SEC_RELOC) == 0
+	      if ((isec->flags & SEC_ALLOC) == 0
+		  || (isec->flags & SEC_RELOC) == 0
 		  || isec->reloc_count == 0)
 		continue;
 
@@ -5457,6 +5468,7 @@ spu_elf_size_sections (bfd * output_bfd, struct bfd_link_info *info)
 #define elf_info_to_howto			spu_elf_info_to_howto
 #define elf_backend_count_relocs		spu_elf_count_relocs
 #define elf_backend_relocate_section		spu_elf_relocate_section
+#define elf_backend_finish_dynamic_sections	spu_elf_finish_dynamic_sections
 #define elf_backend_symbol_processing		spu_elf_backend_symbol_processing
 #define elf_backend_link_output_symbol_hook	spu_elf_output_symbol_hook
 #define elf_backend_object_p			spu_elf_object_p
diff --git a/bfd/elflink.c b/bfd/elflink.c
index dd48c74..4351e28 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -2829,7 +2829,7 @@ _bfd_elf_dynamic_symbol_p (struct elf_link_hash_entry *h,
 /* Return true if the symbol referred to by H should be considered
    to resolve local to the current module, and false otherwise.  Differs
    from (the inverse of) _bfd_elf_dynamic_symbol_p in the treatment of
-   undefined symbols.  The two functions are vitually identical except
+   undefined symbols.  The two functions are virtually identical except
    for the place where forced_local and dynindx == -1 are tested.  If
    either of those tests are true, _bfd_elf_dynamic_symbol_p will say
    the symbol is local, while _bfd_elf_symbol_refs_local_p will say
@@ -9843,7 +9843,6 @@ elf_link_input_bfd (struct elf_final_link_info *finfo, bfd *input_bfd)
 	  {
 	    /* FIXME: octets_per_byte.  */
 	    if (! (o->flags & SEC_EXCLUDE)
-		&& ! (o->output_section->flags & SEC_NEVER_LOAD)
 		&& ! bfd_set_section_contents (output_bfd, o->output_section,
 					       contents,
 					       (file_ptr) o->output_offset,
@@ -10360,7 +10359,10 @@ bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info)
 		    {
 		      size_t ext_size;
 
-		      ext_size = elf_section_data (sec)->rel_hdr.sh_size;
+		      ext_size = esdi->rel_hdr.sh_size;
+		      if (esdi->rel_hdr2 != NULL)
+			ext_size += esdi->rel_hdr2->sh_size;
+
 		      if (ext_size > max_external_reloc_size)
 			max_external_reloc_size = ext_size;
 		      if (sec->reloc_count > max_internal_reloc_count)
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 78f96c1..1ee9289 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -53,7 +53,7 @@
 	    (abfd == NULL)
       (2) SYMBOL + OFFSET addresses, where SYMBOL is local to an input bfd
 	    (abfd != NULL, symndx >= 0)
-      (3) global and forced-local symbols
+      (3) SYMBOL addresses, where SYMBOL is not local to an input bfd
 	    (abfd != NULL, symndx == -1)
 
    Type (3) entries are treated differently for different types of GOT.
@@ -94,8 +94,9 @@ struct mips_got_entry
        that should be added to the symbol value.  */
     bfd_vma addend;
     /* If abfd != NULL && symndx == -1, the hash table entry
-       corresponding to a global symbol in the got (or, local, if
-       h->forced_local).  */
+       corresponding to symbol in the GOT.  The symbol's entry
+       is in the local area if h->global_got_area is GGA_NONE,
+       otherwise it is in the global area.  */
     struct mips_elf_link_hash_entry *h;
   } d;
 
@@ -373,6 +374,11 @@ struct mips_elf_link_hash_entry
   /* The highest GGA_* value that satisfies all references to this symbol.  */
   unsigned int global_got_area : 2;
 
+  /* True if all GOT relocations against this symbol are for calls.  This is
+     a looser condition than no_fn_stub below, because there may be other
+     non-call non-GOT relocations against the symbol.  */
+  unsigned int got_only_for_calls : 1;
+
   /* True if one of the relocations described by possibly_dynamic_relocs
      is against a readonly section.  */
   unsigned int readonly_reloc : 1;
@@ -1072,6 +1078,7 @@ mips_elf_link_hash_newfunc (struct bfd_hash_entry *entry,
       ret->call_fp_stub = NULL;
       ret->tls_type = GOT_NORMAL;
       ret->global_got_area = GGA_NONE;
+      ret->got_only_for_calls = TRUE;
       ret->readonly_reloc = FALSE;
       ret->has_static_relocs = FALSE;
       ret->no_fn_stub = FALSE;
@@ -3202,8 +3209,8 @@ mips_elf_got_page (bfd *abfd, bfd *ibfd, struct bfd_link_info *info,
 }
 
 /* Find a local GOT entry for an R_MIPS*_GOT16 relocation against VALUE.
-   EXTERNAL is true if the relocation was against a global symbol
-   that has been forced local.  */
+   EXTERNAL is true if the relocation was originally against a global
+   symbol that binds locally.  */
 
 static bfd_vma
 mips_elf_got16_entry (bfd *abfd, bfd *ibfd, struct bfd_link_info *info,
@@ -3281,11 +3288,9 @@ mips_elf_create_local_got_entry (bfd *abfd, struct bfd_link_info *info,
       BFD_ASSERT (g != NULL);
     }
 
-  /* We might have a symbol, H, if it has been forced local.  Use the
-     global entry then.  It doesn't matter whether an entry is local
-     or global for TLS, since the dynamic linker does not
-     automatically relocate TLS GOT entries.  */
-  BFD_ASSERT (h == NULL || h->root.forced_local);
+  /* This function shouldn't be called for symbols that live in the global
+     area of the GOT.  */
+  BFD_ASSERT (h == NULL || h->global_got_area == GGA_NONE);
   if (TLS_RELOC_P (r_type))
     {
       struct mips_got_entry *p;
@@ -3478,11 +3483,13 @@ mips_elf_sort_hash_table_f (struct mips_elf_link_hash_entry *h, void *data)
 
 /* If H is a symbol that needs a global GOT entry, but has a dynamic
    symbol table index lower than any we've seen to date, record it for
-   posterity.  */
+   posterity.  FOR_CALL is true if the caller is only interested in
+   using the GOT entry for calls.  */
 
 static bfd_boolean
 mips_elf_record_global_got_symbol (struct elf_link_hash_entry *h,
 				   bfd *abfd, struct bfd_link_info *info,
+				   bfd_boolean for_call,
 				   unsigned char tls_flag)
 {
   struct mips_elf_link_hash_table *htab;
@@ -3494,6 +3501,8 @@ mips_elf_record_global_got_symbol (struct elf_link_hash_entry *h,
   BFD_ASSERT (htab != NULL);
 
   hmips = (struct mips_elf_link_hash_entry *) h;
+  if (!for_call)
+    hmips->got_only_for_calls = FALSE;
 
   /* A global symbol in the GOT must also be in the dynamic symbol
      table.  */
@@ -3850,25 +3859,49 @@ mips_elf_resolve_final_got_entries (struct mips_got_info *g)
 }
 
 /* A mips_elf_link_hash_traverse callback for which DATA points
-   to a mips_got_info.  Count the number of type (3) entries.  */
+   to the link_info structure.  Count the number of type (3) entries
+   in the master GOT.  */
 
 static int
 mips_elf_count_got_symbols (struct mips_elf_link_hash_entry *h, void *data)
 {
+  struct bfd_link_info *info;
+  struct mips_elf_link_hash_table *htab;
   struct mips_got_info *g;
 
-  g = (struct mips_got_info *) data;
+  info = (struct bfd_link_info *) data;
+  htab = mips_elf_hash_table (info);
+  g = htab->got_info;
   if (h->global_got_area != GGA_NONE)
     {
-      if (h->root.forced_local || h->root.dynindx == -1)
-	{
-	  /* We no longer need this entry if it was only used for
-	     relocations; those relocations will be against the
-	     null or section symbol instead of H.  */
+      /* Make a final decision about whether the symbol belongs in the
+	 local or global GOT.  Symbols that bind locally can (and in the
+	 case of forced-local symbols, must) live in the local GOT.
+	 Those that are aren't in the dynamic symbol table must also
+	 live in the local GOT.
+
+	 Note that the former condition does not always imply the
+	 latter: symbols do not bind locally if they are completely
+	 undefined.  We'll report undefined symbols later if appropriate.  */
+      if (h->root.dynindx == -1
+	  || (h->got_only_for_calls
+	      ? SYMBOL_CALLS_LOCAL (info, &h->root)
+	      : SYMBOL_REFERENCES_LOCAL (info, &h->root)))
+	{
+	  /* The symbol belongs in the local GOT.  We no longer need this
+	     entry if it was only used for relocations; those relocations
+	     will be against the null or section symbol instead of H.  */
 	  if (h->global_got_area != GGA_RELOC_ONLY)
 	    g->local_gotno++;
 	  h->global_got_area = GGA_NONE;
 	}
+      else if (htab->is_vxworks
+	       && h->got_only_for_calls
+	       && h->root.plt.offset != MINUS_ONE)
+	/* On VxWorks, calls can refer directly to the .got.plt entry;
+	   they don't need entries in the regular GOT.  .got.plt entries
+	   will be allocated by _bfd_mips_elf_adjust_dynamic_symbol.  */
+	h->global_got_area = GGA_NONE;
       else
 	{
 	  g->global_gotno++;
@@ -4010,7 +4043,7 @@ mips_elf_make_got_per_bfd (void **entryp, void *p)
       if (entry->tls_type & GOT_TLS_IE)
 	g->tls_gotno += 1;
     }
-  else if (entry->symndx >= 0 || entry->d.h->root.forced_local)
+  else if (entry->symndx >= 0 || entry->d.h->global_got_area == GGA_NONE)
     ++g->local_gotno;
   else
     ++g->global_gotno;
@@ -4557,17 +4590,15 @@ mips_elf_next_relocation (bfd *abfd ATTRIBUTE_UNUSED, unsigned int r_type,
   return NULL;
 }
 
-/* Return whether a relocation is against a local symbol.  */
+/* Return whether an input relocation is against a local symbol.  */
 
 static bfd_boolean
 mips_elf_local_relocation_p (bfd *input_bfd,
 			     const Elf_Internal_Rela *relocation,
-			     asection **local_sections,
-			     bfd_boolean check_forced)
+			     asection **local_sections)
 {
   unsigned long r_symndx;
   Elf_Internal_Shdr *symtab_hdr;
-  struct mips_elf_link_hash_entry *h;
   size_t extsymoff;
 
   r_symndx = ELF_R_SYM (input_bfd, relocation->r_info);
@@ -4579,20 +4610,6 @@ mips_elf_local_relocation_p (bfd *input_bfd,
   if (elf_bad_symtab (input_bfd) && local_sections[r_symndx] != NULL)
     return TRUE;
 
-  if (check_forced)
-    {
-      /* Look up the hash table to check whether the symbol
- 	 was forced local.  */
-      h = (struct mips_elf_link_hash_entry *)
-	elf_sym_hashes (input_bfd) [r_symndx - extsymoff];
-      /* Find the real hash-table entry for this symbol.  */
-      while (h->root.root.type == bfd_link_hash_indirect
- 	     || h->root.root.type == bfd_link_hash_warning)
-	h = (struct mips_elf_link_hash_entry *) h->root.root.u.i.link;
-      if (h->root.forced_local)
-	return TRUE;
-    }
-
   return FALSE;
 }
 \f
@@ -4900,7 +4917,7 @@ mips_elf_calculate_relocation (bfd *abfd, bfd *input_bfd,
      used in the array of hash table entries.  */
   symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
   local_p = mips_elf_local_relocation_p (input_bfd, relocation,
-					 local_sections, FALSE);
+					 local_sections);
   was_local_p = local_p;
   if (! elf_bad_symtab (input_bfd))
     extsymoff = symtab_hdr->sh_info;
@@ -5134,8 +5151,7 @@ mips_elf_calculate_relocation (bfd *abfd, bfd *input_bfd,
 			   || ((r_type == R_MIPS_26 || r_type == R_MIPS_JALR)
 			       && target_is_16_bit_code_p));
 
-  local_p = mips_elf_local_relocation_p (input_bfd, relocation,
-					 local_sections, TRUE);
+  local_p = h == NULL || SYMBOL_REFERENCES_LOCAL (info, &h->root);
 
   gp0 = _bfd_get_gp_value (input_bfd);
   gp = _bfd_get_gp_value (abfd);
@@ -5145,19 +5161,18 @@ mips_elf_calculate_relocation (bfd *abfd, bfd *input_bfd,
   if (gnu_local_gp_p)
     symbol = gp;
 
+  /* Global R_MIPS_GOT_PAGE relocations are equivalent to R_MIPS_GOT_DISP.
+     The addend is applied by the corresponding R_MIPS_GOT_OFST.  */
+  if (r_type == R_MIPS_GOT_PAGE && !local_p)
+    {
+      r_type = R_MIPS_GOT_DISP;
+      addend = 0;
+    }
+
   /* If we haven't already determined the GOT offset, oand we're going
      to need it, get it now.  */
   switch (r_type)
     {
-    case R_MIPS_GOT_PAGE:
-    case R_MIPS_GOT_OFST:
-      /* We need to decay to GOT_DISP/addend if the symbol doesn't
-	 bind locally.  */
-      local_p = local_p || _bfd_elf_symbol_refs_local_p (&h->root, info, 1);
-      if (local_p || r_type == R_MIPS_GOT_OFST)
-	break;
-      /* Fall through.  */
-
     case R_MIPS16_CALL16:
     case R_MIPS16_GOT16:
     case R_MIPS_CALL16:
@@ -5193,21 +5208,12 @@ mips_elf_calculate_relocation (bfd *abfd, bfd *input_bfd,
 	    }
 	  else
 	    {
-	      /* GOT_PAGE may take a non-zero addend, that is ignored in a
-		 GOT_PAGE relocation that decays to GOT_DISP because the
-		 symbol turns out to be global.  The addend is then added
-		 as GOT_OFST.  */
-	      BFD_ASSERT (addend == 0 || r_type == R_MIPS_GOT_PAGE);
+	      BFD_ASSERT (addend == 0);
 	      g = mips_elf_global_got_index (dynobj, input_bfd,
 					     &h->root, r_type, info);
 	      if (h->tls_type == GOT_NORMAL
-		  && (! elf_hash_table(info)->dynamic_sections_created
-		      || (info->shared
-			  && (info->symbolic || h->root.forced_local)
-			  && h->root.def_regular)))
-		/* This is a static link or a -Bsymbolic link.  The
-		   symbol is defined locally, or was forced to be local.
-		   We must initialize this entry in the GOT.  */
+		  && !elf_hash_table (info)->dynamic_sections_created)


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2011-03-16  9:40 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-25 12:54 [SCM] archer-pmuldoon-python-breakpoints: Merge branch 'master' into archer-pmuldoon-python-breakpoints pmuldoon
  -- strict thread matches above, loose matches on Subject: below --
2011-03-16  9:40 pmuldoon
2011-03-13 19:24 pmuldoon
2011-03-10 15:11 pmuldoon
2011-03-07  8:49 pmuldoon
2011-02-21 10:55 pmuldoon
2011-01-17 13:32 pmuldoon
2011-01-10 15:41 pmuldoon
2011-01-06 12:24 pmuldoon
2010-12-14  8:35 pmuldoon
2010-12-08 15:56 pmuldoon
2010-12-02 15:47 pmuldoon
2010-11-12 11:47 pmuldoon
2010-11-11 11:40 pmuldoon
2010-11-10  9:10 pmuldoon
2010-11-08  9:41 pmuldoon
2010-10-22 14:29 pmuldoon
2010-10-20 12:49 pmuldoon
2010-10-19 16:03 pmuldoon
2010-10-13 10:44 pmuldoon
2010-10-12 12:03 pmuldoon
2010-10-11  8:48 pmuldoon
2010-10-06  9:00 pmuldoon
2010-09-30  8:57 pmuldoon
2010-09-27 11:40 pmuldoon
2010-09-20 12:36 pmuldoon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).