public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: jkratoch@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  jankratochvil/ipv6: .
Date: Thu, 18 Apr 2013 20:00:00 -0000	[thread overview]
Message-ID: <20130418200051.16445.qmail@sourceware.org> (raw)

The branch, jankratochvil/ipv6 has been updated
       via  56a9b31dedd94c85fa4fcec4b98bb2a5250af1a7 (commit)
       via  d5655b8b239b8db415e5be0bb23732883533d40d (commit)
       via  c03b79b207f6896b2ac6fc7ef0d3a63548949cf3 (commit)
       via  254638dfadb925d3d1fd55f019841d5c6556e752 (commit)
       via  45140821a713d7b1ef8cb38c737591abfaaff596 (commit)
       via  a04b16a96f161d6b82bdc72ceddcead8539e3977 (commit)
       via  cbf2f0c9dd67247944d06588fd76c9002d61ae5a (commit)
       via  f112776d5ad2210f7b71b2acfd4ca385377c4755 (commit)
       via  3e258681182fe2fad8a479355494073134748396 (commit)
       via  c09b84a2353bfde550932fa90c3487c6aa962a18 (commit)
       via  c1357f25675c247a7ed40f6948f40d7d013f0bdd (commit)
       via  62629fa8221ab05d6d7ad14de41a3f4c9319f0bb (commit)
       via  7e2fcf5bb7283956d5b15b4c13a1051327f3b4b1 (commit)
       via  3c0732377364a48042cff54c10a4c23ba320da9e (commit)
       via  98512ac7e1b764f5e6a97ae0b4abe4e664400f1e (commit)
       via  dfc5309ae76d92023545e15af7905f5fd169d74c (commit)
       via  436dc645102f7132ab80f5c75a359d4f2603c25d (commit)
       via  85af929389a14039121edef603bb94dd462db727 (commit)
       via  fa47f0a2380e4cbb7c11f42b093729a368d8a5f4 (commit)
       via  ac31ed2ebb0456bddfce93b1fff1215a68183832 (commit)
       via  e8e160773247fa157b818494256ceeb9a806b351 (commit)
       via  d050582adfca8265d614fbd006962d7d68ef5db7 (commit)
       via  fca593717bca4c547b95d7def0cea736dcbc57c1 (commit)
       via  06c8b68dd50e339199bba570fb37381ad0cb9c87 (commit)
       via  62eecd59ebae3ae9d4210fccc91b93ad9b3978be (commit)
       via  a68efa3edbe0cd4f51cd1655e13caccbb4e41976 (commit)
       via  c80fa5a7c1b1277a6112f2984e2723c27cefd1df (commit)
       via  4751d00ef7a160c640f599303a85a0cbeee31409 (commit)
       via  92687545f1f26e54b40d90812b34791d97ecd867 (commit)
       via  20cf09b42ad2bcb0225cdc36cb228e515bd510a7 (commit)
       via  766ce5943c7dd9484310bd71a91a8b19d5b7b5c2 (commit)
       via  972f1ca0327da78f0eb9cd7fe9a760696642dc75 (commit)
       via  cb22b288a796779e3238ff812226a9897854c5aa (commit)
       via  049dc1118adce445d49828154b415f963c41a4d5 (commit)
       via  cc38e69962e8902416b513fe22d23d58f2e2c9d0 (commit)
       via  37d0d838c6e9e7b9a6464afdecce2cdbfdae4413 (commit)
       via  28af0d6627b6dd8059011ea5ba8ca81ce6530673 (commit)
       via  57e585c7379ae9b187ff75dca72e4bc4448cbac3 (commit)
       via  2d99d7b9cf07a4c6fd70f04e63f159e64abace77 (commit)
       via  59ef4e03755a084e872818ab85000f4123c92067 (commit)
       via  57b013f271b1191757b1d252774de9431fb2a546 (commit)
       via  21b86ca972aef67d7a1bf2e5373af7d8bcb22e0d (commit)
       via  f6b85d6aa9a9e6bce6a1b8e03393fa971deed4f7 (commit)
       via  6445a269bcdcf3052901aa60eaeb0c2a565b2f51 (commit)
       via  859638f53f33d406658e388b736fe89ef65de778 (commit)
      from  410dc9a3df7413cb21be3dd86d163938b7f23dfa (commit)

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

