public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-tromey-ambiguous-linespec: Merge remote-tracking branch 'gdb/master' into duplicate-feature-2
@ 2011-10-18 20:51 tromey
  0 siblings, 0 replies; 5+ messages in thread
From: tromey @ 2011-10-18 20:51 UTC (permalink / raw)
  To: archer-commits

The branch, archer-tromey-ambiguous-linespec has been updated
       via  891ef64091337fe755cf805a9d0aa8de57b453ae (commit)
       via  12c970520ff36a85f28eae041eeae20795eb210f (commit)
       via  f20dce2638c55d92ff9e1d602e3ea7ac69474715 (commit)
       via  9ea8b6a35c4cf190c0d4380603c81836be763bb5 (commit)
       via  043614fd2edb2fb8d2f4c659917f1007e1c0829b (commit)
       via  8f18e079ea82117452b44ae45f07cf77516645db (commit)
       via  534fddf46153fa6d80c8c6235de16a3ca94247a5 (commit)
       via  a4d7fe8b1a5bd4bbabb724b5175044fdd24cc91e (commit)
       via  5f23911dced0455799f9fadcfabf86ebd73887cd (commit)
       via  e67eea722ed74ba02691d5d308732328217d6049 (commit)
      from  6db9ed03fb061f4ab7cbbd4bf74e6694d96dce1d (commit)

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

- Log -----------------------------------------------------------------
commit 891ef64091337fe755cf805a9d0aa8de57b453ae
Merge: 6db9ed0 12c9705
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Oct 18 14:30:35 2011 -0600

    Merge remote-tracking branch 'gdb/master' into duplicate-feature-2

commit 12c970520ff36a85f28eae041eeae20795eb210f
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Oct 18 16:55:43 2011 +0000

    	* gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.

commit f20dce2638c55d92ff9e1d602e3ea7ac69474715
Author: Julian Brown <julian@codesourcery.com>
Date:   Tue Oct 18 14:41:55 2011 +0000

        Jie Zhang  <jie@codesourcery.com>
        Julian Brown  <julian@codesourcery.com>
    
        gas/
        * config/tc-arm.c (parse_shifter_operand): Fix handling
        of explicit rotation.
        (encode_arm_shifter_operand): Likewise.
    
        gas/testsuite/
        * gas/arm/adrl.d: Adjust.
        * gas/arm/immed2.d: New test.
        * gas/arm/immed2.s: New test.
    
        ld/testsuite/
        * ld-arm/cortex-a8-fix-b-plt.d: Adjust.
        * ld-arm/cortex-a8-fix-bcc-plt.d: Adjust.
        * ld-arm/cortex-a8-fix-bl-plt.d: Adjust.
        * ld-arm/cortex-a8-fix-bl-rel-plt.d: Adjust.
        * ld-arm/cortex-a8-fix-blx-plt.d: Adjust.
        * ld-arm/ifunc-1.dd: Adjust.
        * ld-arm/ifunc-2.dd: Adjust.
        * ld-arm/ifunc-3.dd: Adjust.
        * ld-arm/ifunc-4.dd: Adjust.
        * ld-arm/ifunc-5.dd: Adjust.
        * ld-arm/ifunc-6.dd: Adjust.
        * ld-arm/ifunc-7.dd: Adjust.
        * ld-arm/ifunc-8.dd: Adjust.
        * ld-arm/ifunc-9.dd: Adjust.
        * ld-arm/ifunc-10.dd: Adjust.
        * ld-arm/ifunc-14.dd: Adjust.
        * ld-arm/ifunc-15.dd: Adjust.
        * ld-arm/ifunc-16.dd: Adjust.
    
        opcodes/
        * arm-dis.c (print_insn_arm): Explicitly specify rotation
        if needed.

commit 9ea8b6a35c4cf190c0d4380603c81836be763bb5
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Oct 18 14:13:59 2011 +0000

    	* gdb.base/source.exp: Don't include full file name in test name.
    	* gdb.python/python.exp: Don't include full file name in test
    	name.

commit 043614fd2edb2fb8d2f4c659917f1007e1c0829b
Author: Aleksandar Ristovski <aristovski@qnx.com>
Date:   Tue Oct 18 14:00:37 2011 +0000

    	* solib-svr4.c (read_program_header): New variables pt_phdr, pt_phdr_p,
    	initialize them from target PT_PHDR p_vaddr, relocate sect_addr by
    	pt_phdr if PT_PHDR was found.
    
    	* gdb.base/attach-pie-noexec.c: New files.
    	* gdb.base/attach-pie-noexec.exp: New files.

commit 8f18e079ea82117452b44ae45f07cf77516645db
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Oct 18 00:30:56 2011 +0000

    sim: rename common/aclocal.m4 to common/acinclude.m4
    
    Automake likes to dump macros automatically used into the aclocal.m4
    file, but the common/aclocal.m4 naming prevents that.  So rename it
    to the more normal "acinclude.m4" so the aclocal tool can work.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 534fddf46153fa6d80c8c6235de16a3ca94247a5
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Oct 18 00:17:09 2011 +0000

    sim: move from common.m4 to SIM_AC_COMMON
    
    Now that the sourceware tree generally requires autoconf-2.64, update
    the sim tree to require that too.
    
    This allows us to drop the long standing SIM_AC_COMMON/common.m4
    workaround as autoconf 2.64+ seems to work for me.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit a4d7fe8b1a5bd4bbabb724b5175044fdd24cc91e
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Oct 18 00:16:11 2011 +0000

    sim: testsuite: regenerate configure
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 5f23911dced0455799f9fadcfabf86ebd73887cd
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Oct 18 00:00:32 2011 +0000

    *** empty log message ***

commit e67eea722ed74ba02691d5d308732328217d6049
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Oct 17 23:00:06 2011 +0000

    daily update

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

Summary of changes:
 bfd/version.h                                |    2 +-
 gdb/ChangeLog                                |    6 +
 gdb/solib-svr4.c                             |   43 +-
 gdb/testsuite/ChangeLog                      |   15 +
 gdb/testsuite/gdb.base/attach-pie-noexec.c   |   25 +
 gdb/testsuite/gdb.base/attach-pie-noexec.exp |   66 +
 gdb/testsuite/gdb.base/jit-so.exp            |    2 +-
 gdb/testsuite/gdb.base/source.exp            |    3 +-
 gdb/testsuite/gdb.python/python.exp          |    6 +-
 gdb/version.in                               |    2 +-
 opcodes/ChangeLog                            |    5 +
 opcodes/arm-dis.c                            |   24 +-
 sim/arm/ChangeLog                            |   10 +
 sim/arm/configure                            |  835 ++++----
 sim/arm/configure.ac                         |   10 +-
 sim/avr/ChangeLog                            |   10 +
 sim/avr/configure                            |  835 ++++----
 sim/avr/configure.ac                         |   10 +-
 sim/bfin/ChangeLog                           |   11 +
 sim/bfin/aclocal.m4                          |   12 +-
 sim/bfin/configure                           |  832 ++++----
 sim/bfin/configure.ac                        |   10 +-
 sim/common/ChangeLog                         |   13 +
 sim/common/{aclocal.m4 => acinclude.m4}      |    2 +-
 sim/common/aclocal.m4                        |  953 +--------
 sim/common/common.m4                         |  232 --
 sim/common/configure                         |  813 ++++----
 sim/common/configure.ac                      |    7 +-
 sim/cr16/ChangeLog                           |   10 +
 sim/cr16/configure                           |  835 ++++----
 sim/cr16/configure.ac                        |   10 +-
 sim/cris/ChangeLog                           |   10 +
 sim/cris/configure                           |  840 ++++----
 sim/cris/configure.ac                        |   10 +-
 sim/d10v/ChangeLog                           |   10 +
 sim/d10v/configure                           |  835 ++++----
 sim/d10v/configure.ac                        |   10 +-
 sim/erc32/ChangeLog                          |   10 +
 sim/erc32/configure                          |  835 ++++----
 sim/erc32/configure.ac                       |   10 +-
 sim/frv/ChangeLog                            |   10 +
 sim/frv/configure                            |  835 ++++----
 sim/frv/configure.ac                         |   10 +-
 sim/h8300/ChangeLog                          |   10 +
 sim/h8300/configure                          |  835 ++++----
 sim/h8300/configure.ac                       |   10 +-
 sim/igen/ChangeLog                           |   10 +
 sim/igen/configure                           |  314 +++-
 sim/igen/configure.ac                        |    2 +-
 sim/iq2000/ChangeLog                         |   10 +
 sim/iq2000/configure                         |  835 ++++----
 sim/iq2000/configure.ac                      |   10 +-
 sim/lm32/ChangeLog                           |   10 +
 sim/lm32/configure                           |  840 ++++----
 sim/lm32/configure.ac                        |   10 +-
 sim/m32c/ChangeLog                           |   10 +
 sim/m32c/configure                           |  835 ++++----
 sim/m32c/configure.ac                        |   10 +-
 sim/m32r/ChangeLog                           |   10 +
 sim/m32r/configure                           |  835 ++++----
 sim/m32r/configure.ac                        |   10 +-
 sim/m68hc11/ChangeLog                        |   10 +
 sim/m68hc11/configure                        |  840 ++++----
 sim/m68hc11/configure.ac                     |   10 +-
 sim/mcore/ChangeLog                          |   10 +
 sim/mcore/configure                          |  835 ++++----
 sim/mcore/configure.ac                       |   10 +-
 sim/microblaze/ChangeLog                     |   10 +
 sim/microblaze/configure                     |  835 ++++----
 sim/microblaze/configure.ac                  |   10 +-
 sim/mips/ChangeLog                           |   10 +
 sim/mips/configure                           |  840 ++++----
 sim/mips/configure.ac                        |   10 +-
 sim/mn10300/ChangeLog                        |   10 +
 sim/mn10300/configure                        |  840 ++++----
 sim/mn10300/configure.ac                     |   10 +-
 sim/moxie/ChangeLog                          |   10 +
 sim/moxie/configure                          | 1283 ++++++------
 sim/moxie/configure.ac                       |   12 +-
 sim/ppc/ChangeLog                            |   10 +
 sim/ppc/configure                            |  328 +++-
 sim/ppc/configure.ac                         |    2 +-
 sim/rx/ChangeLog                             |   10 +
 sim/rx/configure                             | 3037 +++++++++++---------------
 sim/rx/configure.ac                          |   14 +-
 sim/sh/ChangeLog                             |   10 +
 sim/sh/configure                             |  835 ++++----
 sim/sh/configure.ac                          |   10 +-
 sim/sh64/ChangeLog                           |   10 +
 sim/sh64/configure                           |  833 ++++----
 sim/sh64/configure.ac                        |    8 +-
 sim/testsuite/ChangeLog                      |    4 +
 sim/testsuite/configure                      |    1 +
 sim/v850/ChangeLog                           |   10 +
 sim/v850/configure                           |  835 ++++----
 sim/v850/configure.ac                        |   10 +-
 96 files changed, 12102 insertions(+), 13140 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/attach-pie-noexec.c
 create mode 100644 gdb/testsuite/gdb.base/attach-pie-noexec.exp
 copy sim/common/{aclocal.m4 => acinclude.m4} (99%)
 delete mode 100644 sim/common/common.m4

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 0ccf33f..adde104 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20111017
+#define BFD_VERSION_DATE 20111018
 #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 6862c26..5c8b7d4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2011-10-18  Aleksandar Ristovski  <aristovski@qnx.com>
+
+	* solib-svr4.c (read_program_header): New variables pt_phdr, pt_phdr_p,
+	initialize them from target PT_PHDR p_vaddr, relocate sect_addr by
+	pt_phdr if PT_PHDR was found.
+
 2011-10-17  Joost van der Sluis  <joost@cnoc.nl>
 
 	* gdbtypes.h: Added TYPE_SAFE_NAME macro to get the name of a
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index 2bb31a9..85bf27e 100644
--- a/gdb/solib-svr4.c
+++ b/gdb/solib-svr4.c
@@ -364,10 +364,11 @@ static gdb_byte *
 read_program_header (int type, int *p_sect_size, int *p_arch_size)
 {
   enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch);
-  CORE_ADDR at_phdr, at_phent, at_phnum;
+  CORE_ADDR at_phdr, at_phent, at_phnum, pt_phdr = 0;
   int arch_size, sect_size;
   CORE_ADDR sect_addr;
   gdb_byte *buf;
+  int pt_phdr_p = 0;
 
   /* Get required auxv elements from target.  */
   if (target_auxv_search (&current_target, AT_PHDR, &at_phdr) <= 0)
@@ -401,12 +402,23 @@ read_program_header (int type, int *p_sect_size, int *p_arch_size)
       /* Search for requested PHDR.  */
       for (i = 0; i < at_phnum; i++)
 	{
+	  int p_type;
+
 	  if (target_read_memory (at_phdr + i * sizeof (phdr),
 				  (gdb_byte *)&phdr, sizeof (phdr)))
 	    return 0;
 
-	  if (extract_unsigned_integer ((gdb_byte *)phdr.p_type,
-					4, byte_order) == type)
+	  p_type = extract_unsigned_integer ((gdb_byte *) phdr.p_type,
+					     4, byte_order);
+
+	  if (p_type == PT_PHDR)
+	    {
+	      pt_phdr_p = 1;
+	      pt_phdr = extract_unsigned_integer ((gdb_byte *) phdr.p_vaddr,
+						  4, byte_order);
+	    }
+
+	  if (p_type == type)
 	    break;
 	}
 
@@ -427,12 +439,23 @@ read_program_header (int type, int *p_sect_size, int *p_arch_size)
       /* Search for requested PHDR.  */
       for (i = 0; i < at_phnum; i++)
 	{
+	  int p_type;
+
 	  if (target_read_memory (at_phdr + i * sizeof (phdr),
 				  (gdb_byte *)&phdr, sizeof (phdr)))
 	    return 0;
 
-	  if (extract_unsigned_integer ((gdb_byte *)phdr.p_type,
-					4, byte_order) == type)
+	  p_type = extract_unsigned_integer ((gdb_byte *) phdr.p_type,
+					     4, byte_order);
+
+	  if (p_type == PT_PHDR)
+	    {
+	      pt_phdr_p = 1;
+	      pt_phdr = extract_unsigned_integer ((gdb_byte *) phdr.p_vaddr,
+						  8, byte_order);
+	    }
+
+	  if (p_type == type)
 	    break;
 	}
 
@@ -446,6 +469,16 @@ read_program_header (int type, int *p_sect_size, int *p_arch_size)
 					    8, byte_order);
     }
 
+  /* PT_PHDR is optional, but we really need it
+     for PIE to make this work in general.  */
+
+  if (pt_phdr_p)
+    {
+      /* at_phdr is real address in memory. pt_phdr is what pheader says it is.
+	 Relocation offset is the difference between the two. */
+      sect_addr = sect_addr + (at_phdr - pt_phdr);
+    }
+
   /* Read in requested program header.  */
   buf = xmalloc (sect_size);
   if (target_read_memory (sect_addr, buf, sect_size))
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 52624e4..c4d300e 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,18 @@
+2011-10-18  Tom Tromey  <tromey@redhat.com>
+
+	* gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
+
+2011-10-18  Tom Tromey  <tromey@redhat.com>
+
+	* gdb.base/source.exp: Don't include full file name in test name.
+	* gdb.python/python.exp: Don't include full file name in test
+	name.
+
+2011-10-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* gdb.base/attach-pie-noexec.c: New files.
+	* gdb.base/attach-pie-noexec.exp: New files.
+
 2011-10-17  Joseph Myers  <joseph@codesourcery.com>
 
 	* lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
diff --git a/gdb/testsuite/gdb.base/attach-pie-noexec.c b/gdb/testsuite/gdb.base/attach-pie-noexec.c
new file mode 100644
index 0000000..7f430ab
--- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-pie-noexec.c
@@ -0,0 +1,25 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+   Copyright 2011 Free Software Foundation, Inc.
+
+   This program 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 3 of the License, or
+   (at your option) any later version.
+
+   This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+#include <unistd.h>
+
+int
+main (void)
+{
+  sleep (600);
+  return 0;
+}
diff --git a/gdb/testsuite/gdb.base/attach-pie-noexec.exp b/gdb/testsuite/gdb.base/attach-pie-noexec.exp
new file mode 100644
index 0000000..a9da642
--- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-pie-noexec.exp
@@ -0,0 +1,66 @@
+# Copyright (C) 2011 Free Software Foundation, Inc.
+#
+# This program 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 3 of the License, or
+# (at your option) any later version.
+#
+# This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
+
+# Manipulation with PID on target is not supported.
+if [is_remote target] then {
+    return 0
+}
+
+set testfile attach-pie-noexec
+set executable ${testfile}
+set binfile ${objdir}/${subdir}/${executable}
+
+if { [prepare_for_testing ${testfile}.exp $executable "" [list debug "additional_flags=-fPIE -pie"]] } {
+    return -1
+}
+
+clean_restart $executable
+set arch ""
+set test "show architecture"
+gdb_test_multiple $test $test {
+    -re "The target architecture is set automatically \\(currently (.*)\\)\r\n$gdb_prompt $" {
+	set arch $expect_out(1,string)
+	pass $test
+    }
+}
+if ![runto_main] {
+    return 0
+}
+set test "sanity check info shared"
+gdb_test_multiple "info shared" $test {
+    -re "From\[ \t\]+To\[ \t\]+Syms Read\[ \t\]+Shared Object Library\r\n0x.*\r\n$gdb_prompt $" {
+	pass $test
+    }
+    -re "No shared libraries loaded at this time\\.\r\n$gdb_prompt $" {
+	untested ${testfile}.exp
+    }
+}
+gdb_exit
+
+if {$arch == ""} {
+    untested ${testfile}.exp
+    return 0
+}
+
+set testpid [eval exec $binfile &]
+exec sleep 2
+
+gdb_start
+file delete -- $binfile
+gdb_test "attach $testpid" "Attaching to process $testpid\r\n.*: No such file or directory\\." "attach"
+gdb_test "set architecture $arch" "The target architecture is assumed to be $arch"
+gdb_test "info shared" "From\[ \t\]+To\[ \t\]+Syms Read\[ \t\]+Shared Object Library\r\n0x.*"
+
+eval exec kill -9 $testpid
diff --git a/gdb/testsuite/gdb.base/jit-so.exp b/gdb/testsuite/gdb.base/jit-so.exp
index c9510cb..1c71e30 100644
--- a/gdb/testsuite/gdb.base/jit-so.exp
+++ b/gdb/testsuite/gdb.base/jit-so.exp
@@ -117,7 +117,7 @@ proc one_jit_test {count match_str} {
     gdb_continue_to_breakpoint "break here 2"
     # All jit librares must have been unregistered
     gdb_test "info function jit_function" \
-	"All functions matching regular expression \"jit_function\":" \
+	"All functions matching regular expression \"jit_function\":"
     set pf_prefix $old_pf_prefix
 }
 
diff --git a/gdb/testsuite/gdb.base/source.exp b/gdb/testsuite/gdb.base/source.exp
index 7a67ff2..5d40eaf 100644
--- a/gdb/testsuite/gdb.base/source.exp
+++ b/gdb/testsuite/gdb.base/source.exp
@@ -49,7 +49,8 @@ gdb_test_multiple "source ${srcdir}/${subdir}/source-test.gdb" $test {
     }
 }
 
-gdb_test "dir ${srcdir}/${subdir}" "Source directories searched: .*"
+gdb_test "dir ${srcdir}/${subdir}" "Source directories searched: .*" \
+    "set search directories"
 gdb_test "source -s ./source-test.gdb" \
     "test source options" \
     "source -s"
diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp
index ee39dba..ea8a4d5 100644
--- a/gdb/testsuite/gdb.python/python.exp
+++ b/gdb/testsuite/gdb.python/python.exp
@@ -47,7 +47,9 @@ gdb_test_multiple "python print 23" "verify python support" {
 
       # If Python is not supported, verify that sourcing a python script
       # causes an error.
-      gdb_test "source $srcdir/$subdir/source2.py" "Error in sourced command file:.*"
+      gdb_test "source $srcdir/$subdir/source2.py" \
+	  "Error in sourced command file:.*" \
+	  "source source2.py when python disabled"
       return -1
     }
     -re "$gdb_prompt $"	{}
@@ -73,7 +75,7 @@ gdb_py_test_multiple "indented multi-line python command" \
   "foo ()" "" \
   "end" "hello, world!"
 
-gdb_test "source $srcdir/$subdir/source2.py" "yes"
+gdb_test "source $srcdir/$subdir/source2.py" "yes" "source source2.py"
 
 gdb_test "python print gdb.current_objfile()" "None"
 gdb_test "python print gdb.objfiles()" "\\\[\\\]"
diff --git a/gdb/version.in b/gdb/version.in
index 77075b6..8e39f9d 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-7.3.50.20111017-cvs
+7.3.50.20111018-cvs
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 42dcc60..e14b99f 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-18  Jie Zhang  <jie@codesourcery.com>
+	    Julian Brown  <julian@codesourcery.com>
+
+	* arm-dis.c (print_insn_arm): Explicitly specify rotation if needed.
+
 2011-10-10  Nick Clifton  <nickc@redhat.com>
 
 	* po/es.po: Updated Spanish translation.
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index fafa7f6..03062ad 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -3140,13 +3140,23 @@ print_insn_arm (bfd_vma pc, struct disassemble_info *info, long given)
 		    case 'o':
 		      if ((given & 0x02000000) != 0)
 			{
-			  int rotate = (given & 0xf00) >> 7;
-			  int immed = (given & 0xff);
+			  unsigned int rotate = (given & 0xf00) >> 7;
+			  unsigned int immed = (given & 0xff);
+			  unsigned int a, i;
+
+			  a = (((immed << (32 - rotate))
+				| (immed >> rotate)) & 0xffffffff);
+			  /* If there is another encoding with smaller rotate,
+			     the rotate should be specified directly.  */
+			  for (i = 0; i < 32; i += 2)
+			    if ((a << i | a >> (32 - i)) <= 0xff)
+			      break;
 
-			  immed = (((immed << (32 - rotate))
-				    | (immed >> rotate)) & 0xffffffff);
-			  func (stream, "#%d", immed);
-			  value_in_comment = immed;
+			  if (i != rotate)
+			    func (stream, "#%d, %d", immed, rotate);
+			  else
+			    func (stream, "#%d", a);
+			  value_in_comment = a;
 			}
 		      else
 			arm_decode_shift (given, func, stream, TRUE);
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog
index 628f901..e2d321b 100644
--- a/sim/arm/ChangeLog
+++ b/sim/arm/ChangeLog
@@ -1,3 +1,13 @@
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+	* configure.ac: Change include to common/acinclude.m4.
+
+2011-10-17  Mike Frysinger  <vapier@gentoo.org>
+
+	* configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
+	call.  Replace common.m4 include with SIM_AC_COMMON.
+	* configure: Regenerate.
+
 2011-07-01  Nick Clifton  <nickc@redhat.com>
 
 	PR sim/12737
diff --git a/sim/arm/configure b/sim/arm/configure
index 49b0695..e50ec89 100755
--- a/sim/arm/configure
+++ b/sim/arm/configure
@@ -624,13 +624,6 @@ CC_FOR_BUILD
 INSTALL_DATA
 INSTALL_SCRIPT
 INSTALL_PROGRAM
-OBJEXT
-EXEEXT
-ac_ct_CC
-CPPFLAGS
-LDFLAGS
-CFLAGS
-CC
 target_os
 target_vendor
 target_cpu
@@ -643,6 +636,13 @@ build_os
 build_vendor
 build_cpu
 build
+OBJEXT
+EXEEXT
+ac_ct_CC
+CPPFLAGS
+LDFLAGS
+CFLAGS
+CC
 WERROR_CFLAGS
 WARN_CFLAGS
 sim_xor_endian
@@ -2146,9 +2146,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-ac_config_headers="$ac_config_headers config.h:config.in"
-
-
 # This file contains common code used by all simulators.
 #
 # SIM_AC_COMMON invokes AC macros used by all simulators and by the common
@@ -2159,9 +2156,9 @@ ac_config_headers="$ac_config_headers config.h:config.in"
 # The simulator's configure.in should look like:
 #
 # dnl Process this file with autoconf to produce a configure script.
-# sinclude(../common/aclocal.m4)
-# AC_PREREQ(2.5)dnl
+# AC_PREREQ(2.64)dnl
 # AC_INIT(Makefile.in)
+# sinclude(../common/aclocal.m4)
 #
 # SIM_AC_COMMON
 #
@@ -2196,10 +2193,17 @@ ac_config_headers="$ac_config_headers config.h:config.in"
 
 
 
+# _AC_CHECK_DECL_BODY
+# -------------------
+# Shell function body for AC_CHECK_DECL.
+# _AC_CHECK_DECL_BODY
 
-
-
-
+# _AC_CHECK_DECLS(SYMBOL, ACTION-IF_FOUND, ACTION-IF-NOT-FOUND,
+#                 INCLUDES)
+# -------------------------------------------------------------
+# Helper to AC_CHECK_DECLS, which generates the check for a single
+# SYMBOL with INCLUDES, performs the AC_DEFINE, then expands
+# ACTION-IF-FOUND or ACTION-IF-NOT-FOUND.
 
 
 
@@ -2416,171 +2420,6 @@ sim_inline="-DDEFAULT_INLINE=0"
 
 
 
-# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
-# it by inlining the macro's contents.
-# This file contains common code used by all simulators.
-#
-# common.m4 invokes AC macros used by all simulators and by the common
-# directory.  It is intended to be included before any target specific
-# stuff.  SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
-# the Makefile.  It is intended to be invoked last.
-#
-# The simulator's configure.in should look like:
-#
-# dnl Process this file with autoconf to produce a configure script.
-# AC_PREREQ(2.5)dnl
-# AC_INIT(Makefile.in)
-# AC_CONFIG_HEADER(config.h:config.in)
-#
-# sinclude(../common/aclocal.m4)
-# sinclude(../common/common.m4)
-#
-# ... target specific stuff ...
-
-ac_aux_dir=
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
-  for ac_t in install-sh install.sh shtool; do
-    if test -f "$ac_dir/$ac_t"; then
-      ac_aux_dir=$ac_dir
-      ac_install_sh="$ac_aux_dir/$ac_t -c"
-      break 2
-    fi
-  done
-done
-if test -z "$ac_aux_dir"; then
-  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
-  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
-  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
-  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
-  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi


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


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

* [SCM]  archer-tromey-ambiguous-linespec: Merge remote-tracking branch 'gdb/master' into duplicate-feature-2
@ 2011-10-26 14:45 tromey
  0 siblings, 0 replies; 5+ messages in thread
From: tromey @ 2011-10-26 14:45 UTC (permalink / raw)
  To: archer-commits

The branch, archer-tromey-ambiguous-linespec has been updated
       via  ee645d36d4ab940d15a0c10311420251acdb20bc (commit)
       via  9f6dcdfe42b6fe0283876d4388e4d3cd838e26f7 (commit)
       via  01ab9b351d1d6b2d9df9bd59cdcef998347fbe8f (commit)
       via  880b4be908341fa1e0a3087bf85c504f14ac515a (commit)
       via  c28230448961a8ce6bbb24579ed0995794823890 (commit)
       via  b5149de204a1607018824c1dfcb4d3979986f5a1 (commit)
       via  8e96d326c36eecaed71cac6c46b7b9ac54e7335c (commit)
       via  95b31b0caf84eb3cc68e16a3585d28a5423668bd (commit)
       via  6a20c32ac8c96eb67e8ef89797ce8e73f4773191 (commit)
       via  ecdcdbba20011d7c8a72762b1ce327244311ef02 (commit)
       via  793983a49ad710dbc2084c48e51b79e53ad140b3 (commit)
       via  1a36ab97f2c1bed6f80d8d0c45f61a39bea4efb6 (commit)
      from  a0f8da6f9ca688c1c2e389d3be5ef7b502f2f3d4 (commit)

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

- Log -----------------------------------------------------------------
commit ee645d36d4ab940d15a0c10311420251acdb20bc
Merge: a0f8da6 9f6dcdf
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Oct 26 08:44:06 2011 -0600

    Merge remote-tracking branch 'gdb/master' into duplicate-feature-2

commit 9f6dcdfe42b6fe0283876d4388e4d3cd838e26f7
Author: Joern Rennecke <joern.rennecke@arc.com>
Date:   Wed Oct 26 12:46:03 2011 +0000

    cpu:
            * epiphany.opc (parse_branch_addr): Fix type of valuep.
            Cast value before printing it as a long.
            (parse_postindex): Fix type of valuep.
    opcodes:
            * epiphany-asm.c, epiphany-opc.h: Regenerate.

commit 01ab9b351d1d6b2d9df9bd59cdcef998347fbe8f
Author: Joern Rennecke <joern.rennecke@arc.com>
Date:   Wed Oct 26 12:14:16 2011 +0000

    gas:
            * doc/as.texinfo [EPIPHANY]: Include c-epiphany.texi to avoid
            duplication.
    opcodes:
            * disassemble.c (ARCH_epiphany): Move into alphasorted spot.