- Log -----------------------------------------------------------------
commit 56a9b31dedd94c85fa4fcec4b98bb2a5250af1a7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Apr 18 22:00:36 2013 +0200

    .

commit d5655b8b239b8db415e5be0bb23732883533d40d
Merge: c03b79b 254638d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Apr 18 19:52:46 2013 +0200

    Merge remote-tracking branch 'gdb/master' into jankratochvil/ipv6

commit c03b79b207f6896b2ac6fc7ef0d3a63548949cf3
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Apr 18 19:52:14 2013 +0200

    .

commit 254638dfadb925d3d1fd55f019841d5c6556e752
Author: Luis Machado <luisgpm@br.ibm.com>
Date:   Thu Apr 18 10:08:08 2013 +0000

    	* gdb.mi/mi-var-create-rtti.exp: Create a variable of
    	type void *.

commit 45140821a713d7b1ef8cb38c737591abfaaff596
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Apr 18 00:00:32 2013 +0000

    *** empty log message ***

commit a04b16a96f161d6b82bdc72ceddcead8539e3977
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Apr 18 00:00:04 2013 +0000

    daily update

commit cbf2f0c9dd67247944d06588fd76c9002d61ae5a
Author: Doug Evans <dje@google.com>
Date:   Wed Apr 17 21:07:08 2013 +0000

    	* lib/dwarf.exp (Dwarf): New proc "tu".
    	* gdb.dwarf2/missing-sig-type.exp: New file.

commit f112776d5ad2210f7b71b2acfd4ca385377c4755
Author: Doug Evans <dje@google.com>
Date:   Wed Apr 17 17:09:30 2013 +0000

    	* dwarf2read.c (struct signatured_type): New member type.
    	(struct attribute): Replace member signatured_type with signature.
    	(DW_SIGNATURE): Replaces DW_SIGNATURE_TYPE.
    	(read_call_site_scope): Call follow_die_ref instead of
    	follow_die_ref_or_sig.
    	(read_structure_type): Rewrite handling of signatured types.
    	(read_enumeration_type): Ditto.
    	(read_attribute_value): Update.
    	(build_error_marker_type): New function.
    	(lookup_die_type): Add assert.  Rewrite handling of signatured types.
    	Don't call error for bad types, just build an error marker type.
    	(dump_die_shallow): Update.
    	(follow_die_sig_1): Renamed from follow_die_sig.
    	Don't call error for bad types, instead return NULL.
    	(follow_die_sig): New function.
    	(get_signatured_type, get_DW_AT_signature_type): New functions.

commit 3e258681182fe2fad8a479355494073134748396
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Apr 17 16:22:13 2013 +0000

    Update copyright year on elf-ifunc.c
    
    	* elf-ifunc.c: Update copyright year.

commit c09b84a2353bfde550932fa90c3487c6aa962a18
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Apr 17 14:57:43 2013 +0000

    Fix line length problem in last entry.

commit c1357f25675c247a7ed40f6948f40d7d013f0bdd
Author: yufeng <yufeng>
Date:   Wed Apr 17 14:52:45 2013 +0000

    gdb/
    
    	* aarch64-tdep.c (aarch64_write_pc): Removed.
    	(aarch64_gdbarch_init): Remove set_gdbarch_write_pc of the above function.

commit 62629fa8221ab05d6d7ad14de41a3f4c9319f0bb
Author: Nick Clifton <nickc@redhat.com>
Date:   Wed Apr 17 14:16:00 2013 +0000

    	* coffcode.h: Added a cast to void when a bfd_set_section_*()
    	macro's return value is ignored.
    	* elf32-hppa.c: Likewise.
    	* elf32-tic6x.c: Likewise.
    	* mach-o.c: Likewise.
    	* mmo.c: Likewise.
    	* opncls.c: Likewise.
    	* peicode.h: Likewise.
    	* elf32-m32r.c: Check return value of bfd_set_section_*().
    	* elfnn-ia64.c: Likewise.
    	* elfxx-mips.c: Likewise.
    	* vms-alpha.c: Likewise.