commit 880b4be908341fa1e0a3087bf85c504f14ac515a
Author: Nick Clifton <nickc@redhat.com>
Date:   Wed Oct 26 09:47:56 2011 +0000

    	PR ld/13049
    	* elf64-ppc.c (STUB_SUFFIX): Revert previous delta.
    	* elf32-hppa.c (STUB_SUFFIX): Likewise.

commit c28230448961a8ce6bbb24579ed0995794823890
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Oct 26 00:00:03 2011 +0000

    *** empty log message ***

commit b5149de204a1607018824c1dfcb4d3979986f5a1
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Oct 25 23:00:04 2011 +0000

    daily update

commit 8e96d326c36eecaed71cac6c46b7b9ac54e7335c
Author: Paul Koning <pkoning@equallogic.com>
Date:   Tue Oct 25 18:35:48 2011 +0000

    * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
    fetch_lazy method.

commit 95b31b0caf84eb3cc68e16a3585d28a5423668bd
Author: Paul Koning <pkoning@equallogic.com>
Date:   Tue Oct 25 18:35:19 2011 +0000

    PR python/13327
    
    * gdb.texinfo (Values From Inferior): Add is_lazy attribute,
    fetch_lazy method.

commit 6a20c32ac8c96eb67e8ef89797ce8e73f4773191
Author: Paul Koning <pkoning@equallogic.com>
Date:   Tue Oct 25 18:34:50 2011 +0000

    PR python/13327
    
    * python/py-value.c (value_to_value_object): Remove fetching of
    the value if it was lazy.
    (valpy_get_is_lazy): New function.
    (valpy_fetch_lazy): New function.

commit ecdcdbba20011d7c8a72762b1ce327244311ef02
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Oct 25 11:17:58 2011 +0000

    bfd:
    	* Makefile.am (ALL_MACHINES): Add cpu-epiphany.lo .
    	(ALL_MACHINES_CFILES): Add cpu-epiphany.c .
    	(BFD32_BACKENDS): Add elf32-epiphany.lo .
    	(BFD32_BACKENDS_CFILES): Add elf32-epiphany.c .
    	* Makefile.in, bfd-in2.h, configure, libbfd.h: Regenerate.
    	* archures.c (bfd_arch_epiphany): Add.
    	(bfd_mach_epiphany16, bfd_mach_epiphany32): Define.
    	(bfd_epiphany_arch): Declare.
    	(bfd_archures_list): Add &bfd_epiphany_arch.
    	* config.bfd (epiphany-*-elf): New target case.
    	* configure.in (bfd_elf32_epiphany_vec): New target vector case.
    	* reloc.c (BFD_RELOC_EPIPHANY_SIMM8): New relocation.
    	(BFD_RELOC_EPIPHANY_SIMM24, BFD_RELOC_EPIPHANY_HIGH): Likewise.
    	(BFD_RELOC_EPIPHANY_LOW, BFD_RELOC_EPIPHANY_SIMM11): Likewise.
    	(BFD_RELOC_EPIPHANY_IMM11, BFD_RELOC_EPIPHANY_IMM8): Likewise.
    	* targets.c (bfd_elf32_epiphany_vec): Declare.
    	(_bfd_target_vector): Add bfd_elf32_epiphany_vec.
    	* po/SRC-POTFILES.in, po/bfd.pot: Regenerate.
    	* cpu-epiphany.c, elf32-epiphany.c: New files.
    binutils:
    	* readelf.c (include "elf/epiphany.h")
    	(guess_is_rela, dump_relocation): Handle EM_ADAPTEVA_EPIPHANY.
    	(get_machine_name, is_32bit_abs_reloc, is_32bit_pcrel_reloc): Likewise.
    	(is_16bit_abs_reloc, is_none_reloc): Likewise.
    	* po/binutils.pot: Regenerate.
    cpu:
    	* cpu/epiphany.cpu, cpu/epiphany.opc: New files.
    gas:
    	* NEWS: Mention addition of Adapteva Epiphany support.
    	* config/tc-epiphany.c, config/tc-epiphany.h: New files.
    	* Makefile.am (TARGET_CPU_CFILES): Add config/tc-epiphany.c .
    	(TARGET_CPU_HFILES): Add config/tc-epiphany.h .
    	* Makefile.in, configure, doc/Makefile.in, po/POTFILES.in: Regenerate.
    	* configure.in: Also set using_cgen for epiphany.
    	* configure.tgt: Handle epiphany.
    	* doc/Makefile.am (CPU_DOCS): Add c-epiphany.texi .
    	* doc/all.texi: Set EPIPHANY.
    	* doc/as.texinfo: Add EPIPHANY-specific text.
    	* doc/c-epiphany.texi: New file.
    	* po/gas.pot: Regenerate.
    gas/testsuite:
    	* gas/epiphany: New directory.
    include:
    	* dis-asm.h (print_insn_epiphany): Declare.
    	* elf/epiphany.h: New file.
    	* elf/common.h (EM_ADAPTEVA_EPIPHANY): Define.
    ld:
    	* NEWS: Mention addition of Adapteva Epiphany support.
    	* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32epiphany.c .
    	(eelf32epiphany.c): New rule.
    	* Makefile.in: Regenerate.
    	* configure.tgt: Handle epiphany-*-elf.
    	* po/ld.pot: Regenerate.
    	* testsuite/ld-srec/srec.exp: xfail epiphany.
    	* emulparams/elf32epiphany.sh: New file.
    opcodes:
    	* Makefile.am (HFILES): Add epiphany-desc.h and epiphany-opc.h .
    	(TARGET_LIBOPCODES_CFILES): Add  epiphany-asm.c, epiphany-desc.c,
    	epiphany-dis.c, epiphany-ibld.c and epiphany-opc.c .
    	(CLEANFILES): Add stamp-epiphany.
    	(EPIPHANY_DEPS): Set.  Make CGEN-generated Epiphany files depend on it.
    	(stamp-epiphany): New rule.
    	* Makefile.in, configure, po/POTFILES.in, po/opcodes.pot: Regenerate.
    	* configure.in: Handle bfd_epiphany_arch.
    	* disassemble.c (ARCH_epiphany): Define.
    	(disassembler): Handle bfd_arch_epiphany.
    	* epiphany-asm.c, epiphany-desc.c, epiphany-desc.h: New files.
    	* epiphany-dis.c, epiphany-ibld.c, epiphany-opc.c: Likewise.
    	* epiphany-opc.h: Likewise.

commit 793983a49ad710dbc2084c48e51b79e53ad140b3
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Oct 25 00:00:32 2011 +0000

    *** empty log message ***

commit 1a36ab97f2c1bed6f80d8d0c45f61a39bea4efb6
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Oct 24 23:00:05 2011 +0000

    daily update

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

Summary of changes:
 bfd/ChangeLog                         |   33 +
 bfd/Makefile.am                       |    4 +
 bfd/Makefile.in                       |    6 +
 bfd/archures.c                        |    5 +
 bfd/bfd-in2.h                         |   24 +
 bfd/config.bfd                        |    4 +
 bfd/configure                         |    1 +
 bfd/configure.in                      |    1 +
 bfd/cpu-epiphany.c                    |   56 +
 bfd/elf32-epiphany.c                  |  608 +++++
 bfd/elf32-hppa.c                      |    4 +-
 bfd/elf64-ppc.c                       |    4 +-
 bfd/libbfd.h                          |    7 +
 bfd/po/SRC-POTFILES.in                |    3 +
 bfd/po/bfd.pot                        | 2157 +++++++++---------
 bfd/reloc.c                           |   29 +
 bfd/targets.c                         |    2 +
 bfd/version.h                         |    2 +-
 cpu/ChangeLog                         |   11 +
 cpu/epiphany.cpu                      | 2935 ++++++++++++++++++++++++
 cpu/epiphany.opc                      |  416 ++++
 gdb/ChangeLog                         |    9 +
 gdb/doc/ChangeLog                     |    7 +
 gdb/doc/gdb.texinfo                   |   28 +
 gdb/python/py-value.c                 |   51 +-
 gdb/testsuite/ChangeLog               |    7 +
 gdb/testsuite/gdb.python/py-value.exp |   18 +-
 gdb/version.in                        |    2 +-
 include/ChangeLog                     |    4 +
 include/dis-asm.h                     |    1 +
 include/elf/ChangeLog                 |    5 +
 include/elf/common.h                  |    2 +
 include/elf/epiphany.h                |   59 +
 opcodes/ChangeLog                     |   29 +
 opcodes/Makefile.am                   |   22 +-
 opcodes/Makefile.in                   |   27 +-
 opcodes/configure                     |    1 +
 opcodes/configure.in                  |    1 +
 opcodes/disassemble.c                 |    6 +
 opcodes/epiphany-asm.c                |  863 +++++++
 opcodes/epiphany-desc.c               | 2271 +++++++++++++++++++
 opcodes/epiphany-desc.h               |  402 ++++
 opcodes/epiphany-dis.c                |  698 ++++++
 opcodes/epiphany-ibld.c               | 1709 ++++++++++++++
 opcodes/epiphany-opc.c                | 4035 +++++++++++++++++++++++++++++++++
 opcodes/epiphany-opc.h                |  226 ++
 opcodes/po/POTFILES.in                |    8 +
 opcodes/po/opcodes.pot                |  341 ++--
 48 files changed, 15939 insertions(+), 1205 deletions(-)
 create mode 100644 bfd/cpu-epiphany.c
 create mode 100644 bfd/elf32-epiphany.c
 create mode 100644 cpu/epiphany.cpu
 create mode 100755 cpu/epiphany.opc
 create mode 100755 include/elf/epiphany.h
 create mode 100644 opcodes/epiphany-asm.c
 create mode 100644 opcodes/epiphany-desc.c
 create mode 100644 opcodes/epiphany-desc.h
 create mode 100644 opcodes/epiphany-dis.c
 create mode 100644 opcodes/epiphany-ibld.c
 create mode 100644 opcodes/epiphany-opc.c
 create mode 100644 opcodes/epiphany-opc.h

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9ae6391..ba106c5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,36 @@
+2011-10-26  Nick Clifton  <nickc@redhat.com>
+
+	PR ld/13049
+	* elf64-ppc.c (STUB_SUFFIX): Revert previous delta.
+	* elf32-hppa.c (STUB_SUFFIX): Likewise.
+
+2011-10-25  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+	* Makefile.am (ALL_MACHINES): Add cpu-epiphany.lo.
+	(ALL_MACHINES_CFILES): Add cpu-epiphany.c.
+	(BFD32_BACKENDS): Add elf32-epiphany.lo.
+	(BFD32_BACKENDS_CFILES): Add elf32-epiphany.c.
+	* archures.c (bfd_arch_epiphany): Add.
+	(bfd_mach_epiphany16, bfd_mach_epiphany32): Define.
+	(bfd_epiphany_arch): Declare.
+	(bfd_archures_list): Add &bfd_epiphany_arch.
+	* config.bfd (epiphany-*-elf): New target case.
+	* configure.in (bfd_elf32_epiphany_vec): New target vector case.
+	* reloc.c (BFD_RELOC_EPIPHANY_SIMM8): New relocation.
+	(BFD_RELOC_EPIPHANY_SIMM24, BFD_RELOC_EPIPHANY_HIGH): Likewise.
+	(BFD_RELOC_EPIPHANY_LOW, BFD_RELOC_EPIPHANY_SIMM11): Likewise.
+	(BFD_RELOC_EPIPHANY_IMM11, BFD_RELOC_EPIPHANY_IMM8): Likewise.
+	* targets.c (bfd_elf32_epiphany_vec): Declare.
+	(_bfd_target_vector): Add bfd_elf32_epiphany_vec.
+	* Makefile.in: Regenerate.
+	* bfd-in2.h: Regenerate.
+	* configure: Regenerate.
+	* libbfd.h: Regenerate.
+	* po/SRC-POTFILES.in: Regenerate.
+	* po/bfd.pot: Regenerate.
+	* cpu-epiphany.c: New file.
+	* elf32-epiphany.c: New file.
+
 2011-10-24  Maciej W. Rozycki  <macro@codesourcery.com>
 
 	* elfxx-mips.c (_bfd_mips_elf_symbol_processing): Remove
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 8610d5e..46e94a5 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -83,6 +83,7 @@ ALL_MACHINES = \
 	cpu-d10v.lo \
 	cpu-d30v.lo \
 	cpu-dlx.lo \
+	cpu-epiphany.lo \
 	cpu-fr30.lo \
 	cpu-frv.lo \
 	cpu-h8300.lo \
@@ -158,6 +159,7 @@ ALL_MACHINES_CFILES = \
 	cpu-d10v.c \
 	cpu-d30v.c \
 	cpu-dlx.c \
+	cpu-epiphany.c \
 	cpu-fr30.c \
 	cpu-frv.c \
 	cpu-h8300.c \
@@ -286,6 +288,7 @@ BFD32_BACKENDS = \
 	elf32-d10v.lo \
 	elf32-d30v.lo \
 	elf32-dlx.lo \
+	elf32-epiphany.lo \
 	elf32-fr30.lo \
 	elf32-frv.lo \
 	elf32-gen.lo \
@@ -470,6 +473,7 @@ BFD32_BACKENDS_CFILES = \
 	elf32-d10v.c \
 	elf32-d30v.c \
 	elf32-dlx.c \
+	elf32-epiphany.c \
 	elf32-fr30.c \
 	elf32-frv.c \
 	elf32-gen.c \
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 34196aa..12ec3ee 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -382,6 +382,7 @@ ALL_MACHINES = \
 	cpu-d10v.lo \
 	cpu-d30v.lo \
 	cpu-dlx.lo \
+	cpu-epiphany.lo \
 	cpu-fr30.lo \
 	cpu-frv.lo \
 	cpu-h8300.lo \
@@ -457,6 +458,7 @@ ALL_MACHINES_CFILES = \
 	cpu-d10v.c \
 	cpu-d30v.c \
 	cpu-dlx.c \
+	cpu-epiphany.c \
 	cpu-fr30.c \
 	cpu-frv.c \
 	cpu-h8300.c \
@@ -586,6 +588,7 @@ BFD32_BACKENDS = \
 	elf32-d10v.lo \
 	elf32-d30v.lo \
 	elf32-dlx.lo \
+	elf32-epiphany.lo \
 	elf32-fr30.lo \
 	elf32-frv.lo \
 	elf32-gen.lo \
@@ -770,6 +773,7 @@ BFD32_BACKENDS_CFILES = \
 	elf32-d10v.c \
 	elf32-d30v.c \
 	elf32-dlx.c \
+	elf32-epiphany.c \
 	elf32-fr30.c \
 	elf32-frv.c \
 	elf32-gen.c \
@@ -1260,6 +1264,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-d10v.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-d30v.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-dlx.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-epiphany.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-fr30.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-frv.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-h8300.Plo@am__quote@
@@ -1346,6 +1351,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-d10v.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-d30v.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-dlx.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-epiphany.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-fr30.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-frv.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-gen.Plo@am__quote@
diff --git a/bfd/archures.c b/bfd/archures.c
index 44850e7..9781f1e 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -365,6 +365,9 @@ DESCRIPTION
 . bfd_arch_iq2000,     {* Vitesse IQ2000.  *}
 .#define bfd_mach_iq2000        1
 .#define bfd_mach_iq10          2
+.  bfd_arch_epiphany,	{* Adapteva EPIPHANY *}
+.#define bfd_mach_epiphany16	1
+.#define bfd_mach_epiphany32	2
 .  bfd_arch_mt,
 .#define bfd_mach_ms1           1
 .#define bfd_mach_mrisc2        2
@@ -496,6 +499,7 @@ extern const bfd_arch_info_type bfd_crx_arch;
 extern const bfd_arch_info_type bfd_d10v_arch;
 extern const bfd_arch_info_type bfd_d30v_arch;
 extern const bfd_arch_info_type bfd_dlx_arch;
+extern const bfd_arch_info_type bfd_epiphany_arch;
 extern const bfd_arch_info_type bfd_fr30_arch;
 extern const bfd_arch_info_type bfd_frv_arch;
 extern const bfd_arch_info_type bfd_h8300_arch;
@@ -576,6 +580,7 @@ static const bfd_arch_info_type * const bfd_archures_list[] =
     &bfd_d10v_arch,
     &bfd_d30v_arch,
     &bfd_dlx_arch,
+    &bfd_epiphany_arch,
     &bfd_fr30_arch,
     &bfd_frv_arch,
     &bfd_h8300_arch,
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 91f3531..f48d2d4 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -2071,6 +2071,9 @@ enum bfd_architecture
  bfd_arch_iq2000,     /* Vitesse IQ2000.  */
 #define bfd_mach_iq2000        1
 #define bfd_mach_iq10          2
+  bfd_arch_epiphany,   /* Adapteva EPIPHANY */
+#define bfd_mach_epiphany16    1
+#define bfd_mach_epiphany32    2
   bfd_arch_mt,
 #define bfd_mach_ms1           1
 #define bfd_mach_mrisc2        2
@@ -5023,6 +5026,27 @@ the dynamic object into the runtime process image.  */
   BFD_RELOC_TILEGX_TLS_DTPMOD32,
   BFD_RELOC_TILEGX_TLS_DTPOFF32,
   BFD_RELOC_TILEGX_TLS_TPOFF32,
+
+/* Adapteva EPIPHANY - 8 bit signed pc-relative displacement  */
+  BFD_RELOC_EPIPHANY_SIMM8,
+
+/* Adapteva EPIPHANY - 24 bit signed pc-relative displacement  */
+  BFD_RELOC_EPIPHANY_SIMM24,
+
+/* Adapteva EPIPHANY - 16 most-significant bits of absolute address  */
+  BFD_RELOC_EPIPHANY_HIGH,
+
+/* Adapteva EPIPHANY - 16 least-significant bits of absolute address  */
+  BFD_RELOC_EPIPHANY_LOW,
+
+/* Adapteva EPIPHANY - 11 bit signed number - add/sub immediate  */
+  BFD_RELOC_EPIPHANY_SIMM11,
+
+/* Adapteva EPIPHANY - 11 bit sign-magnitude number (ld/st displacement)  */
+  BFD_RELOC_EPIPHANY_IMM11,
+
+/* Adapteva EPIPHANY - 8 bit immediate for 16 bit mov instruction.  */
+  BFD_RELOC_EPIPHANY_IMM8,
   BFD_RELOC_UNUSED };
 typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
 reloc_howto_type *bfd_reloc_type_lookup
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 3b9872a..1e86dd4 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -361,6 +361,10 @@ case "${targ}" in
     targ_defvec=bfd_elf32_d30v_vec
     ;;
 
+  epiphany-*-elf)
+    targ_defvec=bfd_elf32_epiphany_vec
+    ;;
+
   fido-*-elf* )
     targ_defvec=bfd_elf32_m68k_vec
     targ_selvecs="m68kcoff_vec ieee_vec"
diff --git a/bfd/configure b/bfd/configure
index 96a8f75..e6a3a5a 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -15199,6 +15199,7 @@ do
     bfd_elf32_d10v_vec)		tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
     bfd_elf32_d30v_vec)		tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
     bfd_elf32_dlx_big_vec)	tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
+    bfd_elf32_epiphany_vec)	tb="$tb elf32-epiphany.lo elf32.lo $elf" ;;
     bfd_elf32_fr30_vec)		tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
     bfd_elf32_frv_vec)		tb="$tb elf32-frv.lo elf32.lo $elf" ;;
     bfd_elf32_frvfdpic_vec)	tb="$tb elf32-frv.lo elf32.lo $elf" ;;
diff --git a/bfd/configure.in b/bfd/configure.in
index 2088d62..f6d3693 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -698,6 +698,7 @@ do
     bfd_elf32_d10v_vec)		tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
     bfd_elf32_d30v_vec)		tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
     bfd_elf32_dlx_big_vec)	tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
+    bfd_elf32_epiphany_vec)	tb="$tb elf32-epiphany.lo elf32.lo $elf" ;;
     bfd_elf32_fr30_vec)		tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
     bfd_elf32_frv_vec)		tb="$tb elf32-frv.lo elf32.lo $elf" ;;
     bfd_elf32_frvfdpic_vec)	tb="$tb elf32-frv.lo elf32.lo $elf" ;;