commit 7e2fcf5bb7283956d5b15b4c13a1051327f3b4b1
Author: Nick Clifton <nickc@redhat.com>
Date:   Wed Apr 17 14:09:49 2013 +0000

    	PR binutils/15369
    	* cgen-dis.c (hash_insn_array): Use CGEN_CPU_INSN_ENDIAN instead
    	of CGEN_CPU_ENDIAN.
    	(hash_insns_list): Likewise.

commit 62eecd59ebae3ae9d4210fccc91b93ad9b3978be
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 16 19:38:26 2013 +0200

    .

commit a68efa3edbe0cd4f51cd1655e13caccbb4e41976
Merge: 410dc9a c80fa5a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 16 19:24:10 2013 +0200

    Merge remote-tracking branch 'gdb/master' into jankratochvil/ipv6

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

Summary of changes:
 bfd/ChangeLog                                      |   26 +
 bfd/coffcode.h                                     |    6 +-
 bfd/compress.c                                     |    7 +-
 bfd/elf-ifunc.c                                    |   27 +-
 bfd/elf32-hppa.c                                   |    6 +-
 bfd/elf32-m32r.c                                   |    6 +-
 bfd/elf32-tic6x.c                                  |    5 +-
 bfd/elfnn-ia64.c                                   |   13 +-
 bfd/elfxx-mips.c                                   |   24 +-
 bfd/mach-o.c                                       |    6 +-
 bfd/mmo.c                                          |   18 +-
 bfd/opncls.c                                       |    7 +-
 bfd/peicode.h                                      |    6 +-
 bfd/version.h                                      |    2 +-
 bfd/vms-alpha.c                                    |    6 +-
 gdb/ChangeLog                                      |  207 +++++++
 gdb/Makefile.in                                    |    6 +-
 gdb/NEWS                                           |   17 +
 gdb/aarch64-tdep.c                                 |   10 -
 gdb/break-catch-throw.c                            |  597 ++++++++++++++++++++
 gdb/breakpoint.c                                   |  204 +-------
 gdb/breakpoint.h                                   |    2 +
 gdb/c-exp.y                                        |   13 +-
 gdb/c-lang.c                                       |    2 +-
 gdb/c-typeprint.c                                  |    4 +-
 gdb/common/gdb_thread_db.h                         |  445 +---------------
 gdb/common/{gdb_thread_db.h => glibc_thread_db.h}  |   89 ++--
 gdb/copyright.py                                   |    1 +
 gdb/cp-abi.c                                       |   41 ++
 gdb/cp-abi.h                                       |   27 +
 gdb/cp-support.c                                   |   10 +-
 gdb/cp-support.h                                   |    4 +
 gdb/doc/ChangeLog                                  |   27 +-
 gdb/doc/gdb.texinfo                                |  117 ++--
 gdb/dwarf2read.c                                   |  468 ++++++++++------
 gdb/elfread.c                                      |   15 +
 gdb/eval.c                                         |   17 +
 gdb/expprint.c                                     |    5 +
 gdb/gdb_regex.h                                    |    2 +
 gdb/gdbserver/ChangeLog                            |   22 +
 gdb/gdbserver/Makefile.in                          |    5 -
 gdb/gdbserver/config.in                            |    3 +
 gdb/gdbserver/configure                            |    7 +-
 gdb/gdbserver/configure.ac                         |    4 +-
 gdb/gdbserver/gdbreplay.c                          |   90 ++--
 gdb/gdbserver/linux-low.h                          |    6 +-
 gdb/gdbserver/remote-utils.c                       |  158 ++++--
 gdb/gdbtypes.c                                     |    5 +-
 gdb/gnu-v3-abi.c                                   |  241 ++++++++-
 gdb/jv-lang.c                                      |    3 +-
 gdb/jv-typeprint.c                                 |    5 +-
 gdb/language.c                                     |    3 +-
 gdb/parse.c                                        |    1 +
 gdb/probe.c                                        |   24 -
 gdb/ser-tcp.c                                      |   19 +-
 gdb/std-operator.def                               |    3 +
 gdb/symtab.c                                       |   12 +-
 gdb/testsuite/ChangeLog                            |   39 ++
 gdb/testsuite/gdb.base/default.exp                 |    1 +
 gdb/testsuite/gdb.cp/exception.exp                 |   33 +-
 .../gdb.cp/exceptprint.cc}                         |   63 ++-
 gdb/testsuite/gdb.cp/exceptprint.exp               |   94 +++
 gdb/testsuite/gdb.cp/typeid.cc                     |   60 ++
 gdb/testsuite/gdb.cp/typeid.exp                    |   67 +++
 gdb/testsuite/gdb.dwarf2/missing-sig-type.exp      |   68 +++
 gdb/testsuite/gdb.mi/mi-var-create-rtti.exp        |    6 +-
 gdb/testsuite/lib/dwarf.exp                        |   73 +++
 gdb/testsuite/lib/gdb.exp                          |   38 ++-
 gdb/top.c                                          |    9 +
 gdb/utils.c                                        |   24 +
 gdb/version.in                                     |    2 +-
 opcodes/ChangeLog                                  |    7 +
 opcodes/cgen-dis.c                                 |    7 +-
 73 files changed, 2496 insertions(+), 1201 deletions(-)
 create mode 100644 gdb/break-catch-throw.c
 copy gdb/common/{gdb_thread_db.h => glibc_thread_db.h} (87%)
 copy gdb/{gdb_regex.h => testsuite/gdb.cp/exceptprint.cc} (53%)
 create mode 100644 gdb/testsuite/gdb.cp/exceptprint.exp
 create mode 100644 gdb/testsuite/gdb.cp/typeid.cc
 create mode 100644 gdb/testsuite/gdb.cp/typeid.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/missing-sig-type.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index e717f12..be6dd52 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,29 @@