diff --git a/bfd/cpu-epiphany.c b/bfd/cpu-epiphany.c
new file mode 100644
index 0000000..54f9580
--- /dev/null
+++ b/bfd/cpu-epiphany.c
@@ -0,0 +1,56 @@
+/* BFD support for the Adapteva EPIPHANY processor.
+   Copyright 2011 Free Software Foundation, Inc.
+   Contributed by Embecosm on behalf of Adapteva, Inc.
+
+   This file is part of BFD, the Binary File Descriptor library.
+
+   This program 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 3 of the License, or
+   (at your option) any later version.
+
+   This program 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 this program; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+   MA 02110-1301, USA.  */
+
+#include "sysdep.h"
+#include "bfd.h"
+#include "libbfd.h"
+
+const bfd_arch_info_type bfd_epiphany16_arch =
+{
+  32,				/* Bits per word */
+  32,				/* Bits per address.  */
+  8,				/* Bits per byte.  */
+  bfd_arch_epiphany,		/* Architecture.  */
+  bfd_mach_epiphany16,		/* Machine.  */
+  "epiphany",			/* Architecture name.  */
+  "epiphany16",			/* Machine name.  */
+  1,				/* Section align power.  */
+  FALSE,			/* The default ?  */
+  bfd_default_compatible,	/* Architecture comparison fn.  */
+  bfd_default_scan,		/* String to architecture convert fn.  */
+  NULL				/* Next in list.  */
+};
+
+const bfd_arch_info_type bfd_epiphany_arch =
+{
+  32,				/* Bits per word - not really true.  */
+  32,				/* Bits per address.  */
+  8,				/* Bits per byte.  */
+  bfd_arch_epiphany,		/* Architecture.  */
+  bfd_mach_epiphany32,		/* Machine.  */
+  "epiphany",			/* Architecture name.  */
+  "epiphany32",			/* Machine name.  */
+  2,				/* Section align power.  */
+  TRUE,				/* The default ?  */
+  bfd_default_compatible,	/* Architecture comparison fn.  */
+  bfd_default_scan,		/* String to architecture convert fn.  */
+  & bfd_epiphany16_arch	/* Next in list.  */
+};
diff --git a/bfd/elf32-epiphany.c b/bfd/elf32-epiphany.c
new file mode 100644
index 0000000..08f3be1
--- /dev/null
+++ b/bfd/elf32-epiphany.c
@@ -0,0 +1,608 @@
+/* Adapteva epiphany specific support for 32-bit ELF
+   Copyright 2011
+   Free Software Foundation, Inc.
+   Contributed by Embecosm on behalf of Adapteva, Inc.
+
+   This file is part of BFD, the Binary File Descriptor library.
+
+   This program 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 3 of the License, or
+   (at your option) any later version.
+
+   This program 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 this program; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+   MA 02110-1301, USA.  */
+
+#include "sysdep.h"
+#include "bfd.h"
+#include "libbfd.h"
+#include "elf-bfd.h"
+#include "elf/epiphany.h"
+#include "libiberty.h"
+
+/* Struct used to pass miscellaneous paramaters which
+   helps to avoid overly long parameter lists.  */
+struct misc
+{
+  Elf_Internal_Shdr *  symtab_hdr;
+  Elf_Internal_Rela *  irelbase;
+  bfd_byte *           contents;
+  Elf_Internal_Sym *   isymbuf;
+};
+
+struct epiphany_opcode
+{
+  unsigned short opcode;
+  unsigned short mask;
+};
+
+static bfd_boolean epiphany_relaxed = FALSE;
+
+/* Relocation tables.  */
+static reloc_howto_type epiphany_elf_howto_table [] =
+{
+#define AHOW(t,rs,s,bs,pr,bp,co,name,sm,dm)	\
+    HOWTO(t,                    /* type */ \
+	  rs,                   /* rightshift */ \
+	  s,                    /* size (0 = byte, 1 = short, 2 = long) */ \
+	  bs,                   /* bitsize */ \
+	  pr,                   /* pc_relative */ \
+	  bp,                   /* bitpos */ \
+	  co,			/* complain_on_overflow */	       \
+	  bfd_elf_generic_reloc,/* special_function */ \
+	  name,                 /* name */ \
+	  FALSE,                /* partial_inplace */ \
+	  sm,                   /* src_mask */ \
+	  dm,                   /* dst_mask */ \
+	  pr)                   /* pcrel_offset */
+
+  /* This reloc does nothing.  */
+  AHOW (R_EPIPHANY_NONE,    0, 0,32, FALSE, 0, complain_overflow_dont,     "R_EPIPHANY_NONE",        0,          0),
+
+  /* 8 bit absolute (not likely) */
+  AHOW (R_EPIPHANY_8,       0, 0, 8, FALSE, 0, complain_overflow_bitfield, "R_EPIPHANY_8",      0x000000ff, 0x000000ff),
+  /* 16 bit absolute */
+  AHOW (R_EPIPHANY_16,      0, 1,16, FALSE, 0, complain_overflow_bitfield, "R_EPIPHANY_16",     0x0000ffff, 0x00ff1fe0),
+  /* A 32 bit absolute relocation.  */
+  AHOW (R_EPIPHANY_32,      0, 2,32, FALSE, 0, complain_overflow_dont,     "R_EPIPHANY_32",     0xffffffff, 0xffffffff),
+
+  /*  8 bit relative relocation */
+  HOWTO ( R_EPIPHANY_8_PCREL,  0, 0,  8, TRUE, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_EPIPHANY_8_PCREL", FALSE, 0x000000ff, 0x000000ff, FALSE),
+  /* 16 bit relative relocation */
+  HOWTO ( R_EPIPHANY_16_PCREL, 0, 1, 16, TRUE, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_EPIPHANY_8_PCREL", FALSE, 0x000000ff, 0x000000ff, FALSE),
+  /* 32 bit relative relocation */
+  HOWTO ( R_EPIPHANY_32_PCREL, 0, 2, 32, TRUE, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_EPIPHANY_8_PCREL", FALSE, 0x000000ff, 0x000000ff, FALSE),
+
+  /* 8 bit pc-relative relocation */
+  AHOW (R_EPIPHANY_SIMM8,   1, 0, 8,  TRUE, 8, complain_overflow_signed,   "R_EPIPHANY_SIMM8",   0x000000ff, 0x0000ff00),
+  /* 24 bit pc-relative relocation */
+  AHOW (R_EPIPHANY_SIMM24,  1, 2,24,  TRUE, 8, complain_overflow_signed,   "R_EPIPHANY_SIMM24",  0x00ffffff, 0xffffff00),
+
+  /* %HIGH(EA) */
+  AHOW (R_EPIPHANY_HIGH,    0, 2,16, FALSE, 0, complain_overflow_dont,     "R_EPIPHANY_HIGH",    0x0ff01fe0, 0x0ff01fe0),
+
+  /* %LOW(EA) */
+  AHOW (R_EPIPHANY_LOW,     0, 2,16, FALSE, 0, complain_overflow_dont,	"R_EPIPHANY_LOW",     0x0ff01fe0, 0x0ff01fe0),
+
+  /* simm11 */
+  AHOW (R_EPIPHANY_SIMM11,  0, 2,11, FALSE, 0, complain_overflow_bitfield, "R_EPIPHANY_SIMM11",  0x00ff0380, 0x00ff0380),
+  /* imm12 - sign-magnitude */
+  AHOW (R_EPIPHANY_IMM11,   0, 2,11, FALSE, 0, complain_overflow_bitfield, "R_EPIPHANY_IMM12",   0x00ff0380, 0x00ff0380),
+  /* imm8 */
+  AHOW (R_EPIPHANY_IMM8,    0, 1, 8, FALSE, 8, complain_overflow_signed,   "R_EPIPHANY_IMM8",    0x0000ff00, 0x0000ff00)
+
+
+};
+#undef AHOW
+
+/* Map BFD reloc types to EPIPHANY ELF reloc types.  */
+
+static reloc_howto_type *
+epiphany_reloc_type_lookup (bfd * abfd ATTRIBUTE_UNUSED,
+			    bfd_reloc_code_real_type code)
+{
+  /* Note that the epiphany_elf_howto_table is indxed by the R_
+     constants.  Thus, the order that the howto records appear in the
+     table *must* match the order of the relocation types defined in
+     include/elf/epiphany.h.  */
+
+  switch (code)
+    {
+    case BFD_RELOC_NONE:
+      return &epiphany_elf_howto_table[ (int) R_EPIPHANY_NONE];
+
+    case BFD_RELOC_EPIPHANY_SIMM8:
+      return &epiphany_elf_howto_table[ (int) R_EPIPHANY_SIMM8];
+    case BFD_RELOC_EPIPHANY_SIMM24:
+      return &epiphany_elf_howto_table[ (int) R_EPIPHANY_SIMM24];
+
+    case BFD_RELOC_8_PCREL:
+      return &epiphany_elf_howto_table[ (int) R_EPIPHANY_8_PCREL];
+    case BFD_RELOC_16_PCREL:
+      return &epiphany_elf_howto_table[ (int) R_EPIPHANY_16_PCREL];
+    case BFD_RELOC_32_PCREL:
+      return &epiphany_elf_howto_table[ (int) R_EPIPHANY_32_PCREL];
+
+    case BFD_RELOC_8:
+      return &epiphany_elf_howto_table[ (int) R_EPIPHANY_8];
+    case BFD_RELOC_16:
+      return &epiphany_elf_howto_table[ (int) R_EPIPHANY_16];
+    case BFD_RELOC_32:
+      return &epiphany_elf_howto_table[ (int) R_EPIPHANY_32];
+
+    case BFD_RELOC_EPIPHANY_HIGH:
+      return & epiphany_elf_howto_table[ (int) R_EPIPHANY_HIGH];
+    case BFD_RELOC_EPIPHANY_LOW:
+      return & epiphany_elf_howto_table[ (int) R_EPIPHANY_LOW];
+
+    case BFD_RELOC_EPIPHANY_SIMM11:
+      return & epiphany_elf_howto_table[ (int) R_EPIPHANY_SIMM11];
+    case BFD_RELOC_EPIPHANY_IMM11:
+      return & epiphany_elf_howto_table[ (int) R_EPIPHANY_IMM11];
+
+    case BFD_RELOC_EPIPHANY_IMM8:
+      return & epiphany_elf_howto_table[ (int) R_EPIPHANY_IMM8];
+
+    default:
+      /* Pacify gcc -Wall.  */
+      return NULL;
+    }
+  return NULL;
+}
+
+static reloc_howto_type *
+epiphany_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED, const char *r_name)
+{
+  unsigned int i;
+
+  for (i = 0; i < ARRAY_SIZE (epiphany_elf_howto_table); i++)
+    if (epiphany_elf_howto_table[i].name != NULL
+	&& strcasecmp (epiphany_elf_howto_table[i].name, r_name) == 0)
+      return &epiphany_elf_howto_table[i];
+
+  return NULL;
+}
+
+#define PAGENO(ABSADDR) ((ABSADDR) & 0xFFFFC000)
+#define BASEADDR(SEC)	((SEC)->output_section->vma + (SEC)->output_offset)
+
+/* This function handles relaxing for the epiphany.
+   Dummy placeholder for future optimizations.  */
+
+static bfd_boolean
+epiphany_elf_relax_section (bfd *abfd, asection *sec,
+			    struct bfd_link_info *link_info,
+			    bfd_boolean *again)
+{
+  Elf_Internal_Shdr *symtab_hdr;
+  Elf_Internal_Rela *internal_relocs;
+  bfd_byte *contents = NULL;
+  Elf_Internal_Sym *isymbuf = NULL;
+  static asection * first_section = NULL;
+  static unsigned long search_addr;
+  static unsigned long page_start = 0;
+  static unsigned long page_end = 0;
+  static unsigned int pass = 0;


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


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

* [SCM]  archer-tromey-ambiguous-linespec: Merge remote-tracking branch 'gdb/master' into duplicate-feature-2
@ 2011-10-04 17:22 tromey
  0 siblings, 0 replies; 5+ messages in thread
From: tromey @ 2011-10-04 17:22 UTC (permalink / raw)
  To: archer-commits

The branch, archer-tromey-ambiguous-linespec has been updated
       via  119571bd058c06566421918c88f4be4531bad0e7 (commit)
       via  6080d11494b683ff7c7aeb7141751110fd966187 (commit)
       via  b29551ecf30b9b0c6a31bb40f1315ff00edeae5a (commit)
       via  2a74ace2a0e445b6a9e161bf5b010103a549fe2a (commit)
       via  f63bc7184c640063714e2a8a1bace3fad470f37a (commit)
       via  c9d4d8d5e96cdd8b82c33e772e6c75d9c899967a (commit)
       via  a42c9bff94ac91da99dc76d46a84a3c4aa1c29bb (commit)
       via  65da2b735484ecfee87ffa5352b48d0444b362be (commit)
       via  91914816afba4b07adf3e8610c042028f55157dd (commit)
       via  361c5ac7a1fd06cd86c4b20fcd9d77ed713e84dc (commit)
       via  665b0ae31cfd5ef41dcb082dea14055e881d17bc (commit)
       via  e5e9d08c064eb7d7358c3de2b2bfee3527dc55be (commit)
       via  439eaff911867f62533c3a018d2f8fb766f1d93a (commit)
       via  3608e83c5fe0ac956718d4017fc93d7aed9333b6 (commit)
       via  e93f4ae6aa29887e022cf389dcbf1440b457e67b (commit)
       via  794929bdced64854d1c9f861f4894bd76f93e2a9 (commit)
       via  7a508915a1a6d978be80db3c8183a7e090f53767 (commit)
       via  5e24e7d92e5ce021c774520a19edd1752d646cb5 (commit)
       via  fe7fbf3b21ae5f37f510d3a066c9c0f15fc863ca (commit)
       via  888df6392fb589da0804cbfefd068240dcf03e94 (commit)
       via  929eff21af3724aa656c8b022c12158881a99b12 (commit)
       via  cacbc8340a3456a69666cd5c6af31772896b048a (commit)
       via  8c2e9af99137e1cc425959c267876cf0111d16b8 (commit)
       via  7c4093cd024c5a59d8176793a0e64335ce9abc53 (commit)
       via  e40f893a301ec70986722c23b407aa32c9805412 (commit)
       via  3ed81300f1823dbb76f03dded62e7623be7635fc (commit)
       via  60a154696d52a1a493bb9f7dca649359ae1ff056 (commit)
       via  8d343b233a9a6dcae7ea5a8fb79c8d9e4db80cb9 (commit)
       via  2aea7997d9cc449422c78d7b451ce2587fcbe062 (commit)
       via  df69f2537c2478706c9bed64df2c39618835b67a (commit)
       via  4170953e718f82e490bd91e9d63482751dd3f138 (commit)
       via  77ad24042504627c2c9a49eae86fef3045591689 (commit)
       via  b81337fed4b93835da4074f86ca963db83568569 (commit)
       via  a04698b43600530797f3f3fbd740bfb60e944ecc (commit)
       via  720d970a5f7af4ba3f9f3ef8519e4f1303bfba7e (commit)
       via  b7e62eefc8a55361eb5f133a2c004cd9b53022fc (commit)
       via  11374b510239e8fc8a1e9e1014482b84f45925a9 (commit)
       via  590bd09be7beaf4f7fcbeeef4b12625a14df74f8 (commit)
       via  c3adc0af22359c617b6f2550d628a4d15762959a (commit)
       via  c89f67a886ad68ee49db73882fc87ff7bb24691b (commit)
       via  c952ac3470ee0985837886e32ccaf2ac5bc5ff69 (commit)
       via  d7dea6c5cb0af9b2fa2fbe50341eac8bb1a31e74 (commit)
       via  08be60b1c2062e62cbeec5293f776064f1087101 (commit)
       via  62f1230c92f4a5c10dcdeb8ba902e8a93c27094e (commit)
       via  5609d923ea12413baece6115b0d099e7a2a2c1fc (commit)
       via  02fd7aa6950726ebf181edf6804d61c96eb3640b (commit)
       via  d8d587a112bd89794551db2548f59996a0d43dfc (commit)
       via  288eb9a9f8fc4d75476e219ab3830722fddef194 (commit)
       via  6e282f742177e31ad50d6179ad101317cf9c3e5a (commit)
       via  2e12e3321a50cdd923b4b4e2da678d6a02823ba7 (commit)
       via  b57c50b3d2c4da9c12c2954e673460d03b639d5f (commit)
       via  d4871699341ae02fd1092be3ca0c84c0d479445e (commit)
       via  63dd89fd4bfcdbbd875dfd80ff4bae89b6160e79 (commit)
       via  5f141148949a9cae831bf11ea7586d82b13296f7 (commit)
       via  0a9ba7b66bcfe8436005915ad111138b121b12ca (commit)
       via  bf103c9b24ca19d3a924dde07cc7543642109dc3 (commit)
       via  f48d34f602cc6c6f84537cae87103dffb5f1672b (commit)
       via  4e1931f1dbf7656af13336ddf03c36c2f526ad50 (commit)
       via  a9363afb96819f8767c51b6bb4fa05f9b0ff965b (commit)
       via  ed2de1992a04fca8ad02d50ef72c1966a80b0013 (commit)
       via  0b248999e91cb67c9736e47d129e9f1b57e7c034 (commit)
       via  78571c0d1bd3dc2f62a7d4863fb561634ed5dc23 (commit)
       via  f7b0a07b2cb854ea5d188a548a2fab3880cf6193 (commit)
       via  a241a5aac63217dea24f79fd8c65adb5eadf092d (commit)
       via  a5ca04c70c1c8656686f00ef95cd78fef2573c0d (commit)
       via  748be735e97e9639cad37e5a817df50d6932ab86 (commit)
       via  04b16148d032c27c7c01ba41ee21a125b008e806 (commit)
       via  60d38c725cfd9c9bc8a557d8a1aa7bf4afabcab0 (commit)
       via  fc6f0c054beadce0ab0819d84b45337187010cad (commit)
       via  3926c6165da5176f3cac5fa3b94291896cb1599d (commit)
       via  6aa68330e61f155f7b4f92f8124a303e015eb465 (commit)
       via  65f3eb3e7fd442f7b932d9e0187eb17cff756c00 (commit)
       via  7ebecdc022207ab3c5bc9474469274a82dc162a5 (commit)
       via  02ab174244b595484ea05d1aaf0ca9a46466cfe5 (commit)
       via  27188e81fa8f01c8b1f6ab3502c470096c45bd1c (commit)
       via  9c5120013daab0e197038f73788ad36d81bdd65c (commit)
       via  42b0a89ba60936910216f803670c75a3585fcc66 (commit)
       via  a3086f1764d548cc8e727be83799e51097beaf54 (commit)
       via  a88c782ccab99eb0f04159ec987b4d4bd72a384f (commit)
       via  3a63cc0973619425dc4abe8350296166fa05a63c (commit)
       via  0e323b8f4b078a2fc8832b488393b7b9dc319741 (commit)
       via  bf6eee817b272214a34b857e71deddfe3af13105 (commit)
       via  fe6432e6dfe4ee5694075a3555241db962a4e694 (commit)
       via  f3e41cf293b2081d5bb0dfbd27ed83640d235e9b (commit)
       via  46a9c49fec086ccd462270aae1c0f3d3ed3dd69e (commit)
       via  82524a05c7622782911b0eb88cf83cb198f1e27f (commit)
       via  395baf139e133ede7f3843d2500024171e12364a (commit)
       via  15b775d3fe81611d5b635b8ebedeec91e9117f4d (commit)
       via  5a69c603c21e67fcf3e08b7e13fd14c1d675b11d (commit)
       via  f5f1d0779ee329a89fd237e4ba1a88081dca603e (commit)
       via  3c0bdf709f6d676fc135f3d48c9407f3e1b46d4a (commit)
       via  f750e1f08b5ed753ac455d20b20c76048082dd9e (commit)
       via  81216376a6f3d93bf4542bbaf96bf8336a4d2dfa (commit)
       via  6df333da8a43ca1c29df254034a423c81b4c1b10 (commit)
       via  abea3d89c115a043320a6cf9a880f11cc6662402 (commit)
       via  d13df52f8ca412198406349b3489dc538aade6c7 (commit)
       via  877a367fc8dcb2eb086c7887a9a35c23a039870e (commit)
       via  ba9841d9df87bf928d1a3bc278328f2bb333dca3 (commit)
       via  eb978f4d8b74c5f5d5987f32f3b4b35471804e24 (commit)
       via  0875b2082ba13b8672f7e29018f6e98e864e8d65 (commit)
       via  0ff7274b81fedd9ab8900767e5ec7584ce435242 (commit)
       via  1388fdd805d38e48b54fa87cf1218658ba7ef932 (commit)
       via  039d4214f0b345c748a79caeca21e71207f1e3eb (commit)
       via  d50bc29aa4cec2ce1f2ba16fc3d2b4469629f975 (commit)
       via  8103104335131f63c61214764516157ed7d2698e (commit)
       via  330493017870f461331dc16ad19fb4dc6f004c69 (commit)
       via  4dcb3c2cee03fab4e63d6a943c5df4aa3150b12f (commit)
       via  22066972d1da5ebb94948e44fdbe44647d0c5dc3 (commit)
       via  511dce04a7b1f41962bc3e8ccbba75ed47e96b02 (commit)
       via  9089501591dfb8fe952466054790a36bba4dc1c0 (commit)
       via  5fdb1400efa86f952c80fd6bcb678c7434a7349f (commit)
       via  163218763abc26c11655c823fef7557d343281f8 (commit)
       via  a838b3885e67f64b6fda52b948972abf6d13edcb (commit)
       via  1583d192891eed8bc0b127176e085364448d4b07 (commit)
       via  49ec5fb81eb03779c92041cb3128df8411f773e3 (commit)
       via  80392e4459e1677e4caf78a42bc907f0af233d9b (commit)
       via  b7ef9704fc8f39b43dce5bed2555741aecdcbb1a (commit)
       via  7415a28ea07963b683264ad1e077bd3e51418247 (commit)
       via  935f8bbb0ed844002c96c19bc6c15de27b7cda57 (commit)
       via  efd1cf697e7d4599a58c337caf34ebd265420537 (commit)
       via  8ba26228b6a1443531474f5dff59866d0e6c4fb0 (commit)
       via  85e9d04ff7d889feb8e4d6fe0fdf1f288154d8f5 (commit)
       via  7d7435d975525baa58c42e6678cbdf5711feae47 (commit)
       via  5ebee2f673580902cc4dff58fff9ee50cf0a2429 (commit)
       via  975b6def37ed46afad7ec2762c7c59785c121ec5 (commit)
       via  43ab025f3e1465dd4e77ae133de3b9735310989b (commit)
       via  7708492d5503abdc506e0ea77edab578c4b5c7b3 (commit)
       via  5d9ec63c88c807aebf9d0b6ac83872b38139d762 (commit)
       via  0dbbfd10e6b5ed133ad20dd7cd4771da6bed3f8a (commit)
       via  576c57b99b9420d7ce9af2f74507e22ecb07455e (commit)
       via  bb10f67c6eaf80a68aac0f98c7d90fdae11eab32 (commit)
       via  0a39680f90f2b5df8f434616854d2254f47804a7 (commit)
       via  b8b72542b2b0a5f1bdfdd1179ba1e80fa35db563 (commit)
       via  a38d5512f8e3a15d03384106c98da13dab5c469c (commit)
       via  794203316b664e350669f7866d21547fd33d9b12 (commit)
       via  78353e0505896285ea08ec82eb6f5d46941a27cc (commit)
       via  23d635d8628692aff08a173682cc10d74bf58429 (commit)
       via  aac263605bbf0e32be09831b20cb10187df4be94 (commit)
       via  17bdafbc84cbd5d4a7ab004086f3380355bd11e8 (commit)
       via  be6ea846156ab73309712e82a2ac1db1f4536107 (commit)
       via  6c1170160cfeff5fba7d2f6d0e6ae7e1b3a287bd (commit)
       via  69f491e9c91f9e08833b0140710088e7c76bcb22 (commit)
       via  a50e608bee1643ed89dfa05d9401fd87fcebf412 (commit)
       via  e8717f1616f946e39959b3fac661f9a20894f0d2 (commit)
       via  a56017290cf33626526eb28389366b577a064c4a (commit)
       via  bcf560ba8430e91452ed433d5d540f3d7a307ce1 (commit)
       via  d89ba70b241a8b8576ba7bdf211e368ddbe2a606 (commit)
       via  b8a2b7946102a7cb9baaea0432990e5a1321a677 (commit)
       via  26b72bde435c04ac8480b7cbebd197d40615628d (commit)
       via  acd27888c005c45b06bd65aa2b53b91aee5ee42c (commit)
       via  db70590359afdaafa4809f241878c74e89d2edb7 (commit)
       via  5faec932ca3a1a153d34c0afbf0faceee1e0bfc0 (commit)
       via  09779e1e305fc14262432ecc7574c20e694c7bba (commit)
       via  da4f6cd39f75215fe88c0a158badfdb443012242 (commit)
       via  b1acabc1fdf460144494cd48a9675971aa9c9d36 (commit)
       via  4de169112e6cc0420530e63822ec66b22718e616 (commit)
       via  54016887134acb8c82eec9cbe4a0b0840ca2e070 (commit)
       via  b9b6b2ddac134d87204353bf58bd55838c311949 (commit)
       via  b8f1c28d7973827de8c5ff703758d0830bdcf183 (commit)
       via  29b937e31d78b4a9d036fe425b0ee4e3ab1a9609 (commit)
       via  fdb1dad9291bd20666ec8938137c3e9852328f37 (commit)
       via  07f24d5ce79067e7753199cd2fabcd97d60a3e69 (commit)
       via  4d0765fe27f5de1ff94db3c76c0386821ae13b7f (commit)
       via  99c4255f19047c004b50c2672353df7a1ed98389 (commit)
       via  1c7ceb7dc272ef5dc37e759bda204b7fa52982d4 (commit)
       via  341eac093386bf8a9fc40371f1d96a5c6f244024 (commit)
       via  7abfa7a472e202528e07b9b8d0c89920a8813241 (commit)
       via  8616609ce4b0e9b0e3f0651d01e3ee4507d021af (commit)
       via  81554f3fd59ad04ac0b3fa3295a7e35ac11fe6f4 (commit)
       via  3d0a5ee6551a1f2036a574f7802c1abc47eada41 (commit)
       via  32c2066039dab949ffee3f229caae170c283b422 (commit)
       via  997e2329080d16647f6a466b2dce1657ce4d2183 (commit)
       via  17174e6aac2869b41398d66e542b2e924396eecc (commit)
       via  ac07666749fcad712775b5a64a4c58abb3af15ad (commit)
       via  c4eb8a1ab95ffd9876cc11744daf433bd946194c (commit)
       via  b0106514bfeb2e4d3b24e923aba92ef4c635a179 (commit)
       via  e53e633a3f09f7fba923872f536a4f4276d6ea2c (commit)
       via  8ac81feb44e603695f2c04f243453b159382dcf4 (commit)
       via  44a017f92479a01b43ed9012b36ffbbf72b242b3 (commit)
       via  ea9812279fe436be9a010d07ef1dbe465199a3d7 (commit)
       via  223b94cd31189790fd589618830f9d7a987f20a2 (commit)
       via  0d0c9d4edec15d0f470bf193d541444c00d6bb52 (commit)
       via  e6297a6a3a9bbf2b4c4f38c0f6590fcf3551719a (commit)
       via  09ddc54333cdbc2f695fd83cbf091a7d5a1c3604 (commit)
       via  1ba50975b735290741c573d101b3339407ccc84d (commit)
       via  9d1f51be0b0f3c47098cc061dd29c1ed29cd04ed (commit)
       via  93c0714bf2a8759cdd916d368488b6352949d811 (commit)
       via  f9b9164d0f132935187c5130caa1378df6675f24 (commit)
       via  462962a5ad66d2d45c54f3ced634074f7cb5d3f8 (commit)
       via  0e9c90dbc769e61035874cee40cf6a87ae576cc3 (commit)
       via  973529616bdbecd60c9a74b1235e93bd98cd35c9 (commit)
       via  ddb99de5e2539a85b005852c119ecb5a2de341d1 (commit)
       via  a909855032cbb0408a2666834f2899fce22b6731 (commit)
       via  8f783e789fc7b8586ceea0aa739aafc53db77a79 (commit)
       via  9126e263107c91d5dd8aad079d78dcb2f2de1eeb (commit)
       via  6d2b337c616b606a8abe20dbdd96b199d1ea9d65 (commit)
       via  13f3861ce8c3d00073cfb10550e58103a5de08d9 (commit)
       via  18226da50927085daf9783c9af3b891347d72ed9 (commit)
       via  fca274d0bfc5590a1bd33f2655fa5cdfd136998c (commit)
       via  16369dbf89c7e65c48f70c35bbacb7dc11488781 (commit)
       via  116949a3172eb5fd7f7e32fef3a6f5ac08788c9e (commit)
       via  4b0ad5d3fb4b15bbc8a951aa8df8c36fd868c87b (commit)
       via  0a5f727ba1d6334dd9548284ccbfc8fe7d4e9c47 (commit)
       via  1e00603daae80372f25992191b3e1c9cc5c6af2e (commit)
       via  d7d8c63c1f96e5b47ea7968c509e2c74fc8bb207 (commit)
       via  d5c33f3d943ad3f57a8f0e97f05477e7abca1db3 (commit)
       via  3853dac583b9ce91ce23347ee39483747e261f65 (commit)
       via  933c88fcd452923382e24d46b390d03459b39fa6 (commit)
       via  c300d5222f55a8c132140d776f3fe72ffabc13a6 (commit)
       via  929134dae8eb92b6b901a4ec3931d6708dee6bc7 (commit)
       via  3c68476e500822f8e71fc62d428045bbe7eddda1 (commit)
       via  6d634ce74058b33fa847e9a99db4e88e2342d127 (commit)
      from  ea73e687deefc54039bafb3100facc779cbafd48 (commit)

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

- Log -----------------------------------------------------------------
commit 119571bd058c06566421918c88f4be4531bad0e7
Merge: ea73e68 6080d11
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Oct 4 09:30:02 2011 -0600

    Merge remote-tracking branch 'gdb/master' into duplicate-feature-2

commit 6080d11494b683ff7c7aeb7141751110fd966187
Author: kpouget <kpouget>
Date:   Tue Oct 4 08:04:08 2011 +0000

    2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
    
           PR python/12691: Add the inferior to Python exited event
           * python/py-exitedevent.c (create_exited_event_object): Add inferior
           to exited_event.
           * python/py-event.h (emit_exited_event): Likewise
           * python/-inferior.c (python_inferior_exit): Likewise
    
     2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
    
           PR python/12691: Add the inferior to Python exited event
           * gdb.python/py-events.exp: Test the inferior attribute of exited
           event with a fork.
           * gdb.python/py-events.py: Print inferior number on exit.
           * gdb.python/py-events.c: Fork the inferior.
    
     2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
    
           PR python/12691: Add the inferior to Python exited event
           * gdb.texinfo (Events In Python): Describe exited inferior attribute.

commit b29551ecf30b9b0c6a31bb40f1315ff00edeae5a
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Oct 4 00:00:33 2011 +0000

    *** empty log message ***

commit 2a74ace2a0e445b6a9e161bf5b010103a549fe2a
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Oct 3 23:00:06 2011 +0000

    daily update

commit f63bc7184c640063714e2a8a1bace3fad470f37a
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Oct 3 21:39:03 2011 +0000

    [doco] rephrase `presence of' with `support for'.
    
    gdb/doc/ChangeLog:
    
            * gdb.texinfo (GDB/MI Miscellaneous Commands): Minor
            rephasing.

commit c9d4d8d5e96cdd8b82c33e772e6c75d9c899967a
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Oct 3 21:38:51 2011 +0000

    [Ada/doco] Document the new -ada-task-info GDB/MI command.
    
    gdb/doc/ChangeLog:
    
            * gdb.texinfo (GDB/MI Ada Tasking Commands): New node.
            (GDB/MI Miscellaneous Commands): Add `ada-task-info'
            as possible feature returned by the `-list-features'
            command.

commit a42c9bff94ac91da99dc76d46a84a3c4aa1c29bb
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Oct 3 21:38:39 2011 +0000

    [Ada] Add field "thread-id" in -ada-task-info output
    
    This patch enhances the -ada-task-info command, adding a new
    field called "thread-id" in the command output.  This field
    provides the ID of the task's corresponding thread (if that
    information could not be determined, the field is omitted).
    
    This field is useful in the context of GDB/MI users, because
    it allows a quick translation from Ada task to thread, and
    thus easy use of all the commands that take a --thread argument.
    
    gdb/ChangeLog:
    
            * ada-tasks.c (print_ada_task_info): Add "thread-id" field
            in output of -ada-task-info GDB/MI command.

commit 65da2b735484ecfee87ffa5352b48d0444b362be
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Oct 3 21:38:30 2011 +0000

    [Ada] New GDB/MI command: -ada-tasks-info
    
    This patch introduces a new GDB/MI command: -ada-tasks-info,
    which is meant to be the MI equivalent of the CLI `info tasks'
    command.
    
    This new command returns an array, with each row corresponding
    to one task.  For now, the columns of the array corresponds to
    the columns displayed in the CLI output.
    
    gdb/ChangeLog:
    
            * ada-lang.h (struct inferior): Declare.
            (print_ada_task_info): Add declaration.
            * ada-tasks.c (print_ada_task_info): Make non-static.
            * mi/mi-cmds.c (mi_cmds): Add "ada-task-info".
            * mi/mi-cmds.h (mi_cmd_ada_task_info): Add declaration.
            * mi/mi-main.c: #include "ada-lang.h".
            (mi_cmd_list_features): Add "ada-task-info" to the list
            of supported features.
            (mi_cmd_ada_task_info): New function.

commit 91914816afba4b07adf3e8610c042028f55157dd
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Oct 3 20:46:18 2011 +0000

    Crash sourcing Python script on Windows
    
    gdb/ChangeLog:
    
            * python/python.c (python_run_simple_file): New function.
            (source_python_script, source_python_script_for_objfile):
            Replace call to PyRun_SimpleFile by call to
            python_run_simple_file.

commit 361c5ac7a1fd06cd86c4b20fcd9d77ed713e84dc
Author: emachado <emachado>
Date:   Mon Oct 3 20:13:51 2011 +0000

    * gdb.base/jit.exp: Add testcase name to log message

commit 665b0ae31cfd5ef41dcb082dea14055e881d17bc
Author: Paul Koning <pkoning@equallogic.com>
Date:   Mon Oct 3 16:15:18 2011 +0000

    * gdb.python/py-value.exp
    (python inval = gdb.parse_and_eval('*(int*)0'))
    (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
    (set argc=2, python print argc_lazy): New tests.

commit e5e9d08c064eb7d7358c3de2b2bfee3527dc55be
Author: Paul Koning <pkoning@equallogic.com>
Date:   Mon Oct 3 16:14:38 2011 +0000

    * python/py-value.c (valpy_get_address): Use Py_XINCREF.
    (value_to_value_object): Fetch value if it was lazy.

commit 439eaff911867f62533c3a018d2f8fb766f1d93a
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Oct 3 00:00:03 2011 +0000

    *** empty log message ***

commit 3608e83c5fe0ac956718d4017fc93d7aed9333b6
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Oct 2 23:00:06 2011 +0000

    daily update

commit e93f4ae6aa29887e022cf389dcbf1440b457e67b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Oct 2 21:05:58 2011 +0000

    gdb/
    	Code cleanup.
    	* solib-svr4.c (svr4_default_sos):  Remove variables head and link_ptr.
    	Rearrange the code for it.

commit 794929bdced64854d1c9f861f4894bd76f93e2a9
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Sun Oct 2 02:13:11 2011 +0000

    thread-specific breakpoints not saved properly by save-breakpoint
    
    Initially, I noticed that the save command was often missing
    new lines in the file that it generated.  For instance, consider:
    
            % gdb save-bp
            (gdb) b break_me
            (gdb) b save-bp.c:27
            (gdb) save breakpoints bps
    
    The contents of the bps file would be:
    
            % cat bps
            break break_mebreak save-bp.c:27
    
    Looking further into the problem, I realized that the missing newlines
    are just a consequence of a missing call to print_recreate_thread.
    After having generated the breakpoint location in the break command,
    we cannot put a new line until we have looked at whether we need to
    add a 'thread NUM' argument.
    
    gdb/ChangeLog:
    
            * breakpoint.c (bkpt_print_recreate): Add call to
            print_recreate_thread.
    
    gdb/testsuite/ChangeLog:
    
            * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.

commit 7a508915a1a6d978be80db3c8183a7e090f53767
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Oct 2 00:00:03 2011 +0000

    *** empty log message ***

commit 5e24e7d92e5ce021c774520a19edd1752d646cb5
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Oct 1 23:00:05 2011 +0000

    daily update

commit fe7fbf3b21ae5f37f510d3a066c9c0f15fc863ca
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Oct 1 11:02:10 2011 +0000

    gdb/testsuite/
    	* gdb.python/py-value.exp (test_value_in_inferior): New variable
    	can_read_0, test for it.
    	(python print gdb.parse_and_eval('*(int*)0')): Rename to ...
    	(parse_and_eval with memory error): ... here, make it untested if
    	can_read_0.

commit 888df6392fb589da0804cbfefd068240dcf03e94
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Oct 1 00:00:32 2011 +0000

    *** empty log message ***

commit 929eff21af3724aa656c8b022c12158881a99b12
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Oct 1 00:00:05 2011 +0000

    daily update

commit cacbc8340a3456a69666cd5c6af31772896b048a
Author: mpolacek <mpolacek>
Date:   Fri Sep 30 15:07:32 2011 +0000

    gdb.python/python.exp: fix up race

commit 8c2e9af99137e1cc425959c267876cf0111d16b8
Author: Tristan Gingold <gingold@adacore.com>
Date:   Fri Sep 30 10:39:44 2011 +0000

    2011-09-30  Tristan Gingold  <gingold@adacore.com>
    
    	* dwarf2.c (struct dwarf2_debug): Add field debug_sections.
    	(read_section): Add sec argument. Adjust the code to get section
    	names from it.
    	(read_indirect_string): Adjust call to read_section.
    	(read_abbrevs): Ditto.
    	(decode_line_info): Ditto.
    	(read_debug_ranges): Ditto.
    	(DWARF2_DEBUG_INFO, DWARF2_COMPRESSED_DEBUG_INFO): Remove.
    	(find_debug_info): Add debug_sections parameter.  Use it instead
    	the above macros.
    	(place_sections): Get section names from stash.
    	(find_line): Add debug_sections argument.  Initialize
    	debug_sections field of stash from it.
    	Adjust calls to find_debug_info.
    	(_bfd_dwarf2_find_nearest_line): Add debug_sections argument.
    	Adjust call to find_line.
    	(_bfd_dwarf2_find_line): Adjust call to find_line.
    	* libcoff-in.h (struct dwarf_debug_section): New declaration.
    	(coff_find_nearest_line_with_names): Likewise.
    	* libcoff.h: Regenerate.
    	* libbfd-in.h (struct dwarf_debug_section): Move declaration.
    	(dwarf_debug_sections): Likewise.
    	(_bfd_dwarf2_find_nearest_line): Add debug_sections argument.
    	* libbfd.h: Regenerate.
    	* elf.c (_bfd_elf_find_nearest_line): Adjust call to
    	_bfd_dwarf2_find_nearest_line.
    	* elfxx-mips.c (_bfd_mips_elf_find_nearest_line): Ditto.
    	* elf64-alpha.c (elf64_alpha_find_nearest_line): Ditto.
    	* elf32-arm.c (elf32_arm_find_nearest_line): Ditto.
    	* coffgen.c (coff_find_nearest_line_with_names): New function.
    	(coff_find_nearest_line): Calls coff_find_nearest_line_with_names.
    	* coff-rs6000.c (xcoff_debug_sections): New constant.
    	(xcoff_find_nearest_line): New function.
    	(rs6000coff_vec): Use xcoff_find_nearest_line.
    	(pmac_xcoff_vec): Ditto.

commit 7c4093cd024c5a59d8176793a0e64335ce9abc53
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Sep 30 05:10:58 2011 +0000

    	PR ld/13235
    bfd/
    	* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add ha_relocs_not_using_r2.
    	(ppc64_elf_edit_toc): Check HA relocs.
    	(ha_reloc_match): Delete function.
    	(ppc64_elf_relocate_section): Remove delayed HA nop optimization.
    	Instead do it and low part optimization based on
    	ha_relocs_not_using_r2.
    ld/testsuite/
    	* ld-powerpc/tocopt.d: Update.
    	* ld-powerpc/tocopt5.d, * ld-powerpc/tocopt5.s: New test.
    	* ld-powerpc/powerpc.exp: Run new test.

commit e40f893a301ec70986722c23b407aa32c9805412
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Sep 30 00:01:56 2011 +0000

    gdbserver: add support for FDPIC loadmaps
    
    The DSBT support is very close to the FDPIC code, so extend the existing
    loadmap support to work with FDPIC loadmaps too.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 3ed81300f1823dbb76f03dded62e7623be7635fc
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Sep 30 00:00:32 2011 +0000

    *** empty log message ***

commit 60a154696d52a1a493bb9f7dca649359ae1ff056
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Sep 30 00:00:05 2011 +0000

    daily update

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

Summary of changes:
 bfd/ChangeLog                                      |  136 ++
 bfd/bfd-in.h                                       |    3 +-
 bfd/bfd-in2.h                                      |    6 +-
 bfd/bfdwin.c                                       |   41 +-
 bfd/coff-rs6000.c                                  |   48 +-
 bfd/coffcode.h                                     |   10 +-
 bfd/coffgen.c                                      |   33 +-
 bfd/configure                                      |    2 +-
 bfd/configure.in                                   |    2 +-
 bfd/dwarf2.c                                       |   86 +-
 bfd/elf-ifunc.c                                    |    7 +-
 bfd/elf.c                                          |    3 +-
 bfd/elf32-arm.c                                    |    6 +-
 bfd/elf32-sparc.c                                  |    5 +-
 bfd/elf64-alpha.c                                  |    3 +-
 bfd/elf64-ppc.c                                    |  171 +--
 bfd/elf64-sparc.c                                  |    5 +-
 bfd/elflink.c                                      |   79 +-
 bfd/elfxx-mips.c                                   |    3 +-
 bfd/elfxx-sparc.c                                  |   35 +
 bfd/elfxx-sparc.h                                  |    5 +-
 bfd/libbfd-in.h                                    |   26 +-
 bfd/libbfd.h                                       |   26 +-
 bfd/libcoff-in.h                                   |    4 +
 bfd/libcoff.h                                      |    4 +
 bfd/linker.c                                       |   23 +
 bfd/mach-o.c                                       |    9 +-
 bfd/peicode.h                                      |    6 +-
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |  730 +++++++++++
 gdb/MAINTAINERS                                    |    2 +
 gdb/NEWS                                           |    9 +-
 gdb/ada-lang.h                                     |    7 +-
 gdb/ada-tasks.c                                    |  725 ++++++++----
 gdb/amd64-tdep.c                                   |  103 ++-
 gdb/arch-utils.c                                   |    8 +
 gdb/arch-utils.h                                   |    5 +
 gdb/arm-tdep.c                                     | 1367 +++++++++++++++++++-
 gdb/ax-gdb.c                                       |   47 +-
 gdb/ax-gdb.h                                       |    3 +
 gdb/breakpoint.c                                   |  107 ++-
 gdb/cli/cli-decode.c                               |    1 +
 gdb/cli/cli-interp.c                               |   12 +-
 gdb/cli/cli-script.c                               |   16 +
 gdb/common/linux-ptrace.h                          |    7 +
 gdb/config/s390/s390.mh                            |    2 +-
 gdb/darwin-nat.c                                   |   84 ++-
 gdb/defs.h                                         |    2 +
 gdb/doc/ChangeLog                                  |   55 +
 gdb/doc/gdb.texinfo                                |  891 +++++++------
 gdb/dwarf2loc.c                                    |   23 +-
 gdb/dwarf2read.c                                   |   63 +-
 gdb/eval.c                                         |    2 +-
 gdb/event-top.c                                    |  314 ++---
 gdb/event-top.h                                    |   52 -
 gdb/findvar.c                                      |   22 +-
 gdb/fork-child.c                                   |   95 +-
 gdb/frame.c                                        |   22 +-
 gdb/gdbarch.c                                      |   24 +
 gdb/gdbarch.h                                      |   11 +
 gdb/gdbarch.sh                                     |    9 +
 gdb/gdbserver/ChangeLog                            |   97 ++
 gdb/gdbserver/linux-arm-low.c                      |  479 +++++++-
 gdb/gdbserver/linux-low.c                          |   36 +-
 gdb/gdbserver/linux-x86-low.c                      |  297 +++++-
 gdb/gdbserver/server.c                             |    3 -
 gdb/gdbserver/server.h                             |   10 +-
 gdb/gdbserver/target.c                             |   16 +-
 gdb/gdbserver/tracepoint.c                         |  160 +++-
 gdb/gdbthread.h                                    |   39 +-
 gdb/gnu-nat.c                                      |    3 +-
 gdb/i386-linux-nat.c                               |    3 +-
 gdb/i386-tdep.c                                    |   31 +
 gdb/inf-loop.c                                     |   45 +-
 gdb/inf-ptrace.c                                   |    2 +-
 gdb/inf-ttrace.c                                   |    2 +-
 gdb/inferior.h                                     |    9 +-
 gdb/infrun.c                                       |  196 ++--
 gdb/interps.c                                      |   44 +-
 gdb/interps.h                                      |   25 +-
 gdb/linux-fork.c                                   |   35 +
 gdb/linux-nat.c                                    |  259 +++--
 gdb/linux-nat.h                                    |   17 +
 gdb/linux-thread-db.c                              |   56 +-
 gdb/main.c                                         |    4 +
 gdb/mi/mi-cmd-stack.c                              |    6 +-
 gdb/mi/mi-cmds.c                                   |    1 +
 gdb/mi/mi-cmds.h                                   |    1 +
 gdb/mi/mi-common.h                                 |    3 +
 gdb/mi/mi-interp.c                                 |   42 +-
 gdb/mi/mi-main.c                                   |   15 +-
 gdb/p-exp.y                                        |    4 +-
 gdb/parse.c                                        |   30 +-
 gdb/parser-defs.h                                  |    2 -
 gdb/procfs.c                                       |    2 +-
 gdb/python/py-auto-load.c                          |   16 +-
 gdb/python/py-bpevent.c                            |    8 +-
 gdb/python/py-cmd.c                                |   46 +-
 gdb/python/py-event.h                              |    2 +-
 gdb/python/py-exitedevent.c                        |   13 +-
 gdb/python/py-frame.c                              |    8 -
 gdb/python/py-inferior.c                           |   16 +-
 gdb/python/py-param.c                              |   12 +-
 gdb/python/py-stopevent.c                          |   43 +-
 gdb/python/py-stopevent.h                          |    3 +-
 gdb/python/py-type.c                               |  419 ++++++-
 gdb/python/py-value.c                              |   10 +-
 gdb/python/python-internal.h                       |    5 +-
 gdb/python/python.c                                |   63 +-
 gdb/ravenscar-thread.c                             |    2 +-
 gdb/regcache.c                                     |   30 +-
 gdb/regcache.h                                     |    3 +
 gdb/remote.c                                       |    8 +-
 gdb/s390-tdep.c                                    |   27 +-
 gdb/solib-darwin.c                                 |   74 +-
 gdb/solib-svr4.c                                   |   34 +-
 gdb/solib.c                                        |   20 +-
 gdb/sparc-tdep.c                                   |   55 +-
 gdb/sparc-tdep.h                                   |    6 +
 gdb/sparc64-tdep.c                                 |   32 +-
 gdb/stack.c                                        |   53 +-
 gdb/symfile.c                                      |    2 +-
 gdb/target.h                                       |    2 +
 gdb/testsuite/ChangeLog                            |  207 +++
 gdb/testsuite/gdb.ada/tasks.exp                    |   20 +-
 .../py-events.c => gdb.arch/amd64-prologue-xmm.c}  |   27 +-
 gdb/testsuite/gdb.arch/amd64-prologue-xmm.exp      |   46 +
 gdb/testsuite/gdb.arch/amd64-prologue-xmm.s        |  400 ++++++
 gdb/testsuite/gdb.arch/arm-disp-step.S             |  166 +++-
 gdb/testsuite/gdb.arch/arm-disp-step.exp           |  210 +++-
 gdb/testsuite/gdb.base/annota1.exp                 |   29 +-
 gdb/testsuite/gdb.base/annota3.exp                 |   28 +-
 .../py-type.c => gdb.base/disp-step-fork.c}        |   77 +-
 gdb/testsuite/gdb.base/disp-step-syscall.exp       |  138 ++
 .../py-type.c => gdb.base/disp-step-vfork.c}       |   84 +-
 gdb/testsuite/gdb.base/foll-fork.exp               |    4 +-
 .../{gdb.python/py-events.c => gdb.base/interp.c}  |   21 +-
 gdb/testsuite/gdb.base/interp.exp                  |   52 +-
 gdb/testsuite/gdb.base/jit.exp                     |    4 +-
 gdb/testsuite/gdb.base/kill-after-signal.exp       |    6 +
 .../{gdb.python/py-events.c => gdb.base/save-bp.c} |   29 +-
 gdb/testsuite/gdb.base/save-bp.exp                 |   69 +
 gdb/testsuite/gdb.base/valgrind-db-attach.exp      |    3 +
 gdb/testsuite/gdb.dwarf2/clztest.exp               |    6 +-
 .../gdb.dwarf2/dw2-ifort-parameter-debug.S         |  122 ++
 .../dw2-ifort-parameter.c}                         |   22 +-
 gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp   |   40 +
 .../dw2-param-error-main.c}                        |   28 +-
 gdb/testsuite/gdb.dwarf2/dw2-param-error.S         |  108 ++
 .../dw2-param-error.exp}                           |   22 +-
 gdb/testsuite/gdb.dwarf2/typeddwarf.exp            |   10 +-
 gdb/testsuite/gdb.python/py-events.c               |    1 +
 gdb/testsuite/gdb.python/py-events.exp             |   19 +-
 gdb/testsuite/gdb.python/py-events.py              |    5 +-
 .../gdb.python/{py-events.exp => py-evsignal.exp}  |   51 +-
 gdb/testsuite/gdb.python/py-evthreads.c            |   28 +-
 gdb/testsuite/gdb.python/py-evthreads.exp          |  100 +-
 gdb/testsuite/gdb.python/py-inferior.exp           |   12 +-
 .../gdb.python/{py-events.c => py-prompt.c}        |   24 +-
 gdb/testsuite/gdb.python/py-prompt.exp             |  131 ++
 gdb/testsuite/gdb.python/py-type.c                 |    9 +-
 gdb/testsuite/gdb.python/py-type.exp               |   25 +
 gdb/testsuite/gdb.python/py-value.exp              |   31 +-
 gdb/testsuite/gdb.python/python.exp                |   16 +-
 gdb/testsuite/gdb.threads/gcore-thread.exp         |    4 +-
 gdb/testsuite/gdb.trace/backtrace.exp              |    4 +-
 gdb/testsuite/gdb.trace/collection.exp             |   36 +-
 gdb/testsuite/gdb.trace/report.exp                 |    4 +-
 gdb/testsuite/gdb.trace/tspeed.c                   |  184 +++
 gdb/testsuite/gdb.trace/tspeed.exp                 |  140 ++
 gdb/testsuite/gdb.trace/unavailable.exp            |    8 +-
 gdb/testsuite/gdb.trace/while-dyn.exp              |    4 +-
 gdb/testsuite/lib/gdb.exp                          |   70 +-
 gdb/testsuite/lib/prompt.exp                       |   92 ++
 gdb/thread.c                                       |   75 +-
 gdb/top.c                                          |  146 +--
 gdb/top.h                                          |   24 +-
 gdb/tracepoint.c                                   |   40 +
 gdb/tui/tui-interp.c                               |   17 +-
 gdb/tui/tui-io.c                                   |    2 +-
 gdb/utils.c                                        |   48 +-
 gdb/valops.c                                       |   55 +-
 gdb/value.c                                        |   14 +-
 gdb/value.h                                        |    5 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |   45 +-
 include/ChangeLog                                  |   24 +
 include/bfdlink.h                                  |    4 +
 include/demangle.h                                 |    4 +-
 include/elf/ChangeLog                              |    5 +
 include/elf/sparc.h                                |   30 +-
 include/libiberty.h                                |    4 +
 include/opcode/ChangeLog                           |    7 +
 include/opcode/sparc.h                             |   37 +-
 include/plugin-api.h                               |   11 +-
 include/timeval-utils.h                            |   40 +
 libiberty/ChangeLog                                |   26 +
 libiberty/argv.c                                   |   23 +
 libiberty/cp-demangle.c                            |   57 +-
 libiberty/md5.c                                    |   10 +-
 libiberty/testsuite/demangle-expected              |   47 +
 libiberty/timeval-utils.c                          |   87 ++
 opcodes/ChangeLog                                  |   41 +
 opcodes/m68k-opc.c                                 |   15 +-
 opcodes/sparc-opc.c                                |  487 ++++----
 sim/bfin/ChangeLog                                 |    4 +
 sim/bfin/bfin-sim.c                                |    4 +-
 sim/testsuite/sim/bfin/ChangeLog                   |    4 +
 sim/testsuite/sim/bfin/vit_max2.s                  |   53 +
 209 files changed, 10299 insertions(+), 2769 deletions(-)
 copy gdb/testsuite/{gdb.python/py-events.c => gdb.arch/amd64-prologue-xmm.c} (68%)
 create mode 100644 gdb/testsuite/gdb.arch/amd64-prologue-xmm.exp
 create mode 100644 gdb/testsuite/gdb.arch/amd64-prologue-xmm.s
 copy gdb/testsuite/{gdb.python/py-type.c => gdb.base/disp-step-fork.c} (59%)
 create mode 100644 gdb/testsuite/gdb.base/disp-step-syscall.exp
 copy gdb/testsuite/{gdb.python/py-type.c => gdb.base/disp-step-vfork.c} (57%)
 copy gdb/testsuite/{gdb.python/py-events.c => gdb.base/interp.c} (67%)
 copy gdb/testsuite/{gdb.python/py-events.c => gdb.base/save-bp.c} (55%)
 create mode 100644 gdb/testsuite/gdb.base/save-bp.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter-debug.S
 copy gdb/testsuite/{gdb.python/py-events.c => gdb.dwarf2/dw2-ifort-parameter.c} (73%)
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp
 copy gdb/testsuite/{gdb.python/py-events.c => gdb.dwarf2/dw2-param-error-main.c} (68%)
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-param-error.S
 copy gdb/testsuite/{gdb.base/kill-after-signal.exp => gdb.dwarf2/dw2-param-error.exp} (57%)
 copy gdb/testsuite/gdb.python/{py-events.exp => py-evsignal.exp} (56%)
 copy gdb/testsuite/gdb.python/{py-events.c => py-prompt.c} (62%)
 create mode 100644 gdb/testsuite/gdb.python/py-prompt.exp
 create mode 100644 gdb/testsuite/gdb.trace/tspeed.c
 create mode 100644 gdb/testsuite/gdb.trace/tspeed.exp
 create mode 100644 gdb/testsuite/lib/prompt.exp
 create mode 100644 include/timeval-utils.h
 create mode 100644 libiberty/timeval-utils.c
 create mode 100644 sim/testsuite/sim/bfin/vit_max2.s

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1bbf84f..3328999 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,139 @@
+2011-09-30  Tristan Gingold  <gingold@adacore.com>
+
+	* dwarf2.c (struct dwarf2_debug): Add field debug_sections.
+	(read_section): Add sec argument. Adjust the code to get section
+	names from it.
+	(read_indirect_string): Adjust call to read_section.
+	(read_abbrevs): Ditto.
+	(decode_line_info): Ditto.
+	(read_debug_ranges): Ditto.
+	(DWARF2_DEBUG_INFO, DWARF2_COMPRESSED_DEBUG_INFO): Remove.
+	(find_debug_info): Add debug_sections parameter.  Use it instead
+	the above macros.
+	(place_sections): Get section names from stash.
+	(find_line): Add debug_sections argument.  Initialize
+	debug_sections field of stash from it.
+	Adjust calls to find_debug_info.
+	(_bfd_dwarf2_find_nearest_line): Add debug_sections argument.
+	Adjust call to find_line.
+	(_bfd_dwarf2_find_line): Adjust call to find_line.
+	* libcoff-in.h (struct dwarf_debug_section): New declaration.
+	(coff_find_nearest_line_with_names): Likewise.
+	* libcoff.h: Regenerate.
+	* libbfd-in.h (struct dwarf_debug_section): Move declaration.
+	(dwarf_debug_sections): Likewise.
+	(_bfd_dwarf2_find_nearest_line): Add debug_sections argument.
+	* libbfd.h: Regenerate.
+	* elf.c (_bfd_elf_find_nearest_line): Adjust call to
+	_bfd_dwarf2_find_nearest_line.
+	* elfxx-mips.c (_bfd_mips_elf_find_nearest_line): Ditto.
+	* elf64-alpha.c (elf64_alpha_find_nearest_line): Ditto.
+	* elf32-arm.c (elf32_arm_find_nearest_line): Ditto.
+	* coffgen.c (coff_find_nearest_line_with_names): New function.
+	(coff_find_nearest_line): Calls coff_find_nearest_line_with_names.
+	* coff-rs6000.c (xcoff_debug_sections): New constant.
+	(xcoff_find_nearest_line): New function.
+	(rs6000coff_vec): Use xcoff_find_nearest_line.
+	(pmac_xcoff_vec): Ditto.
+
+2011-09-30  Alan Modra  <amodra@gmail.com>
+
+	PR ld/13235
+	* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add ha_relocs_not_using_r2.
+	(ppc64_elf_edit_toc): Check HA relocs.
+	(ha_reloc_match): Delete function.
+	(ppc64_elf_relocate_section): Remove delayed HA nop optimization.
+	Instead do it and low part optimization based on
+	ha_relocs_not_using_r2.
+
+2011-09-29  Alan Modra  <amodra@gmail.com>
+
+	PR ld/13233
+	* elflink.c (_bfd_elf_gc_mark_extra_sections): Mark single member
+	debug and special section groups.
+
+2011-09-27  Kai Tietz  <ktietz@redhat.com>
+
+	* coffcode.h (sec_to_styp_flags): Handle
+	SEC_LINK_DUPLICATES_SAME_CONTENTS, and
+	SEC_LINK_DUPLICATES_SAME_SIZE.
+
+2011-09-22  Tristan Gingold  <gingold@adacore.com>
+
+	* configure.in: Bump version to 2.22.51
+	* configure: Regenerate.
+
+2011-09-21  David S. Miller  <davem@davemloft.net>
+
+	* elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): New.
+	* elfxx-sparc.h: Declare it.
+	* elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Call it.
+	* elf64-sparc.c (elf64_sparc_merge_private_bfd_data): Likewise.
+
+2011-09-21  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (bfd_mach_o_convert_section_name_to_bfd): Add comment.
+	Deals with size limited strings.
+	(bfd_mach_o_build_commands): Initialize more fields.
+
+2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/13177
+	* elflink.c (elf_gc_sweep_symbol): Also hide symbols without PLT
+	nor GOT references.
+
+2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/12975
+	* bfd-in.h (bfd_elf_size_dynamic_sections): Remove pointer
+	to struct bfd_elf_version_tree.
+
+	* elflink.c (elf_info_failed): Remove verdefs.
+	(_bfd_elf_export_symbol): Updated.
+	_bfd_elf_link_assign_sym_version): Likewise.
+	(bfd_elf_size_dynamic_sections): Remove pointer to struct
+	bfd_elf_version_tree.  Updated.
+	(bfd_elf_gc_mark_dynamic_ref_symbol): Check if a symbol is hidden
+	by linker script.
+
+	* linker.c (bfd_hide_sym_by_version): New.
+
+	* bfd-in2.h: Regenerated.
+
+2011-09-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/13178
+	* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Use .got.plt
+	if there are no GOT relocations.
+
+2011-09-09  Kai Tietz  <ktietz@redhat.com>
+
+	* peicode.h (pe_ILF_build_a_bfd): Don't remove leading underscore
+	for targets without symbol_leading_char.
+
+2011-09-08  Bernd Jendrissek  <bernd.jendrissek@gmail.com>
+
+	* bfdwin.c (bfd_get_file_window): Fix memory leak.
+
+2011-09-07  Alan Modra  <amodra@gmail.com>
+
+	PR ld/13131
+	* bfd/elf64-ppc.c (adjust_toc_syms): Ensure ppc64_elf_howto_table
+	is initialized.
+
+2011-09-06  Alan Modra  <amodra@gmail.com>
+
+	PR ld/13131
+	* elf64-ppc.c (adjust_toc_syms): Delete redundant code.
+	(ppc64_elf_edit_toc): Fix style nit.  Report some details
+	on linker failure due to reference in debug or non-alloc
+	sections to optimized away toc entry, and don't abort.
+
+2011-09-01  Christophe Lyon  <christophe.lyon@st.com>
+
+	* elf32-arm.c (elf32_arm_output_arch_local_syms): Skip excluded
+	sections.
+
 2011-08-26  Nick Clifton  <nickc@redhat.com>
 
 	* po/es.po: Updated Spanish translation.
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 718d72e..a477b49 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -645,8 +645,7 @@ extern bfd_boolean bfd_elf_get_bfd_needed_list
   (bfd *, struct bfd_link_needed_list **);
 extern bfd_boolean bfd_elf_size_dynamic_sections
   (bfd *, const char *, const char *, const char *, const char *, const char *,
-   const char * const *, struct bfd_link_info *, struct bfd_section **,
-   struct bfd_elf_version_tree *);
+   const char * const *, struct bfd_link_info *, struct bfd_section **);
 extern bfd_boolean bfd_elf_size_dynsym_hash_dynstr
   (bfd *, struct bfd_link_info *);
 extern void bfd_elf_set_dt_needed_name
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 7cf3b7e..22fcdf6 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -652,8 +652,7 @@ extern bfd_boolean bfd_elf_get_bfd_needed_list
   (bfd *, struct bfd_link_needed_list **);
 extern bfd_boolean bfd_elf_size_dynamic_sections
   (bfd *, const char *, const char *, const char *, const char *, const char *,
-   const char * const *, struct bfd_link_info *, struct bfd_section **,
-   struct bfd_elf_version_tree *);
+   const char * const *, struct bfd_link_info *, struct bfd_section **);
 extern bfd_boolean bfd_elf_size_dynsym_hash_dynstr
   (bfd *, struct bfd_link_info *);
 extern void bfd_elf_set_dt_needed_name
@@ -6199,6 +6198,9 @@ struct bfd_elf_version_tree * bfd_find_version_for_sym
    (struct bfd_elf_version_tree *verdefs,
     const char *sym_name, bfd_boolean *hide);
 
+bfd_boolean bfd_hide_sym_by_version
+   (struct bfd_elf_version_tree *verdefs, const char *sym_name);
+
 /* Extracted from simple.c.  */
 bfd_byte *bfd_simple_get_relocated_section_contents
    (bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);
diff --git a/bfd/bfdwin.c b/bfd/bfdwin.c
index 63ad5ed..4103e9c 100644
--- a/bfd/bfdwin.c
+++ b/bfd/bfdwin.c
@@ -1,5 +1,5 @@
 /* Support for memory-mapped windows into a BFD.
-   Copyright 1995, 1996, 2001, 2002, 2003, 2005, 2007, 2008, 2009
+   Copyright 1995, 1996, 2001, 2002, 2003, 2005, 2007, 2008, 2009, 2011
    Free Software Foundation, Inc.
    Written by Cygnus Support.
 
@@ -128,17 +128,16 @@ bfd_get_file_window (bfd *abfd,
   if (pagesize == 0)
     abort ();
 
-  if (i == 0)
+  if (i == NULL)
     {
       i = bfd_zmalloc (sizeof (bfd_window_internal));
-      windowp->i = i;
-      if (i == 0)
+      if (i == NULL)
 	return FALSE;
-      i->data = 0;
+      i->data = NULL;
     }
 #ifdef HAVE_MMAP
   if (ok_to_map
-      && (i->data == 0 || i->mapped == 1)
+      && (i->data == NULL || i->mapped == 1)
       && (abfd->flags & BFD_IN_MEMORY) == 0)
     {
       file_ptr file_offset, offset2;
@@ -156,9 +155,9 @@ bfd_get_file_window (bfd *abfd,
       if (abfd->iostream == NULL
 	  && (abfd->iovec == NULL
 	      || abfd->iovec->bseek (abfd, offset, SEEK_SET) != 0))
-	return FALSE;
-      fd = fileno ((FILE *) abfd->iostream);
+	goto free_and_fail;
 
+      fd = fileno ((FILE *) abfd->iostream);
       /* Compute offsets and size for mmap and for the user's data.  */
       offset2 = offset % pagesize;
       if (offset2 < 0)
@@ -169,10 +168,10 @@ bfd_get_file_window (bfd *abfd,
       real_size -= real_size % pagesize;
 
       /* If we're re-using a memory region, make sure it's big enough.  */
-      if (i->data && i->size < size)
+      if (i->data != NULL && i->size < size)
 	{
 	  munmap (i->data, i->size);
-	  i->data = 0;
+	  i->data = NULL;
 	}
       i->data = mmap (i->data, real_size,
 		      writable ? PROT_WRITE | PROT_READ : PROT_READ,
@@ -185,11 +184,10 @@ bfd_get_file_window (bfd *abfd,
 	  /* An error happened.  Report it, or try using malloc, or
 	     something.  */
 	  bfd_set_error (bfd_error_system_call);
-	  i->data = 0;
 	  windowp->data = 0;
 	  if (debug_windows)
 	    fprintf (stderr, "\t\tmmap failed!\n");
-	  return FALSE;
+	  goto free_and_fail;
 	}
       if (debug_windows)
 	fprintf (stderr, "\n\tmapped %ld at %p, offset is %ld\n",
@@ -198,6 +196,8 @@ bfd_get_file_window (bfd *abfd,
       windowp->data = (bfd_byte *) i->data + offset2;
       windowp->size = size;
       i->mapped = 1;
+      i->refcount = 1;
+      windowp->i = i;
       return TRUE;
     }
   else if (debug_windows)
@@ -228,15 +228,18 @@ bfd_get_file_window (bfd *abfd,
   if (i->data == NULL)
     {
       if (size_to_alloc == 0)
-	return TRUE;
-      return FALSE;
+	{
+	  windowp->i = i;
+	  return TRUE;
+	}
+      goto free_and_fail;
     }
   i->refcount = 1;
   if (bfd_seek (abfd, offset, SEEK_SET) != 0)
-    return FALSE;
+    goto free_and_fail;
   i->size = bfd_bread (i->data, size, abfd);
   if (i->size != size)
-    return FALSE;
+    goto free_and_fail;
   i->mapped = 0;
 #ifdef HAVE_MPROTECT
   if (!writable)
@@ -249,7 +252,13 @@ bfd_get_file_window (bfd *abfd,
 #endif
   windowp->data = i->data;
   windowp->size = i->size;
+  windowp->i = i;
   return TRUE;
+
+ free_and_fail:
+  /* We have a bfd_window_internal, but an error occurred.  Free it. */
+  free (i);
+  return FALSE;
 }
 
 #endif /* USE_MMAP */
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c
index 5d9b5ae..ffa7a65 100644
--- a/bfd/coff-rs6000.c
+++ b/bfd/coff-rs6000.c
@@ -405,6 +405,50 @@ _bfd_xcoff_is_local_label_name (bfd *abfd ATTRIBUTE_UNUSED,
 {
   return FALSE;
 }
+
+static const struct dwarf_debug_section xcoff_debug_sections[] =
+{
+  { ".dwabrev",		NULL },
+  { ".dwarnge",		NULL },
+  { NULL,	NULL }, /* .debug_frame */
+  { ".dwinfo",		NULL },
+  { ".dwline",		NULL },
+  { NULL,	NULL }, /* .debug_loc */
+  { NULL,	NULL }, /* .debug_macinfo */
+  { NULL,	NULL }, /* .debug_macro */
+  { ".dwpbnms",		NULL },
+  { ".dwpbtyp",		NULL },
+  { ".dwrnges",		NULL },
+  { NULL,	NULL }, /* .debug_static_func */
+  { NULL,	NULL }, /* .debug_static_vars */
+  { ".dwstr",	NULL },
+  { NULL,	NULL }, /* .debug_types */
+  /* GNU DWARF 1 extensions */
+  { NULL,	NULL }, /* .debug_sfnames */
+  { NULL,	NULL }, /* .debug_srcinfo */
+  /* SGI/MIPS DWARF 2 extensions */
+  { NULL,	NULL }, /* .debug_funcnames */
+  { NULL,	NULL }, /* .debug_typenames */
+  { NULL,	NULL }, /* .debug_varnames */
+  { NULL,	NULL }, /* .debug_weaknames */
+  { NULL,	NULL },
+};
+
+static bfd_boolean
+xcoff_find_nearest_line (bfd *abfd,
+                         asection *section,
+                         asymbol **symbols,
+                         bfd_vma offset,
+                         const char **filename_ptr,
+                         const char **functionname_ptr,
+                         unsigned int *line_ptr)
+{
+  return coff_find_nearest_line_with_names (abfd, xcoff_debug_sections,
+                                            section, symbols, offset,
+                                            filename_ptr, functionname_ptr,
+                                            line_ptr);
+}
+
 \f
 void
 _bfd_xcoff_swap_sym_in (bfd *abfd, PTR ext1, PTR in1)
@@ -4073,7 +4117,7 @@ const bfd_target rs6000coff_vec =
     _bfd_xcoff_is_local_label_name,
     coff_bfd_is_target_special_symbol,
     coff_get_lineno,
-    coff_find_nearest_line,
+    xcoff_find_nearest_line,
     _bfd_generic_find_line,
     coff_find_inliner_info,
     coff_bfd_make_debug_symbol,
@@ -4328,7 +4372,7 @@ const bfd_target pmac_xcoff_vec =
     _bfd_xcoff_is_local_label_name,
     coff_bfd_is_target_special_symbol,
     coff_get_lineno,
-    coff_find_nearest_line,
+    xcoff_find_nearest_line,
     _bfd_generic_find_line,
     coff_find_inliner_info,
     coff_bfd_make_debug_symbol,
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 6f9685b..62eeb20 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -670,7 +670,9 @@ sec_to_styp_flags (const char *sec_name, flagword sec_flags)
   /* FIXME: There is no gas syntax to specify the debug section flag.  */
   if (is_dbg)
     {
-      sec_flags &= (SEC_LINK_ONCE | SEC_LINK_DUPLICATES_DISCARD);
+      sec_flags &= (SEC_LINK_ONCE | SEC_LINK_DUPLICATES_DISCARD
+      		    | SEC_LINK_DUPLICATES_SAME_CONTENTS
+      		    | SEC_LINK_DUPLICATES_SAME_SIZE);
       sec_flags |= SEC_DEBUGGING | SEC_READONLY;
     }
 
@@ -698,7 +700,11 @@ sec_to_styp_flags (const char *sec_name, flagword sec_flags)
   /* skip SORT */
   if (sec_flags & SEC_LINK_ONCE)
     styp_flags |= IMAGE_SCN_LNK_COMDAT;
-  /* skip LINK_DUPLICATES */
+  if ((sec_flags
+       & (SEC_LINK_DUPLICATES_DISCARD | SEC_LINK_DUPLICATES_SAME_CONTENTS
+          | SEC_LINK_DUPLICATES_SAME_SIZE)) != 0)
+    styp_flags |= IMAGE_SCN_LNK_COMDAT;
+  
   /* skip LINKER_CREATED */
 
   if ((sec_flags & SEC_COFF_NOREAD) == 0)
diff --git a/bfd/coffgen.c b/bfd/coffgen.c
index bbb0acc..2508b51 100644
--- a/bfd/coffgen.c
+++ b/bfd/coffgen.c
@@ -2085,13 +2085,14 @@ _bfd_coff_is_local_label_name (bfd *abfd ATTRIBUTE_UNUSED,
    nearest to the wanted location.  */
 
 bfd_boolean
-coff_find_nearest_line (bfd *abfd,
-			asection *section,
-			asymbol **symbols,
-			bfd_vma offset,
-			const char **filename_ptr,
-			const char **functionname_ptr,
-			unsigned int *line_ptr)
+coff_find_nearest_line_with_names (bfd *abfd,
+                                   const struct dwarf_debug_section *debug_sections,
+                                   asection *section,
+                                   asymbol **symbols,
+                                   bfd_vma offset,
+                                   const char **filename_ptr,
+                                   const char **functionname_ptr,
+                                   unsigned int *line_ptr)
 {
   bfd_boolean found;
   unsigned int i;
@@ -2116,7 +2117,8 @@ coff_find_nearest_line (bfd *abfd,
     return TRUE;
 
   /* Also try examining DWARF2 debugging information.  */
-  if (_bfd_dwarf2_find_nearest_line (abfd, section, symbols, offset,
+  if (_bfd_dwarf2_find_nearest_line (abfd, debug_sections,
+                                     section, symbols, offset,
 				     filename_ptr, functionname_ptr,
 				     line_ptr, 0,
 				     &coff_data(abfd)->dwarf2_find_line_info))
@@ -2299,6 +2301,21 @@ coff_find_nearest_line (bfd *abfd,
 }
 
 bfd_boolean
+coff_find_nearest_line (bfd *abfd,
+			asection *section,
+			asymbol **symbols,
+			bfd_vma offset,
+			const char **filename_ptr,
+			const char **functionname_ptr,
+			unsigned int *line_ptr)
+{
+  return coff_find_nearest_line_with_names (abfd, dwarf_debug_sections,
+                                            section, symbols, offset,
+                                            filename_ptr, functionname_ptr,
+                                            line_ptr);
+}
+
+bfd_boolean
 coff_find_inliner_info (bfd *abfd,
 			const char **filename_ptr,
 			const char **functionname_ptr,
diff --git a/bfd/configure b/bfd/configure
index 06f7839..96a8f75 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -3988,7 +3988,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE=bfd
- VERSION=2.21.53
+ VERSION=2.22.51
 
 
 cat >>confdefs.h <<_ACEOF
diff --git a/bfd/configure.in b/bfd/configure.in
index 530d4ee..2088d62 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -8,7 +8,7 @@ AC_CONFIG_SRCDIR([libbfd.c])
 AC_CANONICAL_TARGET
 AC_ISC_POSIX
 
-AM_INIT_AUTOMAKE(bfd, 2.21.53)
+AM_INIT_AUTOMAKE(bfd, 2.22.51)
 
 dnl These must be called before LT_INIT, because it may want
 dnl to call AC_CHECK_PROG.
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 3cd2f7d..577f278 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -90,6 +90,9 @@ struct dwarf2_debug
   /* Last comp unit in list above.  */
   struct comp_unit *last_comp_unit;
 
+  /* Names of the debug sections.  */
+  const struct dwarf_debug_section *debug_sections;
+
   /* The next unread compilation unit within the .debug_info section.
      Zero indicates that the .debug_info section has not been loaded
      into a buffer yet.  */
@@ -469,14 +472,14 @@ lookup_info_hash_table (struct info_hash_table *hash_table, const char *key)
 


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


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

* [SCM]  archer-tromey-ambiguous-linespec: Merge remote-tracking branch 'gdb/master' into duplicate-feature-2
@ 2011-08-31 15:46 tromey
  0 siblings, 0 replies; 5+ messages in thread
From: tromey @ 2011-08-31 15:46 UTC (permalink / raw)
  To: archer-commits

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

The branch, archer-tromey-ambiguous-linespec has been updated
       via  ea73e687deefc54039bafb3100facc779cbafd48 (commit)
       via  9f589a4532366aa010a1a60974b2bb8c95cbe1ca (commit)
       via  ab201216c44aa3865c47e2282b72f8a780b1f96f (commit)
       via  2fdc3492f914a3cb0cde67a407511095497e34a1 (commit)
       via  02f89fd8c4008c17579ba94a4d7bdf14dcb51926 (commit)
       via  37586d683b60613402007b03500ca68d78c4bbfd (commit)
       via  98c796c4f52ed2ff7b7e1f3c5f4b386b3d459b07 (commit)
       via  725587b3e85b3f673fc7da6aea38fc7ae6fea4c3 (commit)
       via  0f8da13abfec5f382c17debe2e60e18c0da2998e (commit)
       via  4ae202a2bc58136830536e3909700ab349627dec (commit)
       via  a1583a3267d739f5260a370a9f110666484a2739 (commit)
       via  8db17ad6e22f21d7356fb688a4bfebcaa9e8efb8 (commit)
       via  f9bb8fdd0542fef712b1e019a16fe67e67763495 (commit)
       via  4faf933a23d4f46d62272f6dd17005e0ee0fefaf (commit)
       via  fe9e6a92b055303b9edd50dd8e79912a5733576f (commit)
       via  f20bb9a3f2e2dde7df29714c1eb0497252be3e57 (commit)
       via  f123f01f6a767cd28ab3a797ee785a256a8358cf (commit)
       via  805e7fbd1685ce2082c06354cce5da0bd28bf30e (commit)
       via  d81ce48c5589bb6018cab85e2476443f98ed4b70 (commit)
       via  38adabbc937cd09934d7a3b41be86b47e4c5ad88 (commit)
       via  ac41146ab22f294b771a62ffa1a4917d81dc7e24 (commit)
       via  b4ee02a103e4bbe157e054438ced7e9785d19e5d (commit)
       via  0d32fe5d14f58c7e4996ab983856e0826039f571 (commit)
       via  23ef90b52f38cf1d7f771a4f2db38db2b8dcfcfa (commit)
       via  11720744362392ed105399f3c1c952c991131d68 (commit)
       via  e50135d4e899c083d17ef60f19b31b89106cb5c0 (commit)
       via  15aa169095c923d45493bb6c17747c09e0b9077a (commit)
       via  fdba0e3092681464d74418ac21011c73ae68b1cb (commit)
       via  3cbe18d59f9eda3de511ec8048c35fd615f4a723 (commit)
       via  2f5d50d893126c794b0c08250ab0828b072ddd32 (commit)
       via  cf2f847408980ea3f394bc1484ed6e85c3fe2282 (commit)
       via  341272638711907f28b0e4c3b2412b6d841ecec1 (commit)
       via  37644fac48090b5d06cc1890e19195b4fd55121a (commit)
       via  4ff200690b4b07bb32b8cb14b0dab34fa33e9df7 (commit)
       via  4d06a7b17d793a2d4a69c1286ab57752ef2dfcfb (commit)
       via  6dcb9fdd4d2fd931fb3ad2c16fe4200d22ee5a9d (commit)
       via  14302db5954906abd8181d5f2f6d3351720b407f (commit)
       via  efda3ea41b80cf99b02f7775c68c4b5a1352c128 (commit)
       via  501ccf59335de56e1df9641f7c5c26041ad19e33 (commit)
       via  357c815671ca5a87944b1ba43281a6062506d9c7 (commit)
       via  8f5463fc20bb515bda5fdfb919daf701f3d62e73 (commit)
       via  1c2d69382e94d31590f7f5ad6e6502180bfe597e (commit)
       via  a4ec9bd501b82eb5fa66856078c295cf1e9d1994 (commit)
       via  fc8385524f84aaf8761963a9119460a6ebd36c6d (commit)
       via  7cf95aa5d743704a81f7af98e2fb8983b8dcacb5 (commit)
       via  a462d95b2e993e9827bf89fd28df68471279e026 (commit)
       via  9b1701a83a73eea21b0a0e93bb54bb8661d08473 (commit)
       via  212cd2f238965cac183c3253aa5c8db106eba968 (commit)
       via  defdf2c3891bfb6332fb8d00f223d061787bba5f (commit)
       via  3507f5cc50f17fc6caabb7d3e47c341b73ef0007 (commit)
       via  4b967e725ba169dba6497a5a0efb8bb6c8f32ee4 (commit)
       via  63c2da9183854895777d7e80cd4a387aa962ddb4 (commit)
       via  1e47308b7ecbc62591c0f51ddb734487280bc1c3 (commit)
       via  12266e5fcf462a1581426581bf4866caba3659c0 (commit)
       via  749fbd25ce1eda12f476adb1417cd7145f7d1553 (commit)
      from  ef3f8a7f7a93fc42917e69700d7fc446703bf44b (commit)

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

- Log -----------------------------------------------------------------
commit ea73e687deefc54039bafb3100facc779cbafd48
Merge: ef3f8a7 9f589a4
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Aug 31 09:41:46 2011 -0600

    Merge remote-tracking branch 'gdb/master' into duplicate-feature-2
    
    Conflicts:
    	gdb/linespec.c

commit 9f589a4532366aa010a1a60974b2bb8c95cbe1ca
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Aug 31 00:00:05 2011 +0000

    daily update

commit ab201216c44aa3865c47e2282b72f8a780b1f96f
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Aug 31 00:00:03 2011 +0000

    *** empty log message ***

commit 2fdc3492f914a3cb0cde67a407511095497e34a1
Author: qiyao <qiyao>
Date:   Tue Aug 30 02:48:03 2011 +0000

    	gdb/
    	* solib-dsbt.c (bfd_lookup_symbol): Removed.
    	(cmp_name): New.
    	(enable_break2): Update caller.
    	* solib-frv.c (bfd_lookup_symbol): Removed.
    	(cmp_name): New.
    	(enable_break2): Update caller.
    	* solib-pa64.c (bfd_lookup_symbol): Removed.
    	(cmp_name): New.
    	* solib-svr4.c (bfd_lookup_symbol): Removed.
    	(cmp_name_and_sec_flags): New.
    	(enable_break): Update caller.
    	* solib.c (gdb_bfd_lookup_symbol_from_symtab): New.
    	(gdb_bfd_lookup_symbol_from_dyn_symtab): New.
    	(gdb_bfd_lookup_symbol): New.
    	* solib.h: Functions declarations.

commit 02f89fd8c4008c17579ba94a4d7bdf14dcb51926
Author: qiyao <qiyao>
Date:   Tue Aug 30 02:09:05 2011 +0000

    	gdb/
    	* Makefile.in (ALL_TARGET_OBS): Add tic6x-tdep.o tic6x-linux-tdep.o
    	and solib-dsbt.o.

commit 37586d683b60613402007b03500ca68d78c4bbfd
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Aug 30 00:00:32 2011 +0000

    *** empty log message ***

commit 98c796c4f52ed2ff7b7e1f3c5f4b386b3d459b07
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Aug 30 00:00:06 2011 +0000

    daily update

commit 725587b3e85b3f673fc7da6aea38fc7ae6fea4c3
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Aug 29 16:55:11 2011 +0000

    gdb/
    	Fix TUI stepi on code without symbols.
    	* tui/tui-stack.c (tui_show_frame_info): Remove error, set LOW for
    	current PC instead.

commit 0f8da13abfec5f382c17debe2e60e18c0da2998e
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Aug 29 00:00:03 2011 +0000

    *** empty log message ***

commit 4ae202a2bc58136830536e3909700ab349627dec
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Aug 28 20:43:42 2011 +0000

    gdb/
    	Code cleanup.
    	* mi/mi-cmd-stack.c (list_args_or_locals): Remove stb initialization
    	and the static keyword.
    	* mi/mi-cmd-target.c (mi_cmd_target_file_get, mi_cmd_target_file_put):
    	Make prefix an array.
    	* mi/mi-cmd-target.c (mi_cmd_target_file_delete): Likewise.
    	* mi/mi-main.c (get_register): Remove stb initialization and the static
    	keyword.

commit a1583a3267d739f5260a370a9f110666484a2739
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Aug 28 20:39:28 2011 +0000

    gdb/
    	Code cleanup - make mi_opt const.
    	* mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Make
    	opts const.
    	* mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
    	* mi/mi-cmd-env.c (mi_cmd_env_path): Likewise.
    	(mi_cmd_env_dir): Likewise.
    	* mi/mi-cmd-target.c (mi_cmd_target_file_get): Likewise.
    	(mi_cmd_target_file_put): Likewise.
    	* mi/mi-cmd-target.c (mi_cmd_target_file_delete): Likewise.
    	* mi/mi-cmd-var.c (mi_cmd_var_evaluate_expression): Likewise.
    	* mi/mi-getopt.c (mi_getopt): Make opts and opt const.
    	(mi_valid_noargs): Make opts const.
    	* mi/mi-getopt.h (mi_getopt): Make opts and opt const.
    	* mi/mi-main.c (mi_cmd_list_thread_groups): Make opts const.
    	(mi_cmd_data_read_memory): Likewise.
    	(mi_cmd_data_read_memory_bytes): Likewise.
    	(mi_cmd_data_write_memory): Likewise.

commit 8db17ad6e22f21d7356fb688a4bfebcaa9e8efb8
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Aug 28 00:00:06 2011 +0000

    daily update

commit f9bb8fdd0542fef712b1e019a16fe67e67763495
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Aug 28 00:00:02 2011 +0000

    *** empty log message ***

commit 4faf933a23d4f46d62272f6dd17005e0ee0fefaf
Author: ratmice <ratmice>
Date:   Sat Aug 27 10:28:30 2011 +0000

    * solib-sunos.c (allocate_rt_common_objfile): Add missing arguments to
    bcache_xmalloc,  replace bcache_xmalloc with call to
    psymbol_bcache_init for psymbol_cache.
    * symfile.c (reread_symbols): Remove extra calls to bcache_xmalloc.

commit fe9e6a92b055303b9edd50dd8e79912a5733576f
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Aug 27 00:00:05 2011 +0000

    daily update

commit f20bb9a3f2e2dde7df29714c1eb0497252be3e57
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Aug 27 00:00:02 2011 +0000

    *** empty log message ***

commit f123f01f6a767cd28ab3a797ee785a256a8358cf
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Aug 26 21:47:21 2011 +0000

    gdb/
    	* inf-loop.c (inferior_event_handler): Add exception_print in
    	INF_EXEC_COMPLETE.

commit 805e7fbd1685ce2082c06354cce5da0bd28bf30e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Aug 26 21:45:21 2011 +0000

    gdb/
    	* breakpoint.c (bpstat_do_actions): New variable cleanup_if_error, call
    	make_bpstat_clear_actions_cleanup and discard_cleanups for it.
    	* defs.h (make_bpstat_clear_actions_cleanup): New declaration.
    	* exceptions.c (throw_exception): Remove the bpstat_clear_actions call.
    	* inf-loop.c (inferior_event_handler): New variable cleanup_if_error,
    	call make_bpstat_clear_actions_cleanup and discard_cleanups for it.
    	Call bpstat_clear_actions for failed fetch_inferior_event_wrapper.
    	* infrun.c (fetch_inferior_event): Call
    	make_bpstat_clear_actions_cleanup.
    	* top.c (execute_command): New variable cleanup_if_error, call
    	make_bpstat_clear_actions_cleanup and discard_cleanups for it.
    	* utils.c (do_bpstat_clear_actions_cleanup)
    	(make_bpstat_clear_actions_cleanup): New functions.
    
    gdb/testsuite/
    	* gdb.base/commands.exp (error_clears_commands_left): New function.
    	(): Call it.

commit d81ce48c5589bb6018cab85e2476443f98ed4b70
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Aug 26 21:11:08 2011 +0000

    gdb/testsuite/
    	* gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
    	(C): Initialize `a'.
    	* gdb.mi/mi-inheritance-syntax-error.exp
    	(-data-evaluate-expression $path):  Expect `a' as 5.

commit 38adabbc937cd09934d7a3b41be86b47e4c5ad88
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Aug 26 19:55:00 2011 +0000

    2011-08-26  Pedro Alves  <pedro@codesourcery.com>
    
    	* linux-nat.c (linux_child_follow_fork): Don't set lp->resumed on
    	either the parent or the child forks.  Rename a couple locals.

commit ac41146ab22f294b771a62ffa1a4917d81dc7e24
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Aug 26 19:26:40 2011 +0000

    2011-08-26  Pedro Alves  <pedro@codesourcery.com>
    
    	gdb/
    	* linux-nat.c (wait_lwp): Avoid assuming errno is preserved by a
    	library call.  Avoid reading the `status' local if all waitpid
    	calls failed.

commit b4ee02a103e4bbe157e054438ced7e9785d19e5d
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Aug 26 18:58:02 2011 +0000

    2011-08-26  Pedro Alves  <pedro@codesourcery.com>
    
    	gdb/
    	* common/linux-osdata.c (get_cores_used_by_process): Don't assume
    	opening /proc/PID/task always succeeds.

commit 0d32fe5d14f58c7e4996ab983856e0826039f571
Author: Aleksandar Ristovski <aristovski@qnx.com>
Date:   Fri Aug 26 17:58:57 2011 +0000

    	* linespec.c (symtab_from_filename): Check for the end of string.

commit 23ef90b52f38cf1d7f771a4f2db38db2b8dcfcfa
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Aug 26 15:15:47 2011 +0000

    Updated Spanish translations.

commit 11720744362392ed105399f3c1c952c991131d68
Author: Marc Khouzam <marc.khouzam@ericsson.com>
Date:   Fri Aug 26 12:32:59 2011 +0000

    2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>
    
    	PR mi/11912
    	* varobj.c (cplus_describe_child): Add the keyword
    	'class' to the output of the method when dealing
    	with a cast to a base class.
    
    2011-08-26  Marc Khouzam  <marc.khouzam@ericsson.com>
    
    	PR mi/11912
    	* gdb.mi/mi-inheritance-syntax-error.cc: New file.
    	* gdb.mi/mi-inheritance-syntax-error.exp: New file.
    	* gdb.mi/mi-var-cp.cc: Updated for new 'class'
    	keyword in output of -var-info-path-expression.

commit e50135d4e899c083d17ef60f19b31b89106cb5c0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Aug 26 09:28:25 2011 +0000

    gdb/
    	No functionality change.
    	* breakpoint.c (bpstat_clear_actions): Remove the BS parameter, make
    	function comment a reference, new variables tp and bs, move here code
    	from throw_exception.
    	* breakpoint.h (bpstat_clear_actions): Remove the BS parameter,
    	describe it in the comment.
    	* exceptions.c (throw_exception): Remove variable tp, move the code for
    	bpstat_clear_actions to bpstat_clear_actions.

commit 15aa169095c923d45493bb6c17747c09e0b9077a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Aug 26 09:20:43 2011 +0000

    gdb/testsuite/
    	* gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
    	* gdb.trace/collection.exp: Likewise.
    	* gdb.trace/report.exp: Likewise.
    	* gdb.trace/unavailable.exp: Likewise.
    	* gdb.trace/while-dyn.exp: Likewise.

commit fdba0e3092681464d74418ac21011c73ae68b1cb
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Aug 26 00:00:05 2011 +0000

    daily update

commit 3cbe18d59f9eda3de511ec8048c35fd615f4a723
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Aug 26 00:00:02 2011 +0000

    *** empty log message ***

commit 2f5d50d893126c794b0c08250ab0828b072ddd32
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Aug 25 17:59:48 2011 +0000

    2011-08-25  Andrew Oakley  <andrew@ado.is-a-geek.net>
    
    	* gdb.texinfo (Types In Python): Document 'bitpos' for enums.

commit cf2f847408980ea3f394bc1484ed6e85c3fe2282
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Aug 25 00:00:05 2011 +0000

    daily update

commit 341272638711907f28b0e4c3b2412b6d841ecec1
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Aug 25 00:00:02 2011 +0000

    *** empty log message ***

commit 37644fac48090b5d06cc1890e19195b4fd55121a
Author: Luis Machado <luisgpm@br.ibm.com>
Date:   Wed Aug 24 12:17:39 2011 +0000

    Stop threads when attaching to a PID that is the tgid.

commit 4ff200690b4b07bb32b8cb14b0dab34fa33e9df7
Author: Luis Machado <luisgpm@br.ibm.com>
Date:   Wed Aug 24 12:07:20 2011 +0000

    Move common linux procfs code to common/

commit 4d06a7b17d793a2d4a69c1286ab57752ef2dfcfb
Author: Hui Zhu <teawater@gmail.com>
Date:   Wed Aug 24 09:28:42 2011 +0000

    Fix a change log format issue.

commit 6dcb9fdd4d2fd931fb3ad2c16fe4200d22ee5a9d
Author: Hui Zhu <teawater@gmail.com>
Date:   Wed Aug 24 09:24:08 2011 +0000

    2011-08-24  Hui Zhu  <teawater@gmail.com>
    
    	* tracepoint.c (cond_string_is_same): New function.
    	(find_matching_tracepoint): Add condition check
    	by cond_string_is_same.

commit 14302db5954906abd8181d5f2f6d3351720b407f
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Aug 24 00:00:33 2011 +0000

    *** empty log message ***

commit efda3ea41b80cf99b02f7775c68c4b5a1352c128
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Aug 24 00:00:05 2011 +0000

    daily update

commit 501ccf59335de56e1df9641f7c5c26041ad19e33
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Aug 23 19:40:48 2011 +0000

    gdb/
    	Fix build error in Darwin port.
    	* darwin-nat-info.c (darwin_debug_regions_recurse): New variable uiout.

commit 357c815671ca5a87944b1ba43281a6062506d9c7
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Aug 23 00:00:32 2011 +0000

    *** empty log message ***

commit 8f5463fc20bb515bda5fdfb919daf701f3d62e73
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Aug 23 00:00:05 2011 +0000

    daily update

commit 1c2d69382e94d31590f7f5ad6e6502180bfe597e
Author: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Date:   Mon Aug 22 17:51:24 2011 +0000

    	* picflag.m4: New file.

commit a4ec9bd501b82eb5fa66856078c295cf1e9d1994
Author: DJ Delorie <dj@delorie.com>
Date:   Mon Aug 22 17:16:25 2011 +0000

    merge from gcc

commit fc8385524f84aaf8761963a9119460a6ebd36c6d
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Aug 22 15:25:05 2011 +0000

    Move cpu files from cgen/cpu to top level cpu directory.

commit 7cf95aa5d743704a81f7af98e2fb8983b8dcacb5
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Aug 22 00:00:05 2011 +0000

    daily update

commit a462d95b2e993e9827bf89fd28df68471279e026
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Aug 22 00:00:02 2011 +0000

    *** empty log message ***

commit 9b1701a83a73eea21b0a0e93bb54bb8661d08473
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Aug 21 14:33:05 2011 +0000

    gdb/
    	Code cleanup.
    	* breakpoint.c (bpstat_clear_actions): Remove clearing of commands_left.
    	(command_line_is_silent): New function.
    	(bpstat_do_actions_1): No longer use commands_left, use
    	command_line_is_silent for commands.
    	(bpstat_alloc): Remove clearing of commands_left.
    	(bpstat_stop_status): Remove initialization of commands_left, use
    	command_line_is_silent.
    	* breakpoint.h (struct bpstats): Remove commands_left.

commit 212cd2f238965cac183c3253aa5c8db106eba968
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Aug 21 00:00:33 2011 +0000

    *** empty log message ***

commit defdf2c3891bfb6332fb8d00f223d061787bba5f
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Aug 21 00:00:05 2011 +0000

    daily update

commit 3507f5cc50f17fc6caabb7d3e47c341b73ef0007
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Aug 20 00:00:05 2011 +0000

    daily update

commit 4b967e725ba169dba6497a5a0efb8bb6c8f32ee4
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Aug 20 00:00:03 2011 +0000

    *** empty log message ***

commit 63c2da9183854895777d7e80cd4a387aa962ddb4
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Aug 19 15:48:36 2011 +0000

    Include the <root>/cpu/ dir in GDB releases
    
    This directory contains some files that are used to generate some
    of the files included in the GDB release, and thus must be part of
    the GDB release also.
    
    ChangeLog:
    
            * src-release (GDB_SUPPORT_DIRS): Add 'cpu'.

commit 1e47308b7ecbc62591c0f51ddb734487280bc1c3
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Aug 19 08:12:02 2011 +0000

    	* elf64-ppc.c (ppc64_elf_edit_toc): Ignore can_optimize bit if
    	we haven't seen expected -mcmodel=medium/large code relocs.

commit 12266e5fcf462a1581426581bf4866caba3659c0
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Aug 19 00:00:33 2011 +0000

    *** empty log message ***

commit 749fbd25ce1eda12f476adb1417cd7145f7d1553
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Aug 19 00:00:06 2011 +0000

    daily update

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

Summary of changes:
 ChangeLog                                          |    4 +
 bfd/ChangeLog                                      |    9 +
 bfd/elf64-ppc.c                                    |    2 +-
 bfd/po/es.po                                       | 1605 ++--
 bfd/version.h                                      |    2 +-
 config/ChangeLog                                   |    4 +
 config/picflag.m4                                  |   95 +
 cpu/ChangeLog                                      |   24 +
 cpu/fr30.cpu                                       | 1861 ++++
 cpu/fr30.opc                                       |  253 +
 cpu/ip2k.cpu                                       | 1480 +++
 cpu/ip2k.opc                                       |  633 ++
 cpu/mep-avc.cpu                                    | 1423 +++
 cpu/mep-avc2.cpu                                   | 1987 ++++
 cpu/mep-c5.cpu                                     |  281 +
 cpu/mep-core.cpu                                   | 3082 ++++++
 cpu/mep-default.cpu                                |   27 +
 cpu/mep-ext-cop.cpu                                |   25 +
 cpu/mep-fmax.cpu                                   |  340 +
 cpu/mep-h1.cpu                                     |   49 +
 cpu/mep-ivc2.cpu                                   | 9777 ++++++++++++++++++++
 cpu/mep-rhcop.cpu                                  |  342 +
 cpu/mep-sample-ucidsp.cpu                          |  120 +
 cpu/mep.cpu                                        |   21 +
 cpu/mep.opc                                        | 1669 ++++
 cpu/openrisc.cpu                                   |  774 ++
 cpu/openrisc.opc                                   |  164 +
 cpu/xstormy16.cpu                                  | 1965 ++++
 cpu/xstormy16.opc                                  |  168 +
 gdb/ChangeLog                                      |  181 +-
 gdb/Makefile.in                                    |    7 +-
 gdb/breakpoint.c                                   |   57 +-
 gdb/breakpoint.h                                   |    9 +-
 gdb/common/linux-osdata.c                          |   32 +-
 gdb/common/linux-procfs.c                          |   55 +
 gdb/common/linux-procfs.h                          |   29 +
 gdb/config/alpha/alpha-linux.mh                    |    2 +-
 gdb/config/arm/linux.mh                            |    2 +-
 gdb/config/i386/linux.mh                           |    2 +-
 gdb/config/i386/linux64.mh                         |    3 +-
 gdb/config/ia64/linux.mh                           |    3 +-
 gdb/config/m32r/linux.mh                           |    2 +-
 gdb/config/m68k/linux.mh                           |    2 +-
 gdb/config/mips/linux.mh                           |    3 +-
 gdb/config/pa/linux.mh                             |    3 +-
 gdb/config/powerpc/linux.mh                        |    2 +-
 gdb/config/powerpc/ppc64-linux.mh                  |    2 +-
 gdb/config/powerpc/spu-linux.mh                    |    3 +-
 gdb/config/sparc/linux.mh                          |    3 +-
 gdb/config/sparc/linux64.mh                        |    3 +-
 gdb/config/xtensa/linux.mh                         |    2 +-
 gdb/darwin-nat-info.c                              |    1 +
 gdb/defs.h                                         |    2 +
 gdb/doc/ChangeLog                                  |    4 +
 gdb/doc/gdb.texinfo                                |    3 +-
 gdb/exceptions.c                                   |   13 -
 gdb/gdbserver/ChangeLog                            |   12 +
 gdb/gdbserver/Makefile.in                          |    8 +-
 gdb/gdbserver/configure.srv                        |   34 +-
 gdb/gdbserver/linux-low.c                          |   75 +-
 gdb/inf-loop.c                                     |    5 +
 gdb/infrun.c                                       |    4 +
 gdb/linespec.c                                     |    5 +-
 gdb/linux-nat.c                                    |   94 +-
 gdb/linux-nat.h                                    |    4 -
 gdb/linux-thread-db.c                              |    1 +
 gdb/mi/mi-cmd-break.c                              |    4 +-
 gdb/mi/mi-cmd-disas.c                              |    2 +-
 gdb/mi/mi-cmd-env.c                                |    4 +-
 gdb/mi/mi-cmd-stack.c                              |    2 +-
 gdb/mi/mi-cmd-target.c                             |   12 +-
 gdb/mi/mi-cmd-var.c                                |    2 +-
 gdb/mi/mi-getopt.c                                 |    6 +-
 gdb/mi/mi-getopt.h                                 |    2 +-
 gdb/mi/mi-main.c                                   |   10 +-
 gdb/solib-dsbt.c                                   |   80 +-
 gdb/solib-frv.c                                    |   82 +-
 gdb/solib-pa64.c                                   |   48 +-
 gdb/solib-sunos.c                                  |    6 +-
 gdb/solib-svr4.c                                   |   91 +-
 gdb/solib.c                                        |   96 +
 gdb/solib.h                                        |   13 +
 gdb/symfile.c                                      |    3 -
 gdb/testsuite/ChangeLog                            |   28 +
 gdb/testsuite/gdb.base/commands.exp                |   69 +
 .../gdb.mi/mi-inheritance-syntax-error.cc          |   31 +
 .../gdb.mi/mi-inheritance-syntax-error.exp         |   73 +
 gdb/testsuite/gdb.mi/mi-var-cp.cc                  |    6 +-
 gdb/testsuite/gdb.trace/backtrace.exp              |    4 +-
 gdb/testsuite/gdb.trace/collection.exp             |    4 +-
 gdb/testsuite/gdb.trace/report.exp                 |    4 +-
 gdb/testsuite/gdb.trace/unavailable.exp            |    8 +-
 gdb/testsuite/gdb.trace/while-dyn.exp              |    4 +-
 gdb/top.c                                          |    6 +-
 gdb/tracepoint.c                                   |   16 +-
 gdb/tui/tui-stack.c                                |    7 +-
 gdb/utils.c                                        |   17 +
 gdb/varobj.c                                       |   10 +-
 gdb/version.in                                     |    2 +-
 libiberty/ChangeLog                                |    7 +
 libiberty/aclocal.m4                               |    1 +
 libiberty/configure                                |  103 +-
 libiberty/configure.ac                             |   25 +-
 opcodes/ChangeLog                                  |   16 +
 opcodes/Makefile.am                                |   46 +-
 opcodes/Makefile.in                                |   47 +-
 opcodes/po/es.po                                   |  327 +-
 src-release                                        |    2 +-
 108 files changed, 28650 insertions(+), 1534 deletions(-)
 create mode 100644 config/picflag.m4
 create mode 100644 cpu/fr30.cpu
 create mode 100644 cpu/fr30.opc
 create mode 100644 cpu/ip2k.cpu
 create mode 100644 cpu/ip2k.opc
 create mode 100644 cpu/mep-avc.cpu
 create mode 100644 cpu/mep-avc2.cpu
 create mode 100644 cpu/mep-c5.cpu
 create mode 100644 cpu/mep-core.cpu
 create mode 100644 cpu/mep-default.cpu
 create mode 100644 cpu/mep-ext-cop.cpu
 create mode 100644 cpu/mep-fmax.cpu
 create mode 100644 cpu/mep-h1.cpu
 create mode 100644 cpu/mep-ivc2.cpu
 create mode 100644 cpu/mep-rhcop.cpu
 create mode 100644 cpu/mep-sample-ucidsp.cpu
 create mode 100644 cpu/mep.cpu
 create mode 100644 cpu/mep.opc
 create mode 100644 cpu/openrisc.cpu
 create mode 100644 cpu/openrisc.opc
 create mode 100644 cpu/xstormy16.cpu
 create mode 100644 cpu/xstormy16.opc
 create mode 100644 gdb/common/linux-procfs.c
 create mode 100644 gdb/common/linux-procfs.h
 create mode 100644 gdb/testsuite/gdb.mi/mi-inheritance-syntax-error.cc
 create mode 100644 gdb/testsuite/gdb.mi/mi-inheritance-syntax-error.exp

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 23e45c8..e572d95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-08-19  Joel Brobecker  <brobecker@adacore.com>
+
+	* src-release (GDB_SUPPORT_DIRS): Add 'cpu'.
+
 2011-08-14  Yao Qi  <yao@codesourcery.com>
 
 	Merge from gcc:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f883765..1bbf84f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,12 @@
+2011-08-26  Nick Clifton  <nickc@redhat.com>
+
+	* po/es.po: Updated Spanish translation.
+
+2011-08-19  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_edit_toc): Ignore can_optimize bit if
+	we haven't seen expected -mcmodel=medium/large code relocs.
+
 2011-08-18  Tristan Gingold  <gingold@adacore.com>
 
 	* mach-o.c (bfd_mach_o_read_segment): Initialize list.
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 677de04..b71a11b 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -8267,7 +8267,7 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 		some_unused = 1;
 	      last = 0;
 	    }