+2013-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf-ifunc.c: Update copyright year.
+
+2013-04-17 Luca Pizzamiglio  <luca.pizzamiglio@gmail.com>
+
+	* coffcode.h: Added a cast to void when a bfd_set_section_*()
+	macro's return value is ignored.
+	* elf32-hppa.c: Likewise.
+	* elf32-tic6x.c: Likewise.
+	* mach-o.c: Likewise.
+	* mmo.c: Likewise.
+	* opncls.c: Likewise.
+	* peicode.h: Likewise.
+	* elf32-m32r.c: Check return value of bfd_set_section_*().
+	* elfnn-ia64.c: Likewise.
+	* elfxx-mips.c: Likewise.
+	* vms-alpha.c: Likewise.
+
+2013-04-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/15371
+	* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Check
+	regular reference without non-GOT reference when building
+	shared library.
+
 2013-04-15  Alan Modra  <amodra@gmail.com>
 
 	* archive.c (_bfd_archive_close_and_cleanup): Clear parent
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 49c13c3..9d9c992 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -1,7 +1,5 @@
 /* Support for the generic parts of most COFF variants, for BFD.
-   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright 1990-2013 Free Software Foundation, Inc.
    Written by Cygnus Support.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -3447,7 +3445,7 @@ coff_compute_section_file_positions (bfd * abfd)
 	 incremented in coff_set_section_contents.  This is right for
 	 SVR3.2.  */
       if (strcmp (current->name, _LIB) == 0)
-	bfd_set_section_vma (abfd, current, 0);
+	(void) bfd_set_section_vma (abfd, current, 0);
 #endif
 
 #ifdef ALIGN_SECTIONS_IN_FILE
diff --git a/bfd/compress.c b/bfd/compress.c
index eb3bc53..46c2bcb 100644
--- a/bfd/compress.c
+++ b/bfd/compress.c
@@ -45,19 +45,20 @@ decompress_contents (bfd_byte *compressed_buffer,
   strm.next_in = (Bytef*) compressed_buffer + 12;
   strm.avail_out = uncompressed_size;
 
+  BFD_ASSERT (Z_OK == 0);
   rc = inflateInit (&strm);
   while (strm.avail_in > 0 && strm.avail_out > 0)
     {
       if (rc != Z_OK)
-	return FALSE;
+	break;
       strm.next_out = ((Bytef*) uncompressed_buffer
                        + (uncompressed_size - strm.avail_out));
       rc = inflate (&strm, Z_FINISH);
       if (rc != Z_STREAM_END)
-	return FALSE;
+	break;
       rc = inflateReset (&strm);
     }
-  rc = inflateEnd (&strm);
+  rc |= inflateEnd (&strm);
   return rc == Z_OK && strm.avail_out == 0;
 }
 #endif