-	  else if (*drop)
+	  else if (*drop & ref_from_discarded)
 	    {
 	      some_unused = 1;
 	      last = ref_from_discarded;
diff --git a/bfd/po/es.po b/bfd/po/es.po
index 29b64bf..a166338 100644
--- a/bfd/po/es.po
+++ b/bfd/po/es.po
@@ -1,46 +1,47 @@
-# Mensajes en español para bfd 2.20.90.
-# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+# Mensajes en español para bfd 2.20.90.
+# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 # This file is distributed under the same license as the binutils package.
-# Cristian Othón Martínez Vera <cfuga@itam.mx>, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+# Cristian Othón Martínez Vera <cfuga@cfuga.mx>, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: bfd 2.20.90\n"
 "Report-Msgid-Bugs-To: bug-binutils@gnu.org\n"
 "POT-Creation-Date: 2010-11-05 11:31+0100\n"
-"PO-Revision-Date: 2010-11-18 18:25-0600\n"
-"Last-Translator: Cristian Othón Martínez Vera <cfuga@itam.mx>\n"
+"PO-Revision-Date: 2011-08-24 11:47-0500\n"
+"Last-Translator: Cristian Othón Martínez Vera <cfuga@cfuga.mx>\n"
 "Language-Team: Spanish <es@li.org>\n"
+"Language: es\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
 #: aout-adobe.c:127
 msgid "%B: Unknown section type in a.out.adobe file: %x\n"
-msgstr "%B: Tipo de sección desconocido en el fichero a.out.adobe: %x\n"
+msgstr "%B: Tipo de sección desconocido en el fichero a.out.adobe: %x\n"
 
 #: aout-cris.c:199
 #, c-format
 msgid "%s: Invalid relocation type exported: %d"
-msgstr "%s: Se exportó un tipo de reubicación inválido: %d"
+msgstr "%s: Se exportó un tipo de reubicación inválido: %d"
 
 #: aout-cris.c:242
 msgid "%B: Invalid relocation type imported: %d"
-msgstr "%B: Se importó un tipo de reubicación inválido: %d"
+msgstr "%B: Se importó un tipo de reubicación inválido: %d"
 
 #: aout-cris.c:253
 msgid "%B: Bad relocation record imported: %d"
-msgstr "%B: Se importó un registro de reubicación erróneo: %d"
+msgstr "%B: Se importó un registro de reubicación erróneo: %d"
 
 #: aoutx.h:1273 aoutx.h:1611
 #, c-format
 msgid "%s: can not represent section `%s' in a.out object file format"
-msgstr "%s: no se puede representar la sección `%s' en el formato de fichero objeto a.out"
+msgstr "%s: no se puede representar la sección `%s' en el formato de fichero objeto a.out"
 
 #: aoutx.h:1577
 #, c-format
 msgid "%s: can not represent section for symbol `%s' in a.out object file format"
-msgstr "%s: no se puede representar la sección para el símbolo `%s' en el formato de fichero objeto a.out"
+msgstr "%s: no se puede representar la sección para el símbolo `%s' en el formato de fichero objeto a.out"
 
 #: aoutx.h:1579 vms-alpha.c:7649
 msgid "*unknown*"
@@ -48,7 +49,7 @@ msgstr "*desconocido*"
 
 #: aoutx.h:4007 aoutx.h:4333
 msgid "%P: %B: unexpected relocation type\n"
-msgstr "%P: %B: tipo de reubicación inesperado\n"
+msgstr "%P: %B: tipo de reubicación inesperado\n"
 
 #: aoutx.h:5364
 #, c-format
@@ -59,7 +60,7 @@ msgstr "%s: no se admite el enlace reubicable de %s a %s"
 msgid "Warning: writing archive was slow: rewriting timestamp\n"
 msgstr "Aviso: la escritura del fichero fue lenta: se reescribe la marca de tiempo\n"
 
-# ¡Uff! Si utilizáramos file=archivo, esta traducción sería imposible. cfuga
+# ¡Uff! Si utilizáramos file=archivo, esta traducción sería imposible. cfuga
 #: archive.c:2416
 msgid "Reading archive file mod timestamp"
 msgstr "Se lee la marca de tiempo modificada del fichero en el archivo"
@@ -78,19 +79,19 @@ msgstr "Error en la llamada al sistema"
 
 #: bfd.c:397
 msgid "Invalid bfd target"
-msgstr "Objetivo bfd inválido"
+msgstr "Objetivo bfd inválido"
 
 #: bfd.c:398
 msgid "File in wrong format"
-msgstr "Fichero en formato erróneo"
+msgstr "Fichero en formato erróneo"
 
 #: bfd.c:399
 msgid "Archive object file in wrong format"
-msgstr "Archivo de ficheros objeto en formato erróneo"
+msgstr "Archivo de ficheros objeto en formato erróneo"
 
 #: bfd.c:400
 msgid "Invalid operation"
-msgstr "Operación inválida"
+msgstr "Operación inválida"
 
 #: bfd.c:401
 msgid "Memory exhausted"
@@ -98,15 +99,15 @@ msgstr "Memoria agotada"
 
 #: bfd.c:402
 msgid "No symbols"
-msgstr "No hay símbolos"
+msgstr "No hay símbolos"
 
 #: bfd.c:403
 msgid "Archive has no index; run ranlib to add one"
-msgstr "El archivo no tiene índice; ejecute ranlib para agregar uno"
+msgstr "El archivo no tiene índice; ejecute ranlib para agregar uno"
 
 #: bfd.c:404
 msgid "No more archived files"
-msgstr "No hay más ficheros archivados"
+msgstr "No hay más ficheros archivados"
 
 #: bfd.c:405
 msgid "Malformed archive"
@@ -122,19 +123,19 @@ msgstr "El formato del fichero es ambiguo"
 
 #: bfd.c:408
 msgid "Section has no contents"
-msgstr "La sección no tiene contenido"
+msgstr "La sección no tiene contenido"
 
 #: bfd.c:409
 msgid "Nonrepresentable section on output"
-msgstr "Sección no representable en la salida"
+msgstr "Sección no representable en la salida"
 
 #: bfd.c:410
 msgid "Symbol needs debug section which does not exist"
-msgstr "Un símbolo requiere de una sección de depuración, la cual no existe"
+msgstr "Un símbolo requiere de una sección de depuración, la cual no existe"
 
 #: bfd.c:411
 msgid "Bad value"
-msgstr "Valor erróneo"
+msgstr "Valor erróneo"
 
 #: bfd.c:412
 msgid "File truncated"
@@ -151,22 +152,22 @@ msgstr "Error al leer %s: %s"
 
 #: bfd.c:415
 msgid "#<Invalid error code>"
-msgstr "#<Código de error inválido>"
+msgstr "#<Código de error inválido>"
 
 #: bfd.c:939
 #, c-format
 msgid "BFD %s assertion fail %s:%d"
-msgstr "falló la aseveración BFD %s %s:%d"
+msgstr "falló la aseveración BFD %s %s:%d"
 
 #: bfd.c:951
 #, c-format
 msgid "BFD %s internal error, aborting at %s line %d in %s\n"
-msgstr "error interno de BFD %s, se aborta en %s línea %d en %s\n"
+msgstr "error interno de BFD %s, se aborta en %s línea %d en %s\n"
 
 #: bfd.c:955
 #, c-format
 msgid "BFD %s internal error, aborting at %s line %d\n"
-msgstr "error interno de BFD %s, se aborta en %s línea %d\n"
+msgstr "error interno de BFD %s, se aborta en %s línea %d\n"
 
 #: bfd.c:957
 msgid "Please report this bug.\n"
@@ -180,12 +181,12 @@ msgstr "no se mapea: datos=%lx mapeados%d\n"
 #: bfdwin.c:209
 #, c-format
 msgid "not mapping: env var not set\n"
-msgstr "no se mapea: no se estableció la variable de ambiente\n"
+msgstr "no se mapea: no se estableció la variable de ambiente\n"
 
 #: binary.c:271
 #, c-format
 msgid "Warning: Writing section `%s' to huge (ie negative) file offset 0x%lx."
-msgstr "Aviso: Se escribe la sección `%s' a un desplazamiento de fichero grande (pe negativo) 0x%lx."
+msgstr "Aviso: Se escribe la sección `%s' a un desplazamiento de fichero grande (pe negativo) 0x%lx."
 
 #: bout.c:1146 elf-m10300.c:2063 elf32-avr.c:1640 elf32-frv.c:5740
 #: elfxx-sparc.c:2795 reloc.c:5646 reloc16.c:162 elf32-ia64.c:842
@@ -207,28 +208,28 @@ msgstr ""
 
 #: coff-alpha.c:648
 msgid "%B: unknown/unsupported relocation type %d"
-msgstr "%B: tipo de reubicación %d desconocida/no admitida"
+msgstr "%B: tipo de reubicación %d desconocida/no admitida"
 
 #: coff-alpha.c:900 coff-alpha.c:937 coff-alpha.c:2025 coff-mips.c:1003
 msgid "GP relative relocation used when GP not defined"
-msgstr "se usó una reubicación relativa a GP cuando GP no estaba definido"
+msgstr "se usó una reubicación relativa a GP cuando GP no estaba definido"
 
 #: coff-alpha.c:1502
 msgid "using multiple gp values"
-msgstr "se usan valores múltiples de gp"
+msgstr "se usan valores múltiples de gp"
 
 #: coff-alpha.c:1561
 msgid "%B: unsupported relocation: ALPHA_R_GPRELHIGH"
-msgstr "%B: tipo de reubicación no admitida: ALPHA_R_GPRELHIGH"
+msgstr "%B: tipo de reubicación no admitida: ALPHA_R_GPRELHIGH"
 
 #: coff-alpha.c:1568
 msgid "%B: unsupported relocation: ALPHA_R_GPRELLOW"
-msgstr "%B: tipo de reubicación no admitida: ALPHA_R_GPRELLOW"
+msgstr "%B: tipo de reubicación no admitida: ALPHA_R_GPRELLOW"
 
 #: coff-alpha.c:1575 elf32-m32r.c:2493 elf64-alpha.c:3991 elf64-alpha.c:4140
 #: elf32-ia64.c:4582 elf64-ia64.c:4582
 msgid "%B: unknown relocation type %d"
-msgstr "%B: tipo de reubicación %d desconocido"
+msgstr "%B: tipo de reubicación %d desconocido"
 
 #: coff-arm.c:1038
 #, c-format
@@ -246,7 +247,7 @@ msgid ""
 "%B(%s): warning: interworking not enabled.\n"
 "  first occurrence: %B: arm call to thumb"
 msgstr ""
-"%B(%s): aviso: no se activó la interoperabilidad.\n"
+"%B(%s): aviso: no se activó la interoperabilidad.\n"
 "  primer suceso: %B: llamada arm a thumb"
 
 #: coff-arm.c:1459
@@ -256,42 +257,42 @@ msgid ""
 "  first occurrence: %B: thumb call to arm\n"
 "  consider relinking with --support-old-code enabled"
 msgstr ""
-"%B(%s): aviso: no se activó la interoperabilidad.\n"
+"%B(%s): aviso: no se activó la interoperabilidad.\n"
 "  primer suceso: %B: llamada thumb a arm\n"
 "  considere reenlazar con --support-old-code activado"
 
 #: coff-arm.c:1754 coff-tic80.c:695 cofflink.c:3043
 msgid "%B: bad reloc address 0x%lx in section `%A'"
-msgstr "%B: dirección de reubicación 0x%lx errónea en la sección `%A'"
+msgstr "%B: dirección de reubicación 0x%lx errónea en la sección `%A'"
 
 #: coff-arm.c:2079
 msgid "%B: illegal symbol index in reloc: %d"
-msgstr "%B: índice de símbolos ilegal en la reubicación: %d"
+msgstr "%B: índice de símbolos ilegal en la reubicación: %d"
 
 #: coff-arm.c:2210
 #, c-format
 msgid "error: %B is compiled for APCS-%d, whereas %B is compiled for APCS-%d"
-msgstr "error: %B está compilado para APCS-%d, mientras que %B está compilado para APCS-%d"
+msgstr "error: %B está compilado para APCS-%d, mientras que %B está compilado para APCS-%d"
 
 #: coff-arm.c:2226 elf32-arm.c:14105
 #, c-format
 msgid "error: %B passes floats in float registers, whereas %B passes them in integer registers"
-msgstr "error: %B pasa números de coma flotante en registros de coma flotante, mientras que %B los pasa en registros enteros"
+msgstr "error: %B pasa números de coma flotante en registros de coma flotante, mientras que %B los pasa en registros enteros"
 
 #: coff-arm.c:2229 elf32-arm.c:14109
 #, c-format
 msgid "error: %B passes floats in integer registers, whereas %B passes them in float registers"
-msgstr "error: %B pasa números de coma flotante en registros enteros, mientras que %B los pasa en registros de coma flotante"
+msgstr "error: %B pasa números de coma flotante en registros enteros, mientras que %B los pasa en registros de coma flotante"
 
 #: coff-arm.c:2243
 #, c-format
 msgid "error: %B is compiled as position independent code, whereas target %B is absolute position"
-msgstr "error: %B está compilado como código independiente de posición, mientras que el objetivo %B es de posición absoluta"
+msgstr "error: %B está compilado como código independiente de posición, mientras que el objetivo %B es de posición absoluta"
 
 #: coff-arm.c:2246
 #, c-format
 msgid "error: %B is compiled as absolute position code, whereas target %B is position independent"
-msgstr "error: %B está compilado como código de posición absoluta, mientras que el objetivo %B es independiente de posición"
+msgstr "error: %B está compilado como código de posición absoluta, mientras que el objetivo %B es independiente de posición"
 
 #: coff-arm.c:2274 elf32-arm.c:14174
 #, c-format
@@ -301,7 +302,7 @@ msgstr "Aviso: %B admite interoperabilidad, mientras que %B no"
 #: coff-arm.c:2277 elf32-arm.c:14180
 #, c-format
 msgid "Warning: %B does not support interworking, whereas %B does"
-msgstr "Aviso: %B no admite interoperabilidad, mientras que %B sí"
+msgstr "Aviso: %B no admite interoperabilidad, mientras que %B sí"
 
 #: coff-arm.c:2301
 #, c-format
@@ -311,27 +312,27 @@ msgstr "opciones privadas = %x:"
 #: coff-arm.c:2309 elf32-arm.c:10492
 #, c-format
 msgid " [floats passed in float registers]"
-msgstr "[números de coma flotante pasados en registros de coma flotante]"
+msgstr "[números de coma flotante pasados en registros de coma flotante]"
 
 #: coff-arm.c:2311
 #, c-format
 msgid " [floats passed in integer registers]"
-msgstr "[números de coma flotante pasados en registros enteros]"
+msgstr "[números de coma flotante pasados en registros enteros]"
 
 #: coff-arm.c:2314 elf32-arm.c:10495
 #, c-format
 msgid " [position independent]"
-msgstr "[independiente de posición]"
+msgstr "[independiente de posición]"
 
 #: coff-arm.c:2316
 #, c-format
 msgid " [absolute position]"
-msgstr "[posición absoluta]"
+msgstr "[posición absoluta]"
 
 #: coff-arm.c:2320
 #, c-format
 msgid " [interworking flag not initialised]"
-msgstr "[no se inicializó la opción de interoperabilidad]"
+msgstr "[no se inicializó la opción de interoperabilidad]"
 
 #: coff-arm.c:2322
 #, c-format
@@ -346,87 +347,87 @@ msgstr "[no admite interoperabilidad]"
 #: coff-arm.c:2370 elf32-arm.c:9520
 #, c-format
 msgid "Warning: Not setting interworking flag of %B since it has already been specified as non-interworking"
-msgstr "Aviso: No se establece la opción de interoperabilidad de %B ya que se había especificado con anterioridad como no interoperable"
+msgstr "Aviso: No se establece la opción de interoperabilidad de %B ya que se había especificado con anterioridad como no interoperable"
 
 #: coff-arm.c:2374 elf32-arm.c:9524
 #, c-format
 msgid "Warning: Clearing the interworking flag of %B due to outside request"
-msgstr "Aviso: Se limpia la opción de interoperabilidad de %B debido a una petición externa"
+msgstr "Aviso: Se limpia la opción de interoperabilidad de %B debido a una petición externa"
 
 #: coff-h8300.c:1122
 #, c-format
 msgid "cannot handle R_MEM_INDIRECT reloc when using %s output"
-msgstr "no se puede manejar la reubicación R_MEM_INDIRECT cuando se utiliza la salida %s"
+msgstr "no se puede manejar la reubicación R_MEM_INDIRECT cuando se utiliza la salida %s"
 
 #: coff-i860.c:147
 #, c-format
 msgid "Relocation `%s' not yet implemented\n"
-msgstr "La reubicación `%s' aún no está implementada\n"
+msgstr "La reubicación `%s' aún no está implementada\n"
 
 #: coff-i860.c:605 coff-tic54x.c:398 coffcode.h:5147
 msgid "%B: warning: illegal symbol index %ld in relocs"
-msgstr "%B: aviso: índice de símbolos %ld ilegal en reubicaciones"
+msgstr "%B: aviso: índice de símbolos %ld ilegal en reubicaciones"
 
 #: coff-i960.c:143 coff-i960.c:506
 msgid "uncertain calling convention for non-COFF symbol"
-msgstr "convención de llamada incierta para un símbolo que no es COFF"
+msgstr "convención de llamada incierta para un símbolo que no es COFF"
 
 #: coff-m68k.c:506 elf32-bfin.c:5678 elf32-cr16.c:2897 elf32-m68k.c:4672
 msgid "unsupported reloc type"
-msgstr "no se admite el tipo de reubicación"
+msgstr "no se admite el tipo de reubicación"
 
 #: coff-mips.c:688 elf32-mips.c:1014 elf32-score.c:430 elf32-score7.c:330
 #: elf64-mips.c:2019 elfn32-mips.c:1832
 msgid "GP relative relocation when _gp not defined"
-msgstr "reubicación relativa a GP cuando _gp no está definido"
+msgstr "reubicación relativa a GP cuando _gp no está definido"
 
 #: coff-or32.c:229
 msgid "Unrecognized reloc"
-msgstr "No se reconoce la reubicación"
+msgstr "No se reconoce la reubicación"
 
 #: coff-rs6000.c:2794
 #, c-format
 msgid "%s: unsupported relocation type 0x%02x"
-msgstr "%s: no se admite el tipo de reubicación 0x%02x"
+msgstr "%s: no se admite el tipo de reubicación 0x%02x"
 
 #: coff-rs6000.c:2887
 #, c-format
 msgid "%s: TOC reloc at 0x%x to symbol `%s' with no TOC entry"
-msgstr "%s: reubicación de TOC en 0x%x al símbolo `%s' sin entrada TOC"
+msgstr "%s: reubicación de TOC en 0x%x al símbolo `%s' sin entrada TOC"
 
 #: coff-rs6000.c:3652 coff64-rs6000.c:2175
 msgid "%B: symbol `%s' has unrecognized smclas %d"
-msgstr "%B: el símbolo `%s' tiene smclas %d que no se reconoce"
+msgstr "%B: el símbolo `%s' tiene smclas %d que no se reconoce"
 
 #: coff-tic4x.c:195 coff-tic54x.c:299 coff-tic80.c:458
 #, c-format
 msgid "Unrecognized reloc type 0x%x"
-msgstr "No se reconoce el tipo de reubicación 0x%x"
+msgstr "No se reconoce el tipo de reubicación 0x%x"
 
 #: coff-tic4x.c:240
 #, c-format
 msgid "%s: warning: illegal symbol index %ld in relocs"
-msgstr "%s: aviso: índice de símbolos %ld ilegal en reubicaciones"
+msgstr "%s: aviso: índice de símbolos %ld ilegal en reubicaciones"
 
 #: coff-w65.c:367
 #, c-format
 msgid "ignoring reloc %s\n"
-msgstr "se descarta la reubicación %s\n"
+msgstr "se descarta la reubicación %s\n"
 
 #: coffcode.h:973
 msgid "%B: warning: COMDAT symbol '%s' does not match section name '%s'"
-msgstr "%B: aviso: el símbolo COMDAT '%s' no coincide con el nombre de sección '%s'"
+msgstr "%B: aviso: el símbolo COMDAT '%s' no coincide con el nombre de sección '%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:1197
 msgid "%B: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section %s"
-msgstr "%B: Aviso: Se descarta la opción de sección IMAGE_SCN_MEM_NOT_PAGED en la sección %s"
+msgstr "%B: Aviso: Se descarta la opción de sección IMAGE_SCN_MEM_NOT_PAGED en la sección %s"
 
 #: coffcode.h:1264
 msgid "%B (%s): Section flag %s (0x%x) ignored"
-msgstr "%B (%s): Se descarta la opción de sección %s (0x%x)"
+msgstr "%B (%s): Se descarta la opción de sección %s (0x%x)"
 
 #: coffcode.h:2390
 #, c-format
@@ -435,7 +436,7 @@ msgstr "No se reconoce el id de objetivo COFF TI '0x%x'"
 
 #: coffcode.h:2704
 msgid "%B: reloc against a non-existant symbol index: %ld"
-msgstr "%B: reubicación contra un índice de símbolo que no existe: %ld"
+msgstr "%B: reubicación contra un índice de símbolo que no existe: %ld"
 
 #: coffcode.h:3262
 msgid "%B: too many sections (%d)"
@@ -443,119 +444,119 @@ msgstr "%B: Demasiadas secciones (%d)"
 
 #: coffcode.h:3676
 msgid "%B: section %s: string table overflow at offset %ld"
-msgstr "%B: sección %s: desbordamiento de tabla de cadenas en el desplazamiento %ld"
+msgstr "%B: sección %s: desbordamiento de tabla de cadenas en el desplazamiento %ld"
 
 #: coffcode.h:4481
 msgid "%B: warning: line number table read failed"
-msgstr "%B: aviso: falló la lectura de tabla de números de línea"
+msgstr "%B: aviso: falló la lectura de tabla de números de línea"
 
 #: coffcode.h:4511
 msgid "%B: warning: illegal symbol index %ld in line numbers"
-msgstr "%B: aviso: índice de símbolos %ld ilegal en los números de línea"


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


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

* [SCM]  archer-tromey-ambiguous-linespec: Merge remote-tracking branch 'gdb/master' into duplicate-feature-2
@ 2011-08-18 18:00 tromey
  0 siblings, 0 replies; 5+ messages in thread
From: tromey @ 2011-08-18 18:00 UTC (permalink / raw)
  To: archer-commits

The branch, archer-tromey-ambiguous-linespec has been updated
       via  3cc1560030483e8b41d78abea376560908c0d3ce (commit)
       via  be80867ce4c5abdcf99c9f19732258462641994a (commit)
       via  f8b99709c8a32c4b413c403058b1a68f8adba195 (commit)
       via  542d1ddf382dbef922085b511d2dbb5921b63844 (commit)
       via  121eeb649069ee2d87fbf98ce2c10c7e2e0f0e32 (commit)
       via  d0a3573d88f15c2f683c1cd005f47cb44b7f0e77 (commit)
       via  f7dc45d51e7317abdd471ee0a9668e5972c0c5cc (commit)
       via  7dffb359a92f051ff77fda3cb9a0992fed88abee (commit)
       via  a69c8983e62a45a2b99f2910d02feeb6f45cc065 (commit)
       via  72441da6f2fe16629e17588548de3d03119a2046 (commit)
       via  2d810ba757592d1df19034a12b015b9861ce3368 (commit)
       via  8a574db72c0ae87cb5ae6c4edbffe078bd25a4dc (commit)
       via  c02f5a3cba5f40d7f03b7c182f3b31e4478bb83a (commit)
       via  f33166e9896afe265e43db1ea63753c6af653d77 (commit)
       via  7f5419cbc0eb090cee2d397f8dca9410d1a015e1 (commit)
       via  ef540e7cc196aaa340f14a4c42047c4c4324dd49 (commit)
       via  cc4e2461aec2006cdcd056619060c3afbe0c9d1d (commit)
       via  dcf88c4828e49dfc423b9b0fd0432c6ee84d330c (commit)
       via  5ccfd32754be415e0a77d9dfdada9eed76219eb6 (commit)
       via  7401484a3b0e143b3a5e1b1d982c9a9af3c1b553 (commit)
       via  a6af9ecb64b951167cfb8ba2b6114ee6823d09a5 (commit)
       via  14a099b7953934872c85fbd60e5bd15b5a5dd545 (commit)
       via  7d6e6d1e13e52ede0cf459a782c214113639dcad (commit)
       via  8a29e1bc97f5778b4d4d6da19230860ae843c9e0 (commit)
       via  8b2d7a24f51a7e74b14f757753a447e549068487 (commit)
       via  4e615d22837a7213773476881748c9f73e89943f (commit)
       via  34dd72a91ba78c358cad4c6c08c3825a2f3a7296 (commit)
       via  906950a50d19e469f6b97a613e540d6caae25247 (commit)
       via  4d56b6f9d1e6ad2f4094e1123e26470e58a57173 (commit)
       via  840de89e10938d988d41e0fa44953cb4278e3b8d (commit)
       via  8d9524e13e749a2ff2f3fb7cc3e1fe353d1f17e9 (commit)
       via  5edd93a10880cbc9111e4eca3350ee2c9b9e05d9 (commit)
       via  0406e1c3d1cb2e02a20d6c434c1738a3ad1f93f0 (commit)
       via  18ca7cc1d23cada7633e6908c3dbf2cd46c252d5 (commit)
       via  a0f5d61b27c44104c1a0aac906521e30d5c43a75 (commit)
       via  c184b248e10b8425ca8f2b0cf874c860e630e6fc (commit)
       via  23f9a6a93704a8046c3ad23a649d92be9259d4ba (commit)
       via  1da3d8e3e69f9a238e8110367f2cd4d0bbefaa6f (commit)
       via  e61188dc20c298e1fbe2d7cc921de0ff15568ef7 (commit)
       via  a9cb1a1c600086603f4eeacdacc6d70d2bdf0cdd (commit)
       via  99b3a4dc27f080ce2674c73d1dd50411a554d72b (commit)
       via  271aaac2ec09fb77f9ebd9519b99866efbb62b80 (commit)
       via  55afb5cc61b57e417bb9da08b898e08495d3e4a5 (commit)
       via  3fc3ea6561313c210bc27a8c3a485a670385544b (commit)
       via  7f12503596efa58eba69329f2587592e1d9b0371 (commit)
       via  821ed041d1dfad79215145c33f62106993b2e641 (commit)
       via  0bc7eb65d485bb1be9dfde6bb354b19207633073 (commit)
       via  ec5e7fce9584921e8f0ae21161061bcf1fabb064 (commit)
       via  b970ab682574bf5d05289b62949bef6e1802db10 (commit)
       via  d09f0fb4dac6e17939e26d004ab6bcc1ee6840c4 (commit)
       via  e18cb8bddbdb2d1f9d351e5976807081eac3b7fb (commit)
       via  6e962026419305ae6c540eb01a735cf7c2685c20 (commit)
       via  d675f0df71758ae0ed77d18f8a2bf92c37b51af1 (commit)
       via  63b01efeb30a95be3f005af91b0a799db4a0afc2 (commit)
       via  82940a9fe01f9eef621c8b8d78d3739a93478f7a (commit)
       via  51fd57de0514369b7697a389b926f919505673d9 (commit)
       via  a94c6e82c12af7ed49cb90dcf953c04e94b70e0e (commit)
       via  e25400873f1eb928315825fd0982f1908704d1b9 (commit)
       via  383524a31bed54fa899b9cf10dd253485f1a784d (commit)
       via  1f1fd62acc6e89cd8253cd24cedc92d1dbe36c2e (commit)
       via  4c181b401e29ac84aad60cde8d6a3c79af7ac88a (commit)
       via  83dd8229b69a595f5900dd71a381889ff5c1ca12 (commit)
       via  d2521668e33529dff6dbcc356c36cd6a7fb6d36e (commit)
       via  16283aab8a47f20c8a0c5fa7cb86ca0d72df6c32 (commit)
       via  f325eb92a79338b75891c61b03a0d220a6520b65 (commit)
       via  d2c8efa6ad882444f602aa031c337427b858ed03 (commit)
       via  1bd3e4ae69c88312d8bc0fbbc7181116b840aec1 (commit)
       via  89fa801a3cee0d402dfd3b672dfcd89f9fafd151 (commit)
       via  4491fae9cfe5d492ac49dda54be23b7f2ad7d521 (commit)
       via  73a6385ca2589fb8d00c71964421af2e2b79e2d8 (commit)
       via  648d569217f81fe5644a9dd38cf4c3ef1a7b99a0 (commit)
       via  c5fce18816c49d91c06c0bd9a4e5d6726af5c508 (commit)
       via  7c9202cb57f8395f8149ea27583145555facef10 (commit)
       via  101154f1453bae9d106d16d2370abc4654bc8f35 (commit)
       via  f1474dc4749ecf868dc8353c7563f899ba47b47b (commit)
       via  d98d69f90da424d4ca4edea77e38cd13488af5ce (commit)
       via  1716dce74927cbfc06d27862c2ac3e9335ce9b4d (commit)
       via  1ee5d2481d40c42da16347b1d129de8dc54f6340 (commit)
       via  ac307d43f7a779d054d0a28ca5ad9490ef4d1728 (commit)
       via  2d5f0b2d9e6e25c526ce4596139c74708d0f024d (commit)
       via  f6811c1f3ff7de0e03270d7f88ba2c82b14c309a (commit)
       via  622270636fb94cf9b066d61a0778f733d9a2953d (commit)
       via  0c3fed0d46b5cd55c0b67eba9e04ff91305eac44 (commit)
       via  92219627c7d67b7c017f685bd194c1e060834f5e (commit)
       via  b4d942bb9ced23b02f6f2fb3a7e7d6c379df14d7 (commit)
       via  edde6978a5c3ee8a2eeafa99a13a6ecb95bf1aff (commit)
       via  5260dc5b96f51d073f2cd959885deb4bc33fa75e (commit)
       via  f5e1e07e8645602634f04ccc1a4ccb9ab55e078b (commit)
       via  998ded766c7bad536864aad9ca648f7baf44367c (commit)
       via  7e1126afc1751dbac7fbbdc388d7db9d7d45493f (commit)
       via  4eb108ad2e530cfd39871f60c2b7b68ebccd027c (commit)
       via  c8fdcd88196cad12b1785196fd5ae2ee2710d3f1 (commit)
       via  e2f4af4fa1a1b6d6317684454d6ab5dc60577c7b (commit)
       via  1cf696a3ca6e7fbcd7cefb4453ea47dad7d56ce2 (commit)
       via  9e909d20405e0f20dcfefcc7a732a3571a3cd222 (commit)
       via  6319b244bb2a30f815cf0ea4ea75f4615e54f0a7 (commit)
       via  b8925db2ffb40b3060663e8eb388ec002bab0781 (commit)
       via  1f710ded08a71aa06c5f3e02be2a767b68469cd8 (commit)
       via  896dc548849842cb3e6796ef2f52bab4ef1c500d (commit)
       via  2f8d4ec669a51a12e7559c5e040f01bc36560333 (commit)
       via  075368556bc24b5bf93b6133738fbdc9285eb046 (commit)
       via  0a09bb331c00e275ffb2f359da7eb300ad89e47a (commit)
       via  c4e4770b5a2f437897eba3b319e769a0ca9c50cf (commit)
       via  4bc9652c5174dcd69ad31d9897ac0a477ffdcedc (commit)
       via  f298b231d6953e6717a55ed8507255dfeed40d46 (commit)
       via  9a0caebbc79750e52bbfa25a96b4e784645960a6 (commit)
       via  fdfc8647cb05c7fb81439d0e240ea96ddba78258 (commit)
       via  2d84225afefc0bbe54878701ac425e0b92e9ea43 (commit)
       via  4632dc7594fcefaabebc14b11fbb9899b28cdb25 (commit)
       via  d9720f780e00fbb4a3fe7d8a85d511cac6b6549a (commit)
       via  e9f2a2fb758af55d70656a1cdee7c3904c980dfd (commit)
       via  a5c266bb89af0e0b6a7ec36b44ec8ad63d6415ad (commit)
       via  069a01335c3e5a18c5ee7aedff942bd753d85979 (commit)
       via  572ae324f6fb3c4ba2f8ca68d128d64692f29fcf (commit)
       via  312edf2c03f75df48658a7ffa89e51e92e510dba (commit)
       via  42153de06202e4aae0028692ffb8f4241a88f264 (commit)
       via  f51582eaf6915a365ff221dd1bd779ae3d29e941 (commit)
       via  31eaa3821255d058aaa4abc5bf6a67d28ef1a0b1 (commit)
       via  11df14cc7457457334577fd47cb5ff56730d44cd (commit)
       via  133e86fd20f5080a08e2c461adf0de5d898387c9 (commit)
       via  8178db181964d965ae8ca8db7c04f12d6b8841db (commit)
       via  b36afbe46ef1705f58fedacf2b120060d2c052b6 (commit)
       via  790b49ae9c189ad7674356598019dc45b719d9e2 (commit)
       via  bbf0b0a19df04cfd787139222ed44efa512ec346 (commit)
       via  41b397c635d2c95bc3007fa6a13ac30615792892 (commit)
       via  4dbfc668f5f2e0a8e053983d865bf66e298b168d (commit)
       via  c8e304313cf98443af573e940796bdd136772da8 (commit)
       via  1946477f085862d246c46c3ce1d886d2d56edc22 (commit)
      from  4ae60fef1e43582d715094d169fe0e97e32bede0 (commit)

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

- Log -----------------------------------------------------------------
commit 3cc1560030483e8b41d78abea376560908c0d3ce
Merge: 542d1dd be80867
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Aug 18 11:30:33 2011 -0600

    Merge remote-tracking branch 'gdb/master' into duplicate-feature-2
    
    Conflicts:
    	gdb/linespec.c

commit be80867ce4c5abdcf99c9f19732258462641994a
Author: Keith Seitz <keiths@redhat.com>
Date:   Thu Aug 18 16:19:00 2011 +0000

    	* gdb.cp/meth-typedefs.cc: New file.
    	* gdb.cp/meth-typedefs.exp: New file.

commit f8b99709c8a32c4b413c403058b1a68f8adba195
Author: Keith Seitz <keiths@redhat.com>
Date:   Thu Aug 18 16:17:31 2011 +0000

    	PR c++/12266
    	* cp-name-parser.y (struct demangle_info): Remove unused
    	member PREV.
    	(d_grab): Likewise.
    	(allocate_info): Change return type to struct demangle_info *.
    	Always allocate a new demangle_info.
    	Remove unused PREV pointer.
    	(cp_new_demangle_parse_info): New function.
    	(cp_demangled_name_parse_free): New function.
    	(do_demangled_name_parse_free_cleanup): New function.
    	(make_cleanup_cp_demangled_name_parse_free): New function.
    	(cp_demangled_name_to_comp): Change return type to
    	struct demangle_parse_info *.
    	Allocate a new storage for each call.
    	(main): Update usage for cp_demangled_name_to_comp
    	API change.
    	* cp-support.h (struct demangle_parse_info): New structure.
    	(cp_demangled_name_to_comp): Update API change for
    	return type.
    	(cp_new_demangle_parse_info): Declare.
    	(make_cleanup_cp_demangled_name_parse_free): New declaration.
    	(cp_demangled_name_parse_free): Declare.
    	* cp-support.c (cp_canonicalize_string): Update API
    	change for cp_demangled_name_to_comp.
    	(mangled_name_to_comp): Likewise.
    	Return struct demangle_parse_info, too.
    	(cp_class_name_from_physname): Update mangled_name_to_comp
    	API change.
    	(method_name_from_physname): Likewise.
    	(cp_func_name): Update API change for cp_demangled_name_to_comp.
    	(cp_remove_params): Likewise.
    	* python/py-type.c (typy_legacy_template_argument): Likewise.
    
    	* cp-support.h (cp_canonicalize_string_no_typedefs): Declare.
    	(cp_merge_demangle_parse_infos): Declare.
    	* cp-support.c (ignore_typedefs): New file global.
    	(copy_string_to_obstack): New function.
    	(inspect_type): New function.
    	(replace_typedefs): New function.
    	(replace_typedefs_qualified_name): New function.
    	(cp_canonicalize_string_no_typedefs): New function.
    	* cp-name-parser.y (cp_merge_demangle_parse_infos): New function.
    	(cp_new_demangle__parse_info): Allocate and initialize the obstack.
    	* linespec.c (find_methods): Use cp_canonicalize_string_no_typedefs
    	instead of cp_canonicalize_string.
    	(find_method): Likewise.
    	(decode_compound): Before looking up the name, call
    	cp_canonicalize_string_no_typedefs.
    	(decode_variable): Likewise.

commit 542d1ddf382dbef922085b511d2dbb5921b63844
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Aug 18 09:19:04 2011 -0600

    pull a convenience function out of decode_variable

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

Summary of changes:
 ChangeLog                                         |    8 +
 bfd/ChangeLog                                     |  289 +++++-
 bfd/archures.c                                    |   23 +-
 bfd/bfd-in.h                                      |   17 +-
 bfd/bfd-in2.h                                     |   53 +-
 bfd/coff-alpha.c                                  |    2 +-
 bfd/coff-mips.c                                   |    2 +-
 bfd/coffcode.h                                    |    2 +-
 bfd/coffgen.c                                     |   67 +
 bfd/cofflink.c                                    |    6 +-
 bfd/cpu-i386.c                                    |    7 +-
 bfd/elf-bfd.h                                     |    5 +-
 bfd/elf32-arm.c                                   |   26 +-
 bfd/elf32-ppc.c                                   |  166 +++-
 bfd/elf64-ppc.c                                   |  110 +-
 bfd/elf64-x86-64.c                                |   71 +-
 bfd/elflink.c                                     |  372 ++----
 bfd/elfxx-mips.c                                  |  112 +-
 bfd/libbfd-in.h                                   |   24 +-
 bfd/libbfd.h                                      |   24 +-
 bfd/libcoff-in.h                                  |    2 +
 bfd/libcoff.h                                     |    2 +
 bfd/linker.c                                      |  267 ++---
 bfd/mach-o-i386.c                                 |    1 +
 bfd/mach-o-target.c                               |    1 -
 bfd/mach-o-x86-64.c                               |   44 +-
 bfd/mach-o.c                                      | 1120 ++++++++++-------
 bfd/mach-o.h                                      |   94 +-
 bfd/netbsd-core.c                                 |    1 +
 bfd/targets.c                                     |    5 +-
 bfd/version.h                                     |    2 +-
 bfd/vms-alpha.c                                   |    4 +-
 configure                                         |    2 +-
 configure.ac                                      |    2 +-
 gdb/ChangeLog                                     |  417 ++++++
 gdb/MAINTAINERS                                   |    1 +
 gdb/NEWS                                          |   19 +
 gdb/ada-lang.c                                    |    3 +
 gdb/breakpoint.c                                  |  114 ++-
 gdb/cli-out.c                                     |    2 +-
 gdb/cli/cli-cmds.c                                |    2 +-
 gdb/cli/cli-decode.c                              |    2 +-
 gdb/cli/cli-interp.c                              |   11 +-
 gdb/cli/cli-logging.c                             |    5 +-
 gdb/cli/cli-script.c                              |    2 +-
 gdb/cli/cli-setshow.c                             |    3 +
 gdb/config/djgpp/fnchange.lst                     |   24 +
 gdb/configure.tgt                                 |   11 +
 gdb/cp-abi.c                                      |    3 +
 gdb/cp-name-parser.y                              |  141 ++-
 gdb/cp-support.c                                  |  455 +++++++-
 gdb/cp-support.h                                  |   32 +-
 gdb/darwin-nat.c                                  |    5 +-
 gdb/data-directory/Makefile.in                    |    4 +-
 gdb/doc/ChangeLog                                 |   26 +
 gdb/doc/gdb.texinfo                               |  135 ++-
 gdb/doublest.c                                    |    6 +-
 gdb/dwarf2loc.c                                   |   16 +-
 gdb/elfread.c                                     |   17 +-
 gdb/event-loop.c                                  |   39 +-
 gdb/event-loop.h                                  |    2 +-
 gdb/exceptions.c                                  |   50 +-
 gdb/exceptions.h                                  |    5 +-
 gdb/features/Makefile                             |   10 +-
 gdb/features/tic6x-c62x-linux.c                   |   56 +
 gdb/features/tic6x-c62x-linux.xml                 |   13 +
 gdb/features/tic6x-c62x.c                         |   54 +
 gdb/features/tic6x-c62x.xml                       |   12 +
 gdb/features/tic6x-c64x-linux.c                   |   90 ++
 gdb/features/tic6x-c64x-linux.xml                 |   14 +
 gdb/features/tic6x-c64x.c                         |   88 ++
 gdb/features/tic6x-c64x.xml                       |   13 +
 gdb/features/tic6x-c64xp-linux.c                  |   95 ++
 gdb/features/tic6x-c64xp-linux.xml                |   15 +
 gdb/features/tic6x-c64xp.c                        |   93 ++
 gdb/features/tic6x-c64xp.xml                      |   14 +
 gdb/features/tic6x-c6xp.xml                       |   13 +
 gdb/features/tic6x-core.xml                       |   44 +
 gdb/features/tic6x-gp.xml                         |   42 +
 gdb/frame.c                                       |    4 +-
 gdb/gdbserver/ChangeLog                           |   31 +
 gdb/gdbserver/Makefile.in                         |   13 +
 gdb/gdbserver/configure.srv                       |   14 +
 gdb/gdbserver/linux-low.c                         |   69 +
 gdb/gdbserver/linux-tic6x-low.c                   |  334 +++++
 gdb/gdbserver/server.c                            |   19 +
 gdb/gdbserver/target.h                            |    4 +
 gdb/gdbserver/win32-low.c                         |    2 +
 gdb/infcmd.c                                      |    2 +
 gdb/inferior.c                                    |    6 +-
 gdb/infrun.c                                      |   11 +-
 gdb/interps.c                                     |    6 +-
 gdb/linespec.c                                    |   99 +-
 gdb/maint.c                                       |   14 +-
 gdb/mi/mi-cmd-break.c                             |    4 +-
 gdb/mi/mi-cmd-disas.c                             |    1 +
 gdb/mi/mi-cmd-env.c                               |    7 +-
 gdb/mi/mi-cmd-file.c                              |    4 +
 gdb/mi/mi-cmd-stack.c                             |    6 +-
 gdb/mi/mi-cmd-var.c                               |   15 +
 gdb/mi/mi-interp.c                                |    8 +-
 gdb/mi/mi-main.c                                  |   37 +-
 gdb/mi/mi-symbol-cmds.c                           |    1 +
 gdb/osdata.c                                      |    1 +
 gdb/printcmd.c                                    |   41 +-
 gdb/progspace.c                                   |    2 +-
 gdb/python/lib/gdb/__init__.py                    |   27 +-
 gdb/python/lib/gdb/command/pretty_printers.py     |    2 +
 gdb/python/lib/gdb/command/prompt.py              |   66 +
 gdb/python/lib/gdb/prompt.py                      |  149 +++
 gdb/python/py-auto-load.c                         |    2 +
 gdb/python/py-breakpoint.c                        |    8 +-
 gdb/python/py-cmd.c                               |    2 +-
 gdb/python/py-frame.c                             |    2 +-
 gdb/python/py-function.c                          |    2 +-
 gdb/python/py-inferior.c                          |    2 +-
 gdb/python/py-param.c                             |    2 +-
 gdb/python/py-symbol.c                            |   18 +
 gdb/python/py-type.c                              |   11 +-
 gdb/python/python.c                               |    4 +-
 gdb/regformats/tic6x-c62x-linux.dat               |   38 +
 gdb/regformats/tic6x-c62x.dat                     |   38 +
 gdb/regformats/tic6x-c64x-linux.dat               |   70 +
 gdb/regformats/tic6x-c64x.dat                     |   70 +
 gdb/regformats/tic6x-c64xp-linux.dat              |   73 ++
 gdb/regformats/tic6x-c64xp.dat                    |   73 ++
 gdb/remote-fileio.c                               |    3 +-
 gdb/remote.c                                      |   11 +
 gdb/solib-dsbt.c                                  | 1259 +++++++++++++++++++
 gdb/solib-frv.c                                   |  115 +--
 gdb/solib-irix.c                                  |  137 +--
 gdb/solib-sunos.c                                 |  138 +--
 gdb/solib-svr4.c                                  |  178 +---
 gdb/solib-target.c                                |   14 +-
 gdb/solib.c                                       |  190 +---
 gdb/solist.h                                      |   20 +-
 gdb/somread.c                                     |   16 +-
 gdb/source.c                                      |    1 +
 gdb/spu-tdep.c                                    |  124 +-
 gdb/stack.c                                       |  172 +--
 gdb/symfile-mem.c                                 |    2 +-
 gdb/symfile.c                                     |    4 +-
 gdb/target.h                                      |    2 +
 gdb/testsuite/ChangeLog                           |  108 ++
 gdb/testsuite/gdb.arch/i386-dr3-watch.exp         |    4 +-
 gdb/testsuite/gdb.base/break-always.exp           |   20 +
 gdb/testsuite/gdb.base/callfuncs.exp              |    2 +-
 gdb/testsuite/gdb.base/display.c                  |    2 +
 gdb/testsuite/gdb.base/display.exp                |   26 +
 gdb/testsuite/gdb.base/{savedregs.c => float.c}   |   45 +-
 gdb/testsuite/gdb.base/float.exp                  |    5 +-
 gdb/testsuite/gdb.base/jit-so.exp                 |   12 +-
 gdb/testsuite/gdb.base/jit.exp                    |    8 +-
 gdb/testsuite/gdb.base/maint.exp                  |    5 +
 gdb/testsuite/gdb.base/nostdlib.exp               |    8 +
 gdb/testsuite/gdb.base/savedregs.c                |   14 +
 gdb/testsuite/gdb.base/savedregs.exp              |    1 +
 gdb/testsuite/gdb.base/watch-vfork.exp            |    5 +
 gdb/testsuite/gdb.cp/cplusfuncs.exp               |    2 +-
 gdb/testsuite/gdb.cp/infcall-dlopen.exp           |    5 +-
 gdb/testsuite/gdb.cp/inherit.exp                  |    2 +-
 gdb/testsuite/gdb.cp/meth-typedefs.cc             |  151 +++
 gdb/testsuite/gdb.cp/meth-typedefs.exp            |  160 +++
 gdb/testsuite/gdb.cp/overload.exp                 |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp |    5 +-
 gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.S     |  132 ++
 gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.exp   |   52 +
 gdb/testsuite/gdb.dwarf2/dw2-simple-locdesc.S     |    2 +-
 gdb/testsuite/gdb.mi/gdb669.exp                   |    5 -
 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-pthreads.exp              |    5 -
 gdb/testsuite/gdb.mi/mi-syn-frame.c               |   13 +-
 gdb/testsuite/gdb.mi/mi2-pthreads.exp             |    5 -
 gdb/testsuite/gdb.python/py-symbol.exp            |    5 +
 gdb/testsuite/gdb.python/python.exp               |   26 +
 gdb/testsuite/gdb.threads/pthreads.exp            |    5 -
 gdb/testsuite/gdb.threads/thread-find.exp         |    4 +
 gdb/testsuite/gdb.trace/unavailable.exp           |   34 +
 gdb/testsuite/gdb.xml/tdesc-regs.exp              |    3 +
 gdb/testsuite/lib/mi-support.exp                  |    4 +-
 gdb/thread.c                                      |    6 +-
 gdb/tic6x-linux-tdep.c                            |  224 ++++
 gdb/tic6x-tdep.c                                  | 1389 +++++++++++++++++++++
 gdb/tic6x-tdep.h                                  |   54 +
 gdb/top.c                                         |    7 +-
 gdb/tracepoint.c                                  |    5 +
 gdb/tui/tui-interp.c                              |   79 --
 gdb/tui/tui-io.c                                  |    8 +-
 gdb/tui/tui-regs.c                                |   56 +-
 gdb/ui-out.c                                      |    2 +-
 gdb/ui-out.h                                      |    2 +-
 gdb/version.in                                    |    2 +-
 include/elf/ChangeLog                             |    5 +
 include/elf/x86-64.h                              |    1 +
 include/mach-o/ChangeLog                          |   15 +
 include/mach-o/external.h                         |  273 ++++
 include/mach-o/loader.h                           |  264 +++--
 include/mach-o/reloc.h                            |   53 +
 include/mach-o/x86-64.h                           |   37 +
 include/opcode/ChangeLog                          |   46 +
 include/opcode/mips.h                             |  110 +-
 include/opcode/sparc.h                            |    8 +-
 libiberty/ChangeLog                               |   46 +-
 libiberty/cp-demangle.c                           |   14 +-
 libiberty/md5.c                                   |   16 +-
 libiberty/testsuite/demangle-expected             |    5 +-
 libiberty/testsuite/test-expandargv.c             |    7 +-
 opcodes/ChangeLog                                 |   52 +
 opcodes/i386-dis.c                                |   46 +-
 opcodes/i386-opc.tbl                              |    2 +-
 opcodes/i386-tbl.h                                |    2 +-
 opcodes/micromips-opc.c                           |  178 ++--
 opcodes/mips-dis.c                                |   20 +-
 opcodes/mips-opc.c                                |   10 +
 opcodes/sparc-dis.c                               |   19 +-
 opcodes/sparc-opc.c                               |   88 ++
 221 files changed, 10174 insertions(+), 2834 deletions(-)
 create mode 100644 gdb/features/tic6x-c62x-linux.c
 create mode 100644 gdb/features/tic6x-c62x-linux.xml
 create mode 100644 gdb/features/tic6x-c62x.c
 create mode 100644 gdb/features/tic6x-c62x.xml
 create mode 100644 gdb/features/tic6x-c64x-linux.c
 create mode 100644 gdb/features/tic6x-c64x-linux.xml
 create mode 100644 gdb/features/tic6x-c64x.c
 create mode 100644 gdb/features/tic6x-c64x.xml
 create mode 100644 gdb/features/tic6x-c64xp-linux.c
 create mode 100644 gdb/features/tic6x-c64xp-linux.xml
 create mode 100644 gdb/features/tic6x-c64xp.c
 create mode 100644 gdb/features/tic6x-c64xp.xml
 create mode 100644 gdb/features/tic6x-c6xp.xml
 create mode 100644 gdb/features/tic6x-core.xml
 create mode 100644 gdb/features/tic6x-gp.xml
 create mode 100644 gdb/gdbserver/linux-tic6x-low.c
 create mode 100644 gdb/python/lib/gdb/command/prompt.py
 create mode 100644 gdb/python/lib/gdb/prompt.py
 create mode 100644 gdb/regformats/tic6x-c62x-linux.dat
 create mode 100644 gdb/regformats/tic6x-c62x.dat
 create mode 100644 gdb/regformats/tic6x-c64x-linux.dat
 create mode 100644 gdb/regformats/tic6x-c64x.dat
 create mode 100644 gdb/regformats/tic6x-c64xp-linux.dat
 create mode 100644 gdb/regformats/tic6x-c64xp.dat
 create mode 100644 gdb/solib-dsbt.c
 copy gdb/testsuite/gdb.base/{savedregs.c => float.c} (52%)
 create mode 100644 gdb/testsuite/gdb.cp/meth-typedefs.cc
 create mode 100644 gdb/testsuite/gdb.cp/meth-typedefs.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.exp
 create mode 100644 gdb/tic6x-linux-tdep.c
 create mode 100644 gdb/tic6x-tdep.c
 create mode 100644 gdb/tic6x-tdep.h
 create mode 100644 include/mach-o/external.h
 create mode 100644 include/mach-o/reloc.h
 create mode 100644 include/mach-o/x86-64.h

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 7ac4eb3..23e45c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-08-14  Yao Qi  <yao@codesourcery.com>
+
+	Merge from gcc:
+
+	2011-08-14  Yao Qi  <yao@codesourcery.com>
+	* configure.ac (tic6x-*-*): Remove gdb from noconfigdirs.
+	* configure: Regenerate.
+
 2011-07-26  Ian Lance Taylor  <iant@google.com>
 
 	Merge from gcc:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c3fac58..f883765 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,284 @@
+2011-08-18  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (bfd_mach_o_read_segment): Initialize list.
+
+2011-08-17  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (bfd_mach_o_write_section_32): Fix typo.
+
+2011-08-17  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12762
+	* bfd-in.h (struct bfd_section_already_linked): Forward declare.
+	(_bfd_handle_already_linked): Declare.
+	* coff-alpha.c (_bfd_ecoff_section_already_linked): Define as
+	_bfd_coff_section_already_linked.
+	* coff-mips.c (_bfd_ecoff_section_already_linked): Likewise.
+	* coffcode.h (coff_section_already_linked): Likewise.
+	* cofflink.c (coff_link_add_symbols): Revert 2011-07-09 changes.
+	* elf-bfd.h: Likewise.
+	* libbfd-in.h: Likewise.
+	* targets.c: Likewise.
+	* linker.c (bfd_section_already_linked): Likewise.
+	(bfd_section_already_linked_table_lookup): Likewise.
+	(bfd_section_already_linked_table_insert): Likewise.
+	(_bfd_generic_section_already_linked): Likewise.  Call
+	_bfd_handle_already_linked.
+	(_bfd_handle_already_linked): New function, split out from..
+	* elflink.c (_bfd_elf_section_already_linked): ..here.  Revert
+	2011-07-09 changes.  Avoid unnecessary strcmp when matching
+	already_linked_list entries.  Match plugin linkonce section.
+	(section_signature): Delete.
+	* coffgen.c (_bfd_coff_section_already_linked): New function.
+	* libcoff-in.h (_bfd_coff_section_already_linked): Declare.
+	* libbfd.h: Regenerate.
+	* libcoff.h: Regenerate.
+	* bfd-in2.h: Regenerate.
+
+2011-08-14  Alan Modra  <amodra@gmail.com>
+
+	* elf32-ppc.c (ppc_elf_select_plt_layout): Force bss-plt when
+	shared and call to _mcount will go via plt.
+
+2011-08-14  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c: Prefix all einfo error strings with "%P: ".
+	* elf32-ppc.c: Likewise.
+	(ppc_elf_select_plt_layout): Use einfo rather than info to report
+	forced bss-plt.
+
+2011-08-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/13082
+	* elf64-x86-64.c (x86_64_elf_howto_table): Add R_X86_64_RELATIVE64.
+	(elf_x86_64_relocate_section): Treat R_X86_64_64 like R_X86_64_32
+	and zero-extend it to 64bit if addend is zero for x32.  Generate
+	R_X86_64_RELATIVE64 for x32.
+
+2011-08-09  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+	* bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
+	* bfd-in2.h (bfd_elf32_arm_set_target_relocs): Likewise.
+	* elf32-arm.c (elf32_arm_link_hash_table): New field.
+	(elf232_arm_link_hash_table_create): Initialise new field.
+	(check_use_blx): Change test depending on fix_arm1176.
+	(bfd_elf32_arm_set_target_relocs): Set fix_arm1176 from
+	command line options.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (struct mach_o_segment_name_xlat): Add comments.
+	(segsec_names_xlat): Reorder elements.
+	(bfd_mach_o_read_section_32): Fix typo.
+	(bfd_mach_o_read_section_64): Fix typo.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.h (BFD_MACH_O_SEGNAME_SIZE): New macro.
+	(BFD_MACH_O_SECTNAME_SIZE): Ditto.
+	(bfd_mach_o_section): Use them.  Add next field.
+	(bfd_mach_o_segment_command): Replace sections array by
+	sect_head and sect_tail.
+	(bfd_mach_o_get_mach_o_section): New macro.
+	(bfd_mach_o_lookup_section): Remove.
+	(bfd_mach_o_new_section_hook): New function.
+	* mach-o.c (bfd_mach_o_normalize_section_name): Use strncmp
+	instead of strcmp.
+	(bfd_mach_o_convert_section_name_to_bfd): Replaces section
+	parameter with segname and sectname parameters.  Adjust.
+	(bfd_mach_o_append_section_to_segment): New function.  Use a
+	linked list for Mach-O sections.
+	(bfd_mach_o_write_segment_32): Adjust.
+	(bfd_mach_o_write_segment_64): Ditto.
+	(bfd_mach_o_build_commands): Fix comment.  Adjust.
+	(bfd_mach_o_flatten_sections): Adjust.
+	(bfd_mach_o_print_section_map): Adjust.
+	(bfd_mach_o_set_section_flags_from_bfd): Ditto.
+	(bfd_mach_o_new_section_hook): New function.
+	(bfd_mach_o_init_section_from_mach_o): Ditto.
+	(bfd_mach_o_read_section_32): Remove section parameter.
+	Return a section instead.
+	(bfd_mach_o_read_section_64): Ditto.
+	(bfd_mach_o_read_section): Ditto.
+	(bfd_mach_o_make_bfd_section): Adjust.
+	(bfd_mach_o_read_segment): Adjust for new profile of
+	bfd_mach_o_read_section.
+	(bfd_mach_o_lookup_section): Remove.
+	* mach-o-target.c (bfd_mach_o_new_section_hook): Remove.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.h (bfd_mach_o_version_min_command): New structure.
+	(bfd_mach_o_load_command): Add version_min.
+	(mach_o_data_struct): Fix comment.
+	* mach-o.c (bfd_mach_o_read_version_min): New function.
+	(bfd_mach_o_read_command): Handle BFD_MACH_O_LC_FUNCTION_STARTS,
+	BFD_MACH_O_LC_VERSION_MIN_MACOSX and
+	BFD_MACH_O_LC_VERSION_MIN_IPHONEOS.
+	(bfd_mach_o_get_name_or_null): New function.
+	(bfd_mach_o_get_name): Use the above new one.
+	(bfd_mach_o_load_command_name): Add the above new commands.
+	(bfd_mach_o_bfd_print_private_bfd_data): Display numerically
+	unknown commands.  Handle BFD_MACH_O_LC_FUNCTION_STARTS,
+	BFD_MACH_O_LC_VERSION_MIN_MACOSX and
+	BFD_MACH_O_LC_VERSION_MIN_IPHONEOS.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.h: Move size macros to external.h
+	Move reloc macros to reloc.h and x86-64.h.
+	* mach-o-i386.c: Includes mach-o/reloc.h
+	* mach-o-x86-64.c: Ditto and includes mach-o/x86-64.h
+	* mach-o.c: Add includes.
+	(bfd_mach_o_write_header): Use structure from external.h to convert.
+	(bfd_mach_o_write_thread): Ditto.
+	(bfd_mach_o_write_relocs): Ditto.
+	(bfd_mach_o_write_section_32): Ditto.
+	(bfd_mach_o_write_section_64): Ditto.
+	(bfd_mach_o_write_segment_32): Ditto.
+	(bfd_mach_o_write_segment_64): Ditto.
+	(bfd_mach_o_write_symtab): Ditto.
+	(bfd_mach_o_write_contents): Ditto.
+	(bfd_mach_o_read_header): Ditto.
+	(bfd_mach_o_read_section_32): Ditto.
+	(bfd_mach_o_read_section_64): Ditto.
+	(bfd_mach_o_read_symtab_symbol): Ditto.
+	(bfd_mach_o_read_dylinker): Ditto.
+	(bfd_mach_o_read_dylib): Ditto.
+	(bfd_mach_o_read_dysymtab): Ditto.
+	(bfd_mach_o_read_symtab): Ditto.
+	(bfd_mach_o_read_linkedit): Ditto.
+	(bfd_mach_o_read_str): Ditto.
+	(bfd_mach_o_read_dyld_info): Ditto.
+	(bfd_mach_o_read_segment): Ditto.
+	(bfd_mach_o_read_command): Ditto.
+	(bfd_mach_o_archive_p): Ditto.
+	(bfd_mach_o_canonicalize_one_reloc): Ditto. Change the BUF parameter.
+	(bfd_mach_o_canonicalize_relocs): Adjust to call the above function.
+	(bfd_mach_o_read_dysymtab_symbol): Rename BUF variable.
+	(bfd_mach_o_read_uuid): Remove useless cast.  Use a macro instead
+	of an hard-coded value.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o-x86-64.c (bfd_mach_o_x86_64_mkobject): Fix cut-and-past typos.
+	(bfd_mach_o_x86_64_swap_reloc_out): Handle BFD_RELOC_32_PCREL,
+	BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64 and
+	BFD_RELOC_MACH_O_X86_64_GOT_LOAD.  Share common code.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (bfd_mach_o_normalize_section_name): New function.
+	(bfd_mach_o_convert_section_name_to_bfd): Use it.
+	(bfd_mach_o_get_section_type_from_name): New function.
+	(bfd_mach_o_get_section_attribute_from_name): Ditto.
+	* mach-o.h (bfd_mach_o_section): Move bfdsection field at the end.
+	Add comments.  Add prototypes for the above new functions.
+
+2011-08-05  Mark Kettenis  <kettenis@gnu.org>
+
+	* netbsd-core.c (netbsd_core_vec): Init match_priority field.
+
+2011-08-05  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (maybe_strip_output): New function.
+	(ppc64_elf_size_stubs): Use it to strip .branch_lt and .eh_frame.
+
+2011-08-05  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12762
+	* elflink.c (_bfd_elf_section_already_linked): Return matched
+	status.  Remove COFF comdat section handling.
+	* linker.c (_bfd_generic_section_already_linked): Return matched
+	status.  Don't set SEC_GROUP in l_flags for plugin entries.
+	(bfd_section_already_linked): Update prototype.
+	* targets.c (_section_already_linked): Likewise.
+	* elf-bfd.h (_bfd_elf_section_already_linked): Likewise.
+	* libbfd-in.h (_bfd_generic_section_already_linked): Likewise.
+	(_bfd_nolink_section_already_linked): Update.
+	* libbfd.h: Regenerate.
+	* bfd-in2.h: Regenerate.
+
+2011-08-05  Alan Modra  <amodra@gmail.com>
+
+	* elf32-ppc.c: Include dwarf2.h.
+	(struct ppc_elf_link_hash_table): Add glink_eh_frame.
+	(ppc_elf_create_glink): Create .eh_frame section.
+	(glink_eh_frame_cie): New array.
+	(ppc_elf_size_dynamic_sections): Size glink_eh_frame.
+	(ppc_elf_finish_dynamic_sections): Write glink_eh_frame.
+
+2011-08-04  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-alpha.c (_bfd_vms_write_eeom): Round vms_linkage_index.
+	(_bfd_vms_write_etir): Initialize vms_linkage_index to 0.
+
+2011-08-03  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (bfd_mach_o_canonicalize_symtab): Handle no symbols case.
+	(bfd_mach_o_read_symtab_symbols): Return if no symbols.
+
+2011-08-02  Maciej W. Rozycki  <macro@codesourcery.com>
+
+	* elfxx-mips.c (check_4byte_branch): Remove function.
+	(check_relocated_bzc): New function.
+	(_bfd_mips_elf_relax_section): Permit the relaxation of LUI
+	instructions that immediately follow a compact branch
+	instruction.
+
+2011-08-02  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (build_plt_stub): Correct emitted relocs when no
+	plt_static_chain.
+	(ppc_build_one_stub): Adjust get_relocs call to suit..
+	(ppc_size_one_stub): ..and reloc sizing.  Correct plt size corner case.
+
+2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/13048
+	* archures.c (bfd_mach_i386_intel_syntax): New.
+	(bfd_mach_i386_i8086): Updated.
+	(bfd_mach_i386_i386): Likewise.
+	(bfd_mach_x86_64): Likewise.
+	(bfd_mach_x64_32): Likewise.
+	(bfd_mach_i386_i386_intel_syntax): Likewise.
+	(bfd_mach_x86_64_intel_syntax): Likewise.
+	(bfd_mach_x64_32_intel_syntax): Likewise.
+	(bfd_mach_l1om): Likewise.
+	(bfd_mach_l1om_intel_syntax): Likewise.
+	(bfd_mach_k1om): Likewise.
+	(bfd_mach_k1om_intel_syntax): Likewise.
+
+	* bfd-in2.h: Regenerated.
+
+	* cpu-i386.c (bfd_i386_compatible): Check mach instead of
+	bits_per_address.
+	(bfd_x64_32_arch_intel_syntax): Set bits_per_address to 64.
+	(bfd_x64_32_arch): Likewise.
+
+	* elf64-x86-64.c: Include "libiberty.h".
+	(x86_64_elf_howto_table): Append x32 R_X86_64_32.
+	(elf_x86_64_rtype_to_howto): Support x32 R_X86_64_32.
+	(elf_x86_64_reloc_type_lookup): Likewise.
+	(elf_x86_64_reloc_name_lookup): Likewise.
+	(elf_x86_64_relocate_section): Likewise.
+	(elf_x86_64_check_relocs): Allow R_X86_64_64 relocations for x32.
+
+2011-07-29  Maciej W. Rozycki  <macro@codesourcery.com>
+
+	* elfxx-mips.c (check_br32): Fix return type.
+
+2011-07-29  Maciej W. Rozycki  <macro@codesourcery.com>
+
+	* elfxx-mips.c (bz_insn_16): Correct opcode mask.
+
+2011-07-29  Maciej W. Rozycki  <macro@codesourcery.com>
+
+	* elfxx-mips.c: Adjust comments throughout.
+	(mips_elf_relax_delete_bytes): Reshape code.
+	(_bfd_mips_elf_relax_section): Remove check for
+	R_MICROMIPS_GPREL16 relocations.  Reshape code.
+
 2011-07-28  Roland McGrath  <mcgrathr@google.com>
 
 	* elf32-i386.c (NACL_PLT_ENTRY_SIZE, NACLMASK): New macros.
@@ -64,13 +345,7 @@
 
 2011-07-26  Alan Modra  <amodra@gmail.com>
 
-	* elf32-ppc.c: Include dwarf2.h.
-	(struct ppc_elf_link_hash_table): Add glink_eh_frame.
-	(ppc_elf_create_glink): Create .eh_frame section.
-	(glink_eh_frame_cie): New array.
-	(ppc_elf_size_dynamic_sections): Size glink_eh_frame.
-	(ppc_elf_finish_dynamic_sections): Write glink_eh_frame.
-	* elf64-ppc.c: Include dwarg2.h.
+	* elf64-ppc.c: Include dwarf2.h.
 	(struct ppc_link_hash_table): Add glink_eh_frame.
 	(create_linkage_sections): Create .eh_frame section.
 	(ppc64_elf_size_dynamic_sections): Arrange to drop unneeded
diff --git a/bfd/archures.c b/bfd/archures.c
index 65682f2..44850e7 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -183,19 +183,20 @@ DESCRIPTION
 .#define bfd_mach_mipsisa64r2           65
 .#define bfd_mach_mips_micromips        96
 .  bfd_arch_i386,      {* Intel 386 *}
-.#define bfd_mach_i386_i386 1
-.#define bfd_mach_i386_i8086 2
-.#define bfd_mach_i386_i386_intel_syntax 3
-.#define bfd_mach_x64_32 32
-.#define bfd_mach_x64_32_intel_syntax 33
-.#define bfd_mach_x86_64 64
-.#define bfd_mach_x86_64_intel_syntax 65
+.#define bfd_mach_i386_intel_syntax	(1 << 0)
+.#define bfd_mach_i386_i8086		(1 << 1)
+.#define bfd_mach_i386_i386		(1 << 2)
+.#define bfd_mach_x86_64		(1 << 3)
+.#define bfd_mach_x64_32		(1 << 4)
+.#define bfd_mach_i386_i386_intel_syntax (bfd_mach_i386_i386 | bfd_mach_i386_intel_syntax)
+.#define bfd_mach_x86_64_intel_syntax	(bfd_mach_x86_64 | bfd_mach_i386_intel_syntax)
+.#define bfd_mach_x64_32_intel_syntax	(bfd_mach_x64_32 | bfd_mach_i386_intel_syntax)
 .  bfd_arch_l1om,   {* Intel L1OM *}
-.#define bfd_mach_l1om 66
-.#define bfd_mach_l1om_intel_syntax 67
+.#define bfd_mach_l1om			(1 << 5)
+.#define bfd_mach_l1om_intel_syntax	(bfd_mach_l1om | bfd_mach_i386_intel_syntax)
 .  bfd_arch_k1om,   {* Intel K1OM *}
-.#define bfd_mach_k1om 68
-.#define bfd_mach_k1om_intel_syntax 69
+.#define bfd_mach_k1om			(1 << 6)
+.#define bfd_mach_k1om_intel_syntax	(bfd_mach_k1om | bfd_mach_i386_intel_syntax)
 .  bfd_arch_we32k,     {* AT&T WE32xxx *}
 .  bfd_arch_tahoe,     {* CCI/Harris Tahoe *}
 .  bfd_arch_i860,      {* Intel 860 *}
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 21b7cc2..718d72e 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -552,11 +552,6 @@ void bfd_putl16 (bfd_vma, void *);
 bfd_uint64_t bfd_get_bits (const void *, int, bfd_boolean);
 void bfd_put_bits (bfd_uint64_t, void *, int, bfd_boolean);
 
-extern bfd_boolean bfd_section_already_linked_table_init (void);
-extern void bfd_section_already_linked_table_free (void);
-\f
-/* Externally visible ECOFF routines.  */
-
 #if defined(__STDC__) || defined(ALMOST_STDC)
 struct ecoff_debug_info;
 struct ecoff_debug_swap;
@@ -564,8 +559,18 @@ struct ecoff_extr;
 struct bfd_symbol;
 struct bfd_link_info;
 struct bfd_link_hash_entry;
+struct bfd_section_already_linked;
 struct bfd_elf_version_tree;
 #endif
+
+extern bfd_boolean bfd_section_already_linked_table_init (void);
+extern void bfd_section_already_linked_table_free (void);
+extern bfd_boolean _bfd_handle_already_linked
+  (struct bfd_section *, struct bfd_section_already_linked *,
+   struct bfd_link_info *);
+\f
+/* Externally visible ECOFF routines.  */
+
 extern bfd_vma bfd_ecoff_get_gp_value
   (bfd * abfd);
 extern bfd_boolean bfd_ecoff_set_gp_value
@@ -869,7 +874,7 @@ extern bfd_boolean bfd_elf32_arm_process_before_allocation
 
 void bfd_elf32_arm_set_target_relocs
   (bfd *, struct bfd_link_info *, int, char *, int, int, bfd_arm_vfp11_fix,
-   int, int, int, int);
+   int, int, int, int, int);
 
 extern bfd_boolean bfd_elf32_arm_get_bfd_for_interworking
   (bfd *, struct bfd_link_info *);
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 6b7be67..7cf3b7e 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -559,11 +559,6 @@ void bfd_putl16 (bfd_vma, void *);
 bfd_uint64_t bfd_get_bits (const void *, int, bfd_boolean);
 void bfd_put_bits (bfd_uint64_t, void *, int, bfd_boolean);
 