diff --git a/bfd/elf-ifunc.c b/bfd/elf-ifunc.c
index e56427d..c2fa163 100644
--- a/bfd/elf-ifunc.c
+++ b/bfd/elf-ifunc.c
@@ -1,5 +1,5 @@
 /* ELF STT_GNU_IFUNC support.
-   Copyright 2009
+   Copyright 2009-2013
    Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -187,23 +187,20 @@ _bfd_elf_allocate_ifunc_dyn_relocs (struct bfd_link_info *info,
 
   htab = elf_hash_table (info);
 
+  /* When building shared library, we need to handle the case where it is
+     marked with regular reference, but not non-GOT reference since the
+     non-GOT reference bit may not be set here.  */
+  if (info->shared && !h->non_got_ref && h->ref_regular)
+    for (p = *head; p != NULL; p = p->next)
+      if (p->count)
+	{
+	  h->non_got_ref = 1;
+	  goto keep;
+	}
+
   /* Support garbage collection against STT_GNU_IFUNC symbols.  */
   if (h->plt.refcount <= 0 && h->got.refcount <= 0)
     {
-      /* When building shared library, we need to handle the case
-         where it is marked with regular reference, but not non-GOT
-	 reference.  It may happen if we didn't see STT_GNU_IFUNC
-	 symbol at the time when checking relocations.  */
-      if (info->shared
-	  && !h->non_got_ref
-	  && h->ref_regular)
-	for (p = *head; p != NULL; p = p->next)
-	  if (p->count)
-	    {
-	      h->non_got_ref = 1;
-	      goto keep;
-	    }
-
       h->got = htab->init_got_offset;
       h->plt = htab->init_plt_offset;
       *head = NULL;
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index 4ffa3d2..dfffbcb 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -1,7 +1,5 @@
 /* BFD back-end for HP PA-RISC ELF files.
-   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000, 2001,
-   2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
-   Free Software Foundation, Inc.
+   Copyright 1990-2013 Free Software Foundation, Inc.
 
    Original code by
 	Center for Software Science
@@ -2370,7 +2368,7 @@ elf32_hppa_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED,
 	      bfd_size_type mask;
 
 	      if (gotalign > pltalign)
-		bfd_set_section_alignment (dynobj, sec, gotalign);
+		(void) bfd_set_section_alignment (dynobj, sec, gotalign);
 	      mask = ((bfd_size_type) 1 << gotalign) - 1;
 	      sec->size = (sec->size + sizeof (plt_stub) + mask) & ~mask;
 	    }
diff --git a/bfd/elf32-m32r.c b/bfd/elf32-m32r.c
index 789a456..71e8fc7 100644
--- a/bfd/elf32-m32r.c
+++ b/bfd/elf32-m32r.c
@@ -1,6 +1,5 @@
 /* M32R-specific support for 32-bit ELF.
-   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-   2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+   Copyright 1996-2013 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -1390,7 +1389,8 @@ m32r_elf_add_symbol_hook (bfd *abfd,
 						  flags);
 	  if (s == NULL)
 	    return FALSE;
-	  bfd_set_section_alignment (abfd, s, 2);
+	  if (! bfd_set_section_alignment (abfd, s, 2))
+	    return FALSE;
 	}
 
       bh = bfd_link_hash_lookup (info->hash, "_SDA_BASE_",
diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c
index 04ef708..77c6ad1 100644
--- a/bfd/elf32-tic6x.c
+++ b/bfd/elf32-tic6x.c
@@ -1,6 +1,5 @@
 /* 32-bit ELF support for TI C6X
-   Copyright 2010, 2011, 2012
-   Free Software Foundation, Inc.
+   Copyright 2010-2013 Free Software Foundation, Inc.
    Contributed by Joseph Myers <joseph@codesourcery.com>
    		  Bernd Schmidt  <bernds@codesourcery.com>
 
@@ -3038,7 +3037,7 @@ elf32_tic6x_add_symbol_hook (bfd *abfd,
       *secp = bfd_make_section_old_way (abfd, ".scommon");
       (*secp)->flags |= SEC_IS_COMMON;
       *valp = sym->st_size;
-      bfd_set_section_alignment (abfd, *secp, bfd_log2 (sym->st_value));
+      (void) bfd_set_section_alignment (abfd, *secp, bfd_log2 (sym->st_value));
       break;
     }
 
diff --git a/bfd/elfnn-ia64.c b/bfd/elfnn-ia64.c
index 05c2f1b..117b4c8 100644
--- a/bfd/elfnn-ia64.c
+++ b/bfd/elfnn-ia64.c
@@ -1,6 +1,5 @@
 /* IA-64 support for 64-bit ELF
-   Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-   2008, 2009, 2010, 2011, 2012  Free Software Foundation, Inc.
+   Copyright 1998-2013 Free Software Foundation, Inc.
    Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -1546,7 +1545,8 @@ elfNN_ia64_create_dynamic_sections (bfd *abfd,
     bfd_set_section_flags (abfd, ia64_info->root.sgot,
 			   SEC_SMALL_DATA | flags);
     /* The .got section is always aligned at 8 bytes.  */
-    bfd_set_section_alignment (abfd, ia64_info->root.sgot, 3);
+    if (! bfd_set_section_alignment (abfd, ia64_info->root.sgot, 3))
+      return FALSE;
   }
 
   if (!get_pltoff (abfd, info, ia64_info))