-extern bfd_boolean bfd_section_already_linked_table_init (void);
-extern void bfd_section_already_linked_table_free (void);
-\f
-/* Externally visible ECOFF routines.  */
-
 #if defined(__STDC__) || defined(ALMOST_STDC)
 struct ecoff_debug_info;
 struct ecoff_debug_swap;
@@ -571,8 +566,18 @@ struct ecoff_extr;
 struct bfd_symbol;
 struct bfd_link_info;
 struct bfd_link_hash_entry;
+struct bfd_section_already_linked;
 struct bfd_elf_version_tree;
 #endif
+
+extern bfd_boolean bfd_section_already_linked_table_init (void);
+extern void bfd_section_already_linked_table_free (void);
+extern bfd_boolean _bfd_handle_already_linked
+  (struct bfd_section *, struct bfd_section_already_linked *,
+   struct bfd_link_info *);
+\f
+/* Externally visible ECOFF routines.  */
+
 extern bfd_vma bfd_ecoff_get_gp_value
   (bfd * abfd);
 extern bfd_boolean bfd_ecoff_set_gp_value
@@ -876,7 +881,7 @@ extern bfd_boolean bfd_elf32_arm_process_before_allocation
 
 void bfd_elf32_arm_set_target_relocs
   (bfd *, struct bfd_link_info *, int, char *, int, int, bfd_arm_vfp11_fix,
-   int, int, int, int);
+   int, int, int, int, int);
 
 extern bfd_boolean bfd_elf32_arm_get_bfd_for_interworking
   (bfd *, struct bfd_link_info *);