@@ -1952,16 +1952,17 @@ get_got (bfd *abfd, struct bfd_link_info *info,
       if (!dynobj)
 	ia64_info->root.dynobj = dynobj = abfd;
       if (!_bfd_elf_create_got_section (dynobj, info))
-	return 0;
+	return NULL;
 
       got = ia64_info->root.sgot;
 
       /* The .got section is always aligned at 8 bytes.  */
       if (!bfd_set_section_alignment (abfd, got, 3))
-	return 0;
+	return NULL;
 
       flags = bfd_get_section_flags (abfd, got);
-      bfd_set_section_flags (abfd, got, SEC_SMALL_DATA | flags);
+      if (! bfd_set_section_flags (abfd, got, SEC_SMALL_DATA | flags))
+	return NULL;
     }
 
   return got;
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 317e7b2..fa80771 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -1,7 +1,5 @@
 /* MIPS-specific support for ELF
-   Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-   2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
-   Free Software Foundation, Inc.
+   Copyright 1993-2013 Free Software Foundation, Inc.
 
    Most of the information added by Ian Lance Taylor, Cygnus Support,
    <ian@cygnus.com>.
@@ -7265,20 +7263,24 @@ _bfd_mips_elf_create_dynamic_sections (bfd *abfd, struct bfd_link_info *info)
       /* Change alignments of some sections.  */
       s = bfd_get_linker_section (abfd, ".hash");
       if (s != NULL)
-	bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd));
+	(void) bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd));
+
       s = bfd_get_linker_section (abfd, ".dynsym");
       if (s != NULL)
-	bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd));
+	(void) bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd));
+
       s = bfd_get_linker_section (abfd, ".dynstr");
       if (s != NULL)
-	bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd));
+	(void) bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd));
+
       /* ??? */
       s = bfd_get_section_by_name (abfd, ".reginfo");
       if (s != NULL)
-	bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd));
+	(void) bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd));
+
       s = bfd_get_linker_section (abfd, ".dynamic");
       if (s != NULL)
-	bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd));
+	(void) bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd));
     }
 
   if (!info->shared)
@@ -13533,7 +13535,8 @@ _bfd_mips_elf_final_link (bfd *abfd, struct bfd_link_info *info)
 \f
 /* Structure for saying that BFD machine EXTENSION extends BASE.  */
 