@@ -1886,19 +1891,20 @@ enum bfd_architecture
 #define bfd_mach_mipsisa64r2           65
 #define bfd_mach_mips_micromips        96
   bfd_arch_i386,      /* Intel 386 */
-#define bfd_mach_i386_i386 1
-#define bfd_mach_i386_i8086 2
-#define bfd_mach_i386_i386_intel_syntax 3
-#define bfd_mach_x64_32 32
-#define bfd_mach_x64_32_intel_syntax 33
-#define bfd_mach_x86_64 64
-#define bfd_mach_x86_64_intel_syntax 65
+#define bfd_mach_i386_intel_syntax     (1 << 0)
+#define bfd_mach_i386_i8086            (1 << 1)
+#define bfd_mach_i386_i386             (1 << 2)
+#define bfd_mach_x86_64                (1 << 3)
+#define bfd_mach_x64_32                (1 << 4)
+#define bfd_mach_i386_i386_intel_syntax (bfd_mach_i386_i386 | bfd_mach_i386_intel_syntax)
+#define bfd_mach_x86_64_intel_syntax   (bfd_mach_x86_64 | bfd_mach_i386_intel_syntax)
+#define bfd_mach_x64_32_intel_syntax   (bfd_mach_x64_32 | bfd_mach_i386_intel_syntax)
   bfd_arch_l1om,   /* Intel L1OM */
-#define bfd_mach_l1om 66
-#define bfd_mach_l1om_intel_syntax 67
+#define bfd_mach_l1om                  (1 << 5)
+#define bfd_mach_l1om_intel_syntax     (bfd_mach_l1om | bfd_mach_i386_intel_syntax)
   bfd_arch_k1om,   /* Intel K1OM */
-#define bfd_mach_k1om 68
-#define bfd_mach_k1om_intel_syntax 69
+#define bfd_mach_k1om                  (1 << 6)
+#define bfd_mach_k1om_intel_syntax     (bfd_mach_k1om | bfd_mach_i386_intel_syntax)
   bfd_arch_we32k,     /* AT&T WE32xxx */
   bfd_arch_tahoe,     /* CCI/Harris Tahoe */
   bfd_arch_i860,      /* Intel 860 */
@@ -5772,7 +5778,6 @@ enum bfd_endian { BFD_ENDIAN_BIG, BFD_ENDIAN_LITTLE, BFD_ENDIAN_UNKNOWN };
 
 /* Forward declaration.  */
 typedef struct bfd_link_info _bfd_link_info;
-struct already_linked;
 
 /* Forward declaration.  */
 typedef struct flag_info flag_info;
@@ -6106,8 +6111,8 @@ typedef struct bfd_target
 
   /* Check if SEC has been already linked during a reloceatable or
      final link.  */
-  void (*_section_already_linked) (bfd *, struct already_linked *,
-                                   struct bfd_link_info *);
+  bfd_boolean (*_section_already_linked) (bfd *, asection *,
+                                          struct bfd_link_info *);
 
   /* Define a common symbol.  */
   bfd_boolean (*_bfd_define_common_symbol) (bfd *, struct bfd_link_info *,
@@ -6176,12 +6181,12 @@ bfd_boolean bfd_link_split_section (bfd *abfd, asection *sec);
 #define bfd_link_split_section(abfd, sec) \
        BFD_SEND (abfd, _bfd_link_split_section, (abfd, sec))
 
-void bfd_section_already_linked (bfd *abfd,


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


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

end of thread, other threads:[~2011-10-26 14:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-18 20:51 [SCM] archer-tromey-ambiguous-linespec: Merge remote-tracking branch 'gdb/master' into duplicate-feature-2 tromey
  -- strict thread matches above, loose matches on Subject: below --
2011-10-26 14:45 tromey
2011-10-04 17:22 tromey
2011-08-31 15:46 tromey
2011-08-18 18:00 tromey

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).