-struct mips_mach_extension {
+struct mips_mach_extension
+{
   unsigned long extension, base;
 };
 
@@ -13541,7 +13544,8 @@ struct mips_mach_extension {
 /* An array describing how BFD machines relate to one another.  The entries
    are ordered topologically with MIPS I extensions listed last.  */
 
-static const struct mips_mach_extension mips_mach_extensions[] = {
+static const struct mips_mach_extension mips_mach_extensions[] =
+{
   /* MIPS64r2 extensions.  */
   { bfd_mach_mips_octeon2, bfd_mach_mips_octeonp },
   { bfd_mach_mips_octeonp, bfd_mach_mips_octeon },
diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index c92b530..e1bbd29 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -1,7 +1,5 @@
 /* Mach-O support for BFD.
-   Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
-   2009, 2010, 2011, 2012
-   Free Software Foundation, Inc.
+   Copyright 1999-2013 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -2693,7 +2691,7 @@ bfd_mach_o_new_section_hook (bfd *abfd, asection *sec)
 	  s->flags = xlat->macho_sectype | xlat->macho_secattr;
 	  s->align = xlat->sectalign > bfdalign ? xlat->sectalign
 						: bfdalign;
-	  bfd_set_section_alignment (abfd, sec, s->align);
+	  (void) bfd_set_section_alignment (abfd, sec, s->align);
 	  bfd_flags = bfd_get_section_flags (abfd, sec);
 	  if (bfd_flags == SEC_NO_FLAGS)
 	    bfd_set_section_flags (abfd, sec, xlat->bfd_flags);
diff --git a/bfd/mmo.c b/bfd/mmo.c
index e336723..cd7b0fc 100644
--- a/bfd/mmo.c
+++ b/bfd/mmo.c
@@ -1,6 +1,5 @@
 /* BFD back-end for mmo objects (MMIX-specific object-format).
-   Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright 2001-2013 Free Software Foundation, Inc.
    Written by Hans-Peter Nilsson (hp@bitrange.com).
    Infrastructure and other bits originally copied from srec.c and
    binary.c.
@@ -662,8 +661,9 @@ mmo_decide_section (bfd *abfd, bfd_vma vma)
       if (sec == NULL)
 	return NULL;
 
-      if (! sec->user_set_vma)
-	bfd_set_section_vma (abfd, sec, vma);
+      if (! sec->user_set_vma && ! bfd_set_section_vma (abfd, sec, vma))
+	return NULL;
+
       if (! bfd_set_section_flags (abfd, sec,
 				   bfd_get_section_flags (abfd, sec)
 				   | SEC_CODE | SEC_LOAD | SEC_ALLOC))
@@ -676,8 +676,9 @@ mmo_decide_section (bfd *abfd, bfd_vma vma)
       if (sec == NULL)
 	return NULL;
 
-      if (! sec->user_set_vma)
-	bfd_set_section_vma (abfd, sec, vma);
+      if (! sec->user_set_vma && ! bfd_set_section_vma (abfd, sec, vma))
+	return NULL;
+
       if (! bfd_set_section_flags (abfd, sec,
 				   bfd_get_section_flags (abfd, sec)
 				   | SEC_LOAD | SEC_ALLOC))
@@ -692,8 +693,9 @@ mmo_decide_section (bfd *abfd, bfd_vma vma)
   /* If there's still no suitable section, make a new one.  */
   sprintf (sec_name, ".MMIX.sec.%d", abfd->tdata.mmo_data->sec_no++);
   sec = mmo_make_section (abfd, sec_name);
-  if (! sec->user_set_vma)
-    bfd_set_section_vma (abfd, sec, vma);
+
+  if (! sec->user_set_vma && ! bfd_set_section_vma (abfd, sec, vma))
+    return NULL;
 
   if (! bfd_set_section_flags (abfd, sec,
 			       bfd_get_section_flags (abfd, sec)
diff --git a/bfd/opncls.c b/bfd/opncls.c
index 1217cea..3879a65 100644
--- a/bfd/opncls.c
+++ b/bfd/opncls.c
@@ -1,7 +1,5 @@
 /* opncls.c -- open and close a BFD.
-   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000,
-   2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013
-   Free Software Foundation, Inc.
+   Copyright 1990-2013 Free Software Foundation, Inc.
 
    Written by Cygnus Support.
 
@@ -255,12 +253,13 @@ bfd_fopen (const char *filename, const char *target, const char *mode, int fd)
       return NULL;
     }
   nbfd->opened_once = TRUE;
+
   /* If we opened the file by name, mark it cacheable; we can close it
      and reopen it later.  However, if a file descriptor was provided,
      then it may have been opened with special flags that make it
      unsafe to close and reopen the file.  */
   if (fd == -1)
-    bfd_set_cacheable (nbfd, TRUE);
+    (void) bfd_set_cacheable (nbfd, TRUE);
 
   return nbfd;
 }
diff --git a/bfd/peicode.h b/bfd/peicode.h
index 66c8198..64ca092 100644
--- a/bfd/peicode.h
+++ b/bfd/peicode.h
@@ -1,7 +1,5 @@
 /* Support for the generic parts of PE/PEI, for BFD.
-   Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-   2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
-   Free Software Foundation, Inc.
+   Copyright 1995-2013 Free Software Foundation, Inc.
    Written by Cygnus Solutions.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -610,7 +608,7 @@ pe_ILF_make_a_section (pe_ILF_vars * vars,
 
   bfd_set_section_flags (vars->abfd, sec, flags | extra_flags);
 
-  bfd_set_section_alignment (vars->abfd, sec, 2);
+  (void) bfd_set_section_alignment (vars->abfd, sec, 2);
 
   /* Check that we will not run out of space.  */
   BFD_ASSERT (vars->data + size < vars->bim->buffer + vars->bim->size);
diff --git a/bfd/version.h b/bfd/version.h
index a62bb74..a1afd19 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130415
+#define BFD_VERSION_DATE 20130418
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c
index 3383b0f..4edc226 100644
--- a/bfd/vms-alpha.c
+++ b/bfd/vms-alpha.c
@@ -1,6 +1,5 @@
 /* vms.c -- BFD back-end for EVAX (openVMS/Alpha) files.
-   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-   2006, 2007, 2008, 2009, 2010, 2011  Free Software Foundation, Inc.
+   Copyright 1996-2013 Free Software Foundation, Inc.
 
    Initial version written by Klaus Kaempf (kkaempf@rmi.de)
    Major rewrite by Adacore.
@@ -9118,7 +9117,8 @@ vms_new_section_hook (bfd * abfd, asection *section)
   vms_debug2 ((1, "vms_new_section_hook (%p, [%d]%s)\n",
                abfd, section->index, section->name));
 
-  bfd_set_section_alignment (abfd, section, 0);
+  if (! bfd_set_section_alignment (abfd, section, 0))
+    return FALSE;
 
   vms_debug2 ((7, "%d: %s\n", section->index, section->name));
 
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d3c4edc..85c3245 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,210 @@
+2013-04-17  Doug Evans  <dje@google.com>
+
+	* dwarf2read.c (struct signatured_type): New member type.
+	(struct attribute): Replace member signatured_type with signature.
+	(DW_SIGNATURE): Replaces DW_SIGNATURE_TYPE.
+	(read_call_site_scope): Call follow_die_ref instead of
+	follow_die_ref_or_sig.
+	(read_structure_type): Rewrite handling of signatured types.
+	(read_enumeration_type): Ditto.
+	(read_attribute_value): Update.
+	(build_error_marker_type): New function.
+	(lookup_die_type): Add assert.  Rewrite handling of signatured types.
+	Don't call error for bad types, just build an error marker type.
+	(dump_die_shallow): Update.
+	(follow_die_sig_1): Renamed from follow_die_sig.
+	Don't call error for bad types, instead return NULL.
+	(follow_die_sig): New function.
+	(get_signatured_type, get_DW_AT_signature_type): New functions.
+
+2013-04-17  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+	* aarch64-tdep.c (aarch64_write_pc): Removed.
+	(aarch64_gdbarch_init): Remove set_gdbarch_write_pc of the above
+	function.
+
+2013-04-17  Yao Qi  <yao@codesourcery.com>
+
+	* top.c (print_gdb_configuration): Print configure-time
+	parameter on using libbabeltrace or not.
+
+2013-04-16  Pedro Alves  <palves@redhat.com>
+
+	* copyright.py (EXCLUDE_LIST): Add gdb/common/glibc_thread_db.h.
+
+2013-04-16  Pedro Alves  <palves@redhat.com>
+
+	* common/glibc_thread_db.h: Update from upstream glibc
+	(git 568035b7874a099087b77f7bba3e36a1173787b0).
+
+2013-04-16  Pedro Alves  <palves@redhat.com>
+
+	* common/gdb_thread_db.h [!HAVE_THREAD_DB_H]: Factor out to ...


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


             reply	other threads:[~2013-04-18 20:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-18 20:00 jkratoch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-04-22 19:36 jkratoch
2013-04-19 18:43 jkratoch
2013-04-15 20:10 jkratoch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130418200051.16445.qmail@sourceware.org \
    --to=jkratoch@sourceware.org \
    --cc=archer-commits@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).