public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2008-11-27 15:52 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2008-11-27 15:52 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  366047a7ddc309904e353c603c43631984791df1 (commit)
       via  eacfc7f379ab26e2b6b90cedcc4f351c367c5e32 (commit)
       via  2dc2ab7195603cb23108c9b4c44723284ff1802c (commit)
       via  a5a9fbec4743662b1827243dfd148770e2824cbc (commit)
       via  838d298a3a1b129432e84ab6cc4f7d9126efbf49 (commit)
       via  ecb1a44d46adda84e55b1a1df2a5f64c1189fb92 (commit)
       via  ba37a8fd83ed2f97e4d70b6157be89361bfe2800 (commit)
       via  5ddc3bdd890c7c6f22f780b2dd3a914acebc10cd (commit)
       via  04fd1fef7ca80e6e3b8c583d45db859c79f338dd (commit)
       via  5bfd830eca48376f3bbed9dd67f8a4373fc763ee (commit)
       via  6cae91d12d01bec18e555e8e42f52599e5801d2b (commit)
       via  b81fd623498d67e7f34679e1f1aabf41a82f8215 (commit)
       via  9cd2307aff9fc1ec8eef77b1082e5465efba9681 (commit)
       via  03b9244867f12755de6e9375fae71fbca961ca2e (commit)
       via  1039b423b1787c2756424723c48ae64b8b68edfd (commit)
       via  25a20a8ef8cfd5b2e59f00d1270505d177ec66cc (commit)
       via  ba2590188462aa4e3905ab2b7591b02f8bd8a3ae (commit)
       via  1093efdbfda9470f9a13ca967a048a74660f8937 (commit)
       via  750a0b747219887bdba2baf9408be684fb43fb44 (commit)
       via  e4fcc82f617602cfbb9eae214d8cce96e83e27ea (commit)
       via  aaf7510d41fbde7f9fc701f15baeadc4f02a2677 (commit)
       via  5642a98e3f1e1cd0b519972936562df047a31ccf (commit)
       via  cc2e8858c746cdf417497e9aef077fc70542ea30 (commit)
       via  8da2477093ebf0c5242422c039a554e287855b3f (commit)
       via  d66c26cb46c78c561db9b1c1db9eec91d95e1af7 (commit)
       via  66a63c60108fc89062983a1ffb974f242dbd87f6 (commit)
       via  64cc7ca67ca506b9fed9489ccd91f1c59999de32 (commit)
       via  8eed03394fd568c1caca780c96d00c2a6dd6d5d7 (commit)
       via  159aca731a6118bcd692cb96b96cf8cfb3be4ae8 (commit)
       via  b4dc1d69b89972ad46cf59f1529c5fff2f5f5286 (commit)
       via  1a7a42b17562a3c230f6fbb02c1f059fb815f30b (commit)
       via  ae7bce8650e1f374a5e34157578472c42d50476a (commit)
      from  1b15da345884948e800555e296eec058d9b9a05f (commit)

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

- Log -----------------------------------------------------------------
commit 366047a7ddc309904e353c603c43631984791df1
Merge: 1b15da345884948e800555e296eec058d9b9a05f eacfc7f379ab26e2b6b90cedcc4f351c367c5e32
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Nov 27 16:36:08 2008 +0100

    Merge commit 'origin/master' into archer-jankratochvil-misc

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

Summary of changes:
 bfd/ChangeLog                 |  123 +
 bfd/elf-bfd.h                 |   14 +
 bfd/elf-m10300.c              |   46 +-
 bfd/elf32-arm.c               |   71 +-
 bfd/elf32-bfin.c              |    4 -
 bfd/elf32-cris.c              |  986 +++++++-
 bfd/elf32-hppa.c              |   37 +-
 bfd/elf32-i370.c              |   49 +-
 bfd/elf32-i386.c              |   39 +-
 bfd/elf32-m32r.c              |   55 +-
 bfd/elf32-m68k.c              |   30 +-
 bfd/elf32-ppc.c               |   52 +-
 bfd/elf32-s390.c              |   40 +-
 bfd/elf32-sh.c                |   68 +-
 bfd/elf32-v850.c              |    4 +-
 bfd/elf32-vax.c               |   48 +-
 bfd/elf64-alpha.c             |   37 +-
 bfd/elf64-ppc.c               |   38 +-
 bfd/elf64-s390.c              |   41 +-
 bfd/elf64-sh64.c              |   48 +-
 bfd/elf64-x86-64.c            |   39 +-
 bfd/elflink.c                 |  149 ++-
 bfd/elfxx-sparc.c             |   37 +-
 bfd/elfxx-target.h            |    4 +
 bfd/version.h                 |    2 +-
 bfd/xtensa-isa.c              |   11 +
 gdb/ChangeLog                 |   74 +
 gdb/ada-lang.c                |   20 -
 gdb/ada-lang.h                |    4 -
 gdb/alpha-mdebug-tdep.c       |    2 +-
 gdb/breakpoint.c              |   44 +-
 gdb/breakpoint.h              |    4 -
 gdb/configure                 | 5187 +----------------------------------------
 gdb/configure.ac              |   74 +-
 gdb/doc/ChangeLog             |    4 +
 gdb/doc/gdb.texinfo           |    2 +-
 gdb/frame.c                   |   14 +-
 gdb/gdbserver/ChangeLog       |    8 +
 gdb/gdbserver/Makefile.in     |    7 -
 gdb/gdbserver/server.c        |   27 +-
 gdb/infrun.c                  |    1 -
 gdb/python/python-internal.h  |   12 +
 gdb/python/python-utils.c     |   17 +
 gdb/python/python.c           |   24 +-
 gdb/remote.c                  |   46 +-
 gdb/valprint.c                |    8 +-
 gdb/value.c                   |   20 +
 gdb/value.h                   |    4 +
 gdb/version.in                |    2 +-
 include/ChangeLog             |    5 +
 include/elf/ChangeLog         |    5 +
 include/elf/cris.h            |    9 +-
 include/xtensa-isa-internal.h |    6 +-
 include/xtensa-isa.h          |   12 +-
 opcodes/ChangeLog             |    4 +
 opcodes/m68k-dis.c            |  416 ++--
 56 files changed, 1837 insertions(+), 6297 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4e8db37..ea17423 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,126 @@
+2008-11-25  Joseph Myers  <joseph@codesourcery.com>
+
+	* elf32-arm.c (elf32_arm_final_link_relocate): Do not turn
+	branches to undefine weak symbols into branches to the next
+	instruction if creating PLT entries for those symbols.
+
+2008-11-25  Nick Clifton  <nickc@redhat.com>
+
+	* elflink.c (is_reloc_section): New function.  Returns true if the
+	given name matches the name of the reloc-containing section
+	associated with the given section.
+	(get_dynamic_reloc_section_name): New function.  Computes the name
+	of the section that contains the dynamic relocs associated with
+	the given section.
+	(_bfd_elf_get_dynamic_reloc_section): New function.  Returns a
+	pointer to the section containing the dynamic relocs associated
+	with the given section.
+	(_bfd_elf_make_dynamic_reloc_section): New function.  Creates a
+	section to contain the dynamic relocs associated with a given
+	section.
+	* elf-bfd.h: Prototype the new functions.
+	* elf-m10300.c (mn10300_elf_check_relocs): Use new functions.
+	(mn10300_elf_final_link_relocs): Likewise.
+	* elf32-arm.c (reloc_section_p): Delete - replaced by new
+	functions.
+	(elf32_arm_final_link_relocate): Use new functions.
+	(elf32_arm_check_relocs): Likewise.
+	* elf32-cris.c (cris_elf_relocate_section): Likewise.
+	(elf_cris_check_relocs): Likewise.
+	* elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
+	* elf32-i370.c (i370_elf_check_relocs): Likewise.
+	(i370_elf_relocate_section): Likewise.
+	* elf32-i386.c (elf_i386_check_relocs): Likewise.
+	* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
+	(m32r_elf_check_relocs): Likewise.
+	* elf32-m68k.c (elf_m68k_check_relocs): Likewise.
+	* elf32_ppc.c (ppc_elf_check_relocs): Likewise.
+	(ppc_elf_relocate_section): Likewise.
+	* elf32-s390.c (elf_s390_check_relocs): Likewise.
+	* elf32-sh.c (sh_elf_relocate_section): Likewise.
+	(sh_elf_check_relocs): Likewise.
+	* elf32-vax.c (elf_vax_check_relocs): Likewise.
+	(elf_vax_relocate_section): Likewise.
+	* elf64-alpha.c (elf64_alpha_check_relocs): Likewise.
+	* elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
+	* elf64-s390.c (elf_s390_check_relocs): Likewise.
+	* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
+	* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
+	* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
+	* elf32-bfin.c (bfin_check_relocs): Remove redundant local
+	variable 'sreloc'.
+	(bfin_relocate_section): Likewise.
+	* elf32-v850.c (v850_elf_check_relocs): Likewise.
+
+2008-11-23  Hans-Peter Nilsson  <hp@axis.com>
+
+	Implement TLS for CRIS.
+	* elf32-cris.c: Include limits.h.
+	(TLSHOWTO16): Redefine in terms of and move contents to...
+	(TLSHOWTO16X): New macro.
+	(TLSHOWTO16S, LGOT_REG_NDX, LGOT_DTP_NDX, LGOT_ALLOC_NELTS_FOR)
+	(elf_cris_hash_entry): New macros.
+	(cris_elf_howto_table): Make R_CRIS_16_DTPREL,
+	R_CRIS_16_GOT_TPREL, R_CRIS_16_TPREL check overflow for signed,
+	not unsigned values.
+	(cris_info_to_howto_rela): Make r_type a enum elf_cris_reloc_type,
+	not unsigned int.
+	(struct elf_cris_link_hash_entry): New members reg_got_refcount,
+	tprel_refcount, and dtp_refcount.
+	(struct elf_cris_link_hash_table): New member dtpmod_refcount.
+	(elf_cris_link_hash_newfunc): Initialize new members.
+	(elf_cris_link_hash_table_create): Similar.
+	(cris_final_link_relocate, elf_cris_reloc_type_class): Use a
+	temporary variable when testing the relocation type.
+	(cris_elf_gc_mark_hook): Ditto.  Add default case where needed.
+	(cris_elf_gc_sweep_hook): Ditto.  Handle reference-counting for
+	the new assembly-generated relocs.  Rewrite refcount handling to
+	set temporary variables to pointers to reloc-specific variables
+	and entry size and common code for the update.
+	(additional_relocation_error_msg_count): New variable.
+	(cris_elf_relocate_section): Use a function-local variable srelgot
+	for the .rela.got section instead of looking it up for every need.
+	Make r_type a enum elf_cris_reloc_type, not int.  Actually set
+	symname for non-local symbols.  Handle new assembly-generated
+	relocs.  For overflow, emit additional messages for the new 16-bit
+	relocs as well as R_CRIS_16_GOTPLT and R_CRIS_16_GOT.
+	(elf_cris_finish_dynamic_symbol): Use elf_cris_finish_dynamic_symbol
+	instead of plain casts.  Check new hash entry member 
+	reg_got_refcount when checking whether to emit a GOT entry.
+	(elf_cris_finish_dynamic_sections): Update head comment to warn
+	about emitting relocs here.  Use a temporary variable when testing
+	the relocation type.
+	(elf_cris_discard_excess_program_dynamics)
+	(elf_cris_adjust_gotplt_to_got): Handle reference counting change
+	regarding h->reg_got_refcount.
+	(cris_elf_check_relocs): Rewrite refcount handling to set
+	temporary variables and entry size and common code for the update
+	for local symbols.  Use new macro elf_cris_hash_entry.  Adjust
+	allocation for change in reference counting of GOT entries for
+	local symbols.
+	(elf_cris_size_dynamic_sections): Adjust calculated size of
+	.got.plt and .rela.got if we need a GOT entry for a
+	R_CRIS_DTPMOD relocation.
+	(elf_cris_got_elt_size): New function.
+	(elf_backend_got_elt_size): Define.
+
+2008-11-21  Sterling Augustine  <sterling@tensilica.com>
+
+	* xtensa-isa.c (xtensa_state_is_shared_or): New function.
+
+2008-11-21  Hans-Peter Nilsson  <hp@axis.com>
+
+	* elf-bfd.h (struct elf_backend_data): New member got_elt_size.
+	(_bfd_elf_default_got_elt_size): Declare.
+	* elflink.c (struct alloc_got_off_arg): Replace member got_elt_size
+	by new member info.
+	(elf_gc_allocate_got_offsets): Adjust for calling bed->got_elt_size
+	to get the element size instead of using a gofarg entry.
+	(bfd_elf_gc_common_finalize_got_offsets): Similar.
+	(_bfd_elf_default_got_elt_size): New function.
+	* elfxx-target.h: New macro elf_backend_got_elt_size.
+	(elfNN_bed): Use it.
+
 2008-11-20  Tristan Gingold  <gingold@adacore.com>
 
 	* bfdwin.c: Fix comment.
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 9615a4a..5418e7f 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1147,6 +1147,12 @@ struct elf_backend_data
      so-called reserved entries on some systems.  */
   bfd_vma got_header_size;
 
+  /* The size of the GOT entry for the symbol pointed to by H if non-NULL,
+     otherwise by the local symbol with index SYMNDX in IBFD.  */
+  bfd_vma (*got_elt_size) (bfd *, struct bfd_link_info *,
+			   struct elf_link_hash_entry *h,
+			   bfd *ibfd, unsigned long symndx);
+
   /* The vendor name to use for a processor-standard attributes section.  */
   const char *obj_attrs_vendor;
 
@@ -1758,6 +1764,10 @@ extern long _bfd_elf_get_reloc_upper_bound
   (bfd *, sec_ptr);
 extern long _bfd_elf_canonicalize_reloc
   (bfd *, sec_ptr, arelent **, asymbol **);
+extern asection * _bfd_elf_get_dynamic_reloc_section
+  (bfd *, asection *, bfd_boolean);
+extern asection * _bfd_elf_make_dynamic_reloc_section
+  (asection *, bfd *, unsigned int, bfd *, bfd_boolean);
 extern long _bfd_elf_get_dynamic_reloc_upper_bound
   (bfd *);
 extern long _bfd_elf_canonicalize_dynamic_reloc
@@ -2070,6 +2080,10 @@ extern asection *_bfd_elf_common_section
 extern void _bfd_dwarf2_cleanup_debug_info
   (bfd *);
 
+extern bfd_vma _bfd_elf_default_got_elt_size
+(bfd *, struct bfd_link_info *, struct elf_link_hash_entry *, bfd *,
+ unsigned long);
+
 extern bfd_reloc_status_type _bfd_elf_rel_vtable_reloc_fn
   (bfd *, arelent *, struct bfd_symbol *, void *,
    asection *, bfd *, char **);
diff --git a/bfd/elf-m10300.c b/bfd/elf-m10300.c
index 37c4f3b..d41906c 100644
--- a/bfd/elf-m10300.c
+++ b/bfd/elf-m10300.c
@@ -917,32 +917,10 @@ mn10300_elf_check_relocs (bfd *abfd,
 		     section in dynobj and make room for this reloc.  */
 		  if (sreloc == NULL)
 		    {
-		      const char * name;
-
-		      name = (bfd_elf_string_from_elf_section
-			      (abfd,
-			       elf_elfheader (abfd)->e_shstrndx,
-			       elf_section_data (sec)->rel_hdr.sh_name));
-		      if (name == NULL)
-			goto fail;
-
-		      BFD_ASSERT (CONST_STRNEQ (name, ".rela")
-				  && streq (bfd_get_section_name (abfd, sec), name + 5));
-
-		      sreloc = bfd_get_section_by_name (dynobj, name);
+		      sreloc = _bfd_elf_make_dynamic_reloc_section
+			(sec, dynobj, 2, abfd, /*rela?*/ TRUE);
 		      if (sreloc == NULL)
-			{
-			  flagword flags;
-
-			  flags = (SEC_HAS_CONTENTS | SEC_READONLY
-			       | SEC_IN_MEMORY | SEC_LINKER_CREATED);
-			  if ((sec->flags & SEC_ALLOC) != 0)
-			    flags |= SEC_ALLOC | SEC_LOAD;
-			  sreloc = bfd_make_section_with_flags (dynobj, name, flags);
-			  if (sreloc == NULL
-			      || ! bfd_set_section_alignment (dynobj, sreloc, 2))
-			    goto fail;
-			}
+			goto fail;
 		    }
 
 		  sreloc->size += sizeof (Elf32_External_Rela);
@@ -1108,22 +1086,10 @@ mn10300_elf_final_link_relocate (reloc_howto_type *howto,
 	     time.  */
 	  if (sreloc == NULL)
 	    {
-	      const char * name;
-
-	      name = (bfd_elf_string_from_elf_section
-		      (input_bfd,
-		       elf_elfheader (input_bfd)->e_shstrndx,
-		       elf_section_data (input_section)->rel_hdr.sh_name));
-	      if (name == NULL)
+	      sreloc = _bfd_elf_get_dynamic_reloc_section
+		(input_bfd, input_section, /*rela?*/ TRUE);
+	      if (sreloc == NULL)
 		return FALSE;
-
-	      BFD_ASSERT (CONST_STRNEQ (name, ".rela")
-			  && streq (bfd_get_section_name (input_bfd,
-							  input_section),
-				    name + 5));
-
-	      sreloc = bfd_get_section_by_name (dynobj, name);
-	      BFD_ASSERT (sreloc != NULL);
 	    }
 
 	  skip = FALSE;
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 9008a4b..cd5a9bf 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -2466,19 +2466,6 @@ stub_hash_newfunc (struct bfd_hash_entry *entry,
   return entry;
 }
 
-/* Return true if NAME is the name of the relocation section associated
-   with S.  */
-
-static bfd_boolean
-reloc_section_p (struct elf32_arm_link_hash_table *htab,
-		 const char *name, asection *s)
-{
-  if (htab->use_rel)
-    return CONST_STRNEQ (name, ".rel") && strcmp (s->name, name + 4) == 0;
-  else
-    return CONST_STRNEQ (name, ".rela") && strcmp (s->name, name + 5) == 0;
-}
-
 /* Create .got, .gotplt, and .rel(a).got sections in DYNOBJ, and set up
    shortcuts to them in our hash table.  */
 
@@ -5960,19 +5947,11 @@ elf32_arm_final_link_relocate (reloc_howto_type *           howto,
 
 	  if (sreloc == NULL)
 	    {
-	      const char * name;
+	      sreloc = _bfd_elf_get_dynamic_reloc_section (input_bfd, input_section,
+							   ! globals->use_rel);
 
-	      name = (bfd_elf_string_from_elf_section
-		      (input_bfd,
-		       elf_elfheader (input_bfd)->e_shstrndx,
-		       elf_section_data (input_section)->rel_hdr.sh_name));
-	      if (name == NULL)
+	      if (sreloc == NULL)
 		return bfd_reloc_notsupported;
-
-	      BFD_ASSERT (reloc_section_p (globals, name, input_section));
-
-	      sreloc = bfd_get_section_by_name (dynobj, name);
-	      BFD_ASSERT (sreloc != NULL);
 	    }
 
 	  skip = FALSE;
@@ -6381,8 +6360,9 @@ elf32_arm_final_link_relocate (reloc_howto_type *           howto,
 	int thumb2 = using_thumb2 (globals);
 
 	/* A branch to an undefined weak symbol is turned into a jump to
-	   the next instruction.  */
-	if (h && h->root.type == bfd_link_hash_undefweak)
+	   the next instruction unless a PLT entry will be created.  */
+	if (h && h->root.type == bfd_link_hash_undefweak
+	    && !(splt != NULL && h->plt.offset != (bfd_vma) -1))
 	  {
 	    bfd_put_16 (input_bfd, 0xe000, hit_data);
 	    bfd_put_16 (input_bfd, 0xbf00, hit_data + 2);
@@ -9278,40 +9258,23 @@ elf32_arm_check_relocs (bfd *abfd, struct bfd_link_info *info,
 	        /* When creating a shared object, we must copy these
                    reloc types into the output file.  We create a reloc
                    section in dynobj and make room for this reloc.  */
-	        if (sreloc == NULL)
+  	        if (sreloc == NULL)
 		  {
-		    const char * name;
+		    sreloc = _bfd_elf_make_dynamic_reloc_section
+		      (sec, dynobj, 2, abfd, ! htab->use_rel);
 
-		    name = (bfd_elf_string_from_elf_section
-			    (abfd,
-			     elf_elfheader (abfd)->e_shstrndx,
-			     elf_section_data (sec)->rel_hdr.sh_name));
-		    if (name == NULL)
+		    if (sreloc == NULL)
 		      return FALSE;
 
-		    BFD_ASSERT (reloc_section_p (htab, name, sec));
-
-		    sreloc = bfd_get_section_by_name (dynobj, name);
-		    if (sreloc == NULL)
+		    /* BPABI objects never have dynamic relocations mapped.  */
+		    if (! htab->symbian_p)
 		      {
-		        flagword flags;
-
-		        flags = (SEC_HAS_CONTENTS | SEC_READONLY
-			         | SEC_IN_MEMORY | SEC_LINKER_CREATED);
-		        if ((sec->flags & SEC_ALLOC) != 0
-			    /* BPABI objects never have dynamic
-			       relocations mapped.  */
-			    && !htab->symbian_p)
-			  flags |= SEC_ALLOC | SEC_LOAD;
-		        sreloc = bfd_make_section_with_flags (dynobj,
-							      name,
-							      flags);
-		        if (sreloc == NULL
-			    || ! bfd_set_section_alignment (dynobj, sreloc, 2))
-			  return FALSE;
-		      }
+			flagword flags;
 
-		    elf_section_data (sec)->sreloc = sreloc;
+			flags = bfd_get_section_flags (dynobj, sreloc);
+			flags &= ~(SEC_LOAD | SEC_ALLOC);
+			bfd_set_section_flags (dynobj, sreloc, flags);
+		      }
 		  }
 
 		/* If this is a global symbol, we count the number of
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c
index a5c2400..c7d1124 100644
--- a/bfd/elf32-bfin.c
+++ b/bfd/elf32-bfin.c
@@ -1150,7 +1150,6 @@ bfin_check_relocs (bfd * abfd,
   const Elf_Internal_Rela *rel_end;
   asection *sgot;
   asection *srelgot;
-  asection *sreloc;
   if (info->relocatable)
     return TRUE;
 
@@ -1161,7 +1160,6 @@ bfin_check_relocs (bfd * abfd,
 
   sgot = NULL;
   srelgot = NULL;
-  sreloc = NULL;
 
   rel_end = relocs + sec->reloc_count;
   for (rel = relocs; rel < rel_end; rel++)
@@ -1363,7 +1361,6 @@ bfin_relocate_section (bfd * output_bfd,
   struct elf_link_hash_entry **sym_hashes;
   bfd_vma *local_got_offsets;
   asection *sgot;
-  asection *sreloc;
   Elf_Internal_Rela *rel;
   Elf_Internal_Rela *relend;
   int i = 0;
@@ -1374,7 +1371,6 @@ bfin_relocate_section (bfd * output_bfd,
   local_got_offsets = elf_local_got_offsets (input_bfd);
 
   sgot = NULL;
-  sreloc = NULL;
 
   rel = relocs;
   relend = relocs + input_section->reloc_count;
diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c
index 360cba6..72916f2 100644
--- a/bfd/elf32-cris.c
+++ b/bfd/elf32-cris.c
@@ -1,5 +1,5 @@
 /* CRIS-specific support for 32-bit ELF.
-   Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+   Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
    Free Software Foundation, Inc.
    Contributed by Axis Communications AB.
    Written by Hans-Peter Nilsson, based on elf32-fr30.c
@@ -27,6 +27,7 @@
 #include "libbfd.h"
 #include "elf-bfd.h"
 #include "elf/cris.h"
+#include <limits.h>
 
 /* Forward declarations.  */
 static reloc_howto_type * cris_reloc_type_lookup
@@ -419,20 +420,22 @@ static reloc_howto_type cris_elf_howto_table [] =
 #define TLSHOWTO32(name) \
  HOWTO (name, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, \
         bfd_elf_generic_reloc, #name, FALSE, 0, 0xffffffff, FALSE)
-#define TLSHOWTO16(name) \
- HOWTO (name, 0, 1, 16, FALSE, 0, complain_overflow_bitfield, \
+#define TLSHOWTO16X(name, X)	     \
+ HOWTO (name, 0, 1, 16, FALSE, 0, complain_overflow_ ## X, \
         bfd_elf_generic_reloc, #name, FALSE, 0, 0xffff, FALSE)
+#define TLSHOWTO16(name) TLSHOWTO16X(name, unsigned)
+#define TLSHOWTO16S(name) TLSHOWTO16X(name, signed)
 
   TLSHOWTO32 (R_CRIS_32_GOT_GD),
   TLSHOWTO16 (R_CRIS_16_GOT_GD),
   TLSHOWTO32 (R_CRIS_32_GD),
   TLSHOWTO32 (R_CRIS_DTP),
   TLSHOWTO32 (R_CRIS_32_DTPREL),
-  TLSHOWTO16 (R_CRIS_16_DTPREL),
+  TLSHOWTO16S (R_CRIS_16_DTPREL),
   TLSHOWTO32 (R_CRIS_32_GOT_TPREL),
-  TLSHOWTO16 (R_CRIS_16_GOT_TPREL),
+  TLSHOWTO16S (R_CRIS_16_GOT_TPREL),
   TLSHOWTO32 (R_CRIS_32_TPREL),
-  TLSHOWTO16 (R_CRIS_16_TPREL),
+  TLSHOWTO16S (R_CRIS_16_TPREL),
   TLSHOWTO32 (R_CRIS_DTPMOD)
 };
 \f
@@ -516,7 +519,7 @@ cris_info_to_howto_rela (abfd, cache_ptr, dst)
      arelent * cache_ptr;
      Elf_Internal_Rela * dst;
 {
-  unsigned int r_type;
+  enum elf_cris_reloc_type r_type;
 
   r_type = ELF32_R_TYPE (dst->r_info);
   BFD_ASSERT (r_type < (unsigned int) R_CRIS_max);
@@ -818,8 +821,39 @@ struct elf_cris_link_hash_entry
      this with gotplt_refcount in a union, like the got and plt unions in
      elf_link_hash_entry.  */
   bfd_size_type gotplt_offset;
+
+  /* The root.got.refcount is the sum of the regular reference counts
+     (this) and those members below.  We have to keep a separate count
+     to track when we've found the first (or last) reference to a
+     regular got entry.  The offset is in root.got.offset.  */
+  bfd_signed_vma reg_got_refcount;
+
+  /* Similar to the above, the number of reloc references to this
+     symbols that need a R_CRIS_32_TPREL slot.  The offset is in
+     root.got.offset, because this and .dtp_refcount can't validly
+     happen when there's also a regular GOT entry; that's invalid
+     input for which an error is emitted.  */
+  bfd_signed_vma tprel_refcount;
+
+  /* Similar to the above, the number of reloc references to this
+     symbols that need a R_CRIS_DTP slot.  The offset is in
+     root.got.offset; plus 4 if .tprel_refcount > 0.  */
+  bfd_signed_vma dtp_refcount;
 };
 
+/* The local_got_refcounts and local_got_offsets are a multiple of
+   LSNUM in size, namely LGOT_ALLOC_NELTS_FOR(LSNUM) (plus one for the
+   refcount for GOT itself, see code), with the summary / group offset
+   for local symbols located at offset N, reference counts for
+   ordinary (address) relocs at offset N + LSNUM, for R_CRIS_DTP
+   relocs at offset N + 2*LSNUM, and for R_CRIS_32_TPREL relocs at N +
+   3*LSNUM.  */
+
+#define LGOT_REG_NDX(x) ((x) + symtab_hdr->sh_info)
+#define LGOT_DTP_NDX(x) ((x) + 2 * symtab_hdr->sh_info)
+#define LGOT_TPREL_NDX(x) ((x) + 3 * symtab_hdr->sh_info)
+#define LGOT_ALLOC_NELTS_FOR(x) ((x) * 4)
+
 /* CRIS ELF linker hash table.  */
 
 struct elf_cris_link_hash_table
@@ -830,6 +864,13 @@ struct elf_cris_link_hash_table
      since we try and avoid creating GOTPLT:s when there's already a GOT.
      Instead, we keep and update the next available index here.  */
   bfd_size_type next_gotplt_entry;
+
+  /* The number of R_CRIS_32_DTPREL and R_CRIS_16_DTPREL that have
+     been seen for any input; if != 0, then the constant-offset
+     R_CRIS_DTPMOD is needed for this DSO/executable.  This turns
+     negative at relocation, so that we don't need an extra flag for
+     when the reloc is output.  */
+  bfd_signed_vma dtpmod_refcount;
 };
 
 /* Traverse a CRIS ELF linker hash table.  */
@@ -845,6 +886,13 @@ struct elf_cris_link_hash_table
 #define elf_cris_hash_table(p) \
   ((struct elf_cris_link_hash_table *) (p)->hash)
 
+/* Get the CRIS ELF linker hash entry from a regular hash entry (the
+   "parent class").  The .root reference is just a simple type
+   check on the argument.  */


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2009-09-04 18:32 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2009-09-04 18:32 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  afdd46004794aa756550d4a167d8c6b47eece9b5 (commit)
       via  8dc49f1a376e28ecd99f8ff244656eef326e1c27 (commit)
       via  825b65bdb075324c27aec83edb183370e5d22db1 (commit)
       via  9c2e0ba0aac4a51cd08b2bd563d0d39121828599 (commit)
       via  deaccea4fe268fca04151f5bf54686a0568557a2 (commit)
       via  38204455996f39ee2675b5ef17b57ed9e670f6b8 (commit)
       via  c0185dff0df9b7b94de4a3d86b8c6d462ca90ca2 (commit)
       via  80d523378aa7fe7a91fc4f440f65c1c71a93f40b (commit)
       via  853c5d16d4c8afec9ad69a50536a7bf35ea574e6 (commit)
       via  9f73cf2489466ca9d6c1e00811b1bce5aec209d2 (commit)
       via  3540ff903a0cc4dcb14a57b82e4eac2779516c2e (commit)
       via  54b11c741c4c7f9313687c41a2d6aaa617e4eb66 (commit)
       via  a23843157e970a54341229da50663c9c7f1873ac (commit)
       via  7660f30f01bcd066e1283326bfd9c6c2932d8a5c (commit)
       via  d051d95362036fe352c82965b59ca443deb831b4 (commit)
       via  1fd449ecb871a5a86b27aa3e1152ad6dfc8afc65 (commit)
       via  308af18717bc7572c7090596a7d989d389abf685 (commit)
       via  5dfe03775af84a5fdbe9ff90e9fb955e5d24d1d6 (commit)
       via  2c96ea723193f3f43a0e758e1e4e78cd96906080 (commit)
       via  ac9e3542e2fe673b6626d59da52da6ff29d4f575 (commit)
       via  f5e9ba2ca1fec54907f04badfb98290c3e3953ea (commit)
       via  0f1b5af6ad82e5dd012794e3618bf7f961432ea8 (commit)
       via  2109554ceb4ec6e3e12c8688f671510f8b61e5cf (commit)
       via  f2f7de1b2e6fa08332e0bfb99a544cdf3d941051 (commit)
       via  9880edc035752998a0de3eac3b37c8b9ca71e6c1 (commit)
       via  36f44dc5ce0ead13d062e576e073654ae65eb7ae (commit)
       via  b98bcb3cabf7b03238b43aa91002989873c107e7 (commit)
       via  e1becf0a25eb9c70b768ef03f200b8847ee6f676 (commit)
       via  28bc5797a9be8409c7f78881f93fff58c4e9d6ed (commit)
       via  1ceb0bbe4b250cf97ebf0b22f07d7d37ebe74d3c (commit)
       via  d2a3fbd7a64f89c9f3f47b5dcba036a48119976b (commit)
       via  4cc8a5133e6b5c72da5870cb36ff022c35541dc8 (commit)
       via  819024a0c85b62687c947bcaaf6717ddc2f6bbdb (commit)
       via  609973b9961f186703211e01eadc69bea1c9f5ac (commit)
       via  fa7ba3e541ddd38a4dcd3ffed1bd8557db871f7e (commit)
       via  2780965a650111bd4e0b0799f6679544f2669966 (commit)
       via  d2e7043abc0bc9aa4f16d925fcde3889c2e63130 (commit)
       via  a399b047b071f7609fdd8a6693bff544fe95c8f8 (commit)
       via  9dafd583e0534260ca923605625a846e5488892b (commit)
       via  37612626768f29eedc4d0d2f293267c4c08d0ff1 (commit)
       via  16602dca2548557aa7f28bb5a829314da7a10522 (commit)
       via  389df9c50ef1d35349d10e2e2c973b4709f9cdda (commit)
       via  aeb84ebd24652c6fe4121b1bb5c6891e1eb3a1b6 (commit)
       via  f650bcfadad3eceb9961f2ef4c7bdd9967775b17 (commit)
       via  4cf469f9946a523073fc9ae5bea4a0e9bac8e938 (commit)
       via  f8bccf69287aa115b082166975cce25e775b561b (commit)
       via  19c12d9d0a80220db13f9a69465bd9619176bf08 (commit)
       via  03cb63487db5c69b5b8866da075eed36069e94d7 (commit)
       via  8c40367bf1be0d14b87c2503b68095d31d758f87 (commit)
       via  935b03381bbcba34df1718c92ebf1ed17446f8b4 (commit)
       via  d2f1d316e507769698a8e2c0f8521848cabf5eb6 (commit)
       via  773e25974b6dbe4a7ffd26b44f715e9dc3ddcf3a (commit)
       via  61c96b1756dbb3b128064e6a7da554329ffcc9f8 (commit)
       via  0c180793892f02edba0ac0d3be1acfe29cdfef0c (commit)
       via  6b5f8c123bc2ec7caae271391618a706f355eca5 (commit)
       via  d8092aba33949865129234cd83a56a18de0749fb (commit)
       via  93de9176527900ec163417601c777a3d9370556f (commit)
       via  a840a52f30f702fcba7b37c145816f1b1c759836 (commit)
       via  3acafd1004ccee1a9b95718525764eefd9978742 (commit)
       via  d7d93bd75e59e8298958c97d26de008fd800fabb (commit)
       via  f20dcbee930a58553a0118b25265dcaf2e394064 (commit)
       via  f9c1e5908fd89cbed746201425bb9de811f896d4 (commit)
       via  3926f6b0eeea4971645cd7f5e9faecbb71e83c32 (commit)
       via  4bea8e66ed7e787f51a4b3330b734409c4edc312 (commit)
       via  62237ca058df722523d7837beb4af333fb20dfcb (commit)
       via  f267b299ff1a41831b6aa172b4811894b4baee26 (commit)
       via  84e0a6dedb76d6d2ebd3fb0a3009fd01f73bf469 (commit)
       via  673e0997cb6965ae39c28b0f3acc5c66d7004252 (commit)
       via  91d276408017ab3b17a99b976cdb4794bab59ec7 (commit)
       via  e6e298f2054d9262313edbfb36f0a2464feecc0d (commit)
       via  27e17d84e764ca1396c516493b119eb2e628c45a (commit)
       via  13f95438c40e637b2e991d48e7ea870ea720a218 (commit)
       via  47add2a0e5b7e970014e000ac1a3a1cc42c31798 (commit)
       via  c1369b4d3c2ce413ddf73b65b631a272aa43318f (commit)
       via  711dd9eb16a8df2482880848a47fcc41925673e9 (commit)
       via  440978effe80616acf49bb8636629b276235d122 (commit)
       via  3029200d56d2bb7ee9ffc7df0dda7a8e6413a7cf (commit)
       via  d11b2c1424dbf9257fa5017950e1b104a3074bd3 (commit)
       via  b13ad1061a37f7414723f9f253bc3682b6cb6622 (commit)
       via  fd992cd98a1530d602042a87784f319e096be2e8 (commit)
       via  1021b09ffdc965fb231630f695bd3c1b02575c6e (commit)
       via  6a94375c31dedbb22a5c090c5f6dfc9457ce71ab (commit)
       via  751fecbb8b68d82011e9ba9213abefec5e46acf6 (commit)
       via  4e12420e932f8787c5f31def9747485743cbf041 (commit)
       via  58c1947009d5ef89c24930cc5a8b62825b1caa29 (commit)
       via  8908432dc48908b505d7c00c7d8288d4071d4c4b (commit)
       via  85b106a0382155d78c2ec2ab2f15150820459515 (commit)
       via  f82d5d2b34a4384dea73220bc9ba714deac85d2b (commit)
       via  08151211b233044ed83d9aef8a25fc7d0481e11f (commit)
       via  ccff4b8400589b5614a7ba11024ff8cbb389f965 (commit)
       via  df20617ed004ca52805b4f14f3e7ad024f1f4311 (commit)
       via  07663db7b9480b43d5e93c20b69131bcc310fc9d (commit)
       via  928bdc2ddae62d8a7a9d446344f5d008610f8b84 (commit)
       via  22a305763c1ce4e2c55a8c97bfdbbb3082f3d591 (commit)
       via  1d8d138bfb710bb139d29089f56cc618aaf5311c (commit)
       via  e39481508eb264b7cbed515b943263ea94d86393 (commit)
       via  2160da1bc16af71a3a1ecc80da9f8ca9c2b9c2fb (commit)
       via  19a50d12edce0600e6e784c1edb3ada364e315f6 (commit)
       via  7d85f8dcdcb4b149fc5c8d1264fd143389966d90 (commit)
       via  b2bd124143030a72ceffe8164b95eca30c136a71 (commit)
       via  2d2cca06c04577fedc2547a9d22213bf2ce5944b (commit)
       via  7b89e85c0e6ec79862388fffa7f37097023ff996 (commit)
       via  9213c4b80953bfb0cd4f413449804cfea7083b8c (commit)
       via  2e49d7624aa051e6fc923ad075c8d5a8b760b03a (commit)
       via  668e15338216bae8b420ac7622e451fbd41f7150 (commit)
       via  61b721bf40f1b08c51e333356223aac25779efce (commit)
       via  0ad8a5906cd65758e6050bdf59b893a0b1c20bc9 (commit)
       via  c6cbb4c87a8a8903e4f7e2d4d037beae680fe5bc (commit)
       via  99a1bce6066d10c5559be4243c64e886a92687aa (commit)
       via  dd87a5db41262aab0329681424c8d8a1edc6b12d (commit)
       via  11715aed715d97aed37e850e6aed85c041c547b5 (commit)
       via  1b42f8399e862443ca8d7d5d37ecfd66c18a7aeb (commit)
       via  c727449bc8cdba5f6dfcf740e6c11e4cebc179b8 (commit)
       via  e183d2cfa59f743c78af6709f65fd2c12b151ad6 (commit)
       via  caf5aafaa5dde02dedc24b18bf82be878fda61d6 (commit)
       via  f110b5c19bb171d4893376e6e4b731683f2fc31a (commit)
       via  013c637ee0cd488e79d73206a0347df969d2f33a (commit)
       via  a9e8bba767b606fbc72af7fc3dddf01342b70143 (commit)
       via  1269417bec740667b9112ed1077973236f89ac9f (commit)
       via  309a0bf052482b2dfaf80805361e1c50121f3809 (commit)
       via  444b5d7ba1da7e5f8e5855e45cd0f97a27ed6660 (commit)
       via  2d0c1b4a85e6ce82b3346bd055009f2f83fbc5a0 (commit)
       via  ec6ee3bdbdf3dab75cbb2695cf5daf8672d2b97a (commit)
       via  d7fb0f9994ed73f8b9b09e0324033e4fd1549582 (commit)
       via  82648c0411ee11b4ba5446997e202bcb682fd369 (commit)
       via  8c3a12a4542b48fcc9286fe35958ce994518f9e5 (commit)
       via  59ef00384e7090beba9b50dce1d9de4f7a083105 (commit)
       via  cd7936dd5f6446cddcaced61977d13d36ee3df63 (commit)
       via  e04c6dd6e43c2355c0389fe30f8b11e602920438 (commit)
       via  4632ac375052eaf0f6c638d9fe4f2959d799fbe8 (commit)
       via  54dd223ddbd82c5a846c6cdf8372512f39c5658a (commit)
       via  a34bf48e95e74e62b58e1a959c550ec210796fc7 (commit)
       via  3a4a1cd00493e6df57c6d04dd256c85df36f5e15 (commit)
       via  057cd711e007579f6ec8e33566ec1528da7f71c9 (commit)
       via  9bd682c83d9636b3a97d06e94ae2e94811da51ec (commit)
       via  d7ccfaeb4b4d6211576953c569ecfc16a1712c92 (commit)
       via  e9df0b5df91c17060de2d71d66fbaec585f7fa7e (commit)
       via  23607494a76710915a18d6950fd8000e4208c319 (commit)
       via  4d72a8acfb389eb9206c01cd645899c36e465c5c (commit)
       via  3243d462b669c03b8e21f84ed542a48fc282dd05 (commit)
       via  26bdd5db2249b0f585a680549e77acffba0bc191 (commit)
       via  eef2ca5ca19f807f442d2650c199959a109206cf (commit)
       via  a4c38b28019d1ebdf7878b3968fb5801a499bd59 (commit)
       via  6e6929cb64d47bea3352ff5ea4dff2701aa70242 (commit)
       via  88e8595bfdcb97a3f56ff8e80382b616a35acdf9 (commit)
       via  89b6141beaf5c956d960c8574c3e5c29039795f0 (commit)
       via  bb302b667f66316788bfcd23c664eea147fa4b89 (commit)
       via  457eeee446ec8bacc19e44af58850abf678bf257 (commit)
       via  cc5e106a518f17beec15e0a8a25269fdb409e3ef (commit)
       via  51e8f26171e0ea91793f20d73c280af17f7a0515 (commit)
       via  26e4fb48926180055435328d4f67d72d57d48ce0 (commit)
       via  65ff865ea8511ec980efc2de5cec60bf4e7a6ae4 (commit)
       via  3e7f7255a2c831f94015e6624fe788dd4137ca4f (commit)
       via  fbbc85bad636ce65fbb7f93c601ec7ad3ea99389 (commit)
       via  54d17db6f9a0923e4d22848bac6bbb15d5f594f1 (commit)
       via  0a455fbadba64d2543fd2b6e4db587aa75742659 (commit)
       via  f80adbadde1c393245886ba552e52db127c960f3 (commit)
       via  64e9019a85a8d0dc0e5fe2beed6abeb1da67dbed (commit)
       via  1d5318dc45855f473ad33e4bafa8bf2effb25ccb (commit)
       via  57cf4a5f772468936aff9ebb62e4e397989baf12 (commit)
       via  1d349d49a76c08f6a5186518fc6a988a1c2519c9 (commit)
       via  4a1ddb7af6265b14166560a5a8780cac38fe5714 (commit)
       via  86866f8195e3bf342978b7c2440f012ad9a85bc4 (commit)
       via  23d99e586244496a9997a0882e3905eda4524050 (commit)
       via  add11f5965470355efd26795cb71bb32ad8b8fc0 (commit)
       via  72d61d7ad7cbec581e39e01789ccb101ba1ff458 (commit)
       via  a096cf45b9b40cdf83bd7ce681ab65183a788fcf (commit)
       via  b5990caf2ba1cba165ebf6d57e09f5284aef53f6 (commit)
       via  ee1021b0bfb45887b6e99cb557abd605898d3f2c (commit)
       via  95aa7761b250fcbce2e28d2f545752ae2d05eacc (commit)
       via  f5b69d5bd65207fd1ffb13e48f57331aaf4f3059 (commit)
       via  81ea27cf4179f3388c06f91e7d2ee6fdb46865f4 (commit)
       via  692d2b0e0a0f226893768c309ab43f7a12a97a89 (commit)
       via  8259a8fbc6bcb80bdd65408d20f942a16970ae53 (commit)
      from  bf9883bbc9f84267fc3eb6b3014682a110090d55 (commit)

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

- Log -----------------------------------------------------------------
commit afdd46004794aa756550d4a167d8c6b47eece9b5
Merge: bf9883bbc9f84267fc3eb6b3014682a110090d55 8dc49f1a376e28ecd99f8ff244656eef326e1c27
Author: Jan Kratochvil <jkratoch@host1.dyn.jankratochvil.net>
Date:   Fri Sep 4 19:18:11 2009 +0200

    Merge commit 'origin/master' into archer-jankratochvil-misc

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

Summary of changes:
 ChangeLog                                          |  146 +
 MAINTAINERS                                        |   47 +-
 Makefile.def                                       |   22 +-
 Makefile.in                                        | 1587 ++-
 Makefile.tpl                                       |   43 +-
 README-maintainer-mode                             |   13 +-
 bfd/ChangeLog                                      |  276 +
 bfd/Makefile.am                                    | 3236 +---
 bfd/Makefile.in                                    | 3894 +----
 bfd/acinclude.m4                                   |    2 +
 bfd/aclocal.m4                                     |  468 +-
 bfd/aoutx.h                                        |    8 +-
 bfd/bfd.c                                          |    7 +-
 bfd/coff-stgo32.c                                  |   98 +-
 bfd/coffcode.h                                     |    5 +
 bfd/coffgen.c                                      |   36 +-
 bfd/config.in                                      |   60 +-
 bfd/configure                                      |19351 ++++++-------------
 bfd/configure.in                                   |   18 +-
 bfd/cpu-ia64-opc.c                                 |   16 +-
 bfd/doc/ChangeLog                                  |   17 +
 bfd/doc/Makefile.am                                |   39 +-
 bfd/doc/Makefile.in                                |  295 +-
 bfd/doc/chew.c                                     |   30 +-
 bfd/ecoff.c                                        |   18 +-
 bfd/elf-bfd.h                                      |    2 +
 bfd/elf-eh-frame.c                                 |    8 +
 bfd/elf.c                                          |   37 +-
 bfd/elf32-arm.c                                    |  165 +-
 bfd/elf32-bfin.c                                   |  661 +-
 bfd/elf32-m32c.c                                   |   31 +-
 bfd/elf32-m68k.c                                   |  339 +-
 bfd/elf32-microblaze.c                             |    5 +-
 bfd/elf32-ppc.c                                    |   73 +-
 bfd/elflink.c                                      |    8 +
 bfd/elfxx-ia64.c                                   |   28 +-
 bfd/hash.c                                         |   11 +-
 bfd/ieee.c                                         |    8 +-
 bfd/libcoff-in.h                                   |    3 +
 bfd/libcoff.h                                      |    3 +
 bfd/linker.c                                       |   41 +-
 bfd/mach-o.c                                       |   16 +-
 bfd/merge.c                                        |    1 +
 bfd/oasys.c                                        |    8 +-
 bfd/opncls.c                                       |   16 +-
 bfd/pdp11.c                                        |    8 +-
 bfd/plugin.c                                       |   10 +-
 bfd/po/SRC-POTFILES.in                             |    7 +
 bfd/po/bfd.pot                                     | 2555 ++-
 bfd/po/fi.po                                       | 2025 ++-
 bfd/rs6000-core.c                                  |   62 +-
 bfd/som.c                                          |    8 +-
 bfd/syms.c                                         |    8 +-
 bfd/tekhex.c                                       |   37 +-
 bfd/version.h                                      |    2 +-
 compile                                            |   17 +-
 config.guess                                       |   12 +-
 config.sub                                         |   20 +-
 config/ChangeLog                                   |   37 +
 config/lead-dot.m4                                 |    9 +-
 config/mh-cygwin                                   |    3 +
 config/mh-ppc-aix                                  |   13 +-
 config/override.m4                                 |   15 +-
 config/tls.m4                                      |   18 +
 config/unwind_ipinfo.m4                            |    8 +-
 config/warnings.m4                                 |    9 +-
 configure                                          | 9644 +++++-----
 configure.ac                                       |  270 +-
 depcomp                                            |  175 +-
 etc/ChangeLog                                      |    4 +
 etc/configure                                      | 2923 ++--
 gdb/CONTRIBUTE                                     |    2 +-
 gdb/ChangeLog                                      |  638 +
 gdb/Makefile.in                                    |   11 +-
 gdb/NEWS                                           |   19 +-
 gdb/aclocal.m4                                     |  485 +-
 gdb/aix-thread.c                                   |    3 +-
 gdb/amd64-linux-tdep.c                             | 1298 ++
 gdb/amd64-tdep.c                                   |  101 +
 gdb/arm-tdep.c                                     |    2 +-
 gdb/bfd-target.c                                   |   44 +-
 gdb/breakpoint.c                                   |   84 +-
 gdb/breakpoint.h                                   |    9 +
 gdb/c-exp.y                                        |   22 +-
 gdb/cli/cli-setshow.c                              |    3 +-
 gdb/config.in                                      |   44 +-
 gdb/configure                                      |20685 +++++++-------------
 gdb/configure.ac                                   |   30 +-
 gdb/corefile.c                                     |   12 +
 gdb/dcache.c                                       |  635 +-
 gdb/dcache.h                                       |    7 +-
 gdb/doc/ChangeLog                                  |   44 +
 gdb/doc/configure                                  | 3001 ++--
 gdb/doc/configure.ac                               |   26 -
 gdb/doc/gdb.texinfo                                |  254 +-
 gdb/doc/gdbint.texinfo                             |    7 +-
 gdb/dwarf2-frame.c                                 |  241 +-
 gdb/dwarf2expr.c                                   |   16 +
 gdb/dwarf2expr.h                                   |    2 +
 gdb/dwarf2loc.c                                    |   11 +-
 gdb/dwarf2read.c                                   |   41 +-
 gdb/frame-unwind.c                                 |    4 +-
 gdb/gdbarch.c                                      |    6 +-
 gdb/gdbarch.sh                                     |    6 +-
 gdb/gdbcore.h                                      |    4 +
 gdb/gdbserver/ChangeLog                            |    6 +
 gdb/gdbserver/aclocal.m4                           |    4 +-
 gdb/gdbserver/config.in                            |   38 +-
 gdb/gdbserver/configure                            | 7027 ++++----
 gdb/gnulib/Makefile.in                             |  189 +-
 gdb/i386-darwin-tdep.c                             |  146 +-
 gdb/i386-linux-tdep.c                              |   26 +-
 gdb/i386-tdep.c                                    | 1442 +-
 gdb/i386-tdep.h                                    |   35 +
 gdb/ia64-tdep.c                                    |    5 +-
 gdb/inferior.c                                     |   16 +-
 gdb/infrun.c                                       |   22 +-
 gdb/jit.c                                          |  461 +
 gdb/jit.h                                          |   81 +
 gdb/language.c                                     |  416 +-
 gdb/language.h                                     |    9 -
 gdb/linespec.c                                     |    7 +-
 gdb/linux-record.c                                 | 2579 ++--
 gdb/linux-record.h                                 |    5 +-
 gdb/main.c                                         |    4 +-
 gdb/memattr.c                                      |    6 +-
 gdb/mi/mi-main.c                                   |    3 +-
 gdb/objfiles.c                                     |  145 +-
 gdb/objfiles.h                                     |    5 +
 gdb/python/python-frame.c                          |    3 +-
 gdb/python/python-type.c                           |    4 +-
 gdb/python/python-value.c                          |   94 +-
 gdb/python/python.h                                |    4 +-
 gdb/record.c                                       |   11 +-
 gdb/remote.c                                       |  275 +-
 gdb/solib-darwin.c                                 |   30 +-
 gdb/solib.c                                        |  133 +-
 gdb/symfile.c                                      |   57 +-
 gdb/symfile.h                                      |    7 -
 gdb/symtab.c                                       |    3 +-
 gdb/target.c                                       |  138 +-
 gdb/target.h                                       |   10 +-
 gdb/testsuite/ChangeLog                            |   79 +
 gdb/testsuite/configure                            | 5168 +++---
 gdb/testsuite/gdb.arch/altivec-abi.exp             |    1 +
 gdb/testsuite/gdb.arch/altivec-regs.exp            |    2 +
 gdb/testsuite/gdb.base/bitfields.c                 |   11 +
 gdb/testsuite/gdb.base/bitfields.exp               |   22 +
 gdb/testsuite/gdb.base/default.exp                 |    2 +-
 gdb/testsuite/gdb.base/del.exp                     |    2 +-
 gdb/testsuite/gdb.base/gdbvars.c                   |   16 +
 gdb/testsuite/gdb.base/gdbvars.exp                 |   19 +
 gdb/testsuite/gdb.base/help.exp                    |    3 +-
 gdb/testsuite/gdb.base/setshow.exp                 |   15 +
 gdb/testsuite/gdb.base/step-bt.exp                 |    4 +-
 gdb/testsuite/gdb.cp/cpcompletion.exp              |   42 +
 gdb/testsuite/gdb.dwarf2/dw2-inheritance.S         |   98 +
 gdb/testsuite/gdb.dwarf2/dw2-inheritance.exp       |   40 +
 gdb/testsuite/gdb.hp/configure                     | 3206 ++--
 gdb/testsuite/gdb.hp/gdb.aCC/configure             | 3018 ++--
 gdb/testsuite/gdb.hp/gdb.base-hp/configure         | 3018 ++--
 gdb/testsuite/gdb.hp/gdb.compat/configure          | 3018 ++--
 gdb/testsuite/gdb.hp/gdb.defects/configure         | 3018 ++--
 gdb/testsuite/gdb.hp/gdb.objdbg/configure          | 3206 ++--
 gdb/testsuite/gdb.mi/mi-basics.exp                 |    6 +-
 gdb/testsuite/gdb.mi/mi2-basics.exp                |    6 +-
 gdb/testsuite/gdb.mi/mi2-var-cmd.exp               |    5 +
 gdb/testsuite/gdb.reverse/Makefile.in              |    2 +-
 .../gdb.reverse/i386-reverse.c}                    |   51 +-
 gdb/testsuite/gdb.reverse/i386-reverse.exp         |  288 +
 gdb/testsuite/gdb.stabs/configure                  | 3018 ++--
 gdb/testsuite/gdb.threads/killed.exp               |    2 +-
 gdb/testsuite/gdb.threads/manythreads.exp          |    2 +-
 gdb/testsuite/gdb.threads/staticthreads.exp        |    2 +-
 gdb/top.c                                          |  128 +-
 gdb/top.h                                          |    4 +
 gdb/typeprint.c                                    |    3 +-
 gdb/ui-file.c                                      |    6 +-
 gdb/ui-file.h                                      |    4 +-
 gdb/utils.c                                        |   11 +-
 gdb/valops.c                                       |   59 +-
 gdb/value.c                                        |  150 +-
 gdb/value.h                                        |   10 +-
 gdb/varobj.c                                       |   23 +-
 gdb/version.in                                     |    2 +-
 gdb/xtensa-tdep.c                                  |    6 +-
 include/ChangeLog-9103                             |    2 +-
 include/coff/ChangeLog                             |   15 +
 include/coff/go32exe.h                             |    6 +-
 include/coff/internal.h                            |   13 +-
 include/coff/ti.h                                  |   16 +-
 include/dwarf2.h                                   |    6 +
 include/elf/ChangeLog                              |   33 +
 include/elf/arm.h                                  |   16 +-
 include/elf/bfin.h                                 |   88 +-
 include/elf/common.h                               |   64 +-
 include/opcode/ChangeLog                           |   11 +
 include/opcode/hppa.h                              |    1 +
 include/opcode/tic30.h                             |    6 +-
 include/opcode/tic54x.h                            |   10 +-
 install-sh                                         |  517 +-
 intl/ChangeLog                                     |   10 +
 intl/aclocal.m4                                    |    5 +-
 intl/config.h.in                                   |    9 +-
 intl/configure                                     | 7851 ++++----
 intl/configure.ac                                  |    2 +-
 libdecnumber/ChangeLog                             |   17 +
 libdecnumber/aclocal.m4                            |    4 +-
 libdecnumber/config.in                             |   32 +-
 libdecnumber/configure                             |10161 ++++-------
 libdecnumber/configure.ac                          |    2 +-
 libdecnumber/decCommon.c                           |    2 +
 libdecnumber/decContext.c                          |    4 +
 libiberty/ChangeLog                                |   19 +
 libiberty/Makefile.in                              |   39 +-
 libiberty/config.in                                |   22 +-
 libiberty/configure                                |11200 ++++-------
 libiberty/configure.ac                             |    2 +-
 ltmain.sh                                          |  178 +-
 missing                                            |  104 +-
 mkinstalldirs                                      |    8 +-
 opcodes/ChangeLog                                  |  122 +
 opcodes/Makefile.am                                | 2195 +--
 opcodes/Makefile.in                                | 2695 +---
 opcodes/aclocal.m4                                 |  464 +-
 opcodes/config.in                                  |   34 +-
 opcodes/configure                                  |10411 +++++------
 opcodes/cris-dis.c                                 |    6 +-
 opcodes/i386-dis.c                                 |    4 +-
 opcodes/i386-gen.c                                 |    2 +-
 opcodes/i386-opc.h                                 |    6 +-
 opcodes/i386-tbl.h                                 |    2 +-
 opcodes/ia64-dis.c                                 |   12 +-
 opcodes/m68k-dis.c                                 |   71 +-
 opcodes/po/POTFILES.in                             |    3 +
 opcodes/tic30-dis.c                                |    6 +-
 opcodes/tic54x-dis.c                               |   24 +-
 opcodes/tic54x-opc.c                               |    6 +-
 opcodes/z8k-opc.h                                  |    4 +-
 opcodes/z8kgen.c                                   |   38 +-
 readline/ChangeLog.gdb                             |    7 +
 readline/configure                                 | 9769 ++++------
 readline/configure.in                              |    2 +
 readline/examples/rlfe/ChangeLog                   |    7 +
 readline/examples/rlfe/configure                   | 5970 +++---
 readline/examples/rlfe/configure.in                |    2 +
 sim/ChangeLog                                      |   13 +
 sim/arm/ChangeLog                                  |    7 +
 sim/arm/config.in                                  |    3 +
 sim/arm/configure                                  | 7122 ++++----
 sim/avr/config.in                                  |    3 +
 sim/avr/configure                                  | 6971 ++++----
 sim/common/ChangeLog                               |   22 +
 sim/common/aclocal.m4                              |   71 +-
 sim/common/config.in                               |    3 +
 sim/common/configure                               | 8573 ++++-----
 sim/common/configure.ac                            |   10 +-
 sim/configure                                      | 5241 +++---
 sim/configure.ac                                   |    1 +
 sim/cr16/ChangeLog                                 |    7 +
 sim/cr16/config.in                                 |    3 +
 sim/cr16/configure                                 | 7180 ++++----
 sim/cris/config.in                                 |   20 +-
 sim/cris/configure                                 | 7646 ++++----
 sim/d10v/ChangeLog                                 |    7 +
 sim/d10v/config.in                                 |    3 +
 sim/d10v/configure                                 | 7180 ++++----
 sim/erc32/ChangeLog                                |    7 +
 sim/erc32/config.in                                |    3 +
 sim/erc32/configure                                | 7259 ++++----
 sim/frv/ChangeLog                                  |    7 +
 sim/frv/config.in                                  |   20 +-
 sim/frv/configure                                  | 7438 ++++----
 sim/h8300/ChangeLog                                |    7 +
 sim/h8300/config.in                                |    3 +
 sim/h8300/configure                                | 7121 ++++----
 sim/igen/ChangeLog                                 |    7 +
 sim/igen/config.in                                 |    3 +
 sim/igen/configure                                 | 5886 +++---
 sim/iq2000/ChangeLog                               |    7 +
 sim/iq2000/config.in                               |   20 +-
 sim/iq2000/configure                               | 7432 ++++----
 sim/lm32/ChangeLog                                 |    7 +
 sim/lm32/config.in                                 |    3 +
 sim/lm32/configure                                 | 3935 ++---
 sim/m32c/ChangeLog                                 |   21 +
 sim/m32c/config.in                                 |   18 +
 sim/m32c/configure                                 | 6986 ++++----
 sim/m32c/configure.in                              |    2 +
 sim/m32c/main.c                                    |   29 +-
 sim/m32c/mem.c                                     |   16 +
 sim/m32r/ChangeLog                                 |    7 +
 sim/m32r/config.in                                 |   20 +-
 sim/m32r/configure                                 | 7436 ++++----
 sim/m68hc11/ChangeLog                              |    7 +
 sim/m68hc11/config.in                              |   20 +-
 sim/m68hc11/configure                              | 7585 ++++----
 sim/mcore/ChangeLog                                |    7 +
 sim/mcore/config.in                                |    3 +
 sim/mcore/configure                                | 7117 ++++----
 sim/mips/ChangeLog                                 |    7 +
 sim/mips/config.in                                 |   20 +-
 sim/mips/configure                                 | 8042 ++++-----
 sim/mn10300/ChangeLog                              |    7 +
 sim/mn10300/config.in                              |   20 +-
 sim/mn10300/configure                              | 7744 ++++----
 sim/moxie/ChangeLog                                |    7 +
 sim/moxie/config.in                                |   12 +
 sim/moxie/configure                                | 7031 ++++----
 sim/ppc/ChangeLog                                  |    7 +
 sim/ppc/config.in                                  |   36 +-
 sim/ppc/configure                                  | 9468 ++++-----
 sim/sh/ChangeLog                                   |    7 +
 sim/sh/config.in                                   |    3 +
 sim/sh/configure                                   | 7117 ++++----
 sim/sh64/ChangeLog                                 |    7 +
 sim/sh64/config.in                                 |   20 +-
 sim/sh64/configure                                 | 7432 ++++----
 sim/testsuite/ChangeLog                            |    4 +
 sim/testsuite/configure                            | 3220 ++--
 sim/testsuite/d10v-elf/ChangeLog                   |    4 +
 sim/testsuite/d10v-elf/configure                   | 3018 ++--
 sim/testsuite/frv-elf/ChangeLog                    |    4 +
 sim/testsuite/frv-elf/configure                    | 3018 ++--
 sim/testsuite/m32r-elf/ChangeLog                   |    4 +
 sim/testsuite/m32r-elf/configure                   | 3018 ++--
 sim/testsuite/mips64el-elf/ChangeLog               |    4 +
 sim/testsuite/mips64el-elf/configure               | 3018 ++--
 sim/v850/ChangeLog                                 |    7 +
 sim/v850/config.in                                 |   20 +-
 sim/v850/configure                                 | 7722 ++++----
 ylwrap                                             |   19 +-
 332 files changed, 170878 insertions(+), 198185 deletions(-)
 mode change 100644 => 100755 compile
 create mode 100644 gdb/jit.c
 create mode 100644 gdb/jit.h
 create mode 100644 gdb/testsuite/gdb.base/gdbvars.c
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inheritance.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inheritance.exp
 copy gdb/{python/python.h => testsuite/gdb.reverse/i386-reverse.c} (52%)
 create mode 100644 gdb/testsuite/gdb.reverse/i386-reverse.exp

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 64dc5aa..52232d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,149 @@
+2009-08-31  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+	* ltmain.sh (func_normal_abspath): New function.
+	(func_relative_path): Likewise.
+	(func_mode_help): Document new -bindir option for link mode.
+	(func_mode_link): Add new -bindir option, and use it to place
+	output DLL if specified.
+
+2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* configure.ac (AC_PREREQ): Bump to 2.64.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* README-maintainer-mode: Point directly to upstream locations
+	for autoconf, automake, libtool, gettext, instead of copies on
+	sources.redhat.com.  Document required versions.
+	* configure.ac: Do not substitute datarootdir, htmldir,
+	pdfdir, docdir.  Do not process --with-datarootdir,
+	--with-htmldir, --with-pdfdir, --with-docdir.
+	* configure: Regenerate.
+
+	* configure: Regenerate.
+
+	* compile: Sync from Automake 1.11.
+	* depcomp: Likewise.
+	* install-sh: Likewise.
+	* missing: Likewise.
+	* mkinstalldirs: Likewise.
+	* ylwrap: Likewise.
+
+2009-08-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* configure.ac: Call AC_DISABLE_OPTION_CHECKING.
+	(baseargs): Add --disable-option-checking.
+	* configure: Regenerate.
+
+	* Makefile.def (configure-target-libiberty): Depend on
+	all-binutils and all-ld.
+	(configure-target-newlib): Likewise.
+	* Makefile.in: Regenerate.
+
+2009-08-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Sync with GCC, merge:
+
+	2009-07-31  Christian Bruel  <christian.bruel@st.com>
+
+	* configure.ac (sh*-*-elf): Don't add target-libgloss to noconfigdirs.
+	* configure: Regenerate.
+
+	2009-07-06  Ian Lance Taylor  <iant@google.com>
+
+	* configure.ac: Add missing comma in AC_ARG_WITH(boot-libs).
+	* configure: Rebuild.
+
+	2009-06-26  Steve Ellcey  <sje@cup.hp.com>
+
+	PR bootstrap/40338
+	* configure.ac (comparestring): Create new variable.
+	* Makefile.tpl (comparestring): Use to skip some comparisions.
+	* configure: Regenerate.
+	* Makefile.in: Regenerate.
+
+	2009-06-23  Ian Lance Taylor  <iant@google.com>
+
+	* configure.ac: Add --enable-build-with-cxx.  When set, add c++ to
+	boot_languages.  Only bootstrap target libraries listed in
+	target_libs for some boot language.  Add --with-stage1-ldflags,
+	--with-stage1-libs, --with-boot-ldflags, --with-boot-libs.  Remove
+	with_host_libstdcxx from ppllibs.  Only add -fkeep-inline-functions
+	if not building with C++.
+	* Makefile.def: For target_module libstdc++-v3, set bootstrap=true.
+	* Makefile.tpl (STAGE1_LDFLAGS, STAGE1_LIBS): New variables.
+	(POSTSTAGE1_LDFLAGS, POSTSTAGE1_LIBS): New variables.
+	(HOST_EXPORTS): Add STAGE1_LDFLAGS to LDFLAGS.  Export HOST_LIBS.
+	(POSTSTAGE1_HOST_EXPORTS): Set CXX and CXX_FOR_BUILD.  Add
+	POSTSTAGE1_LDFLAGS to LDFLAGS.  Export HOST_LIBS.
+	(POSTSTAGE1_FLAGS_TO_PASS): Likewise.
+	* configure, Makefile.in: Rebuild.
+
+	2009-06-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* configure.ac: Detect MPC in default directory.
+	* configure: Regenerate.
+
+	2009-06-02  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* configure.ac (powerpc-*-aix*, rs6000-*-aix*): Add target-newlib
+	to noconfdirs.
+	* configure: Regenerate.
+
+	2009-05-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* Makefile.def: Add MPC support and dependencies.
+	* configure.ac: Likewise.  Reorganize GMP/MPFR checks.
+
+	* Makefile.in, configure: Regenerate.
+
+	2009-05-24  Nicolas Roche  <roche@adacore.com>
+
+	* Makefile.tpl (compare-target): Skip ./ada/*tools directories.
+	* Makefile.in: Regenerate.
+
+	2009-05-21  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+	* configure.ac (cygwin noconfigdirs):  Remove libgcj.
+	* configure:  Regenerate.
+
+	2009-05-07  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+	* configure.ac ($with_ppl):  Default to no if not supplied.
+	($with_cloog):  Likewise.
+	configure:  Regenerate.
+
+	2009-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	PR bootstrap/39739
+	* configure.ac (extra_mpfr_configure_flags): Set and AC_SUBST.
+	* Makefile.def (module=mpfr): Use extra_mpfr_configure_flags.
+
+	* configure, Makefile.in: Regenerate.
+
+	2009-04-14  Jakub Jelinek  <jakub@redhat.com>
+
+	* configure.ac: Change copyright header to refer to version
+	3 of the GNU General Public License and to point readers at the
+	COPYING3 file and the FSF's license web page.
+	* Makefile.def: Likewise.
+	* Makefile.tpl: Likewise.
+	* Makefile.in: Regenerate.
+
+	2009-04-09  Jack Howarth  <howarth@bromo.med.uc.edu>
+
+	* configure.ac: Restore match for darwin9 or later. Use double
+	brackets since regeneration eats one pair.
+	* configure: Regenerate.
+
+2009-08-18  Christopher Faylor  <me+cygwin@cgf.cx>
+
+	* MAINTAINERS: Perform some obvious fixups.
+
+2009-08-17  Ben Elliston  <bje@au.ibm.com>
+
+	* config.sub, config.guess: Update from upstream sources.
+
 2009-08-06  Michael Eager <eager@eagercon.com>
 
 	* configure.ac: Add Microblaze target.
diff --git a/MAINTAINERS b/MAINTAINERS
index 3c2c6f1..a471c90 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -10,20 +10,20 @@ Makefile.*; configure; configure.ac; src-release
 	be kept in sync with their counterparts in the GCC
 	repository.  Also please notify the following of
 	any committed patches:
-		binutils@sources.redhat.com
-		gdb-patches@sources.redhat.com
+		binutils@sourceware.org
+		gdb-patches@sourceware.org
 
 bfd/; binutils/; elfcpp/; gas/; gold/; gprof/; ld/; opcodes/; cpu/;
 BFD's part of include/
 
-	binutils: http://sources.redhat.com/binutils/
-	Patches to binutils@sources.redhat.com.
+	binutils: http://sourceware.org/binutils/
+	Patches to binutils@sourceware.org.
 	Please notify the following of any interface changes:
-		gdb-patches@sources.redhat.com
+		gdb-patches@sourceware.org
 
 cgen/; cgen parts of opcodes/, sim/ & include/
-	cgen: http://sources.redhat.com/cgen/
-	Patches to cgen@sources.redhat.com
+	cgen: http://sourceware.org/cgen/
+	Patches to cgen@sourceware.org
 	May need separate opcodes/ or sim/ approval for
 		commits of regenerated files there.
 
@@ -35,15 +35,15 @@ config.guess; config.sub; readline/support/config.{sub,guess}
 	in via a merge.  When updating any of these files, please be
 	sure to update all of them.
 	Please notify the following of any committed patches:
-		binutils@sources.redhat.com
-		gdb-patches@sources.redhat.com
+		binutils@sourceware.org
+		gdb-patches@sourceware.org
 
 depcomp
         Send bug reports and patches to bug-automake@gnu.org.
 
 gdb/; readline/; sim/; GDB's part of include/
 	GDB: http://www.gnu.org/software/gdb/
-	Patches to gdb-patches@sources.redhat.com.
+	Patches to gdb-patches@sourceware.org.
 	See also gdb/MAINTAINERS and sim/MAINTAINERS.
 
 include/
@@ -81,12 +81,12 @@ symlink-tree
 	See libiberty.
 
 newlib/; libgloss/
-	http://sources.redhat.com/newlib/
-	Patches to newlib@sources.redhat.com.
+	http://sourceware.org/newlib/
+	Patches to newlib@sourceware.org.
 
 sid/; SID's part of cgen/
-	sid: http://sources.redhat.com/sid/
-	Patches to sid@sources.redhat.com
+	sid: http://sourceware.org/sid/
+	Patches to sid@sourceware.org
 
 texinfo/texinfo.tex
 	texinfo: http://ftp.gnu.org.
@@ -95,14 +95,13 @@ texinfo/texinfo.tex
 	Please not use GCC's texinfo.  Please do not import texinfo.
 
 tcl/; tix/; itcl/; tk/; libgui/
-	insight: http://sources.redhat.com/insight/
-	Contact insight@sources.redhat.com.
+	insight: http://sourceware.org/insight/
+	Contact insight@sourceware.org.
 
 winsup/
-	cygwin: http://sources.redhat.com/cygwin
-	Patches to cygwin-patches@sources.redhat.com.
-	General discussion cygwin@sources.redhat.com.
-	See also winsup/MAINTAINERS.
+	cygwin: http://sourceware.org/cygwin
+	Patches to cygwin-patches@cygwin.com.
+	General discussion cygwin@cygwin.com.
 
 config-ml.in; makefile.vms; mkdep; setup.com;
 etc/; utils/;
@@ -117,11 +116,9 @@ config/
 	counterparts in the GCC repository.
 
 modules file
-	Obviously changes to this file should not go through
-	overseers@sources.redhat.com.  If you understand the file
-	format (or can cut-and-paste existing entries), modify it. If
-	it scares you, get someone who does understand it to help you.
-	Be prepared to fix it if you do break it.
+	If you understand the file format (or can cut-and-paste existing
+	entries), modify it. If it scares you, get someone who does
+	understand it to help you.  Be prepared to fix it if you do break it.
 
 /* Local variables: */
 /* change-log-default-name: "/dev/null" */
diff --git a/Makefile.def b/Makefile.def
index 5cda3a3..30f9b0a 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -9,7 +9,7 @@ AutoGen definitions Makefile.tpl;
 //
 // This file is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// 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,
@@ -18,8 +18,8 @@ AutoGen definitions Makefile.tpl;
 // 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.
+// along with this program; see the file COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
 
 
 // "missing" indicates that that module doesn't supply
@@ -66,10 +66,13 @@ host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
 	        host="none-${host_vendor}-${host_os}";
 		target="none-${host_vendor}-${host_os}"; };
 host_modules= { module= mpfr; lib_path=.libs; bootstrap=true;
-		extra_configure_flags='--disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp';
+		extra_configure_flags='--disable-shared @extra_mpfr_configure_flags@';
 		no_install= true; 
 	        host="none-${host_vendor}-${host_os}";
 		target="none-${host_vendor}-${host_os}"; };
+host_modules= { module= mpc; lib_path=.libs; bootstrap=true;
+		extra_configure_flags='--disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@';
+		no_install= true; };
 host_modules= { module= ppl; lib_path=.libs; bootstrap=true;
 		extra_configure_flags='--disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/';
 		no_install= true; 
@@ -139,7 +142,10 @@ host_modules= { module= libtermcap; no_check=true;
 host_modules= { module= utils; no_check=true; };
 host_modules= { module= gnattools; };
 
-target_modules = { module= libstdc++-v3; lib_path=.libs; raw_cxx=true; };
+target_modules = { module= libstdc++-v3;
+		   bootstrap=true;
+		   lib_path=.libs;
+		   raw_cxx=true; };
 target_modules = { module= libmudflap; lib_path=.libs; };
 target_modules = { module= libssp; lib_path=.libs; };
 target_modules = { module= newlib; };
@@ -313,6 +319,7 @@ dependencies = { module=all-gcc; on=all-libiberty; hard=true; };
 dependencies = { module=all-gcc; on=all-gmp; };
 dependencies = { module=all-gcc; on=all-intl; };
 dependencies = { module=all-gcc; on=all-mpfr; };
+dependencies = { module=all-gcc; on=all-mpc; };
 dependencies = { module=all-gcc; on=all-ppl; };
 dependencies = { module=all-gcc; on=all-cloog; };
 dependencies = { module=all-gcc; on=all-build-texinfo; };
@@ -338,6 +345,7 @@ dependencies = { module=all-fixincludes; on=all-libiberty; };
 dependencies = { module=all-gnattools; on=all-target-libada; };
 
 dependencies = { module=configure-mpfr; on=all-gmp; };
+dependencies = { module=configure-mpc; on=all-mpfr; };
 dependencies = { module=configure-ppl; on=all-gmp; };
 dependencies = { module=configure-ppl; on=all-mpfr; };
 dependencies = { module=configure-cloog; on=all-ppl; };
@@ -539,6 +547,10 @@ lang_env_dependencies = { module=qthreads; };
 dependencies = { module=all-target-libgloss; on=all-target-newlib; };
 dependencies = { module=all-target-winsup; on=all-target-libiberty; };
 dependencies = { module=all-target-winsup; on=all-target-libtermcap; };
+dependencies = { module=configure-target-libiberty; on=all-binutils; };
+dependencies = { module=configure-target-libiberty; on=all-ld; };
+dependencies = { module=configure-target-newlib; on=all-binutils; };
+dependencies = { module=configure-target-newlib; on=all-ld; };
 
 languages = { language=c;	gcc-check-target=check-gcc; };
 languages = { language=c++;	gcc-check-target=check-c++;
diff --git a/Makefile.in b/Makefile.in
index 104d69c..6744b58 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -8,7 +8,7 @@
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# 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,
@@ -17,8 +17,8 @@
 # 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.
+# along with this program; see the file COPYING3.  If not see
+# <http://www.gnu.org/licenses/>.
 #
 
 # First, test for a proper version of make, but only where one is required.
@@ -117,6 +117,19 @@ BUILD_SUBDIR = @build_subdir@
 # directories built for the build system.
 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
 
+# Linker flags to use on the host, for stage1 or when not
+# bootstrapping.
+STAGE1_LDFLAGS = @stage1_ldflags@
+
+# Libraries to use on the host, for stage1 or when not bootstrapping.
+STAGE1_LIBS = @stage1_libs@
+
+# Linker flags to use for stage2 and later.
+POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
+
+# Libraries to use for stage2 and later.
+POSTSTAGE1_LIBS = @poststage1_libs@
+
 # This is the list of variables to export in the environment when
 # configuring any subdirectory.  It must also be exported whenever
 # recursing into a build directory in case that directory's Makefile
@@ -182,7 +195,7 @@ HOST_EXPORTS = \
 	CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
 	DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
 	LD="$(LD)"; export LD; \
-	LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
+	LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
 	NM="$(NM)"; export NM; \
 	RANLIB="$(RANLIB)"; export RANLIB; \
 	WINDRES="$(WINDRES)"; export WINDRES; \
@@ -197,6 +210,7 @@ HOST_EXPORTS = \
 	OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
 	RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
 	TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
+	HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
 	GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
 	GMPINC="$(HOST_GMPINC)"; export GMPINC; \
 	PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
@@ -215,8 +229,16 @@ POSTSTAGE1_HOST_EXPORTS = \
 	  -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
 	  $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
 	CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
-	GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND \
-	LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
+	CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
+	  -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
+	  -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
+	  -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
+	  -I$$r/$(srcdir)/libstdc++-v3/libsupc++ \
+	  -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; export CXX; \
+	CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD; \
+	GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
+	LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
+	HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
 
 # Target libraries are put under this directory:
 TARGET_SUBDIR = @target_subdir@
@@ -506,7 +528,7 @@ TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
 
 # This is the list of directories that may be needed in RPATH_ENVVAR
 # so that programs built for the host machine work.
-HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_ppl)$(HOST_LIB_PATH_cloog)
+HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_ppl)$(HOST_LIB_PATH_cloog)
 
 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
 @if gcc
@@ -534,6 +556,11 @@ HOST_LIB_PATH_mpfr = \
   $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
 @endif mpfr
 
+@if mpc
+HOST_LIB_PATH_mpc = \
+  $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
+@endif mpc
+
 @if ppl
 HOST_LIB_PATH_ppl = \
   $$r/$(HOST_SUBDIR)/ppl/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/.libs:
@@ -685,8 +712,11 @@ X11_FLAGS_TO_PASS = \
 # Flags to pass to stage2 and later makes.
 
 POSTSTAGE1_FLAGS_TO_PASS = \
-	CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" GNATBIND="$${GNATBIND}" \
-	LDFLAGS="$(BOOT_LDFLAGS)" \
+	CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
+	CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
+	GNATBIND="$${GNATBIND}" \
+	LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)" \
+	HOST_LIBS="$(POSTSTAGE1_LIBS)" \
 	"`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
 
 # Flags to pass down to makes which are built with the target environment.
@@ -770,6 +800,7 @@ configure-host:  \
     maybe-configure-gettext \
     maybe-configure-gmp \
     maybe-configure-mpfr \
+    maybe-configure-mpc \
     maybe-configure-ppl \
     maybe-configure-cloog \
     maybe-configure-gnuserv \
@@ -920,6 +951,9 @@ all-host: maybe-all-gmp
 @if mpfr-no-bootstrap
 all-host: maybe-all-mpfr
 @endif mpfr-no-bootstrap
+@if mpc-no-bootstrap
+all-host: maybe-all-mpc
+@endif mpc-no-bootstrap
 @if ppl-no-bootstrap
 all-host: maybe-all-ppl
 @endif ppl-no-bootstrap
@@ -989,7 +1023,9 @@ all-host: maybe-all-gnattools
 
 .PHONY: all-target
 
+@if target-libstdc++-v3-no-bootstrap
 all-target: maybe-all-target-libstdc++-v3
+@endif target-libstdc++-v3-no-bootstrap
 all-target: maybe-all-target-libmudflap
 all-target: maybe-all-target-libssp
 all-target: maybe-all-target-newlib
@@ -1056,6 +1092,7 @@ info-host: maybe-info-gawk
 info-host: maybe-info-gettext
 info-host: maybe-info-gmp
 info-host: maybe-info-mpfr
+info-host: maybe-info-mpc
 info-host: maybe-info-ppl
 info-host: maybe-info-cloog
 info-host: maybe-info-gnuserv
@@ -1167,6 +1204,7 @@ dvi-host: maybe-dvi-gawk
 dvi-host: maybe-dvi-gettext
 dvi-host: maybe-dvi-gmp
 dvi-host: maybe-dvi-mpfr
+dvi-host: maybe-dvi-mpc
 dvi-host: maybe-dvi-ppl
 dvi-host: maybe-dvi-cloog
 dvi-host: maybe-dvi-gnuserv
@@ -1278,6 +1316,7 @@ pdf-host: maybe-pdf-gawk
 pdf-host: maybe-pdf-gettext
 pdf-host: maybe-pdf-gmp
 pdf-host: maybe-pdf-mpfr
+pdf-host: maybe-pdf-mpc
 pdf-host: maybe-pdf-ppl


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2009-05-03 13:18 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2009-05-03 13:18 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  051a16b86b015b4dabba1acd2415f3170ece0076 (commit)
       via  632be1c6e5cf0bc6155647352171b7817d9ecf0e (commit)
       via  b12d3a87fc83e2d2a9c2416400de2016fb0248be (commit)
       via  17fd48da0d006c5d140cd699726ddd88967a9325 (commit)
       via  94c1e35d683b34ea5e1b9064ad601954b21225c5 (commit)
       via  aaf834e7d56a0f6e7f77d1711da9937e2486dff6 (commit)
       via  04000f5375b177b77d85fbeb03d876a470f39aa4 (commit)
       via  ef8c8a0670bd4a2b0281ddd471044ad5479fff56 (commit)
       via  b235d1e0e58ded935258d19e7505b9d2e4f3f077 (commit)
       via  b384b6ca636d168f1468dc9becb6e2150a72c590 (commit)
       via  eb6e340a0b52740977783301f3ec39a099d7529f (commit)
       via  ce8c3dd4ad06d16a33e938a9b33b48ebc2a69c00 (commit)
       via  3d8a345edc4f27727dc06dcf4597168ed7d820fc (commit)
       via  ca1328fd45fe28c6134f0dfacabeb32139537e54 (commit)
       via  473cd1a4f770f42123b32bf3a737a7503a291e0b (commit)
       via  fff6ab3c1558830440bf0798494b0b3d7435b4c8 (commit)
       via  adc93c1a641f3c65e7bbe470982a396e2a588f86 (commit)
       via  8c5e528fd1d6d05c651d2d15a6296a7cad60a57d (commit)
       via  0c3b9f4a75e5ab7fe2f895d0c2c02bbc4530539f (commit)
       via  6fe1b3b027b369dc56b987615b70b522156ad915 (commit)
       via  4545682e721f1b3d4ce75e275e9a153d0425d662 (commit)
       via  9d43a2998fc4464086d0aa58fbce5c3b87979d48 (commit)
       via  860206062ffe7f57c44082e5b32eaab67bfc3eed (commit)
       via  19f5f780484f47e8379fcaa269f4760ed808cdfc (commit)
       via  a52c6b99eb1d48a0e6ffc6e56970aee55fb45551 (commit)
       via  b192f5319e20e3cd5e18a3d92402b412e4053af0 (commit)
       via  b8c02aa7069a6062350af7ce5833231cb0fc7c79 (commit)
       via  91fcb22fb504acb8885e4a00f3f02488367b8ec7 (commit)
       via  bfca83c43c764c0984c2dea97925ac31cd1a6d22 (commit)
       via  f3ca463f7ee6b21b42af350263ef65f7f9bd8648 (commit)
       via  a347f4d82118b3e0ff81578b0fc464f283f8fde6 (commit)
       via  5234f6c44ab12ae880671f3536ff43b642a8dd30 (commit)
       via  13b14787a9d3be0bc8ac1aef98546032f82f12c7 (commit)
       via  f9ca5994791d49258abe541d47724e905e5eb8b0 (commit)
       via  5439abade6dcbe08ff800812da6d2ce7304d0454 (commit)
       via  6b07c1182f2919e2b6222d5f6b97050890f7fca8 (commit)
       via  f881f2c23be83a13883b6ffdf86547ec06d9efd3 (commit)
       via  5be9a62b043b2644b0199cf4c9654be932b95daa (commit)
       via  9dc7e48b685da9abb9df2c266826616554d3bd50 (commit)
       via  28247708857ca8204e5e5875763b6bcd2de6a123 (commit)
       via  2399dc200feeba3c1ac78ce2404f6b156b393c31 (commit)
       via  4a012a7a733d31eb590730b836690cefd83c67dc (commit)
       via  2f325cb2013dd1928a4efe5afdd43c434a953334 (commit)
       via  129f645eb3e30180517bbbf4e66b373d3d32d840 (commit)
       via  0c8442ac4709ba562f6cfe2ef4d8ab0477ade042 (commit)
       via  d0194c6e1be20c223824e1b1648b4ff0543b1335 (commit)
       via  0e4455a61d04ca69aeac2d3f1a3526df3b4d1a01 (commit)
       via  d520a69559551da909e4f544eb36e6e31895dfba (commit)
       via  3cd8330723a4ce2876c0d882e9ba42d274c41dce (commit)
       via  a2302de085680c27d7e61f01ac85ed4b8497016f (commit)
       via  569ffd2c6783d7b3eaf1ebca34eacfaef55ba368 (commit)
       via  5b754aed7e552fb5dc279a43778e645fff963c63 (commit)
       via  9733feda3307b74cbb8baa0754b984440aa2118d (commit)
       via  2a46ee8cc0cd02dc7657e9282c8a1efd39e882ad (commit)
       via  1aa517c5b37b80240c6bdca85cd2d405c997eb2b (commit)
       via  24f586426fd840b1a61f8ee337d8a669d480c3f0 (commit)
       via  25e7efebf854063b972aa1ef1db9536405c104eb (commit)
       via  2c48202c2c56afdd52ecda1cd579e793aa33150a (commit)
       via  aaea5a06cc659c0642131b604f1f0fc18cb7a3d3 (commit)
       via  c9f10fca16d924d653e9b65a8b0637e678dac17e (commit)
       via  15db65ca22ce31f560e6d11783a435509c41fe62 (commit)
       via  ad41c1200c6e5364d622811f213e5dd5a574ede6 (commit)
       via  fa34d2ad0bad663d44c1d0a3a32ba14e42736b25 (commit)
       via  fa4366e13c48c3ea223ba4c476cfd8e3565699e5 (commit)
       via  013b58244af4ab7472a15652a7e3ec3c2a0828bb (commit)
       via  07f62cf76e062ce3e3dfd4da45d35697cc161a05 (commit)
       via  2deebbe8581573e6fa0d2339005c535464914d68 (commit)
       via  74b763d37e4bd303a8a5c8c29c2fe59abd6b3fc8 (commit)
       via  f6bb2f018129f0763aeaa6c94a14b9c1f2cc4391 (commit)
       via  8446fa354a01fc4c0ca9b51ab3193c96165a2bbb (commit)
       via  658f8d2c297f062d4d01d7abac28b245b86e52bb (commit)
       via  524302d135bd8e7bcb8aeab486c959a33aff9d00 (commit)
       via  7a809a38d23d646522a2d935bc153a769a82427e (commit)
       via  2cd3374d2a69e60b7631f0f418a73a388ee1413d (commit)
       via  d1bc75f8ad659c2f3452aa8e378542bc0d2dc664 (commit)
       via  84b387776b43c6682aa1dd887138d535eb8a3a24 (commit)
       via  eb014281e8c8a39595fac74b03f384e3df3e23e0 (commit)
       via  5e8937d41720cc274067b00b221387f4ab03172d (commit)
       via  ecd1badb7ab07d07bdc6b6408e82ccb85e2db72b (commit)
       via  5931ed57c70146f060f5be66432fb0bf5d698388 (commit)
       via  1f44a0325839c962f5d6218137eedc4bf8ffcc82 (commit)
       via  631207fc2dfdca71a7486d60801a51260da76b3d (commit)
       via  f525e6781232de2f2294e3b7cdad7a651d07dd46 (commit)
       via  658a35c074b50ec244b87e2a432191633acb2450 (commit)
       via  6cf9e6eeb7a6cd311abfe9d76197b8a66e70c7b5 (commit)
       via  7cf3956abffb5b35508e4d2dcda4a170819458cf (commit)
       via  74d014327a14fc6f8e891e1544514341e347f9cb (commit)
       via  4aaf308b0d6d5abbe09d8c63875851772982b9ee (commit)
       via  45ad5976ea8f60404d222912a16afce2f83f12f5 (commit)
       via  b8a70b755bd2b8383ba0e4f2f8e36dae90b8de8a (commit)
       via  03f92190d0ed77f1363337a013f218e19c2ca5f6 (commit)
       via  bfec9d16d0fb4167df909bfdfb91623cfcc7b194 (commit)
       via  17c2b4e526b5c17d4c93e289db9de1817b63a72e (commit)
       via  7d75d19418e5a4a67fc4d11d3b4fcad32d9368c8 (commit)
       via  9727f0b23c153de60528c433b1362f1f5d1d748a (commit)
       via  d344514af6d15a4bd219e58fa62548cb80313a05 (commit)
       via  bb11f7d0844479e47ca55a30333d463ee909766e (commit)
       via  896aa22440ea77f478bd68da376d5873a97647ee (commit)
       via  6662d7d4c43db0555f07713e98167b8e318241de (commit)
       via  439926195159e43c69d7fbf024d85bbcf82ed6b8 (commit)
       via  ecd38f826310ce4f778f30c85ccfb80a8c830020 (commit)
       via  e9974e9d4117056143b470c3ef06b397be5326cf (commit)
       via  3675b7bdcb1da902dea25982ec0021fd6adcf2b7 (commit)
       via  9b3ef1c3b39b0bdb56b787fafc2a2166315ddd51 (commit)
       via  e227be8456719926e0a94f8aac03670a0eefd0a5 (commit)
       via  3981af04d0feb2737273b8b2428521df3bacb3a0 (commit)
       via  e91002b592406002edf406cbb27dd4adeb15cfe6 (commit)
       via  1d44bf432360bfb2e9d448ea7abf3d7791409929 (commit)
       via  24cbb2f59601365042b0ce079c888dff068b94dc (commit)
       via  63ea04ca40a29ab5729a21b444bc781e1eafbdd2 (commit)
       via  c93fab1bfecb057fe9e5d5f0b6e27ca62045ef85 (commit)
       via  29190ab7f240e76af935e7b4d29f35c10cfccc14 (commit)
       via  9e5d623dd4395ba793221e264927731d0f579e85 (commit)
       via  4e2cf0c1b8dc9d4baba731b96b48a0978e14413d (commit)
       via  345c85ba5e4ef630e73b27a17cac2ec295b909c2 (commit)
       via  0350c1e96b17869365e8adda6372578f6b0e2d19 (commit)
       via  65bb31f430dd2e285583c69d2d0878af6ce84e72 (commit)
       via  5899ddcdfa60286b434f4a94730b1d9d459f81a7 (commit)
       via  5de3d8309707663e152a6f404572eb82c615255d (commit)
       via  efad8a14fcd62f9ab9183e3f202c9a90c83b2546 (commit)
       via  61cefd3a87f01c7618e60640cedbbeb254586d66 (commit)
       via  fbad6ffb9c66b7a9900d0642ee9e8543fbd7288a (commit)
       via  c8a72d1af8dc3bfffdde4f480ab0a0d51b4a1319 (commit)
       via  404bf5b72f6ed6859dccce5a93fbafe8896ff9f1 (commit)
       via  d1412ad971a451378f218e3f19d3526f21057235 (commit)
       via  7cf431690113efd48c887d9fda54f98091093794 (commit)
       via  2931783d51fa2b396f506ddf570a6683ac71ddc5 (commit)
       via  5d73d87974fb92a61c2c5c138cd36610fde2bcf4 (commit)
       via  edf9d226d9191de69e7fb129d88bbebb1a889723 (commit)
       via  7a1b5fb8f2285a1b1e5bd7d5f5914e02dec6a34e (commit)
       via  530126cd584c14e55ca2cb5bbc30023b58d3b66e (commit)
       via  bf211d38d3cbf933d8e17df313f6d89bd3e0f79f (commit)
       via  6a7ae005013413bf0057587b749ef0597f912369 (commit)
       via  5fa62989fa79223eefd13e53772752040491c93e (commit)
       via  00e86ec9a2ab3e4c5566079e6de9a2d8701ebd64 (commit)
       via  92f8d12cc973aba0167aa39e63aed8c1151bbbd2 (commit)
       via  7b541b57dc1e37a3811adacb9adfed38d4dc204e (commit)
       via  62205948f9b584ac7ed6cb83bca111ee2b1b6e84 (commit)
       via  759792b7eeaf3a8758f1a8822c16f00c3f71a544 (commit)
       via  af5a591f5dd272bcd75b555cd8373f9bf730737a (commit)
       via  98ef0e955167c52901cf79f46a7290ed7076a929 (commit)
       via  7153275d0e7343839a7fe7cac957a6eff7f76d5c (commit)
       via  3bea577f45b61b8b4947ac2417005fc1f551f8ef (commit)
       via  9a699cf8afd57133b773c4a9361a0f690af5c58f (commit)
       via  7d17e2337401bb302a22f9c7fdad73cd7a914a87 (commit)
       via  a224e6ccc94981b8a0828be3c3d21f4541d52128 (commit)
       via  26d4ef2df7a76cd289b89889169daa7911881672 (commit)
       via  3c767f84e128752bae02a1d74d3fb09e5b1c9d7c (commit)
       via  ec69b3c41eb9a1f3167e4551a05d27bd6be027c3 (commit)
       via  c5bb7e969b994edce20267a63ee04f36e8f9620d (commit)
       via  8899d4331cfc4aee5a6edd360e76f191b903f071 (commit)
       via  da4bf6986d6653797ce70d5b7066a8067cc53dfe (commit)
       via  4134335ba0d9d44095d86a22231651c718fd32ce (commit)
       via  24113834628253bfe036c4fe9d23ea4d53c235d6 (commit)
       via  e8891fa40b3f73f1152032f62aba8b1b411849a4 (commit)
       via  e04510d64f511214faefa919ad8c9a42159419aa (commit)
       via  35f32120ad15a76ef2b14a33f969125d322e6184 (commit)
       via  b26ec9faecb98fe4bd3999b873037036508f6b02 (commit)
       via  2ef39d9944a919946a2fdbf42f004e77ae19ade4 (commit)
       via  b2fe62372a27119ef2284a92c445914a28990477 (commit)
       via  1307cd2ae0a523ceb73ec390d8362a757f94a660 (commit)
       via  6865e2736c985c987d818e25208d6d63b3460d45 (commit)
       via  e6b0c1ad0917384d1260865e7b20c6f9cb10f117 (commit)
       via  841d691fed9a8fc9db1949ecb229b384e41bef15 (commit)
       via  d4e5cee56a2738ae504562fec162bb3819279d51 (commit)
       via  acf186171ca3ebd5961e994bdb9e71360c714e35 (commit)
       via  d33bf9563716b425558fec32234086b9f9d7d1eb (commit)
       via  948bf30c312ce74bf7f515ad95b0f783efd84fdf (commit)
       via  9ed41d50e43895863854bde267ab1842e4dc477c (commit)
       via  8ecc6922cac67b2bee18e162cfcdc69d5938ffd5 (commit)
       via  0ebbe3ae9e562b5039b4323e61d44df41fc915db (commit)
       via  ac4b4de77049be06aa3ee102a79af90bd77fffd5 (commit)
       via  d5d17740486ad1e5324beceeba57f59941d7bbed (commit)
       via  9a2eeb81a22edf6760efb1389cb58b8ea7bf8ff7 (commit)
       via  2b75ea4b9590089a7a907ef88c5e8a1d75a56d3c (commit)
       via  da573d42232a05b5ca86048af6e08784158791c4 (commit)
       via  39ee73fab9f2e8f3fa03642a2d2622b7c49b312b (commit)
       via  bfa964f289df99884e9cb623e955f6281df67c7a (commit)
       via  0db0b83dcabe31eb1b62a382906daf3bd4516931 (commit)
       via  648da326b4f6154d38d6b33467cc59995910b017 (commit)
       via  7eeead7a420178296192d6f68ab3f5801f37b72a (commit)
       via  b589d11dd7dbe4f6b003b89b5775af7351be0cce (commit)
       via  8995495e350f6e655aa317f3575927be901c021d (commit)
       via  1d0d42a6ee9d864a760f8845ab3106c027fc8ada (commit)
       via  baa72fa0d5ac0f8d080211e32f53a94721756473 (commit)
       via  db5a5859b593fe205b9cba3a059f55a44d1a2a63 (commit)
       via  033e719dfdb4b493bfd695d6160b8bbf769bcd50 (commit)
       via  9313292cc01b0b0a837c35184a7c4db427ceae27 (commit)
       via  3e226ec735dd1bfd775183462870e6d771f8f82d (commit)
       via  66ba0837d6c589b2e6cac11d7b9748aeec2adaa1 (commit)
       via  551bf58597015fed8ae48576b4569a1c60b6c865 (commit)
       via  d75e82657af0bb09d60974367fa8920daf220461 (commit)
       via  8e119381fedf5fe17122d8b04d902389867eb5d8 (commit)
       via  fd6d1d677c9fcdac98da7e1a535e96391677048d (commit)
       via  f76c85a6b66b32d852962627a92cfac16a0528b7 (commit)
       via  b686df9e6e345b22074ceed77dcb86f4e361ded2 (commit)
       via  1f5ab9da427da577af7205b8c9b8454a8e9d1795 (commit)
       via  aae9c797033389c122e7f26c0f4bab9d0dcc1aad (commit)
       via  a8e0f06de098484c540277a6f7cb6572899db65f (commit)
       via  24bb44fb45020ab5472b36acfee7a21e4d176434 (commit)
       via  21e1003b5358851e61c2903fb2b0bf3404d696b9 (commit)
       via  ad297f48e009cbdde4a37d13632d540554fd646b (commit)
       via  56c728254d81aa94cf053346429fb316a4d21758 (commit)
       via  ca17ed0d8f5a3ce133301760ac31c6ec3481a897 (commit)
       via  8e12ad08281ab7c3143398ae40a582464c650b3a (commit)
       via  b33a0273582fa93b7a90b662225ab22c481b8d99 (commit)
       via  921d9e38a0b0bc74488722b33f9f57e3344f8cc9 (commit)
       via  717db4d7eb75eba18e2aff29ea7b2863f80b0e60 (commit)
       via  a48297a9850390ca39cefffb604ff542c46e0a8b (commit)
       via  87aa5dddd46d4b796d89037003dd1e7804dae1b1 (commit)
       via  d2285dc704228b13702bcba935e33f2128c929e0 (commit)
       via  b139c689051992a369e32fa3a4ed2d4f87ee4024 (commit)
       via  6407656e8041ddff26ae218bde1b892302699d8c (commit)
       via  21fde43c54c9ed7790684b3ad25a547d00f8f0a1 (commit)
       via  09326346a4afccb09444836b5516a85c00e278e9 (commit)
       via  0d1b5840a9cf65a783c2b5249504313eb97f19ec (commit)
       via  60d9c0d98008c80bea519229782ea7c43d467e35 (commit)
       via  f5a6970619ce5124d12b9b4f9a0cc01ac2bce57e (commit)
       via  963f2a6a3f0104843cfad2062f3552f72693ec2e (commit)
      from  874b29252d3d6cb19bda0f7979256c3ab6e1cf47 (commit)

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

- Log -----------------------------------------------------------------
commit 051a16b86b015b4dabba1acd2415f3170ece0076
Merge: 632be1c6e5cf0bc6155647352171b7817d9ecf0e 94c1e35d683b34ea5e1b9064ad601954b21225c5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun May 3 15:17:01 2009 +0200

    Merge commit 'origin/master' into archer-jankratochvil-misc

commit 632be1c6e5cf0bc6155647352171b7817d9ecf0e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun May 3 15:16:52 2009 +0200

    Revert "Fix double free on error while inserting the breakpoint"
    
    This reverts commit eed9217a30db4e757d3a96512e845eb07f124c48.
    
    Checked in FSF GDB.

commit b12d3a87fc83e2d2a9c2416400de2016fb0248be
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun May 3 15:12:49 2009 +0200

    (almost) Revert "[patch] Correct `gcc -D' macros get ignored (PR 9873)"
    
    This reverts commit 118199354f6497e71485da6817c5090e589cac25.
    
    Conflicts:
    
    	gdb/dwarf2read.c
    
    Checked in FSF GDB.
    
    Just keep the ccache workaround in place in the testcase.

commit 17fd48da0d006c5d140cd699726ddd88967a9325
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun May 3 15:09:47 2009 +0200

    Revert "Fix visibility of _static_ variables in C++ constructors."
    
    This reverts commit 60eb8684d0d85d0884aca7a2f013e5eb16a51d47.
    
    Checked in FSF GDB.

commit 3d8a345edc4f27727dc06dcf4597168ed7d820fc
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri May 1 22:54:49 2009 +0200

    Implemented basic Fortran module import support.

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

Summary of changes:
 ChangeLog                                          |   41 +
 Makefile.def                                       |   13 +
 Makefile.in                                        |   70 +-
 Makefile.tpl                                       |   26 +-
 bfd/ChangeLog                                      |  336 ++-
 bfd/Makefile.am                                    |   78 +-
 bfd/Makefile.in                                    |   81 +-
 bfd/aout-adobe.c                                   |    1 +
 bfd/aout-target.h                                  |    3 +
 bfd/aout-tic30.c                                   |    3 +
 bfd/archures.c                                     |    5 +
 bfd/bfd-in2.h                                      |   25 +-
 bfd/bfd.c                                          |    3 +-
 bfd/binary.c                                       |    1 +
 bfd/bout.c                                         |    1 +
 bfd/coff-alpha.c                                   |    1 +
 bfd/coff-ia64.c                                    |    4 +-
 bfd/coff-mips.c                                    |    1 +
 bfd/coff-rs6000.c                                  |    2 +
 bfd/coff-x86_64.c                                  |   10 +-
 bfd/coff64-rs6000.c                                |    2 +
 bfd/coffcode.h                                     |   28 +-
 bfd/coffgen.c                                      |    5 +
 bfd/config.bfd                                     |   18 +-
 bfd/configure                                      |   11 +-
 bfd/configure.in                                   |   11 +-
 bfd/cpu-mep.c                                      |    3 +-
 bfd/cpu-moxie.c                                    |   40 +
 bfd/doc/ChangeLog                                  |    5 +
 bfd/doc/Makefile.in                                |    1 +
 bfd/doc/bfdint.texi                                |    6 +-
 bfd/efi-app-ia32.c                                 |   36 -
 bfd/efi-app-x86_64.c                               |   36 -
 bfd/efi-bsdrv-ia32.c                               |   37 -
 bfd/efi-bsdrv-ia64.c                               |   38 -
 bfd/efi-bsdrv-x86_64.c                             |   38 -
 bfd/efi-rtdrv-ia32.c                               |   37 -
 bfd/efi-rtdrv-ia64.c                               |   38 -
 bfd/efi-rtdrv-x86_64.c                             |   38 -
 bfd/elf-bfd.h                                      |   11 +
 bfd/elf.c                                          |   14 +-
 bfd/elf32-arm.c                                    |  347 +-
 bfd/elf32-h8300.c                                  |   94 +-
 bfd/elf32-i386.c                                   |   92 +-
 bfd/elf32-mep.c                                    |    1 +
 bfd/elf32-moxie.c                                  |  378 ++
 bfd/elf64-x86-64.c                                 |  133 +-
 bfd/elfcode.h                                      |    3 +
 bfd/elflink.c                                      |   88 +-
 bfd/elfxx-target.h                                 |    4 +
 bfd/i386msdos.c                                    |    1 +
 bfd/i386os9k.c                                     |    1 +
 bfd/ieee.c                                         |    1 +
 bfd/ihex.c                                         |    1 +
 bfd/libbfd-in.h                                    |    3 +
 bfd/libbfd.h                                       |    3 +
 bfd/libcoff-in.h                                   |    4 +-
 bfd/libcoff.h                                      |    8 +-
 bfd/libpei.h                                       |   41 -
 bfd/linker.c                                       |   61 +-
 bfd/mach-o.c                                       |    1 +
 bfd/mmo.c                                          |    1 +
 bfd/nlm-target.h                                   |    1 +
 bfd/oasys.c                                        |    1 +
 bfd/peXXigen.c                                     |  139 +-
 bfd/pef.c                                          |    1 +
 bfd/{efi-app-ia64.c => pei-ia64.c}                 |   14 +-
 bfd/pei-x86_64.c                                   |  475 ++
 bfd/peicode.h                                      |  137 +-
 bfd/ppcboot.c                                      |    1 +
 bfd/som.c                                          |    1 +
 bfd/srec.c                                         |    1 +
 bfd/syms.c                                         |   10 +-
 bfd/targets.c                                      |   33 +-
 bfd/tekhex.c                                       |    1 +
 bfd/verilog.c                                      |  377 ++
 bfd/versados.c                                     |    1 +
 bfd/version.h                                      |    2 +-
 bfd/vms.c                                          |    1 +
 bfd/xcoff-target.h                                 |    1 +
 bfd/xcofflink.c                                    |   28 +-
 bfd/xsym.c                                         |    1 +
 config.guess                                       |   22 +-
 config.sub                                         |   11 +-
 configure                                          |   18 +-
 configure.ac                                       |   16 +-
 gdb/ChangeLog                                      |  539 +++-
 gdb/MAINTAINERS                                    |    3 +
 gdb/Makefile.in                                    |   37 +-
 gdb/NEWS                                           |   87 +-
 gdb/README                                         |    5 +
 gdb/acinclude.m4                                   |   37 +-
 gdb/ada-exp.y                                      |    2 +-
 gdb/ada-lang.c                                     |   94 +-
 gdb/ada-lang.h                                     |   12 -
 gdb/ada-tasks.c                                    |    9 +
 gdb/arm-linux-nat.c                                |    8 +-
 gdb/arm-linux-tdep.c                               |    4 +-
 gdb/arm-linux-tdep.h                               |    3 +
 gdb/arm-tdep.h                                     |    1 -
 gdb/breakpoint.c                                   |    8 +-
 gdb/c-exp.y                                        |    4 +-
 gdb/c-lang.c                                       |   16 +-
 gdb/charset.c                                      |  123 +-
 gdb/config.in                                      |   22 +-
 gdb/config/djgpp/config.sed                        |    7 +
 gdb/config/djgpp/djconfig.sh                       |    4 +
 gdb/config/djgpp/fnchange.lst                      |    6 +-
 .../abstract-origin.cc => config/djgpp/langinfo.h} |   43 +-
 .../mb-inline2.cc => config/djgpp/nl_types.h}      |   20 +-
 gdb/config/i386/go32.mh                            |    4 +-
 gdb/configure                                      |  268 +-
 gdb/configure.ac                                   |  154 +-
 gdb/configure.tgt                                  |   20 +-
 gdb/darwin-nat.c                                   |    6 +-
 gdb/dbxread.c                                      |    1 +
 gdb/defs.h                                         |    3 +
 gdb/dictionary.c                                   |    8 +-
 gdb/doc/ChangeLog                                  |  110 +
 gdb/doc/Makefile.in                                |   73 +-
 gdb/doc/configure                                  |   53 +-
 gdb/doc/configure.ac                               |   27 +
 gdb/doc/gdb.texinfo                                |  246 +-
 gdb/doc/gdbint.texinfo                             |   52 +-
 gdb/dwarf2read.c                                   |  435 +-
 gdb/elfread.c                                      |    9 +-
 gdb/gdb_dirent.h                                   |    6 +-
 gdb/gdb_wchar.h                                    |   48 +-
 gdb/gdbarch.c                                      |   33 +
 gdb/gdbarch.h                                      |   11 +
 gdb/gdbarch.sh                                     |    6 +
 gdb/gdbserver/ChangeLog                            |   20 +
 gdb/gdbserver/configure.srv                        |    9 +
 gdb/gdbserver/inferiors.c                          |   47 +
 gdb/gdbserver/linux-low.c                          |   16 +-
 gdb/gdbserver/server.c                             |   71 +-
 gdb/gdbserver/server.h                             |    2 +
 gdb/gdbtypes.c                                     |   36 +-
 gdb/gdbtypes.h                                     |    9 +-
 gdb/gnu-nat.c                                      |    9 +-
 gdb/gnu-nat.h                                      |    5 +-
 gdb/gnulib/Makefile.in                             |  100 +-
 gdb/go32-nat.c                                     |  138 +-
 gdb/i386-linux-tdep.c                              |  349 ++
 gdb/i386-nat.c                                     |    9 -
 gdb/i386-tdep.c                                    | 2417 ++++++++++
 gdb/i386-tdep.h                                    |    6 +
 gdb/ia64-tdep.c                                    |   20 +-
 gdb/infcall.c                                      |    1 +
 gdb/infrun.c                                       |   58 +-
 gdb/jv-lang.c                                      |    3 +-
 gdb/linux-record.c                                 | 2205 +++++++++
 gdb/linux-record.h                                 |  173 +
 gdb/linux-thread-db.c                              |    1 -
 gdb/m68klinux-nat.c                                |   64 +-
 gdb/macrocmd.c                                     |   10 +-
 gdb/main.c                                         |  154 +-
 gdb/mi/mi-cmds.c                                   |    1 +
 gdb/mi/mi-cmds.h                                   |    1 +
 gdb/mi/mi-main.c                                   |    7 +
 gdb/mips-linux-nat.c                               |  709 +++-
 gdb/moxie-tdep.c                                   |  531 +++
 .../gdb.cp/abstract-origin.cc => moxie-tdep.h}     |   43 +-
 gdb/python/python-frame.c                          |   20 +-
 gdb/record.c                                       | 1282 ++++++
 .../gdb.cp/abstract-origin.cc => record.h}         |   48 +-
 gdb/remote.c                                       |    2 +-
 gdb/source.c                                       |    2 +-
 gdb/source.h                                       |    3 +
 gdb/stabsread.c                                    |    5 +-
 gdb/stack.c                                        |   24 +-
 gdb/symfile.c                                      |   18 +-
 gdb/symmisc.c                                      |   34 +-
 gdb/symtab.c                                       |   93 +-
 gdb/target.c                                       |    6 +
 gdb/target.h                                       |    3 +-
 gdb/testsuite/ChangeLog                            |   61 +
 gdb/testsuite/gdb.base/charset.exp                 |    5 +
 gdb/testsuite/gdb.base/exe-lock.exp                |   63 +
 gdb/testsuite/gdb.base/macscp.exp                  |   24 +-
 gdb/testsuite/gdb.base/printcmds.exp               |    3 +
 gdb/testsuite/gdb.cp/abstract-origin.cc            |    2 +-
 gdb/testsuite/gdb.cp/abstract-origin.exp           |   13 +-
 gdb/testsuite/gdb.cp/mb-ctor.cc                    |    8 +
 gdb/testsuite/gdb.cp/mb-ctor.exp                   |   32 +-
 gdb/testsuite/gdb.cp/mb-inline.exp                 |   22 +
 gdb/testsuite/gdb.cp/mb-inline.h                   |    7 +
 gdb/testsuite/gdb.cp/mb-inline1.cc                 |    2 +-
 gdb/testsuite/gdb.cp/mb-inline2.cc                 |    2 +-
 gdb/testsuite/gdb.cp/mb-templates.cc               |   12 +
 gdb/testsuite/gdb.cp/mb-templates.exp              |   22 +
 gdb/testsuite/gdb.cp/templates.cc                  |   10 +
 gdb/testsuite/gdb.cp/templates.exp                 |    5 +
 gdb/testsuite/gdb.fortran/module.f90               |   12 +-
 gdb/testsuite/gdb.python/python-frame.exp          |    2 +
 gdb/testsuite/gdb.threads/watchthreads.c           |   35 +-
 gdb/testsuite/gdb.threads/watchthreads.exp         |   25 +-
 gdb/testsuite/gdb.threads/watchthreads2.c          |  115 +
 gdb/testsuite/gdb.threads/watchthreads2.exp        |  139 +
 gdb/testsuite/lib/gdb.exp                          |   12 +-
 gdb/top.c                                          |    9 +
 gdb/utils.c                                        |   24 +-
 gdb/varobj.c                                       |   69 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |   19 +-
 gdb/xtensa-tdep.c                                  |    3 +-
 include/ChangeLog                                  |   24 +-
 include/bfdlink.h                                  |    3 +
 include/coff/ChangeLog                             |   49 +
 include/coff/pe.h                                  |  152 +-
 include/dis-asm.h                                  |    1 +
 include/elf/ChangeLog                              |   22 +
 include/elf/common.h                               |    3 +
 include/elf/dwarf2.h                               |    1 +
 include/elf/mep.h                                  |   12 +-
 include/elf/moxie.h                                |   31 +
 include/hashtab.h                                  |    3 +-
 include/opcode/ChangeLog                           |    8 +
 include/opcode/h8300.h                             |  124 +-
 include/opcode/moxie.h                             |   68 +
 include/splay-tree.h                               |    6 +-
 libdecnumber/ChangeLog                             |   51 +
 libdecnumber/Makefile.in                           |    7 +-
 libdecnumber/bid/bid-dpd.h                         |   23 +-
 libdecnumber/bid/bid2dpd_dpd2bid.c                 |   25 +-
 libdecnumber/bid/bid2dpd_dpd2bid.h                 |   25 +-
 libdecnumber/bid/decimal128.c                      |   21 +-
 libdecnumber/bid/decimal32.c                       |   21 +-
 libdecnumber/bid/decimal64.c                       |   21 +-
 libdecnumber/bid/host-ieee128.c                    |   25 +-
 libdecnumber/bid/host-ieee32.c                     |   25 +-
 libdecnumber/bid/host-ieee64.c                     |   25 +-
 libdecnumber/configure.ac                          |    9 +-
 libdecnumber/dconfig.h                             |   25 +-
 libdecnumber/decBasic.c                            |   25 +-
 libdecnumber/decCommon.c                           |   25 +-
 libdecnumber/decContext.c                          |   25 +-
 libdecnumber/decContext.h                          |   25 +-
 libdecnumber/decDPD.h                              |   25 +-
 libdecnumber/decDouble.c                           |   25 +-
 libdecnumber/decDouble.h                           |   25 +-
 libdecnumber/decExcept.c                           |   25 +-
 libdecnumber/decExcept.h                           |   25 +-
 libdecnumber/decLibrary.c                          |   25 +-
 libdecnumber/decNumber.c                           |   25 +-
 libdecnumber/decNumber.h                           |   25 +-
 libdecnumber/decNumberLocal.h                      |   25 +-
 libdecnumber/decPacked.c                           |   25 +-
 libdecnumber/decPacked.h                           |   25 +-
 libdecnumber/decQuad.c                             |   25 +-
 libdecnumber/decQuad.h                             |   25 +-
 libdecnumber/decRound.c                            |   25 +-
 libdecnumber/decRound.h                            |   25 +-
 libdecnumber/decSingle.c                           |   25 +-
 libdecnumber/decSingle.h                           |   25 +-
 libdecnumber/dpd/decimal128.c                      |   25 +-
 libdecnumber/dpd/decimal128.h                      |   25 +-
 libdecnumber/dpd/decimal128Local.h                 |   25 +-
 libdecnumber/dpd/decimal32.c                       |   25 +-
 libdecnumber/dpd/decimal32.h                       |   25 +-
 libdecnumber/dpd/decimal64.c                       |   25 +-
 libdecnumber/dpd/decimal64.h                       |   25 +-
 libiberty/ChangeLog                                |   37 +
 libiberty/Makefile.in                              |   22 +-
 libiberty/configure                                |   75 +-
 libiberty/configure.ac                             |   41 +-
 libiberty/pex-common.c                             |    4 +-
 libiberty/pex-common.h                             |    4 +-
 libiberty/pex-djgpp.c                              |    4 +-
 libiberty/pex-msdos.c                              |    4 +-
 libiberty/pex-win32.c                              |   42 +-
 opcodes/ChangeLog                                  |   49 +
 opcodes/Makefile.am                                |    9 +
 opcodes/Makefile.in                                |    9 +
 opcodes/configure                                  |    1 +
 opcodes/configure.in                               |    1 +
 opcodes/disassemble.c                              |    6 +
 opcodes/i386-opc.tbl                               |   16 +-
 opcodes/i386-tbl.h                                 |   16 +-
 opcodes/mep-asm.c                                  |  233 +-
 opcodes/mep-desc.c                                 | 4746 ++++++++++++++++++--
 opcodes/mep-desc.h                                 |   99 +-
 opcodes/mep-dis.c                                  |  406 ++-
 opcodes/mep-ibld.c                                 |  977 ++++-
 opcodes/mep-opc.c                                  | 4634 +++++++++++++++++++-
 opcodes/mep-opc.h                                  |  357 ++-
 opcodes/moxie-dis.c                                |  184 +
 opcodes/moxie-opc.c                                |  136 +
 opcodes/ppc-opc.c                                  |    9 +-
 readline/ChangeLog.gdb                             |    5 +
 readline/Makefile.in                               |    4 +-
 sim/ChangeLog                                      |   21 +
 sim/MAINTAINERS                                    |    1 +
 sim/Makefile.in                                    |    3 +
 sim/avr/Makefile.in                                |   25 +
 sim/avr/config.in                                  |  101 +
 sim/{ => avr}/configure                            | 3530 +++++++++++----
 sim/avr/configure.ac                               |   12 +
 sim/avr/interp.c                                   | 1847 ++++++++
 sim/configure                                      |   15 +
 sim/configure.ac                                   |    7 +
 sim/moxie/ChangeLog                                |  109 +
 sim/moxie/Makefile.in                              |   29 +
 sim/moxie/config.in                                |   92 +
 sim/{ => moxie}/configure                          | 3281 ++++++++++----
 sim/moxie/configure.ac                             |   14 +
 sim/moxie/interp.c                                 | 1481 ++++++
 sim/moxie/sysdep.h                                 |   94 +
 texinfo/texinfo.tex                                | 4288 ++++++++++++++----
 309 files changed, 37849 insertions(+), 6648 deletions(-)
 create mode 100644 bfd/cpu-moxie.c
 delete mode 100644 bfd/efi-app-ia32.c
 delete mode 100644 bfd/efi-app-x86_64.c
 delete mode 100644 bfd/efi-bsdrv-ia32.c
 delete mode 100644 bfd/efi-bsdrv-ia64.c
 delete mode 100644 bfd/efi-bsdrv-x86_64.c
 delete mode 100644 bfd/efi-rtdrv-ia32.c
 delete mode 100644 bfd/efi-rtdrv-ia64.c
 delete mode 100644 bfd/efi-rtdrv-x86_64.c
 create mode 100644 bfd/elf32-moxie.c
 rename bfd/{efi-app-ia64.c => pei-ia64.c} (78%)
 create mode 100644 bfd/verilog.c
 copy gdb/{testsuite/gdb.cp/abstract-origin.cc => config/djgpp/langinfo.h} (63%)
 copy gdb/{testsuite/gdb.cp/mb-inline2.cc => config/djgpp/nl_types.h} (72%)
 create mode 100644 gdb/linux-record.c
 create mode 100644 gdb/linux-record.h
 create mode 100644 gdb/moxie-tdep.c
 copy gdb/{testsuite/gdb.cp/abstract-origin.cc => moxie-tdep.h} (54%)
 create mode 100644 gdb/record.c
 copy gdb/{testsuite/gdb.cp/abstract-origin.cc => record.h} (53%)
 create mode 100644 gdb/testsuite/gdb.base/exe-lock.exp
 create mode 100644 gdb/testsuite/gdb.threads/watchthreads2.c
 create mode 100644 gdb/testsuite/gdb.threads/watchthreads2.exp
 create mode 100644 include/elf/moxie.h
 create mode 100644 include/opcode/moxie.h
 create mode 100644 opcodes/moxie-dis.c
 create mode 100644 opcodes/moxie-opc.c
 create mode 100644 sim/avr/Makefile.in
 create mode 100644 sim/avr/config.in
 copy sim/{ => avr}/configure (60%)
 create mode 100644 sim/avr/configure.ac
 create mode 100644 sim/avr/interp.c
 create mode 100644 sim/moxie/ChangeLog
 create mode 100644 sim/moxie/Makefile.in
 create mode 100644 sim/moxie/config.in
 copy sim/{ => moxie}/configure (62%)
 mode change 100755 => 100644
 create mode 100644 sim/moxie/configure.ac
 create mode 100644 sim/moxie/interp.c
 create mode 100644 sim/moxie/sysdep.h

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 85cc9df..0f086f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,44 @@
+2009-04-25  Eric Botcazou  <ebotcazou@adacore.com>
+
+	* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add GNATBIND.
+	(POSTSTAGE1_FLAGS_TO_PASS): Pick up exported value for GNATBIND.
+	* Makefile.in: Regenerate.
+
+2009-04-24  Eli Zaretskii  <eliz@gnu.org>
+
+	* config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, for
+	consistency with config.sub.  (Update from upstream sources.)
+
+2009-04-21  Joseph Myers  <joseph@codesourcery.com>
+
+	* texinfo/texinfo.tex: Update to version 2009-03-28.05.
+
+2009-04-17  Ben Elliston  <bje@au.ibm.com>
+
+	* config.sub, config.guess: Update from upstream sources.
+
+2009-04-15  Anthony Green  <green@moxielogic.com>
+
+	* configure.ac: Add moxie support.
+	* configure: Rebuilt.
+
+2009-04-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* configure.ac: Bump minimum GMP/MPFR versions to 4.2 and 2.3.1.
+	* configure: Regenerate.
+
+2009-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR gas/10039
+	* configure.ac: Require texinfo 4.7.
+	* configure: Regenerated.
+
+2009-04-09  Steve Ellcey  <sje@cup.hp.com>
+
+	* Makefil.def (languages): New entries.
+	* Makefile.tpl (check-gcc-*): New generic target.
+	* Makefile.in: Regenerate.
+
 2009-03-27  Eli Zaretskii  <eliz@gnu.org>
 
 	* djunpack.bat: Use ".." quoting in Sed command, for the sake of
diff --git a/Makefile.def b/Makefile.def
index a0a5266..c6a9291 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -541,6 +541,19 @@ dependencies = { module=all-target-libgloss; on=all-target-newlib; };
 dependencies = { module=all-target-winsup; on=all-target-libiberty; };
 dependencies = { module=all-target-winsup; on=all-target-libtermcap; };
 
+languages = { language=c;	gcc-check-target=check-gcc; };
+languages = { language=c++;	gcc-check-target=check-c++;
+				lib-check-target=check-target-libstdc++-v3; };
+languages = { language=fortran;	gcc-check-target=check-fortran;
+				lib-check-target=check-target-libgfortran; };
+languages = { language=java;	gcc-check-target=check-java;
+				lib-check-target=check-target-libjava; };
+languages = { language=ada;	gcc-check-target=check-ada;
+				lib-check-target=check-target-libada; };
+languages = { language=objc;	gcc-check-target=check-objc;
+				lib-check-target=check-target-libobjc; };
+languages = { language=obj-c++;	gcc-check-target=check-obj-c++; };
+
 // Toplevel bootstrap
 bootstrap_stage = {
 	id=1 ;
diff --git a/Makefile.in b/Makefile.in
index 26d1d01..ee16fc1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -214,6 +214,7 @@ POSTSTAGE1_HOST_EXPORTS = \
 	  $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
 	  -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
 	  -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
+	GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND \
 	LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
 
 # Target libraries are put under this directory:
@@ -624,8 +625,7 @@ X11_FLAGS_TO_PASS = \
 # Flags to pass to stage2 and later makes.
 
 POSTSTAGE1_FLAGS_TO_PASS = \
-	CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
-	GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind" \
+	CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" GNATBIND="$${GNATBIND}" \
 	LDFLAGS="$(BOOT_LDFLAGS)" \
 	"`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
 
@@ -52921,19 +52921,63 @@ cross: all-build all-gas all-ld
 @endif gcc-no-bootstrap
 
 @if gcc
-.PHONY: check-gcc-c++
+
+.PHONY: check-gcc-c check-c
+check-gcc-c:
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
+check-c: check-gcc-c
+
+.PHONY: check-gcc-c++ check-c++
 check-gcc-c++:
-	@if [ -f ./gcc/Makefile ] ; then \
-	  r=`${PWD_COMMAND}`; export r; \
-	  s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	  $(HOST_EXPORTS) \
-	  (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
-	else \
-	  true; \
-	fi
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
+check-c++: check-gcc-c++ check-target-libstdc++-v3
+
+.PHONY: check-gcc-fortran check-fortran
+check-gcc-fortran:
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
+check-fortran: check-gcc-fortran check-target-libgfortran
+
+.PHONY: check-gcc-java check-java
+check-gcc-java:
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
+check-java: check-gcc-java check-target-libjava
+
+.PHONY: check-gcc-ada check-ada
+check-gcc-ada:
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
+check-ada: check-gcc-ada check-target-libada
+
+.PHONY: check-gcc-objc check-objc
+check-gcc-objc:
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
+check-objc: check-gcc-objc check-target-libobjc
+
+.PHONY: check-gcc-obj-c++ check-obj-c++
+check-gcc-obj-c++:
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
+check-obj-c++: check-gcc-obj-c++
 
-.PHONY: check-c++
-check-c++: check-target-libstdc++-v3 check-gcc-c++
 
 # Install the gcc headers files, but not the fixed include files,
 # which Cygnus is not allowed to distribute.  This rule is very
diff --git a/Makefile.tpl b/Makefile.tpl
index acb349f..ad1400e 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -217,6 +217,7 @@ POSTSTAGE1_HOST_EXPORTS = \
 	  $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
 	  -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
 	  -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
+	GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND \
 	LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
 
 # Target libraries are put under this directory:
@@ -512,8 +513,7 @@ X11_FLAGS_TO_PASS = \
 # Flags to pass to stage2 and later makes.
 
 POSTSTAGE1_FLAGS_TO_PASS = \
-	CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
-	GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind" \
+	CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" GNATBIND="$${GNATBIND}" \
 	LDFLAGS="$(BOOT_LDFLAGS)" \
 	"`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
 
@@ -1216,19 +1216,15 @@ cross: all-build all-gas all-ld
 @endif gcc-no-bootstrap
 
 @if gcc
-.PHONY: check-gcc-c++
-check-gcc-c++:
-	@if [ -f ./gcc/Makefile ] ; then \
-	  r=`${PWD_COMMAND}`; export r; \
-	  s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	  $(HOST_EXPORTS) \
-	  (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
-	else \
-	  true; \
-	fi
-
-.PHONY: check-c++
-check-c++: check-target-libstdc++-v3 check-gcc-c++
+[+ FOR languages +]
+.PHONY: check-gcc-[+language+] check-[+language+]
+check-gcc-[+language+]:
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) [+gcc-check-target+]);
+check-[+language+]: check-gcc-[+language+][+ IF lib-check-target +] [+ lib-check-target +][+ ENDIF lib-check-target +]
+[+ ENDFOR languages +]
 
 # Install the gcc headers files, but not the fixed include files,
 # which Cygnus is not allowed to distribute.  This rule is very
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6fdba4d..d13bda0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,337 @@
+2009-04-30  Nick Clifton  <nickc@redhat.com>
+
+	* elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs
+	section pointer.
+	(struct elf_obj_data): Add has_ifunc_symbols boolean.
+	* elf.c (swap_out_syms): Convert BSF_GNU_INDIRECT_FUNCTION flags
+	into a STT_GNU_IFUNC symbol type.
+	(_bfd_elf_is_function_type): Accept STT_GNU_IFUNC as a function
+	type.
+	(_bfd_elf_set_osabi): Set the osasbi field to ELFOSABI_LINUX if
+	the binary contains ifunc symbols.
+	* elfcode.h (elf_slurp_symbol_table): Translate the STT_GNU_IFUNC
+	symbol type into a BSF_GNU_INDIRECT_FUNCTION flag.
+	* elf32-i386.c (is_indirect_function): New function.
+	(elf_i386_check_relocs): Create an ifunc output section.
+	(allocate_dynrelocs): Create dynamic relocs in the ifunc output
+	section if necessary.
+	(elf_i386_relocate_section): Emit a reloc against an ifunc symbol
+	if necessary.
+	(elf_i386_add_symbol_hook): New function. Set the
+	has_ifunc_symbols field of the elf_obj_data structure if an ifunc
+	symbol is encountered.
+	(elf_backend_post_process_headers): Define.
+	(elf_backend_add_symbol_hook): Define.
+	(elf_i386_post_process_headers): Rename to
+	elf_i388_fbsd_post_process_headers.
+	* elf64-x86_64.c (IS_X86_64_PCREL_TYPE): New macro.
+	(is_indirect_function): New function.
+	(elf64_x86_64_check_relocs): Create an ifunc output section.
+	(allocate_dynrelocs): Create dynamic relocs in the ifunc output
+	section if necessary.
+	(elf64_x86_64_relocate_section): Emit a reloc against an ifunc
+	symbol if necessary.
+	(elf_i386_add_symbol_hook): Set the has_ifunc_symbols field of the
+	elf_obj_data structure if an ifunc symbol is encountered.
+	(elf_backend_post_process_headers): Define.
+	* elflink.c (_bfd_elf_adjust_dynamic_symbol): Always create a PLT
+	if we have ifunc symbols to handle.
+	(get_ifunc_reloc_section_name): New function.  Computes the name
+	for an ifunc section.
+	(_bfd_elf_make_ifunc_reloc_section): New function.  Creates a
+	section to hold ifunc relocs.
+	* syms.c (BSF_GNU_INDIRECT_FUNCTION): Define.
+	(bfd_print_symbol_vandf): Handle ifunc symbols.
+	(bfd_decode_symclass): Likewise.
+	* bfd-in2.h: Regenerate.
+
+2009-04-30  Joseph Myers  <joseph@codesourcery.com>
+
+	* elf32-arm.c (elf32_arm_check_relocs): Give errors for absolute
+	MOVW and MOVT relocations in a shared library link.
+
+2009-04-27  Anthony Green  <green@moxielogic.com>
+
+	* verilog.c: New file.
+	* Makefile.am (BFD32_LIBS): Add verilog.c.
+	(BFD32_LIBS_CFILES): Add verilog.c.
+	(verilog.lo): New build rule.
+	* Makefile.in: Rebuilt.
+	* targets.c: Add verilog support.
+	* bfd.c (tdata union): Add Verilog private data field.
+	* bfd-in2.h: Regenerate.
+
+2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't
+	copy pe_opthdr.
+
+2009-04-23  Matthias Klose  <doko@ubuntu.com>
+
+	* peXXigen.c (_bfd_XXi_swap_sym_in): Initialize `name'.
+
+2009-04-22  Christophe Lyon  <christophe.lyon@st.com>
+
+	PR9743
+	* elf32-arm.c (arm_type_of_stub): Handle R_ARM_THM_JUMP24,
+	R_ARM_JUMP24 and R_ARM_PLT32 relocations.
+	(elf32_arm_size_stubs): Likewise.
+	(record_thumb_to_arm_glue): Deleted unused function.
+	(bfd_elf32_arm_process_before_allocation): No longer handle
+	R_ARM_THM_JUMP24, R_ARM_JUMP24 and R_ARM_PLT32 relocations here.
+	(elf32_arm_final_link_relocate): Handle R_ARM_THM_JUMP24,
+	R_ARM_JUMP24 and R_ARM_PLT32 relocations.
+
+2009-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
+
+	* elf32-arm.c (INTERWORK_FLAG): Check BFD_LINKER_CREATED.
+	(elf32_arm_write_section): Declare early.
+	(elf32_arm_size_stubs): Skip non-stub sections in the stub BFD.
+	(arm_allocate_glue_section_space): Exclude empty sections.
+	(ARM_GLUE_SECTION_FLAGS): Add SEC_LINKER_CREATED.
+	(bfd_elf32_arm_add_glue_sections_to_bfd): Do not skip the stub
+	BFD.
+	(elf32_arm_output_glue_section, elf32_arm_final_link): New.
+	(elf32_arm_merge_eabi_attributes): Skip the stub BFD.
+	(elf32_arm_size_dynamic_sections): Allocate interworking
+	sections here.
+	(bfd_elf32_bfd_final_link): Define.
+
+2009-04-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* coff-ia64.c (COFF_PAGE_SIZE): Changed to 8K.
+	
+	* coffcode.h (coff_compute_section_file_positions): Clear
+	D_PAGED if PE section alignment is smaller than COFF_PAGE_SIZE.
+
+	* libcoff-in.h (pe_tdata): Remove force_minimum_alignment and
+	force_minimum_alignment.
+
+	* libcoff.h: Regenerated.
+
+	* pei-ia64.c (PEI_TARGET_SUBSYSTEM): Removed.
+	(PEI_FORCE_MINIMUM_ALIGNMENT): Likewise.
+
+	* peicode.h (pe_mkobject): Don't set force_minimum_alignment
+	nor target_subsystem.
+
+	* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't check
+	force_minimum_alignment nor target_subsystem.
+
+2009-04-21  Kai Tietz  <kai.tietz@onevision.com>
+
+	* coff-x86_64.c (PEI_HEADERS): Protect includes.
+	(bfd_pe_print_pdata): Remove #ifdef PE variation.
+	* pei-x86_64.c (PEI_HEADERS): Define to prevent double
+	include in coff-x86_64.c of headers.
+	(PDATA_ROW_SIZE): New define.
+	(pex_regs[]): New static array.
+	(pex64_get_runtime_function): New static function.
+	(pex64_get_unwind_info): Likewise.
+	(pex64_get_scope_entry): Likewise.
+	(pex64_xdata_print_uwd_codes): Likewise.
+	(pex64_get_section_by_rva): Likewise.
+	(pex64_dump_xdata): Likewise.
+	(pex64_bfd_print_pdata): Likewise.
+	(bfd_pe_print_pdata): Define as pex64_bfd_print_pdata.
+	* peXXigen.c (_bfd_pex64_print_pdata): Removed implementation.
+	* libpei.h (_bfd_pex64_print_pdata): Removed declaration.
+
+2009-04-19  Peter O'Gorman  <binutils@mlists.thewrittenword.com>
+	    Alan Modra  <amodra@bigpond.net.au>
+	    Dave Korn  <dave.korn.cygwin@gmail.com>
+
+	* peXXigen.c (_bfd_XXi_swap_sym_in): Fix name handling w.r.t
+	long names and non-NUL-terminated strings.
+
+2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* bfd-in2.h: Regenerated.
+
+2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* peXXigen.c (_bfd_XX_print_private_bfd_data_common): Replace
+	IMAGE_SUBSYSTEM_EFI_ROM with IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER.
+
+2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR binutils/10074
+	* coffcode.h (bfd_pei_p): New.
+
+	* config.bfd: Remove bfd_efi_bsdrv_ia32_vec,
+	bfd_efi_rtdrv_ia32_vec, bfd_efi_bsdrv_x86_64_vec,
+	bfd_efi_rtdrv_x86_64_vec, bfd_efi_bsdrv_ia64_vec and
+	bfd_efi_rtdrv_ia64_vec.  Replace bfd_efi_app_ia32_vec,
+	bfd_efi_app_x86_64_vec and bfd_efi_app_ia64_vec with
+	i386pei_vec, x86_64pei_vec and bfd_pei_ia64_vec, respectively.
+
+	* configure.in: Remove bfd_efi_bsdrv_ia32_vec,
+	bfd_efi_rtdrv_ia32_vec, bfd_efi_bsdrv_x86_64_vec,
+	bfd_efi_rtdrv_x86_64_vec,
+	bfd_efi_bsdrv_ia64_vec and bfd_efi_rtdrv_ia64_vec.  Replace
+	bfd_efi_ia64_vec with bfd_pei_ia64_vec.
+	* targets.c: Likewise.
+
+	* configure: Regenerated.
+	* libcoff.h: Likewise.
+	* Makefile.in: Likewise.
+
+	* efi-app-ia32.c: Removed.
+	* efi-app-x86_64.c: Likewise.
+	* efi-bsdrv-ia32.c: Likewise.
+	* efi-bsdrv-ia64.c: Likewise.
+	* efi-bsdrv-x86_64.c: Likewise.
+	* efi-rtdrv-ia32.c: Likewise.
+	* efi-rtdrv-ia64.c: Likewise.
+	* efi-rtdrv-x86_64.c: Likewise.
+	* efi-rtdrv-ia32.c: Likewise.
+
+	* efi-app-ia64.c: Moved to ...
+	* pei-ia64.c: This.
+	(TARGET_SYM): Set to bfd_pei_ia64_vec.
+	(TARGET_NAME): Set to pei-ia64.
+
+	* libpei.h (bfd_target_pei_p): Removed.
+	(bfd_target_pei_arch): Likewise.
+	(bfd_target_efi_app_p): Likewise.
+	(bfd_target_efi_app_arch): Likewise.
+	(bfd_target_efi_bsdrv_p): Likewise.
+	(bfd_target_efi_bsdrv_arch): Likewise.
+	(bfd_target_efi_rtdrv_p): Likewise.
+	(bfd_target_efi_rtdrv_arch): Likewise.
+	(bfd_pe_executable_p): Likewise.
+
+	* Makefile.am (BFD32_BACKENDS): Remove efi-app-ia32.lo,
+	efi-bsdrv-ia32.lo and efi-rtdrv-ia32.lo.
+	(BFD32_BACKENDS_CFILES): Remove efi-app-ia32.c, efi-bsdrv-ia32.c
+	and efi-rtdrv-ia32.c.
+	(BFD64_BACKENDS): Remove efi-app-ia64.lo, efi-bsdrv-ia64.lo,
+	efi-rtdrv-ia64.lo, efi-app-x86_64.lo, efi-bsdrv-x86_64.lo and
+	efi-rtdrv-x86_64.lo. Add pei-ia64.lo.
+	(BFD64_BACKENDS_CFILES): Remove efi-app-ia64.c, efi-bsdrv-ia64.c,
+	efi-rtdrv-ia64.c, efi-app-x86_64.c, efi-bsdrv-x86_64.c and
+	efi-rtdrv-x86_64.c. Add pei-ia64.c.
+	(efi-app-ia64.lo): Removed.
+	(efi-bsdrv-ia32.lo): Likewise.
+	(efi-rtdrv-ia32.lo): Likewise.
+	(efi-app-ia64.lo): Likewise.
+	(efi-bsdrv-ia64.lo): Likewise.
+	(efi-rtdrv-ia64.lo): Likewise.
+	(efi-app-x86_64.lo): Likewise.
+	(efi-bsdrv-x86_64.lo): Likewise.
+	(efi-rtdrv-x86_64.lo): Likewise.
+	(pei-ia64.lo): New.
+
+	* peicode.h (coff_swap_scnhdr_in): Replace bfd_pe_executable_p
+	with bfd_pei_p.
+	(arch_type): Removed.
+	(pe_arch): Likewise.
+	(pe_bfd_object_p): Just return coff_object_p.
+
+	* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Replace
+	bfd_pe_executable_p with bfd_pei_p.
+
+2009-04-17  Christophe Lyon  <christophe.lyon@st.com>
+
+	* elf32-arm.c (elf32_arm_size_stubs): Handle long branches through
+	PLT entries to an undefined symbol when generating a shared
+	library.
+
+2009-04-17  Nick Clifton  <nickc@redhat.com>
+
+	PR 9909
+	* coffcode.h (handle_COMDAT): Allow for external COMDAT symbols.
+
+2009-04-16  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* aout-adobe.c (aout_32_bfd_define_common_symbol): Define.
+	* aout-target.h (MY_bfd_define_common_symbol): Likewise.
+	* aout-tic30.c (MY_bfd_define_common_symbol): Likewise.
+	* binary.c (binary_bfd_define_common_symbol): Likewise.
+	* bout.c (b_out_bfd_define_common_symbol): Likewise.
+	* coff-alpha.c (_bfd_ecoff_bfd_define_common_symbol): Likewise.
+	* coff-mips.c (_bfd_ecoff_bfd_define_common_symbol): Likewise.
+	* coffcode.h (coff_bfd_define_common_symbol): Likewise.
+	* elfxx-target.h (bfd_elfNN_bfd_define_common_symbol): Likewise.
+	* i386msdos.c (msdos_bfd_define_common_symbol): Likewise.
+	* i386os9k.c (os9k_bfd_define_common_symbol): Likewise.
+	* ieee.c (ieee_bfd_define_common_symbol): Likewise.
+	* ihex.c (ihex_bfd_define_common_symbol): Likewise.
+	* libbfd-in.h (_bfd_nolink_bfd_define_common_symbol): Likewise.
+	* mach-o.c (bfd_mach_o_bfd_define_common_symbol): Likewise.
+	* mmo.c (mmo_bfd_define_common_symbol): Likewise.
+	* nlm-target.h (nlm_bfd_define_common_symbol): Likewise.
+	* oasys.c (oasys_bfd_define_common_symbol): Likewise.
+	* pef.c (bfd_pef_bfd_define_common_symbol): Likewise.
+	* ppcboot.c (ppcboot_bfd_define_common_symbol): Likewise.
+	* som.c (som_bfd_define_common_symbol): Likewise.
+	* srec.c (srec_bfd_define_common_symbol): Likewise.
+	* tekhex.c (tekhex_bfd_define_common_symbol): Likewise.
+	* versados.c (versados_bfd_define_common_symbol): Likewise.
+	* vms.c (vms_bfd_define_common_symbol): Likewise.
+	* xcoff-target.h (_bfd_xcoff_bfd_define_common_symbol): Likewise.
+	* xsym.c (bfd_sym_bfd_define_common_symbol): Likewise.
+	* coff-rs6000.c (rs6000coff_vec): Add _bfd_xcoff_define_common_symbol.


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2009-04-11 10:13 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2009-04-11 10:13 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  874b29252d3d6cb19bda0f7979256c3ab6e1cf47 (commit)
       via  10a877838f1c713978afee3d29e9c3d6ad518a84 (commit)
       via  f8d2da2d8353b6850f847fd3f0b710e27cf19c3d (commit)
       via  1657fe434a4c30495959f707c80c7deb1736f883 (commit)
       via  d56fb1922950addd30c761755328ab22e11ece1a (commit)
       via  204034ea25dd552ffb3c464e3495373ae95a1c29 (commit)
       via  631162cfc21c649cc7b4348c34d82141458c3897 (commit)
       via  d6a564476a586759e0197355ec414c57c465f0f7 (commit)
       via  bdbbc99af120cbed5ab7e70a5cc641e25c45693f (commit)
       via  4aba94aee1ec62631e374f56e7b663228ea9b844 (commit)
       via  a5133b5808c88f924471b54adb995389fe271143 (commit)
       via  00ceaa46a7b32de3725c71fa7cfe1d49bae988a9 (commit)
       via  dd2b7c83458971fe9913fa090f7ff0ac8908dcb9 (commit)
       via  670c9f14b289153d9e6cee63b6a07395f27da411 (commit)
       via  e8f8ceab0830198c9f8417f4aaa78ed8cec565ec (commit)
       via  d99cc5ff7f712fa95d0088d61fdb1388d7c7f7fd (commit)
       via  99fed820d59957045cab648b0f590eb2f1608fdc (commit)
       via  07517a764e067b0d51aad3ea709eece78c129ffa (commit)
       via  dd3c068a8992a62520966b7b995c1eab633e4d01 (commit)
       via  ee82b0f3ce7b4cb241a4a47b82bd160a1a9d584f (commit)
       via  a7eab7ca9f3e72649d20061bb7fb82d00157ec4e (commit)
       via  266b32c46c0490da02454d11925ae2c957e4a8e7 (commit)
       via  b792e3f279f2e97426551c6def0d54175345ba12 (commit)
       via  94f728e3e2cba80e7e69e7516787f96251196744 (commit)
       via  da85b7464016e598ab52d749011248be3349a97c (commit)
       via  774d588d6a6625f1429380fb188c9d895e1b3828 (commit)
       via  6438f4615202149330f83f2a00a24f899ec0488d (commit)
       via  91f83ec148e00425a56eb0bbd58b92f83e677f44 (commit)
       via  611ecd1eccf8b1b75dac0c7e815938e893133143 (commit)
       via  62ac46f24ce72e95225f11da6276fdbf4a8c0084 (commit)
       via  28fd786ae855936d970046edb0923e34670bb103 (commit)
       via  a3bfe50522d5569e1448ed658de1c6095863b539 (commit)
       via  1598d0587cbfe0af5f819a36e874b06ca38879b3 (commit)
       via  d870112d827ffe607896358f6c7bb99aed210c57 (commit)
       via  04687403162fc6cd98679d98abfc7b34a2d44c83 (commit)
       via  c7d9ddfbfc71bdb63152defdc3cd38217bd2c84f (commit)
       via  cb9e0721888056bf67f56cdd718142a33361cb0a (commit)
       via  eaaf690a1a521b88418bb71d41cf620e11949692 (commit)
       via  b494f111290407d0aff43245d95d685f742c2574 (commit)
       via  e689d32aa08e4e44927e308b45a6577e2e166547 (commit)
       via  50c163f184912dc8c49918527aaab5e79a7406c9 (commit)
       via  dc819dc03600217379d46d9b2035081bf0998844 (commit)
       via  6bc1281be79a0301af5975312d6041b26f5f0d09 (commit)
       via  1c942a12c392ccb841d10d152dd8a75ba0f8c58b (commit)
       via  8b3b9e0e5b245a830df492eb8ad53a3b2accdefd (commit)
       via  dfe0569acfc83773bffbbee3c3b367f95c24aca6 (commit)
       via  b4008950667b96caeae8da75fa88c4fb0c34ea81 (commit)
       via  08a3baba8d4c0e08295cf694ad886902346b205b (commit)
       via  ca4aee6f39522ca9d5688a3232f98053748bd76c (commit)
       via  2ea0c9c0a1be8813e735544bac92d75a544e0d4b (commit)
       via  e5ef087820ce89b48b31d3df368ca9c5cc6faa39 (commit)
       via  98c8f4ad592e12f048aa0283f811938069e9c8c9 (commit)
       via  6a5159cf2e62b4c038aad5197b56f39c2c4b7828 (commit)
       via  35a298634d6dba3a8d504018e3e3883270dd82b4 (commit)
       via  9a60c03aaabe878f395e4158140b910c78115c70 (commit)
       via  23f94c7e31924c5f4a75160b6e190320788bc015 (commit)
       via  f802b04a465484d532631a283282d82f1eaf4742 (commit)
       via  cb2b7a541caeb06fb445bcadd785c61e3fb6d44a (commit)
       via  fd8aac6a938dc4bb127a0b4c114611e49e108b6d (commit)
       via  9fb6f32c7058328ec08efac2eb2c4838261b9705 (commit)
       via  0ab7f7fff17e89d3a01dd720b4c857120af6dd95 (commit)
       via  b5fae1114b5f6b2748e864cd42668f5a70db7e27 (commit)
       via  ea59c1b78c91bf5fa3f86bdef2f0a982b62a63c2 (commit)
       via  ede4b6284a7269c9019afc1e609b15ff965dc5bd (commit)
       via  63c0f33ffb33ec6412a7bed6d77e5f2329fa9fee (commit)
       via  9c3a1d66a1cf9ad0b565ca9a9421ddcb6e074dfe (commit)
       via  f890dfe48b075970744089b96086cae8a523e7f3 (commit)
       via  6999df1e2bc1dc0758782220f3b05997f1cb12cc (commit)
       via  6f72e3aabb5003b122630ba710030e0724b753e9 (commit)
       via  23d4c598a61989a7cb8a617e41d1649a82e41c69 (commit)
       via  5c9cfba5481ca11270ae4b66f334589b1246b74b (commit)
       via  8f2d11a0ab6b41dcb2a16cef2746f6db24c8eb30 (commit)
       via  30694f93d4a412614d819cbf361102cc26bff1ba (commit)
       via  b27d958ef69eef2dece490af88a6062ae4e8b5a5 (commit)
       via  bdeb17716c0e7deab059245d9b0297cf02c7e66a (commit)
       via  3aa76975264f166f4a0cfc02682c29f55b3ca82f (commit)
       via  efca68d4734dd8aed126161eae4406fbd3dbf0f9 (commit)
       via  3fbdedd57f5502cf99a7a6a6a4a69f839d6301b1 (commit)
       via  41a6048fa52e72d36eec64f6f63614f504fdad74 (commit)
       via  007e2beed8f9a6eb7a94f5cd08f6f4550b9df995 (commit)
       via  e86f805127ee532e968dda33d291e8130f15eeb1 (commit)
       via  0eed6da5f6a39b6c2220eeb6df9db99866505b1f (commit)
       via  91037e3c68f9959687d98e050db7c021a72f6ba1 (commit)
       via  ffc8d494a22c525b1603d1396282a7202ddd47dc (commit)
       via  0219d54f165088785f56e7dfe046a8b81aa30d65 (commit)
       via  7c9a1d3de8ca1071889504bda5126f429cfef826 (commit)
       via  f9bedb806c036ba345887d86dbb280a0d48189c3 (commit)
       via  ca89850fb293b9367ba478c3b64c0a3a954013bb (commit)
       via  f04484802a7a2a2e0e2a9ca8fc431e6286bbb3b1 (commit)
       via  46d9edb3cc87900695ed4f72b3db11d6b39f07f3 (commit)
       via  33b624c666c0657d879322da307a8ff9712d5017 (commit)
       via  1f875a4da263b0d5be4a01cb9fb7079d1c26a74f (commit)
       via  01a7fe27ba681c9c5cca7a0fea7e3c32db019105 (commit)
       via  4aafb4fe9ace5b76de1d315dd31321a8e19233b2 (commit)
       via  4122c5c211b4ce5345579bfc2de9e20d473c8109 (commit)
       via  23da2762737346f683b2be1db5d4305c80ce33fe (commit)
       via  82879e9f139e22f6d7b8846399a62594474e4f77 (commit)
       via  4d8c7703513a874c6bedcaf9c35acd4429820595 (commit)
       via  d0679e9c73f28a61899b0a9704e943ee84aa3f44 (commit)
       via  662e441963535d357f1b60e03f3c04185610ec15 (commit)
       via  f3e48bd7590a90ddadba59eee36bc0f520dd72eb (commit)
       via  8340d06295c8db80c544503458305197891e0348 (commit)
       via  7d22f078b354263b0c95d7c3aec2970fd9640645 (commit)
       via  69f5809898b23548161e77d8a4eb0e1d403f8fb6 (commit)
       via  534a7a6f626d428d828cf9ae747293dafa85ee46 (commit)
       via  4c62718461563febf1b8157450f2f91f26353a83 (commit)
       via  a7715162f759ef281588c9ddd4e54253db16305f (commit)
       via  bae36faa443bd8c26a356b7f10853ded46bfe4c5 (commit)
       via  aa878e330bf25fe65aaac2744005e69c8ad5ff39 (commit)
       via  b66b5da01fe075f79266fe57b1da5b2fbc94732f (commit)
       via  9847bf4e6e7bb0dea075e76572c9c67ca7c341e2 (commit)
       via  c35358da5ca26adb4a1bfba51c11ac196785e8e4 (commit)
       via  699f6ffa111111aff2e63b4b860b9adfad7fad22 (commit)
       via  31553d1785659d1fe3a5e231ee330968193099b3 (commit)
       via  3a64e350b82942734fbcb0b31dd775ed9617e999 (commit)
       via  7c7ca1b8250e6b0f97f7eb47d6ab74227a3fabdd (commit)
       via  697b6e50ee00d29a2e2a9006bffef55c90a700f9 (commit)
       via  c98e800a85b9485019404fadac21abe3491b5033 (commit)
       via  f6cb81d808067e2a1c443038130a558360afe58f (commit)
       via  ff27faab30e391dad4a61952bd9f1587ff99d0a5 (commit)
       via  d1cfa18fb5ba2ce7803f31e58c5f509519eb6f10 (commit)
       via  5111bbd29c48b9004b35e2514752cf4a941b61c6 (commit)
       via  2df9de1ad9d3da7dcc80ef49ebd45e001269bc73 (commit)
       via  091af1a56e30d47a8d828afc931167f8142507b2 (commit)
       via  e354c4e1dc0b4ce964e9717e9f494a06518ae21f (commit)
       via  ae61ba3985913274b7e3711f7c1da4d023d9ded9 (commit)
       via  c7deb4d727569b24ed60450f0d8498a53255423e (commit)
       via  1a9bd38bcd06c2bcc0fea51b36ded2507ba73b3c (commit)
       via  f037d6004a582839ce69eafe3071bc29b0fb6fcd (commit)
       via  3157aba1ab73fb5b5cd0e2dbb5c031a1336a93db (commit)
       via  64c287329177f68d0da2ce81207f5f3f105dabfe (commit)
       via  cbd12f3666346846dd18e762f7881f4a0b1767ee (commit)
       via  3092115a3d791e551209af2e1945666169a04de7 (commit)
       via  27c4a5d2ebbfd4f68a5e87b459adbbc6eeda7cf8 (commit)
       via  8c4195d13e945d3cf2c8583c9f818bbf4a3b5710 (commit)
       via  390ac7259731cdf469ea739345e64d3a7d248818 (commit)
       via  9533c58c4b0c692975a4b97267222ad002364a29 (commit)
       via  3f81316d6eb8f3c951acd8774da7bc8ad23bdedd (commit)
       via  c5f1a7ef72922178569418b5d5060f8240c1767e (commit)
       via  6f1a685bc7bfe44af998e54b99963dffc8e715e5 (commit)
       via  d7b3c9ecbb4f7c782aacbe4224c9aeb8d0d161b2 (commit)
       via  b20dff1b337ceb1bd5f241bff2ed1233780936df (commit)
       via  032f67142ca0678c31a574314adc53d316960f72 (commit)
       via  817ede0ad440e39f3311cc8a1f55ad5655b97e9a (commit)
       via  165709eaa90768f4d03e76188188e5e5afa4ac2c (commit)
       via  50a6b4966bccf97597d65486bd60561d05a65dff (commit)
       via  b3c3db206b652d19fad5290df7b630335acc5889 (commit)
       via  02dc98a6209b37e8473ee3218b5eb4ff6bc7e44d (commit)
       via  70e735001ef74606d3e86a75cf4fd04173e10974 (commit)
       via  90ab18a605385cb7e7984c4ac83a4f7461f99906 (commit)
       via  3836cfdf3b7de8b0f34fda25e5a1b4ae33e253ea (commit)
       via  6c2b67e0220165c9411c128b2f8f7d1e8856795b (commit)
       via  7f0e4fa27448e8da47cdedfa6f8342f94245ab76 (commit)
       via  ff21434d7a766aba9f937e270016e4e7d9e6ba40 (commit)
       via  40dd9754f21987e1fca43c2cde6b3adc18464f1d (commit)
       via  60194aaeeb94372651c09fb5dc0cb5d3329b921e (commit)
       via  c3bcf1c464f8633b5ce91cb72bafee27ce9b05ce (commit)
       via  7d1733001ce46390908da9e6868f45006409b056 (commit)
       via  214296a4b2a36f3e0bc8a270647da2fc21b8b874 (commit)
       via  7ad6aabd74342df423bc2ba496c9750e14d86e85 (commit)
       via  0ee8ee241dcc7feeaf538a120826051dcd8cccfd (commit)
       via  3caef2b656659161247d9c8d418ba8fcc889a04c (commit)
       via  da12fddea1a71fb3b808e88a5ef83bbca8e2cb30 (commit)
       via  297cccbb83721274c4df1eec08dde9eb9f51a733 (commit)
       via  7f43a566f95a1cf96ed799471319b5c574ee575e (commit)
       via  e0f2167a8e0855ab0a1545da2b5f1472cac923dc (commit)
       via  0db2376071441d14829885eaa95b2b8a69a3a1ae (commit)
       via  22a744906c7e0303d9f56c9160900946eff17206 (commit)
       via  d65e7bd9988748a8d39dba3439cbf3cfc873f724 (commit)
       via  e5e85060ca59a79204d185b1b4cf3e30eb0fd1ba (commit)
       via  50158e6deec5d6304429f655fd0a7990c0c14cfc (commit)
       via  f01a34d4d484fb2a8e69233429e993283ee39235 (commit)
       via  d33df476c193a636fbc205d541dce62a6b327fdb (commit)
       via  5943423dd8fd3c0df0586c8c05631165d84f341d (commit)
       via  b4494ffc89755afd15f3dda0b71b82244aa5ea2f (commit)
       via  095e9826734cc7660ab9f444e72a517736272902 (commit)
       via  a371c4d2c371566a571f9c9d08df72f200024b9c (commit)
       via  2e7a4dfe356485e3d14ec2b73b405f016336fcd2 (commit)
       via  d351e41f278158d1b8219d523b0fa03c02b76189 (commit)
       via  8a4ca176c977982bf74c885ec927ed3d6c677bde (commit)
      from  21a8e954408460987eb5c5b3c6005ed05ef205cb (commit)

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

- Log -----------------------------------------------------------------
commit 874b29252d3d6cb19bda0f7979256c3ab6e1cf47
Merge: 10a877838f1c713978afee3d29e9c3d6ad518a84 f8d2da2d8353b6850f847fd3f0b710e27cf19c3d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 7 18:24:18 2009 +0200

    Merge commit 'origin/master' into archer-jankratochvil-misc

commit 10a877838f1c713978afee3d29e9c3d6ad518a84
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Apr 7 18:24:06 2009 +0200

    Revert "Fix C `extern' shadowing in a local block"
    
    This reverts commit 21a8e954408460987eb5c5b3c6005ed05ef205cb.
    
    Accepted for FSF GDB.

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

Summary of changes:
 ChangeLog                                          |    5 +
 bfd/ChangeLog                                      |  208 ++
 bfd/bfd-in.h                                       |    4 +
 bfd/bfd-in2.h                                      |    4 +
 bfd/coff-arm.c                                     |   10 +-
 bfd/coff-rs6000.c                                  |  504 ++--
 bfd/coff-x86_64.c                                  |    7 +-
 bfd/cpu-arm.c                                      |    4 +-
 bfd/cpu-i386.c                                     |    8 +-
 bfd/elf-attrs.c                                    |    4 +-
 bfd/elf.c                                          |    9 +-
 bfd/elf32-arm.c                                    |  145 +-
 bfd/elf32-cris.c                                   |   37 +-
 bfd/elf32-crx.c                                    |   40 +-
 bfd/elf32-ppc.c                                    |   31 +-
 bfd/elf32-vax.c                                    |   44 +-
 bfd/elf32-xtensa.c                                 |    7 +-
 bfd/elf64-ppc.c                                    |   12 +-
 bfd/elflink.c                                      |    3 +-
 bfd/libpei.h                                       |    1 +
 bfd/peXXigen.c                                     |   82 +
 bfd/section.c                                      |   10 +
 bfd/version.h                                      |    2 +-
 bfd/xcofflink.c                                    | 1159 ++++---
 djunpack.bat                                       |    2 +-
 gdb/ChangeLog                                      |  945 +++++-
 gdb/Makefile.in                                    |   24 +-
 gdb/NEWS                                           |   27 +
 gdb/acinclude.m4                                   |   61 +-
 gdb/ada-exp.y                                      |    1 +
 gdb/ada-lang.c                                     |   34 +-
 gdb/ada-lang.h                                     |   12 +-
 gdb/ada-tasks.c                                    |    5 +-
 gdb/ada-typeprint.c                                |   11 +-
 gdb/ada-valprint.c                                 |   26 +-
 gdb/auxv.c                                         |    3 +-
 gdb/breakpoint.c                                   |  660 ++++-
 gdb/breakpoint.h                                   |   29 +-
 gdb/buildsym.c                                     |   26 +
 gdb/c-exp.y                                        |  477 ++-
 gdb/c-lang.c                                       |  826 ++++-
 gdb/c-lang.h                                       |   41 +-
 gdb/c-valprint.c                                   |   83 +-
 gdb/charset-list.h                                 | 1190 +++++++
 gdb/charset.c                                      | 1563 +++------
 gdb/charset.h                                      |  184 +-
 gdb/cli/cli-cmds.c                                 |   14 +-
 gdb/cli/cli-decode.c                               |   12 -
 gdb/cli/cli-decode.h                               |   11 -
 gdb/completer.c                                    |   97 +-
 gdb/completer.h                                    |    2 +
 gdb/config.in                                      |    9 +
 gdb/config/djgpp/fnchange.lst                      |  165 +-
 gdb/config/i386/nm-cygwin.h                        |    1 -
 gdb/config/i386/nm-cygwin64.h                      |    1 -
 gdb/config/i386/nm-fbsd.h                          |    1 -
 gdb/config/i386/nm-go32.h                          |    1 -
 gdb/config/i386/nm-i386.h                          |   59 +-
 gdb/config/i386/nm-linux.h                         |    1 -
 gdb/config/i386/nm-linux64.h                       |    1 -
 gdb/configure                                      |  651 +++--
 gdb/configure.ac                                   |   60 +-
 gdb/cp-name-parser.y                               |    2 +-
 gdb/darwin-nat.c                                   |    8 +-
 gdb/dbxread.c                                      |   40 +-
 gdb/defs.h                                         |    2 +
 gdb/doc/ChangeLog                                  |  101 +
 gdb/doc/gdb.texinfo                                |  452 ++-
 gdb/doc/gdbint.texinfo                             | 1651 +++++++--
 gdb/doc/observer.texi                              |   10 +-
 gdb/doc/stack_frame.eps                            | 3708 ++++++++++++++++++++
 gdb/doc/stack_frame.pdf                            |  Bin 0 -> 77972 bytes
 gdb/doc/stack_frame.png                            |  Bin 0 -> 67273 bytes
 gdb/doc/stack_frame.svg                            |  866 +++++
 gdb/doc/stack_frame.txt                            |   39 +
 gdb/dwarf2expr.c                                   |    2 +-
 gdb/dwarf2read.c                                   |   96 +-
 gdb/eval.c                                         |   18 +-
 gdb/expprint.c                                     |   12 +-
 gdb/f-lang.c                                       |   20 +-
 gdb/f-valprint.c                                   |    7 +-
 gdb/frame.c                                        |   15 +-
 gdb/gdb_locale.h                                   |    4 +
 gdb/gdb_obstack.h                                  |    3 +
 gdb/{stack.h => gdb_usleep.c}                      |   30 +-
 gdb/{stack.h => gdb_usleep.h}                      |   19 +-
 gdb/gdb_wchar.h                                    |   62 +
 gdb/gdbserver/ChangeLog                            |  460 +++
 gdb/gdbserver/Makefile.in                          |   21 +-
 gdb/gdbserver/configure                            |    2 +-
 gdb/gdbserver/configure.ac                         |    6 +-
 gdb/gdbserver/event-loop.c                         |  504 +++
 gdb/gdbserver/gdb_proc_service.h                   |    4 +-
 gdb/gdbserver/gdbreplay.c                          |    2 +-
 gdb/gdbserver/i387-fp.c                            |   40 +-
 gdb/gdbserver/inferiors.c                          |  174 +-
 gdb/gdbserver/linux-arm-low.c                      |    2 +-
 gdb/gdbserver/linux-cris-low.c                     |    4 +-
 gdb/gdbserver/linux-crisv32-low.c                  |   44 +-
 gdb/gdbserver/linux-i386-low.c                     |    4 +-
 gdb/gdbserver/linux-low.c                          | 1523 ++++++---
 gdb/gdbserver/linux-low.h                          |   35 +-
 gdb/gdbserver/linux-mips-low.c                     |    2 +-
 gdb/gdbserver/linux-ppc-low.c                      |   17 +-
 gdb/gdbserver/linux-s390-low.c                     |    1 -
 gdb/gdbserver/linux-sparc-low.c                    |   39 +-
 gdb/gdbserver/linux-x86-64-low.c                   |   10 +-
 gdb/gdbserver/linux-xtensa-low.c                   |    2 +-
 gdb/gdbserver/mem-break.c                          |   47 +-
 gdb/gdbserver/mem-break.h                          |    5 +
 gdb/gdbserver/proc-service.c                       |    7 +-
 gdb/gdbserver/regcache.c                           |    5 +-
 gdb/gdbserver/remote-utils.c                       |  412 ++-
 gdb/gdbserver/server.c                             | 1483 ++++++---
 gdb/gdbserver/server.h                             |  154 +-
 gdb/gdbserver/spu-low.c                            |  117 +-
 gdb/gdbserver/target.c                             |   72 +-
 gdb/gdbserver/target.h                             |  168 +-
 gdb/gdbserver/thread-db.c                          |   76 +-
 gdb/gdbserver/win32-low.c                          |  271 +-
 gdb/gdbserver/xtensa-xtregs.c                      |    1 -
 gdb/gdbthread.h                                    |    8 +
 gdb/gdbtypes.h                                     |   10 +-
 gdb/inf-loop.c                                     |    5 +-
 gdb/infcall.c                                      |   26 +-
 gdb/infcmd.c                                       |   44 +-
 gdb/inferior.h                                     |   12 -
 gdb/infrun.c                                       |   48 +-
 gdb/jv-lang.c                                      |    5 +-
 gdb/jv-valprint.c                                  |    4 +-
 gdb/language.c                                     |   16 +-
 gdb/language.h                                     |   21 +-
 gdb/linux-nat.c                                    |   23 +-
 gdb/m2-lang.c                                      |   19 +-
 gdb/m2-valprint.c                                  |   10 +-
 gdb/macroexp.c                                     |   31 +-
 gdb/mi/mi-interp.c                                 |   43 +-
 gdb/mi/mi-main.c                                   |   40 +-
 gdb/mi/mi-main.h                                   |    1 +
 gdb/minsyms.c                                      |   32 +-
 gdb/mips-tdep.c                                    |   14 +
 gdb/mn10300-tdep.c                                 | 1273 ++++---
 gdb/objc-lang.c                                    |   16 +-
 gdb/observer.sh                                    |    4 +-
 gdb/p-lang.c                                       |   32 +-
 gdb/p-lang.h                                       |    9 +-
 gdb/p-valprint.c                                   |   20 +-
 gdb/parse.c                                        |   61 +-
 gdb/parser-defs.h                                  |   18 +
 gdb/ppc-linux-nat.c                                |   85 +-
 gdb/printcmd.c                                     |  108 +-
 gdb/python/python-cmd.c                            |   12 +-
 gdb/python/python-frame.c                          |  538 +++
 gdb/python/python-function.c                       |  180 +
 gdb/python/python-internal.h                       |    4 +
 gdb/python/python-value.c                          |   86 +-
 gdb/python/python.c                                |   20 +-
 gdb/remote.c                                       |  197 +-
 gdb/scm-lang.c                                     |    6 +-
 gdb/scm-lang.h                                     |    2 +-
 gdb/scm-valprint.c                                 |    3 +-
 gdb/ser-unix.c                                     |    9 +-
 gdb/sparc64nbsd-nat.c                              |    7 +-
 gdb/spu-linux-nat.c                                |   19 +-
 gdb/stabsread.c                                    |   56 +-
 gdb/stack.c                                        |   69 +-
 gdb/stack.h                                        |    5 +
 gdb/symfile.c                                      |    9 +-
 gdb/symtab.c                                       |   12 +
 gdb/testsuite/ChangeLog                            |  189 +-
 gdb/testsuite/gdb.ada/lang_switch.exp              |    2 +
 gdb/testsuite/gdb.ada/ref_param.exp                |    2 +
 gdb/testsuite/gdb.ada/tasks.exp                    |   79 +
 gdb/testsuite/gdb.ada/tasks/foo.adb                |   68 +
 gdb/testsuite/gdb.arch/powerpc-prologue.exp        |    4 +-
 gdb/testsuite/gdb.base/attach.exp                  |    5 -
 gdb/testsuite/gdb.base/auxv.exp                    |   12 +-
 gdb/testsuite/gdb.base/call-ar-st.exp              |    1 +
 gdb/testsuite/gdb.base/call-rt-st.exp              |    2 +-
 gdb/testsuite/gdb.base/callfuncs.exp               |   14 +-
 gdb/testsuite/gdb.base/charset.c                   |   39 +-
 gdb/testsuite/gdb.base/charset.exp                 |  226 +-
 gdb/testsuite/gdb.base/completion.exp              |   30 +
 gdb/testsuite/gdb.base/constvars.exp               |    6 +-
 gdb/testsuite/gdb.base/ending-run.exp              |    4 +-
 gdb/testsuite/gdb.base/funcargs.exp                |    2 +
 gdb/testsuite/gdb.base/long_long.exp               |   10 +-
 gdb/testsuite/gdb.base/pointers.exp                |    2 +-
 gdb/testsuite/gdb.base/printcmds.exp               |   58 +-
 gdb/testsuite/gdb.base/setvar.exp                  |    6 +-
 gdb/testsuite/gdb.base/store.exp                   |    4 +-
 gdb/testsuite/gdb.cp/gdb1355.exp                   |    8 +-
 gdb/testsuite/gdb.cp/ref-types.exp                 |    4 +-
 gdb/testsuite/gdb.cp/templates.exp                 |   18 +-
 .../gdb.dwarf2/dw2-noloc-main.c}                   |   19 +-
 gdb/testsuite/gdb.dwarf2/dw2-noloc.S               |  328 ++-
 gdb/testsuite/gdb.dwarf2/dw2-noloc.exp             |  110 +-
 gdb/testsuite/gdb.dwarf2/dw2-unresolved.exp        |    2 +-
 gdb/testsuite/gdb.mi/basics.c                      |    7 +-
 gdb/testsuite/gdb.mi/mi-break.exp                  |    4 +-
 gdb/testsuite/gdb.mi/mi-nonstop-exit.exp           |   76 +
 gdb/testsuite/gdb.mi/mi-nonstop.exp                |   73 +-
 gdb/testsuite/gdb.mi/mi-nsintrall.exp              |   36 +-
 gdb/testsuite/gdb.mi/mi-nsmoribund.exp             |   36 +-
 gdb/testsuite/gdb.mi/mi-simplerun.exp              |    4 +-
 gdb/testsuite/gdb.mi/mi2-break.exp                 |    4 +-
 gdb/testsuite/gdb.mi/mi2-simplerun.exp             |    4 +-
 .../mi-main.h => testsuite/gdb.mi/non-stop-exit.c} |   46 +-
 gdb/testsuite/gdb.python/python-cmd.exp            |   26 +
 gdb/testsuite/gdb.python/python-frame.c            |   14 +
 gdb/testsuite/gdb.python/python-frame.exp          |   86 +
 gdb/testsuite/gdb.python/python-function.exp       |   79 +
 gdb/testsuite/gdb.python/python-value.exp          |    9 +
 gdb/testsuite/gdb.server/ext-attach.exp            |    7 +-
 gdb/testsuite/gdb.threads/pending-step.c           |   61 +
 gdb/testsuite/gdb.threads/pending-step.exp         |   95 +
 gdb/testsuite/gdb.trace/actions.exp                |   78 +-
 gdb/testsuite/gdb.trace/deltrace.exp               |   97 +-
 gdb/testsuite/gdb.trace/infotrace.exp              |   12 +-
 gdb/testsuite/gdb.trace/passcount.exp              |   74 +-
 gdb/testsuite/gdb.trace/save-trace.exp             |   11 +-
 gdb/testsuite/gdb.trace/tracecmd.exp               |    3 +-
 gdb/testsuite/gdb.trace/while-stepping.exp         |   15 +-
 gdb/testsuite/lib/gdb.exp                          |    3 +
 gdb/testsuite/lib/mi-support.exp                   |   28 +-
 gdb/thread.c                                       |  117 +-
 gdb/top.c                                          |   11 +-
 gdb/tracepoint.c                                   |  767 +----
 gdb/tracepoint.h                                   |   95 +-
 gdb/typeprint.c                                    |    2 +-
 gdb/utils.c                                        |  127 +-
 gdb/valops.c                                       |   18 +
 gdb/valprint.c                                     |   20 +-
 gdb/valprint.h                                     |    5 +-
 gdb/value.c                                        |  113 +-
 gdb/value.h                                        |   29 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |  357 ++-
 include/coff/ChangeLog                             |    4 +
 include/coff/xcoff.h                               |   61 -
 include/elf/ChangeLog                              |   19 +
 include/elf/common.h                               |    6 +
 libdecnumber/ChangeLog                             |   13 +
 libdecnumber/decBasic.c                            |  911 +++--
 libdecnumber/decCommon.c                           |  431 ++-
 libdecnumber/decContext.c                          |   83 +-
 libdecnumber/decContext.h                          |   78 +-
 libdecnumber/decDPD.h                              |   45 +-
 libdecnumber/decDouble.c                           |  174 +-
 libdecnumber/decDouble.h                           |   25 +-
 libdecnumber/decNumber.c                           |  866 +++---
 libdecnumber/decNumber.h                           |    6 +-
 libdecnumber/decNumberLocal.h                      |  241 +-
 libdecnumber/decPacked.c                           |   24 +-
 libdecnumber/decPacked.h                           |   14 +-
 libdecnumber/decQuad.c                             |  170 +-
 libdecnumber/decQuad.h                             |   49 +-
 libdecnumber/decSingle.c                           |   53 +-
 libdecnumber/decSingle.h                           |   20 +-
 libdecnumber/dpd/decimal128.c                      |  119 +-
 libdecnumber/dpd/decimal128.h                      |   16 +-
 libdecnumber/dpd/decimal32.c                       |   83 +-
 libdecnumber/dpd/decimal32.h                       |   14 +-
 libdecnumber/dpd/decimal64.c                       |  133 +-
 libdecnumber/dpd/decimal64.h                       |   14 +-
 libiberty/ChangeLog                                |   18 +
 libiberty/Makefile.in                              |   14 +-
 libiberty/config.in                                |    3 +
 libiberty/configure                                |    4 +-
 libiberty/configure.ac                             |    3 +-
 libiberty/cp-demangle.c                            |   24 +-
 libiberty/functions.texi                           |   13 +-
 libiberty/memmem.c                                 |   70 +
 libiberty/testsuite/demangle-expected              |   10 +-
 opcodes/ChangeLog                                  |   31 +
 opcodes/arm-dis.c                                  |   10 +-
 opcodes/i386-dis.c                                 |    3 +-
 opcodes/ppc-dis.c                                  |   24 +-
 opcodes/ppc-opc.c                                  |   62 +-
 279 files changed, 24640 insertions(+), 9035 deletions(-)
 create mode 100644 gdb/charset-list.h
 create mode 100644 gdb/doc/stack_frame.eps
 create mode 100644 gdb/doc/stack_frame.pdf
 create mode 100644 gdb/doc/stack_frame.png
 create mode 100644 gdb/doc/stack_frame.svg
 create mode 100644 gdb/doc/stack_frame.txt
 copy gdb/{stack.h => gdb_usleep.c} (61%)
 copy gdb/{stack.h => gdb_usleep.h} (64%)
 create mode 100644 gdb/gdb_wchar.h
 create mode 100644 gdb/gdbserver/event-loop.c
 create mode 100644 gdb/python/python-frame.c
 create mode 100644 gdb/python/python-function.c
 create mode 100644 gdb/testsuite/gdb.ada/tasks.exp
 create mode 100644 gdb/testsuite/gdb.ada/tasks/foo.adb
 copy gdb/{stack.h => testsuite/gdb.dwarf2/dw2-noloc-main.c} (70%)
 create mode 100644 gdb/testsuite/gdb.mi/mi-nonstop-exit.exp
 copy gdb/{mi/mi-main.h => testsuite/gdb.mi/non-stop-exit.c} (52%)
 create mode 100644 gdb/testsuite/gdb.python/python-frame.c
 create mode 100644 gdb/testsuite/gdb.python/python-frame.exp
 create mode 100644 gdb/testsuite/gdb.python/python-function.exp
 create mode 100644 gdb/testsuite/gdb.threads/pending-step.c
 create mode 100644 gdb/testsuite/gdb.threads/pending-step.exp
 create mode 100644 libiberty/memmem.c

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 7e44f7d..85cc9df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-27  Eli Zaretskii  <eliz@gnu.org>
+
+	* djunpack.bat: Use ".." quoting in Sed command, for the sake of
+	Windows builds of Sed.
+
 2009-03-18  Tom Tromey  <tromey@redhat.com>
 
 	* configure: Rebuild.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9342ddc..6fdba4d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,211 @@
+2009-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* coff-x86_64.c (bfd_pe_print_pdata): Defined to
+	_bfd_pex64_print_pdata only if PE is defined.
+
+	* libpei.h (_bfd_pep_print_x64_pdata): Renamed to ...
+	(_bfd_pex64_print_pdata): This.
+
+	* peXXigen.c (_bfd_pep_print_x64_pdata): Renamed to ...
+	(_bfd_pex64_print_pdata): This.  Defined only if COFF_WITH_pex64
+	is defined.
+
+2009-04-05  Kai Tietz  <kai.tietz@onevision.com>
+
+	* coff-x86_64.c (bfd_pe_print_pdata): Define as
+	_bfd_pep_print_x64_pdata.
+	* libpei.h (_bfd_pep_print_x64_pdata): Add prototype.
+	* peXXigen.c (_bfd_pep_print_x64_pdata): New.
+
+2009-04-02  Sterling Augustine  <sterling@jaw.hq.tensilica.com>
+
+	* elf32-xtensa.c (relax_property_section): Always set r_offset 
+	to zero.
+
+2009-04-02  Christophe Lyon  <christophe.lyon@st.com>
+
+	* elf32-arm.c (elf32_arm_stub_long_branch_v4t_thumb_thumb,
+	elf32_arm_stub_long_branch_v4t_thumb_thumb_pic): Two new long
+	branch stubs.
+	(elf32_arm_stub_type): New enum values for the two new stubs.
+	(arm_type_of_stub): Make use of the two new stubs.
+	(arm_size_one_stub): Handle the two new stubs.
+
+2009-04-01  Matt Thomas  <matt@netbsd.org>
+
+	* elf32-vax.c (elf_vax_check_relocs): Do not put relocations against
+	hidden symbols into the GOT or PLT.GOT.
+	(elf_vax_relocate_section): Do not emit a PCREL reloc 
+	into a shared object if it is against a hidden symbol.
+
+2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* xcofflink.c (xcoff_archive_info): Add contains_shared_object_p
+	and know_contains_shared_object_p.
+	(xcoff_archive_contains_shared_object_p): Add an "info" parameter.
+	Cache the result in the archive_info table.
+	(xcoff_auto_export_p): Add an "info" parameter and update the
+	call to xcoff_archive_contains_shared_object_p.
+	(xcoff_mark_auto_exports): Update accordingly.
+	(xcoff_post_gc_symbol): Likewise.
+
+2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* xcofflink.c (bfd_link_input_bfd): Treat __rtinit as C_HIDEXT
+	rather than C_EXT.
+
+2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* coff-rs6000.c (member_layout): New structure.
+	(archive_iterator): Likewise.
+	(member_layout_init): New function.
+	(archive_iterator_begin): Likewise.
+	(archive_iterator_next): Likewise.
+	(xcoff_write_armap_old): Use the new iterator functions.
+	(do_shared_object_padding): Delete.
+	(xcoff_write_armap_big): Use the new iterator functions.  Simplify
+	handling of arch_info.
+	(xcoff_write_archive_contents_old): Allocate arelt_data in the
+	first loop rather than the second.  Allocate a member header if
+	there isn't one, then work out the stat information and length
+	in the first loop too.  Use the new iterators for the second loop.
+	(xcoff_write_archive_contents_big): Likewise.
+
+2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* bfd-in.h (bfd_xcoff_split_import_path): Declare.
+	(bfd_xcoff_set_archive_import_path): Likewise.
+	* bfd-in2.h: Regenerate.
+	* xcofflink.c: Include libiberty.h.
+	(xcoff_archive_info): New structure.
+	(xcoff_archive_info_hash): New function.
+	(xcoff_archive_info_eq): Likewise.
+	(xcoff_get_archive_info): Likewise.
+	(_bfd_xcoff_bfd_link_hash_table_create): Initialize archive_info.
+	(bfd_xcoff_split_import_path): New function.
+	(bfd_xcoff_set_archive_import_path): Likewise.
+	(xcoff_set_import_path): Move earlier in file.
+	(xcoff_link_add_dynamic_symbols): Set the import path of a non-archive
+	object to the the directory part of the bfd's filename.  Get the
+	import path and filename of an archive object from the archive's
+	xcoff_tdata, initializing it if necessary.  Update use of
+	import_file_id.
+	(bfd_link_input_bfd): Update use of import_file_id.
+	(xcoff_write_global_symbol): Likewise.
+
+2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* xcofflink.c (xcoff_link_hash_table): Moved from include/coff/xcoff.h.
+
+2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* xcofflink.c (xcoff_link_create_extra_sections): Don't create
+	a .loader section for relocatable links.
+	(xcoff_need_ldrel_p): New function.
+	(xcoff_mark): Use it.
+	(bfd_xcoff_link_count_reloc): Only count loader relocs if there's
+	a loader section.
+	(xcoff_build_ldsym): New function, split out from...
+	(xcoff_build_ldsyms): ...here.  Rename to...
+	(xcoff_post_gc_symbol): ...this.  Only export symbols, and only
+	call xcoff_build_ldsym, if there's a loader section.
+	(xcoff_build_loader_section): New function, extracted verbatim from...
+	(bfd_xcoff_size_dynamic_sections): ...here.  Only call it if
+	there's a loader section.  Only add an __rtinit loader symbol
+	if there's a loader section.  Update after above name change.
+	(xcoff_symbol_section, xcoff_create_ldrel): New functions.
+	(bfd_link_input_bfd): Use xcoff_need_ldrel_p, xcoff_symbol_section
+	and xcoff_create_ldrel.
+	(xcoff_write_global_symbol): Use xcoff_create_ldrel.
+	(xcoff_reloc_link_order): Likewise, but only call it if there's
+	a loader section.  Use xcoff_symbol_section.
+	(_bfd_xcoff_bfd_final_link): Only use fdinfo.ldrel and fdinfo.ldsym
+	if there's a loader section.
+
+2009-04-01  Richard Sandiford  <rdsandiford@googlemail.com>
+
+	* xcofflink.c (bfd_link_input_bfd): Fix buffer overrun.
+
+2009-04-01  Christophe Lyon  <christophe.lyon@st.com>
+
+	* elf32-arm.c (group_sections): Rewrite loops for better
+	readability.
+
+2009-03-30  DJ Delorie  <dj@redhat.com>
+
+	* elflink.c (elf_link_input_bfd): Don't try to resolve complex
+	relocs when doing a relocatable link.
+
+2009-03-28  Mark Mitchell  <mark@codesourcery.com>
+
+	* coff-arm.c (coff_arm_merge_private_bfd_data): Use "error:", not
+	"ERROR:", in error messages.
+	* cpu-arm.c (bfd_arm_merge_machines): Likewise.
+	* elf-attrs.c (_bfd_elf_merge_object_attributes): Likewise.
+	* elf32-arm.c (tag_cpu_arch_combine): Likewise.
+	(elf32_arm_merge_eabi_attributes): Likewise.
+	(elf32_arm_merge_private_bfd_data): Likewise.
+
+2009-03-27  Nick Clifton  <nickc@redhat.com>
+
+	* section.c (bfd_get_section_contents): Detect and handle the case
+	where a section has the SEC_IN_MEMORY flag set but no actual
+	contents allocated.
+
+2009-03-26  Alan Modra  <amodra@bigpond.net.au>
+
+	PR 6494
+	* elf.c (copy_elf_program_header): Do not check that PT_GNU_RELRO
+	p_filesz and p_memsz are equal.  Use p_memsz as the segment size.
+	(assign_file_positions_for_non_load_sections): Zap PT_GNU_RELRO
+	if we don't find matching PT_LOAD when copying.
+
+2009-03-25  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+	* elf32-crx.c (crx_elf_howto_table): Zero the src_mask field of
+	the reloc descriptions.
+
+2009-03-25  Hans-Peter Nilsson  <hp@axis.com>
+
+	* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
+	<R_CRIS_16_GOT_GD, case R_CRIS_32_GOT_GD>: Handle COMMON symbols.
+	<case R_CRIS_16_TPREL, R_CRIS_32_TPREL>: Ditto.
+
+2009-03-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* cpu-i386.c (bfd_x86_64_arch_intel_syntax): Make it static.
+	(bfd_i386_arch_intel_syntax): Likewise.
+	(i8086_arch): Likewise.
+	(bfd_x86_64_arch): Likewise.
+
+2009-03-24  Hans-Peter Nilsson  <hp@axis.com>
+
+	* elf32-cris.c (cris_elf_relocate_section): <case
+	R_CRIS_16_DTPREL, R_CRIS_32_DTPREL>: Allow use of non-local
+	symbols for non-allocated sections.  Don't check whether to
+	generate R_CRIS_DTPMOD for non-allocated sections.
+	(cris_elf_gc_sweep_hook) <case R_CRIS_32_DTPREL>: Don't
+	handle relocation GC:ing if applied to non-allocated section.
+	(cris_elf_check_relocs): Similar.
+
+	* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
+	<R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: Don't include the TLS size
+	when emitting a known TP offset in the GOT.
+
+2009-03-23  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf64-ppc.c (synthetic_opd): Delete.
+	(compare_symbols): Look for .opd name rather than section match.
+	(ppc64_elf_get_synthetic_symtab): Likewise.
+
+2009-03-21  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf32-ppc.c (is_pic_glink_stub): Delete.
+	(is_nonpic_glink_stub): New function.
+	(ppc_elf_get_synthetic_symtab): Check for last non-pic stub rather
+	than first pic one.
+	(struct ppc_elf_link_hash_table <glink_pltresolve>): Comment fix.
+
 2009-03-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
 	    Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 5a3e13f..9a303e0 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -765,6 +765,10 @@ extern bfd_boolean bfd_get_file_window
 
 /* XCOFF support routines for the linker.  */
 
+extern bfd_boolean bfd_xcoff_split_import_path
+  (bfd *, const char *, const char **, const char **);
+extern bfd_boolean bfd_xcoff_set_archive_import_path
+  (struct bfd_link_info *, bfd *, const char *);
 extern bfd_boolean bfd_xcoff_link_record_set
   (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_size_type);
 extern bfd_boolean bfd_xcoff_import_symbol
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 78a5bd9..646be2c 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -772,6 +772,10 @@ extern bfd_boolean bfd_get_file_window
 
 /* XCOFF support routines for the linker.  */
 
+extern bfd_boolean bfd_xcoff_split_import_path
+  (bfd *, const char *, const char **, const char **);
+extern bfd_boolean bfd_xcoff_set_archive_import_path
+  (struct bfd_link_info *, bfd *, const char *);
 extern bfd_boolean bfd_xcoff_link_record_set
   (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_size_type);
 extern bfd_boolean bfd_xcoff_import_symbol
diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c
index d2c27c4..a5bcc77 100644
--- a/bfd/coff-arm.c
+++ b/bfd/coff-arm.c
@@ -2208,7 +2208,7 @@ coff_arm_merge_private_bfd_data (bfd * ibfd, bfd * obfd)
 	    {
 	      _bfd_error_handler
 		/* xgettext: c-format */
-		(_("ERROR: %B is compiled for APCS-%d, whereas %B is compiled for APCS-%d"),
+		(_("error: %B is compiled for APCS-%d, whereas %B is compiled for APCS-%d"),
 		 ibfd, obfd,
 		 APCS_26_FLAG (ibfd) ? 26 : 32,
 		 APCS_26_FLAG (obfd) ? 26 : 32
@@ -2224,10 +2224,10 @@ coff_arm_merge_private_bfd_data (bfd * ibfd, bfd * obfd)
 
 	      if (APCS_FLOAT_FLAG (ibfd))
 		/* xgettext: c-format */
-		msg = _("ERROR: %B passes floats in float registers, whereas %B passes them in integer registers");
+		msg = _("error: %B passes floats in float registers, whereas %B passes them in integer registers");
 	      else
 		/* xgettext: c-format */
-		msg = _("ERROR: %B passes floats in integer registers, whereas %B passes them in float registers");
+		msg = _("error: %B passes floats in integer registers, whereas %B passes them in float registers");
 
 	      _bfd_error_handler (msg, ibfd, obfd);
 
@@ -2241,10 +2241,10 @@ coff_arm_merge_private_bfd_data (bfd * ibfd, bfd * obfd)
 
 	      if (PIC_FLAG (ibfd))
 		/* xgettext: c-format */
-		msg = _("ERROR: %B is compiled as position independent code, whereas target %B is absolute position");
+		msg = _("error: %B is compiled as position independent code, whereas target %B is absolute position");
 	      else
 		/* xgettext: c-format */
-		msg = _("ERROR: %B is compiled as absolute position code, whereas target %B is position independent");
+		msg = _("error: %B is compiled as absolute position code, whereas target %B is position independent");
 	      _bfd_error_handler (msg, ibfd, obfd);
 
 	      bfd_set_error (bfd_error_wrong_format);
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c
index 3343530..c5a486b 100644
--- a/bfd/coff-rs6000.c
+++ b/bfd/coff-rs6000.c
@@ -180,8 +180,6 @@ static bfd_boolean do_pad
   PARAMS ((bfd *, unsigned int));
 static bfd_boolean do_copy
   PARAMS ((bfd *, bfd *));
-static bfd_boolean do_shared_object_padding
-  PARAMS ((bfd *, bfd *, file_ptr *, int));
 
 /* Relocation functions */
 static bfd_boolean xcoff_reloc_type_br
@@ -238,6 +236,119 @@ bfd_boolean (*xcoff_complain_overflow[XCOFF_MAX_COMPLAIN_OVERFLOW])
   xcoff_complain_overflow_unsigned_func,
 };
 
+/* Information about one member of an archive.  */
+struct member_layout {
+  /* The archive member that this structure describes.  */
+  bfd *member;
+
+  /* The number of bytes of padding that must be inserted before the
+     start of the member in order to ensure that the section contents
+     are correctly aligned.  */
+  unsigned int leading_padding;
+
+  /* The offset of MEMBER from the start of the archive (i.e. the end
+     of the leading padding).  */
+  file_ptr offset;
+
+  /* The normalized name of MEMBER.  */
+  const char *name;
+
+  /* The length of NAME, without padding.  */
+  bfd_size_type namlen;
+
+  /* The length of NAME, with padding.  */
+  bfd_size_type padded_namlen;
+
+  /* The size of MEMBER's header, including the name and magic sequence.  */
+  bfd_size_type header_size;
+
+  /* The size of the MEMBER's contents.  */
+  bfd_size_type contents_size;
+
+  /* The number of bytes of padding that must be inserted after MEMBER
+     in order to preserve even alignment.  */
+  bfd_size_type trailing_padding;
+};
+
+/* A structure used for iterating over the members of an archive.  */
+struct archive_iterator {
+  /* The archive itself.  */
+  bfd *archive;
+
+  /* Information about the current archive member.  */
+  struct member_layout current;
+
+  /* Information about the next archive member.  MEMBER is null if there
+     are no more archive members, in which case OFFSET is the offset of
+     the first unused byte.  */
+  struct member_layout next;
+};
+
+/* Initialize INFO so that it describes member MEMBER of archive ARCHIVE.
+   OFFSET is the even-padded offset of MEMBER, not including any leading
+   padding needed for section alignment.  */
+
+static void
+member_layout_init (struct member_layout *info, bfd *archive,
+		    bfd *member, file_ptr offset)
+{
+  info->member = member;
+  info->leading_padding = 0;
+  if (member)
+    {
+      info->name = normalize_filename (member);
+      info->namlen = strlen (info->name);
+      info->padded_namlen = info->namlen + (info->namlen & 1);
+      if (xcoff_big_format_p (archive))
+	info->header_size = SIZEOF_AR_HDR_BIG;
+      else
+	info->header_size = SIZEOF_AR_HDR;
+      info->header_size += info->padded_namlen + SXCOFFARFMAG;
+      info->contents_size = arelt_size (member);
+      info->trailing_padding = info->contents_size & 1;
+
+      if (bfd_check_format (member, bfd_object)
+	  && bfd_get_flavour (member) == bfd_target_xcoff_flavour
+	  && (member->flags & DYNAMIC) != 0)
+	info->leading_padding
+	  = (-(offset + info->header_size)
+	     & ((1 << bfd_xcoff_text_align_power (member)) - 1));
+    }
+  info->offset = offset + info->leading_padding;
+}
+
+/* Set up ITERATOR to iterate through archive ARCHIVE.  */
+
+static void
+archive_iterator_begin (struct archive_iterator *iterator,
+			bfd *archive)
+{
+  iterator->archive = archive;
+  member_layout_init (&iterator->next, archive, archive->archive_head,
+		      xcoff_big_format_p (archive)
+		      ? SIZEOF_AR_FILE_HDR_BIG
+		      : SIZEOF_AR_FILE_HDR);
+}
+
+/* Make ITERATOR visit the first unvisited archive member.  Return true
+   on success; return false if all members have been visited.  */
+
+static bfd_boolean
+archive_iterator_next (struct archive_iterator *iterator)
+{
+  if (!iterator->next.member)
+    return FALSE;
+
+  iterator->current = iterator->next;
+  member_layout_init (&iterator->next, iterator->archive,
+		      iterator->current.member->archive_next,
+		      iterator->current.offset
+		      + iterator->current.header_size
+		      + iterator->current.contents_size
+		      + iterator->current.trailing_padding);
+  return TRUE;
+}
+
 /* We use our own tdata type.  Its first field is the COFF tdata type,
    so the COFF routines are compatible.  */
 
@@ -1603,11 +1714,10 @@ xcoff_write_armap_old (abfd, elength, map, orl_count, stridx)
      unsigned int orl_count;
      int stridx;
 {
+  struct archive_iterator iterator;
   struct xcoff_ar_hdr hdr;
   char *p;
   unsigned char buf[4];
-  bfd *sub;
-  file_ptr fileoff;
   unsigned int i;
 
   memset (&hdr, 0, sizeof hdr);
@@ -1635,29 +1745,16 @@ xcoff_write_armap_old (abfd, elength, map, orl_count, stridx)
   if (bfd_bwrite (buf, (bfd_size_type) 4, abfd) != 4)
     return FALSE;
 
-  sub = abfd->archive_head;
-  fileoff = SIZEOF_AR_FILE_HDR;
   i = 0;
-  while (sub != NULL && i < orl_count)
-    {
-      size_t namlen;
-
-      while (map[i].u.abfd == sub)
-	{
-	  H_PUT_32 (abfd, fileoff, buf);
-	  if (bfd_bwrite (buf, (bfd_size_type) 4, abfd) != 4)
-	    return FALSE;
-	  ++i;
-	}
-      namlen = strlen (normalize_filename (sub));
-      namlen = (namlen + 1) &~ (size_t) 1;
-      fileoff += (SIZEOF_AR_HDR
-		  + namlen
-		  + SXCOFFARFMAG
-		  + arelt_size (sub));
-      fileoff = (fileoff + 1) &~ 1;
-      sub = sub->archive_next;
-    }
+  archive_iterator_begin (&iterator, abfd);
+  while (i < orl_count && archive_iterator_next (&iterator))
+    while (map[i].u.abfd == iterator.current.member)
+      {
+	H_PUT_32 (abfd, iterator.current.offset, buf);
+	if (bfd_bwrite (buf, (bfd_size_type) 4, abfd) != 4)
+	  return FALSE;
+	++i;
+      }
 
   for (i = 0; i < orl_count; i++)
     {
@@ -1759,34 +1856,6 @@ do_copy (out_bfd, in_bfd)
 }
 
 static bfd_boolean
-do_shared_object_padding (out_bfd, in_bfd, offset, ar_header_size)
-     bfd *out_bfd;
-     bfd *in_bfd;
-     file_ptr *offset;
-     int ar_header_size;
-{
-  if (bfd_check_format (in_bfd, bfd_object)
-      && bfd_get_flavour (in_bfd) == bfd_target_xcoff_flavour
-      && (in_bfd->flags & DYNAMIC) != 0)
-    {
-      bfd_size_type pad = 0;
-      int text_align_power;
-


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2009-03-20 17:07 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2009-03-20 17:07 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  c6e2af6188a2739f47617648b4228cfed8670385 (commit)
       via  6418262610197a1d63af6393d077f10fac01304c (commit)
       via  67df65cc54808054e45498160f67ce682a9aaa7b (commit)
       via  7075b478c79fa7bf8a95b17474f5f799b0ad5523 (commit)
       via  f6c4f4bcef04d0570b54ad5018bee1f18c558f0f (commit)
       via  00c72a380f005f60d894849f75a100aef41a64c5 (commit)
       via  3cac04bb9690610124cae1edaf7c00586e2ff20a (commit)
       via  b9c4946d6ccda8c5822d0477bc97ecf66443c0d8 (commit)
       via  7f8922c7dc999f143e8b5ad96ee0b6da65e9e958 (commit)
       via  feb5906a26ae6ac25421e68af62b980f77d161d2 (commit)
       via  37bf1aa770645ab3651059d21f63d61f35ce8c75 (commit)
       via  35a99eec6383d50976240f9616dfb58261a8c26c (commit)
       via  bdc15da4ffbed38da8cf01bb7e51c4828ddf92bf (commit)
       via  8668207120c7bcd12428005f6ca23e0930c79ccf (commit)
       via  d16cd7f687a1cd6a59c29f2d7d047afa2a36b24a (commit)
       via  9d4c404f085e44f57198b9dd49c19b98438b6312 (commit)
       via  e4e4cf0c68335d414443577034bd1b78e6d6801b (commit)
       via  4a21824c4e5ae0c9de855e459ad213cd3739cbc6 (commit)
       via  a8216bad276394c3b79823f94943e513b8e8da4a (commit)
       via  d74e50a6ebd519021f395b50bbd6288fca11ec7f (commit)
       via  878507e5212b2b26ef6703f9a6caf8a1dacee012 (commit)
       via  41f3f3478ace2386cd55dd7ddaa4b01d07fea4c2 (commit)
       via  828ee76fe6e084e7844b9728fc16b07d80e55bef (commit)
       via  3ee2df87e7214fb741d5ab7997be17a500db8fd5 (commit)
       via  20aea9dca5fa69b9384adc82e74403992583333d (commit)
       via  3eee5409dd191f20d8aa34cf4d0ed8c397e239e1 (commit)
       via  1337af2c5e39e4cd16c98708292db3aa7f166305 (commit)
       via  94a096f938768a4d82f1cbc0f0087cf7945a732c (commit)
       via  80c354acbef216f2f16ff0dc5063e2b2ea62bafc (commit)
       via  0d9c52f7198b5f765f029111132de9aec407391a (commit)
       via  61207893e6ca2d50d5d0cd0177282d0bb5e0a6ae (commit)
       via  cbc007ab970d823f6b227905750b59854a0b4b29 (commit)
       via  3a6e68ebef6ab5687ecac21cdfba472342ed8a16 (commit)
       via  fd944dcf8360733363a810773e2cf2d1c4c9b64b (commit)
       via  5c82fe5ff8b977094f1eed336b93b42b2d94e9b8 (commit)
       via  ecc831560c4430bb256b3f1de4901350f3145189 (commit)
       via  62c51403278e51642a9c47ae412b0e20bb1c9a91 (commit)
       via  3f5c6cdd418790ed494542e0b46676a9cdfc51fd (commit)
       via  afe3398d21aeb2db9102943064d3f8f3dca65a78 (commit)
       via  4154ca785ead2ff26e43e11779ba6ec7a2c33e50 (commit)
       via  6e4b1a5d7f013dce3488b8e085602d247db3ecd3 (commit)
       via  d74691357824a02883c9b0fc618ac72605d055bb (commit)
       via  8b968dd733cdad869f9ecf5ee49921f0808eb5c8 (commit)
       via  2a6adb4f5011d2b573c770e37d5b9d46c648756d (commit)
       via  e43e248c3fb96a6d81437a3bf6e76e316dbd85fd (commit)
       via  018ef8b6676a4273b283377ea97315fbf9766569 (commit)
       via  9f3ba2c986b1dfcbef83e207b04b7a8c36813e22 (commit)
       via  4c665bf01df990b025c2f0d3b48cc25c06aef17e (commit)
       via  bd05934f6fc4af74a26ce299d0c98b9bafab3bee (commit)
       via  188e8d512a5d5b78bfcc7f4bddbf03f97657ca2f (commit)
       via  2ef8938e922a1e1ee34289b2d5b27dd35cf634d3 (commit)
       via  36df8be687fd208ad1af239d5dcdafca6f100dab (commit)
       via  d232f05ca5ebf81feec050cc89a398a1aad194bb (commit)
       via  a815a109a4baa3595efdad89b1bd02a2a5173da2 (commit)
       via  283228f90893965ad467c82e57839e70566b2262 (commit)
       via  61f1c81818350fac95ec24bb30725815101d657f (commit)
       via  d839f4146b052a37a401ddc6c2832a627655a170 (commit)
       via  6717cbae1062bad54a6afc9346c6c7e5592a4cc6 (commit)
       via  6ae52b97315e7335557904ecc209ef3ae28cbc00 (commit)
       via  85348bc937acb9e8231604801b7f6f0527138045 (commit)
       via  713d3e48f8e8d699ccc71e1b8ecccbca943d94f3 (commit)
       via  34acffeb667e03ab09051cbdb4cac4d64609bac1 (commit)
       via  fef853a84582f229c0e2af35fd88eb023fd8fee3 (commit)
       via  35aa8b0f44761a36363ee209ab4cda824097f7d5 (commit)
       via  317e9ce1e0dd315fd4dba1858065563e066bf9d9 (commit)
      from  12fab790f9fd169f857fbffcf66241e913d1f473 (commit)

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

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   34 ++
 Makefile.def                                       |   12 +
 Makefile.in                                        |  388 ++++++++++++++++++++
 bfd/ChangeLog                                      |  109 +++++-
 bfd/Makefile.am                                    |   33 +-
 bfd/Makefile.in                                    |   34 +-
 bfd/bfd-in2.h                                      |    4 +
 bfd/coffcode.h                                     |   29 +-
 bfd/config.bfd                                     |    2 -
 bfd/configure                                      |    4 +-
 bfd/configure.in                                   |    4 +-
 bfd/dwarf2.c                                       |    3 +-
 bfd/elf.c                                          |   69 ++++
 bfd/elf32-arm.c                                    |    4 +-
 bfd/elf32-hppa.c                                   |    6 +-
 bfd/elf32-m68hc1x.c                                |    5 +-
 bfd/elf32-s390.c                                   |   33 +-
 bfd/elf32-spu.c                                    |  336 +++++++++--------
 bfd/elf32-spu.h                                    |    9 +-
 bfd/elf64-hppa.c                                   |   26 +--
 bfd/elf64-s390.c                                   |   33 +-
 bfd/section.c                                      |    4 +
 bfd/simple.c                                       |    3 +-
 bfd/som.c                                          |   27 +--
 bfd/targets.c                                      |    4 +-
 bfd/version.h                                      |    2 +-
 bfd/vms-hdr.c                                      |    4 -
 bfd/xsym.c                                         |    5 +-
 configure                                          |   80 +++--
 configure.ac                                       |   68 ++--
 gdb/ChangeLog                                      |  181 +++++++++-
 gdb/Makefile.in                                    |    6 +-
 gdb/ada-exp.y                                      |   24 +-
 gdb/ada-lex.l                                      |   30 +-
 gdb/aix-thread.c                                   |   57 ++--
 gdb/amd64-linux-nat.c                              |    9 +
 gdb/auxv.c                                         |    1 +
 gdb/breakpoint.c                                   |    2 +-
 gdb/c-exp.y                                        |   24 +-
 gdb/configure.tgt                                  |    2 +-
 gdb/cp-name-parser.y                               |   24 +-
 gdb/darwin-nat-info.c                              |    6 +-
 gdb/darwin-nat.c                                   |    2 +-
 gdb/defs.h                                         |    3 +
 gdb/doc/ChangeLog                                  |   12 +
 gdb/doc/gdb.texinfo                                |   19 +-
 gdb/expprint.c                                     |    7 +-
 gdb/f-exp.y                                        |   24 +-
 gdb/frame.c                                        |   31 +-
 gdb/gdb_thread_db.h                                |    8 +-
 gdb/gdbserver/ChangeLog                            |   48 +++
 gdb/gdbserver/linux-low.c                          |  348 +++++++++---------
 gdb/gdbserver/linux-low.h                          |   16 +-
 gdb/gdbserver/proc-service.c                       |   10 +-
 gdb/gdbserver/thread-db.c                          |   44 ++--
 gdb/gnu-nat.c                                      |    2 +-
 gdb/go32-nat.c                                     |   11 +-
 gdb/hppanbsd-nat.c                                 |    6 +-
 gdb/hppanbsd-tdep.c                                |    6 +-
 gdb/hppaobsd-tdep.c                                |    6 +-
 gdb/hpux-thread.c                                  |    4 +-
 gdb/inf-ptrace.c                                   |    2 +-
 gdb/inf-ttrace.c                                   |    2 +-
 gdb/infrun.c                                       |    4 +-
 gdb/jv-exp.y                                       |   24 +-
 gdb/linux-nat.c                                    |   26 +-
 gdb/m2-exp.y                                       |   24 +-
 gdb/mi/mi-main.h                                   |    4 +-
 gdb/monitor.c                                      |    2 +-
 gdb/nto-procfs.c                                   |    2 +-
 gdb/objc-exp.y                                     |    6 +-
 gdb/p-exp.y                                        |   24 +-
 gdb/printcmd.c                                     |   19 +-
 gdb/procfs.c                                       |    4 +-
 gdb/remote-m32r-sdi.c                              |    2 +-
 gdb/remote-mips.c                                  |   14 +-
 gdb/remote-sim.c                                   |    6 +-
 gdb/remote.c                                       |   13 +-
 gdb/reply_mig_hack.awk                             |    6 +-
 gdb/reverse.c                                      |    6 +-
 gdb/rs6000-nat.c                                   |    3 +-
 gdb/stack.c                                        |   79 ++++
 gdb/target.c                                       |   34 +-
 gdb/target.h                                       |    5 +-
 gdb/testsuite/ChangeLog                            |   24 ++
 gdb/testsuite/gdb.ada/fixed_points.exp             |   10 +
 .../gdb.ada/fixed_points/fixed_points.adb          |   39 ++-
 gdb/testsuite/gdb.base/return-nodebug.c            |   22 +-
 gdb/testsuite/gdb.base/return-nodebug.exp          |   44 ++-
 .../{return-nodebug.c => return-nodebug1.c}        |   29 +--
 gdb/testsuite/gdb.base/solib-display.exp           |    2 +-
 gdb/utils.c                                        |   17 +
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |    6 +-
 gdb/xtensa-xtregs.c                                |    2 +-
 include/ChangeLog                                  |   10 +
 include/alloca-conf.h                              |   60 ++-
 include/demangle.h                                 |    6 +-
 include/elf/ChangeLog                              |   10 +
 include/elf/common.h                               |   13 +
 libiberty/ChangeLog                                |   12 +
 libiberty/cp-demangle.c                            |   71 ++++-
 libiberty/testsuite/demangle-expected              |   18 +-
 opcodes/ChangeLog                                  |    7 +
 opcodes/Makefile.am                                |   10 +-
 opcodes/Makefile.in                                |   11 +-
 opcodes/cgen-opc.c                                 |    7 +-
 opcodes/openrisc-opc.c                             |    5 +-
 opcodes/score-dis.c                                |   36 ++-
 sim/common/ChangeLog                               |    5 +
 sim/common/sim-utils.c                             |    6 +-
 111 files changed, 2133 insertions(+), 1009 deletions(-)
 copy gdb/testsuite/gdb.base/{return-nodebug.c => return-nodebug1.c} (69%)

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 5ee9384..7e44f7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,37 @@
+2009-03-18  Tom Tromey  <tromey@redhat.com>
+
+	* configure: Rebuild.
+	* configure.ac (host_libs): Add libiconv.
+	* Makefile.in: Rebuild.
+	* Makefile.def (host_modules): Add libiconv.
+	(configure-gdb, all-gdb): Depend on libiconv.
+
+2009-03-16  Tristan Gingold  <gingold@adacore.com>
+
+	* configure.ac: Treat gdb as supported on x86_64-darwin.
+	* configure: Regenerate.
+
+2009-03-16  Joseph Myers  <joseph@codesourcery.com>
+
+	Merge from GCC:
+
+	2009-03-16  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac (--with-host-libstdcxx): New option.
+	* configure: Regenerate.
+
+	2009-01-29  Robert Millan  <rmh@aybabtu.com>
+
+	* configure.ac: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu).
+	* configure: Regenerate.
+
+	2009-01-12  Sebastian Pop <sebastian.pop@amd.com>
+
+	PR tree-optimization/38515
+	* configure.ac (cloog-polylib): Removed.
+	(with_ppl, with_cloog): Test for "no".
+	* configure: Regenerated.
+
 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Backport from git Libtool:
diff --git a/Makefile.def b/Makefile.def
index fee4dda..a0a5266 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -94,6 +94,14 @@ host_modules= { module= libcpp; bootstrap=true; };
 host_modules= { module= libdecnumber; bootstrap=true; };
 host_modules= { module= libgui; };
 host_modules= { module= libiberty; bootstrap=true; };
+// We abuse missing to avoid installing anything for libiconv.
+host_modules= { module= libiconv;
+		extra_configure_flags='--disable-shared';
+		no_install= true;
+		missing= install-info;
+		missing= install-pdf;
+		missing= install-html;
+		missing= install-info; };
 host_modules= { module= libtool; };
 host_modules= { module= m4; };
 host_modules= { module= make; };
@@ -339,7 +347,11 @@ dependencies = { module=configure-cloog; on=all-ppl; };
 dependencies = { module=configure-gdb; on=all-intl; };
 dependencies = { module=configure-gdb; on=configure-sim; };
 dependencies = { module=configure-gdb; on=all-bfd; };
+// Depend on all-libiconv so that configure checks for iconv
+// functions will work.
+dependencies = { module=configure-gdb; on=all-libiconv; };
 dependencies = { module=all-gdb; on=all-libiberty; };
+dependencies = { module=all-gdb; on=all-libiconv; };
 dependencies = { module=all-gdb; on=all-opcodes; };
 dependencies = { module=all-gdb; on=all-readline; };
 dependencies = { module=all-gdb; on=all-build-bison; };
diff --git a/Makefile.in b/Makefile.in
index 3ca3f26..26d1d01 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -714,6 +714,7 @@ configure-host:  \
     maybe-configure-libdecnumber \
     maybe-configure-libgui \
     maybe-configure-libiberty \
+    maybe-configure-libiconv \
     maybe-configure-libtool \
     maybe-configure-m4 \
     maybe-configure-make \
@@ -871,6 +872,7 @@ all-host: maybe-all-libgui
 @if libiberty-no-bootstrap
 all-host: maybe-all-libiberty
 @endif libiberty-no-bootstrap
+all-host: maybe-all-libiconv
 all-host: maybe-all-libtool
 all-host: maybe-all-m4
 all-host: maybe-all-make
@@ -989,6 +991,7 @@ info-host: maybe-info-libcpp
 info-host: maybe-info-libdecnumber
 info-host: maybe-info-libgui
 info-host: maybe-info-libiberty
+info-host: maybe-info-libiconv
 info-host: maybe-info-libtool
 info-host: maybe-info-m4
 info-host: maybe-info-make
@@ -1098,6 +1101,7 @@ dvi-host: maybe-dvi-libcpp
 dvi-host: maybe-dvi-libdecnumber
 dvi-host: maybe-dvi-libgui
 dvi-host: maybe-dvi-libiberty
+dvi-host: maybe-dvi-libiconv
 dvi-host: maybe-dvi-libtool
 dvi-host: maybe-dvi-m4
 dvi-host: maybe-dvi-make
@@ -1207,6 +1211,7 @@ pdf-host: maybe-pdf-libcpp
 pdf-host: maybe-pdf-libdecnumber
 pdf-host: maybe-pdf-libgui
 pdf-host: maybe-pdf-libiberty
+pdf-host: maybe-pdf-libiconv
 pdf-host: maybe-pdf-libtool
 pdf-host: maybe-pdf-m4
 pdf-host: maybe-pdf-make
@@ -1316,6 +1321,7 @@ html-host: maybe-html-libcpp
 html-host: maybe-html-libdecnumber
 html-host: maybe-html-libgui
 html-host: maybe-html-libiberty
+html-host: maybe-html-libiconv
 html-host: maybe-html-libtool
 html-host: maybe-html-m4
 html-host: maybe-html-make
@@ -1425,6 +1431,7 @@ TAGS-host: maybe-TAGS-libcpp
 TAGS-host: maybe-TAGS-libdecnumber
 TAGS-host: maybe-TAGS-libgui
 TAGS-host: maybe-TAGS-libiberty
+TAGS-host: maybe-TAGS-libiconv
 TAGS-host: maybe-TAGS-libtool
 TAGS-host: maybe-TAGS-m4
 TAGS-host: maybe-TAGS-make
@@ -1534,6 +1541,7 @@ install-info-host: maybe-install-info-libcpp
 install-info-host: maybe-install-info-libdecnumber
 install-info-host: maybe-install-info-libgui
 install-info-host: maybe-install-info-libiberty
+install-info-host: maybe-install-info-libiconv
 install-info-host: maybe-install-info-libtool
 install-info-host: maybe-install-info-m4
 install-info-host: maybe-install-info-make
@@ -1643,6 +1651,7 @@ install-pdf-host: maybe-install-pdf-libcpp
 install-pdf-host: maybe-install-pdf-libdecnumber
 install-pdf-host: maybe-install-pdf-libgui
 install-pdf-host: maybe-install-pdf-libiberty
+install-pdf-host: maybe-install-pdf-libiconv
 install-pdf-host: maybe-install-pdf-libtool
 install-pdf-host: maybe-install-pdf-m4
 install-pdf-host: maybe-install-pdf-make
@@ -1752,6 +1761,7 @@ install-html-host: maybe-install-html-libcpp
 install-html-host: maybe-install-html-libdecnumber
 install-html-host: maybe-install-html-libgui
 install-html-host: maybe-install-html-libiberty
+install-html-host: maybe-install-html-libiconv
 install-html-host: maybe-install-html-libtool
 install-html-host: maybe-install-html-m4
 install-html-host: maybe-install-html-make
@@ -1861,6 +1871,7 @@ installcheck-host: maybe-installcheck-libcpp
 installcheck-host: maybe-installcheck-libdecnumber
 installcheck-host: maybe-installcheck-libgui
 installcheck-host: maybe-installcheck-libiberty
+installcheck-host: maybe-installcheck-libiconv
 installcheck-host: maybe-installcheck-libtool
 installcheck-host: maybe-installcheck-m4
 installcheck-host: maybe-installcheck-make
@@ -1970,6 +1981,7 @@ mostlyclean-host: maybe-mostlyclean-libcpp
 mostlyclean-host: maybe-mostlyclean-libdecnumber
 mostlyclean-host: maybe-mostlyclean-libgui
 mostlyclean-host: maybe-mostlyclean-libiberty
+mostlyclean-host: maybe-mostlyclean-libiconv
 mostlyclean-host: maybe-mostlyclean-libtool
 mostlyclean-host: maybe-mostlyclean-m4
 mostlyclean-host: maybe-mostlyclean-make
@@ -2079,6 +2091,7 @@ clean-host: maybe-clean-libcpp
 clean-host: maybe-clean-libdecnumber
 clean-host: maybe-clean-libgui
 clean-host: maybe-clean-libiberty
+clean-host: maybe-clean-libiconv
 clean-host: maybe-clean-libtool
 clean-host: maybe-clean-m4
 clean-host: maybe-clean-make
@@ -2188,6 +2201,7 @@ distclean-host: maybe-distclean-libcpp
 distclean-host: maybe-distclean-libdecnumber
 distclean-host: maybe-distclean-libgui
 distclean-host: maybe-distclean-libiberty
+distclean-host: maybe-distclean-libiconv
 distclean-host: maybe-distclean-libtool
 distclean-host: maybe-distclean-m4
 distclean-host: maybe-distclean-make
@@ -2297,6 +2311,7 @@ maintainer-clean-host: maybe-maintainer-clean-libcpp
 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
 maintainer-clean-host: maybe-maintainer-clean-libgui
 maintainer-clean-host: maybe-maintainer-clean-libiberty
+maintainer-clean-host: maybe-maintainer-clean-libiconv
 maintainer-clean-host: maybe-maintainer-clean-libtool
 maintainer-clean-host: maybe-maintainer-clean-m4
 maintainer-clean-host: maybe-maintainer-clean-make
@@ -2460,6 +2475,7 @@ check-host:  \
     maybe-check-libdecnumber \
     maybe-check-libgui \
     maybe-check-libiberty \
+    maybe-check-libiconv \
     maybe-check-libtool \
     maybe-check-m4 \
     maybe-check-make \
@@ -2595,6 +2611,7 @@ install-host-nogcc:  \
     maybe-install-libdecnumber \
     maybe-install-libgui \
     maybe-install-libiberty \
+    maybe-install-libiconv \
     maybe-install-libtool \
     maybe-install-m4 \
     maybe-install-make \
@@ -2671,6 +2688,7 @@ install-host:  \
     maybe-install-libdecnumber \
     maybe-install-libgui \
     maybe-install-libiberty \
+    maybe-install-libiconv \
     maybe-install-libtool \
     maybe-install-m4 \
     maybe-install-make \
@@ -29059,6 +29077,374 @@ maintainer-clean-libiberty:
 
 
 
+.PHONY: configure-libiconv maybe-configure-libiconv
+maybe-configure-libiconv:
+@if gcc-bootstrap
+configure-libiconv: stage_current
+@endif gcc-bootstrap
+@if libiconv
+maybe-configure-libiconv: configure-libiconv
+configure-libiconv: 
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
+	$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
+	$(HOST_EXPORTS) \
+	echo Configuring in $(HOST_SUBDIR)/libiconv; \
+	cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
+	case $(srcdir) in \
+	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+	  *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
+		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+	esac; \
+	srcdiroption="--srcdir=$${topdir}/libiconv"; \
+	libsrcdir="$$s/libiconv"; \
+	$(SHELL) $${libsrcdir}/configure \
+	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+	  --target=${target_alias} $${srcdiroption} --disable-shared \
+	  || exit 1
+@endif libiconv
+
+
+
+
+
+.PHONY: all-libiconv maybe-all-libiconv
+maybe-all-libiconv:
+@if gcc-bootstrap
+all-libiconv: stage_current
+@endif gcc-bootstrap
+@if libiconv
+TARGET-libiconv=all
+maybe-all-libiconv: all-libiconv
+all-libiconv: configure-libiconv
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd $(HOST_SUBDIR)/libiconv && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)  \
+		$(TARGET-libiconv))
+@endif libiconv
+
+
+
+
+.PHONY: check-libiconv maybe-check-libiconv
+maybe-check-libiconv:
+@if libiconv
+maybe-check-libiconv: check-libiconv
+
+check-libiconv:
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd $(HOST_SUBDIR)/libiconv && \
+	  $(MAKE) $(FLAGS_TO_PASS)  check)
+
+@endif libiconv
+
+.PHONY: install-libiconv maybe-install-libiconv
+maybe-install-libiconv:
+@if libiconv
+maybe-install-libiconv: install-libiconv
+
+install-libiconv:
+
+@endif libiconv
+
+# Other targets (info, dvi, pdf, etc.)
+
+.PHONY: maybe-info-libiconv info-libiconv
+maybe-info-libiconv:
+@if libiconv
+maybe-info-libiconv: info-libiconv
+
+info-libiconv: \
+    configure-libiconv 
+	@: $(MAKE); $(unstage)
+	@[ -f ./libiconv/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing info in libiconv" ; \
+	(cd $(HOST_SUBDIR)/libiconv && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          info) \
+	  || exit 1
+
+@endif libiconv
+
+.PHONY: maybe-dvi-libiconv dvi-libiconv
+maybe-dvi-libiconv:
+@if libiconv
+maybe-dvi-libiconv: dvi-libiconv
+
+dvi-libiconv: \
+    configure-libiconv 
+	@: $(MAKE); $(unstage)
+	@[ -f ./libiconv/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing dvi in libiconv" ; \
+	(cd $(HOST_SUBDIR)/libiconv && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          dvi) \
+	  || exit 1
+
+@endif libiconv
+
+.PHONY: maybe-pdf-libiconv pdf-libiconv
+maybe-pdf-libiconv:
+@if libiconv
+maybe-pdf-libiconv: pdf-libiconv
+
+pdf-libiconv: \
+    configure-libiconv 
+	@: $(MAKE); $(unstage)
+	@[ -f ./libiconv/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing pdf in libiconv" ; \
+	(cd $(HOST_SUBDIR)/libiconv && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          pdf) \
+	  || exit 1
+
+@endif libiconv
+
+.PHONY: maybe-html-libiconv html-libiconv
+maybe-html-libiconv:
+@if libiconv
+maybe-html-libiconv: html-libiconv
+
+html-libiconv: \
+    configure-libiconv 
+	@: $(MAKE); $(unstage)
+	@[ -f ./libiconv/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing html in libiconv" ; \
+	(cd $(HOST_SUBDIR)/libiconv && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          html) \
+	  || exit 1
+
+@endif libiconv
+
+.PHONY: maybe-TAGS-libiconv TAGS-libiconv
+maybe-TAGS-libiconv:
+@if libiconv
+maybe-TAGS-libiconv: TAGS-libiconv
+
+TAGS-libiconv: \
+    configure-libiconv 
+	@: $(MAKE); $(unstage)
+	@[ -f ./libiconv/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing TAGS in libiconv" ; \
+	(cd $(HOST_SUBDIR)/libiconv && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          TAGS) \
+	  || exit 1
+
+@endif libiconv
+
+.PHONY: maybe-install-info-libiconv install-info-libiconv
+maybe-install-info-libiconv:
+@if libiconv
+maybe-install-info-libiconv: install-info-libiconv
+
+# libiconv doesn't support install-info.
+install-info-libiconv:
+
+@endif libiconv
+
+.PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
+maybe-install-pdf-libiconv:
+@if libiconv
+maybe-install-pdf-libiconv: install-pdf-libiconv
+
+# libiconv doesn't support install-pdf.
+install-pdf-libiconv:
+
+@endif libiconv
+
+.PHONY: maybe-install-html-libiconv install-html-libiconv
+maybe-install-html-libiconv:
+@if libiconv
+maybe-install-html-libiconv: install-html-libiconv
+
+# libiconv doesn't support install-html.
+install-html-libiconv:
+
+@endif libiconv
+
+.PHONY: maybe-installcheck-libiconv installcheck-libiconv
+maybe-installcheck-libiconv:
+@if libiconv
+maybe-installcheck-libiconv: installcheck-libiconv
+
+installcheck-libiconv: \
+    configure-libiconv 
+	@: $(MAKE); $(unstage)
+	@[ -f ./libiconv/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing installcheck in libiconv" ; \
+	(cd $(HOST_SUBDIR)/libiconv && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          installcheck) \
+	  || exit 1
+
+@endif libiconv
+
+.PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
+maybe-mostlyclean-libiconv:
+@if libiconv
+maybe-mostlyclean-libiconv: mostlyclean-libiconv
+
+mostlyclean-libiconv: 
+	@: $(MAKE); $(unstage)
+	@[ -f ./libiconv/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2009-03-15 14:37 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2009-03-15 14:37 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  f8c087d78fba2119fbca2cbdd7ebe7b5bef5e13b (commit)
       via  c5b3769a48bcda01b8b20860cb4929ea067755c2 (commit)
       via  5a70a9240d5fb15ce57adb499caa4e46f1ea6e5d (commit)
       via  1cc83f114d652f8bd338b3508de5e9a6374809ae (commit)
       via  a0c065d83c2f5640226dac5f3c0e9fcd1fea2a72 (commit)
       via  6802dbca9a40e83795a45c7522ddf78ff0e7b325 (commit)
       via  8e953a57887ee5d20be67e0c83c0c9de378ed397 (commit)
       via  8b9369a02e1db5691cc4c20efe0b03d2ecf839e5 (commit)
       via  53efdee1dbb7d3a206eccf7b4990348f73f4d555 (commit)
       via  d8f1dba1d787988c88490dd986cd3744d3f04f72 (commit)
       via  00d8fe4be428570128fd3d3cf0709be51360c3d3 (commit)
       via  abb5856b6342884318de5bf2e7541c94b1075fc7 (commit)
       via  fce6254b4e6e24e6d2ea62167b6c10ff804ab561 (commit)
       via  0670c2918c269a3a4d6a8305908ac575bdddc71c (commit)
       via  3504ff5761600a919037d086afa494c81b732ecc (commit)
       via  cb5bd6c598173b62b15bb37fe4776c64889f9b47 (commit)
       via  828ce62c8e2516f858c4fb92fd35877fa3b7ede0 (commit)
       via  3b1ae69818be9a470eb6e95c9856cc3392466bfe (commit)
       via  71224307bde0cb21bc3af6ca9ae39a185f8a816a (commit)
       via  6e68813bf321f963f77848af9d0bcc7f04dc1d87 (commit)
       via  407fab21772b11da176e67f8feb7153e0b18cf95 (commit)
       via  d98eb9e289a591a82c08f226de1fa2a257bac603 (commit)
       via  2185460c34c7662b48e58cf58d8993ce0ec89773 (commit)
       via  34d2f40593b075375fd50292c7ca9e549b502bcb (commit)
       via  11b5532796e0e522baf0588943faad5eaa72e4dc (commit)
       via  be829f1879ac3c32d0b7f7ef408282dc5001cf11 (commit)
       via  6cf921c12d2b7ecc2322accb2c606cbd7456eb16 (commit)
       via  3d4128f37bb7e6ab7be1f8cd278c387a2c4cedac (commit)
       via  79cd916b74e5645a8051b17119368f8b455ec450 (commit)
       via  c19205a282d4acf4f98de51f3a9dd45746258824 (commit)
       via  b6baa86aedd02ccc76eec7512de30fa631376f2b (commit)
       via  48080f8b8c6bf65f13ce51e69e8e4f1ff3279cc0 (commit)
       via  b149ab952a09f3b31f2f9451020b145e230ac258 (commit)
       via  d2a7ebd93f2a72dbc0d150fea57c028c9afede15 (commit)
       via  084662c8c30b46798cbd6f6f72715b721f6f453f (commit)
       via  c7c22f6962e854cff5e36fcb28380456d3f5d838 (commit)
       via  8ff2d8e707b490a3221de434f6d3df604a904fbc (commit)
       via  b8600f7ad24559d7038d9c4b77dd519d23f9be06 (commit)
       via  992629921aa36c6bf82174ef22c2a120955ecf5c (commit)
       via  c8a81f6e8c87a17930caea048986cd815653b734 (commit)
       via  ab6145c706bdaee3615c93409108ba74d3ba3376 (commit)
       via  7684a5dbf99ce138626a84f34c71e332e29b37ed (commit)
       via  365e0b6e20055eaad0ed22826d747a65b9a9787b (commit)
       via  d3483556827162c6881993825366b3200713da2b (commit)
       via  d54922f960da0062b1ab35096b7d5301f66f784d (commit)
       via  6955a4981a80e100e4f12b9fe44758d45f527626 (commit)
       via  d85b4c3530d36893e40157f20989f619bf680bb9 (commit)
       via  40305a68cefa0975a1065654f52702b78e0f830f (commit)
       via  2fa50e60ad07d593c494e3940ea36bfcb6f54a37 (commit)
       via  a12585fffd92c8336f69b93eb34b1e0f7afea9c4 (commit)
       via  572abd81388d29a66a41e42fa2584a0bcb6cbd2a (commit)
       via  9bcbaf4d3d1f08a128e5838205d28f7e9dc0382d (commit)
       via  af404eace2d422e9ce55bbe59a5f8d803476703b (commit)
       via  322fc1378e70a9f5eb4ff1b980386dbc087d942b (commit)
       via  5473a6dd08b18061f817f784b197f44c949d2cf5 (commit)
       via  f77a1d8078de2b302571c21dd8b20457475f4e4f (commit)
      from  faf81bd1827c1405b4f5218bfbe75f98d6de1cb5 (commit)

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

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                |  226 +++
 bfd/bfd-in.h                                 |    2 +-
 bfd/bfd-in2.h                                |    2 +-
 bfd/coff-rs6000.c                            |   84 +-
 bfd/coff64-rs6000.c                          |   78 +-
 bfd/coffcode.h                               |    7 +-
 bfd/coffgen.c                                |    1 +
 bfd/config.bfd                               |    4 +-
 bfd/configure                                |    2 +-
 bfd/configure.in                             |    4 +-
 bfd/elf-bfd.h                                |    7 +-
 bfd/elf.c                                    |   18 +-
 bfd/elf32-arm.c                              |   14 +-
 bfd/elf32-spu.c                              |    6 +-
 bfd/elflink.c                                |   21 +-
 bfd/libcoff-in.h                             |    6 +-
 bfd/libcoff.h                                |    6 +-
 bfd/version.h                                |    2 +-
 bfd/xcofflink.c                              | 1967 +++++++++++++++-----------
 gdb/ChangeLog                                |  121 ++
 gdb/ada-lang.c                               |  120 ++-
 gdb/ada-lang.h                               |    2 -
 gdb/ada-tasks.c                              |   34 +-
 gdb/darwin-nat.c                             |   12 +-
 gdb/defs.h                                   |    2 +-
 gdb/doc/ChangeLog                            |   13 +-
 gdb/doc/gdb.texinfo                          |   75 +
 gdb/exceptions.c                             |   32 +-
 gdb/exceptions.h                             |   15 +-
 gdb/gdbserver/ChangeLog                      |    9 +
 gdb/gdbserver/Makefile.in                    |    5 +-
 gdb/gdbserver/hostio-errno.c                 |    6 +-
 gdb/gdbserver/hostio.c                       |    6 +-
 gdb/gdbserver/server.c                       |    7 +
 gdb/gdbserver/xtensa-xtregs.c                |    2 +-
 gdb/mi/mi-interp.c                           |    1 +
 gdb/mi/mi-main.c                             |   38 +-
 gdb/mi/mi-main.h                             |    2 +
 gdb/remote.c                                 |   66 +-
 gdb/source.c                                 |    2 +-
 gdb/stack.c                                  |   95 +--
 gdb/symtab.c                                 |    9 +-
 gdb/testsuite/ChangeLog                      |   46 +-
 gdb/testsuite/gdb.ada/mod_from_name.exp      |   47 +
 gdb/testsuite/gdb.ada/mod_from_name/foo.adb  |   36 +
 gdb/testsuite/gdb.ada/ptype_arith_binop.exp  |   36 +
 gdb/testsuite/gdb.ada/tick_last_segv.exp     |   49 +
 gdb/testsuite/gdb.ada/tick_last_segv/foo.adb |   19 +
 gdb/testsuite/gdb.base/multi-forks.exp       |  121 +-
 gdb/testsuite/gdb.base/return-nodebug.exp    |   15 +-
 gdb/testsuite/gdb.mi/mi-cli.exp              |   38 +-
 gdb/version.in                               |    2 +-
 include/ChangeLog                            |   15 +
 include/coff/ChangeLog                       |   25 +
 include/coff/internal.h                      |   17 +-
 include/coff/pe.h                            |   11 +
 include/coff/xcoff.h                         |   25 +-
 57 files changed, 2433 insertions(+), 1200 deletions(-)
 create mode 100644 gdb/testsuite/gdb.ada/mod_from_name.exp
 create mode 100644 gdb/testsuite/gdb.ada/mod_from_name/foo.adb
 create mode 100644 gdb/testsuite/gdb.ada/ptype_arith_binop.exp
 create mode 100644 gdb/testsuite/gdb.ada/tick_last_segv.exp
 create mode 100644 gdb/testsuite/gdb.ada/tick_last_segv/foo.adb

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9841e5d..33174a3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,229 @@
+2009-03-15  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf32-spu.c (build_stub): Correct icache set_id.
+	(spu_elf_relocate_section): Likewise.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* xcofflink.c (xcoff_link_check_archive_element): Only free the
+	symbol table if it was created by the current call.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* xcofflink.c (xcoff_build_ldsyms): Give imported descriptors
+	class XMC_DS rather than XMC_UA.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* bfd-in.h (bfd_xcoff_size_dynamic_sections): Replace the
+	bfd_boolean export_defineds parameter with an unsigned int
+	auto_export_flags parameter.
+	* bfd-in2.h: Regenerate.
+	* xcofflink.c (xcoff_archive_contains_shared_object_p): New function,
+	split out from xcoff_build_ldsyms.
+	(xcoff_covered_by_expall_p): New function.
+	(xcoff_auto_export_p): New function, split out from xcoff_build_ldsyms
+	but with extra code to handle -bexpfull and -bexpall.
+	(xcoff_mark_auto_exports): New function.
+	(xcoff_build_ldsyms): Use xcoff_auto_export_p to decide whether
+	a function should be automatically exported.
+	(bfd_xcoff_size_dynamic_sections): Replace the export_defineds
+	parameter with an auto_export_flags parameter.  Update ldinfo
+	accordingly.  Use xcoff_mark_auto_exports to mark all automatically-
+	exported symbols.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* xcofflink.c (xcoff_mark_symbol_by_name): New function.
+	(bfd_xcoff_size_dynamic_sections): Use it to mark the entry,
+	init and fini functions.  Do garbage collection for objects
+	without an entry point too.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* coffcode.h (coff_pointerize_aux_hook): Update CSECT_SYM_P to
+	check whether a symbol has csect information.
+	(coff_print_aux): Likewise.
+	* coff-rs6000.c (_bfd_xcoff_swap_aux_in): Handle auxillary csect
+	information for C_AIX_WEAKEXT too.
+	(_bfd_xcoff_swap_aux_out): Likewise.
+	(xcoff_reloc_type_br): Handle defweak symbols too.
+	* coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Handle auxillary csect
+	information for C_AIX_WEAKEXT too.
+	(_bfd_xcoff64_swap_aux_out): Likewise.
+	(xcoff64_reloc_type_br): Handle defweak symbols too.
+	* coffgen.c (coff_print_symbol): Handle auxillary function
+	information for C_AIX_WEAKEXT too.
+	* xcofflink.c (_bfd_xcoff_canonicalize_dynamic_symtab): Set BSF_WEAK
+	instead of BSF_GLOBAL if the L_WEAK flag is set.
+	(xcoff_dynamic_definition_p): New function.
+	(xcoff_link_add_dynamic_symbols): Use it to decide whether ldsym
+	defines h.  Don't change h if ldsym isn't the definition.  Otherwise,
+	always take the symbol class from the ldsym.  Use weak bfd symbol
+	types for weak ldsyms.
+	(xcoff_link_add_symbols): Use CSECT_SYM_P and EXTERN_SYM_P.
+	Fix the check for whether a definition is from a shared object.
+	Allow redefinitions of weak symbols.
+	(xcoff_link_check_ar_symbols): Use EXTERN_SYM_P.
+	(xcoff_keep_symbol_p): Likewise.
+	(bfd_xcoff_size_dynamic_sections): Use CSECT_SYM_P.
+	(xcoff_link_input_bfd): Use CSECT_SYM_P and EXTERN_SYM_P.
+	Add .loader entries for C_AIX_WEAKEXT as well as C_EXT symbols,
+	but mark them as L_WEAK.
+	(xcoff_write_global_symbol): Treat weak symbols as C_AIX_WEAKEXT
+	instead of C_EXT if C_AIX_WEAKEXT == C_WEAKEXT.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* xcofflink.c (xcoff_mark): When walking the relocations,
+	only mark the target symbol or the target section, not both.
+	(xcoff_final_definition_p): New function.
+	(xcoff_keep_symbol_p): Use it to check whether an external XCOFF
+	symbol is a valid definition of the associated output symbol.
+	Use XCOFF_ALLOCATED to stop the same hash table entry having
+	two output symbols.
+	(bfd_xcoff_size_dynamic_sections): Set XCOFF_ALLOCATED when
+	keeping a symbol.
+	(xcoff_link_input_bfd): Use xcoff_final_definition_p.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* xcofflink.c (bfd_xcoff_import_symbol): Treat imported absolute
+	symbols as XMC_XO.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* libcoff-in.h (xcoff_tdata): Add a lineno_counts field.
+	* libcoff.h: Regenerate.
+	* xcofflink.c (xcoff_link_add_symbols): Record per-symbol
+	line-number counts in the bfd's lineno_counts field.
+	Don't keep per-csect line-number counts.
+	(xcoff_sweep): Don't update per-csect line-number counts.
+	(bfd_xcoff_size_dynamic_sections): Count the number of line-number
+	entries in each output section.
+	(xcoff_link_input_bfd): Get the number of line numbers from
+	the bfd's lineno_counts field, rather than recalculating it
+	from scratch.  Fix the range check when updating C_BINCL and
+	C_EINCL symbols.
+	(_bfd_xcoff_bfd_final_link): Don't count the output line numbers
+	here.  Don't expect csects to have line-number counts.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* libcoff-in.h (xcoff_tdata): Change debug_indices to a signed long.
+	* libcoff.h: Regenerate.
+	* xcofflink.c (xcoff_keep_symbol_p): New function, using the
+	"skip" logic from xcoff_link_input_bfd.
+	(bfd_xcoff_size_dynamic_sections): Explicitly skip dynamic
+	objects in a dynamic link, rather than checking whether csectpp
+	is null.  Always allocate debug_index for other objects,
+	and always go through the loop.  Update the type of debug_index
+	after the change above.  Read the auxillary csect information
+	and use xcoff_keep_symbol_p to decide whether a symbol should
+	be kept.  Set its debug_index to -2 if not.
+	(xcoff_link_input_bfd): Update the type of debug_index after
+	the change above and always expect it to be nonnull.  Use it to
+	test whether a symbol should be stripped, rather than making the
+	decision here.  Postpone all symbol creation to the second pass.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* xcofflink.c: (xcoff_mark_symbol): Mark the TOC section when
+	creating a descriptor.
+	(xcoff_sweep): Don't mark toc_section unless it's needed.
+	(bfd_xcoff_size_dynamic_sections): Skip the toc_section
+	when marking every bfd.
+	(xcoff_link_input_bfd): Skip all TOC anchors.
+	(xcoff_toc_section_p, xcoff_find_tc0): New functions.
+	(_bfd_xcoff_bfd_final_link): Don't set the output bfd's TOC anchor
+	to -1; call xcoff_find_tc0 instead.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* libcoff-in.h (xcoff_section_tdata): Update commentary.
+	* libcoff.h: Regenerate.
+	* xcofflink.c (xcoff_link_add_symbols): Set the csect of XTY_ER
+	symbols to bfd_und_section_ptr or bfd_abs_section_ptr, rather than
+	the previous symbol's csect.  Treat last_symndx as an inclusive value
+	and simplify its handling.
+	(xcoff_mark): Treat last_symndx as an inclusive value.  Only mark
+	symbols with the right csect.  Don't mark rsec when processing
+	relocations against undefined or absolute sections.  
+	(bfd_xcoff_size_dynamic_sections): Don't check the SEC_MARK flag
+	of bfd_und_section_ptr.
+	(xcoff_link_input_bfd): Likewise.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* coff-rs6000.c (xcoff_ppc_relocate_section): Report relocations
+	against undefined symbols if the symbol's XCOFF_WAS_UNDEFINED
+	flag is set.  Assert that all undefined symbols are either
+	imported or defined by a dynamic object.
+	* coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise.
+	* xcofflink.c (xcoff_link_add_symbols): Extend function-symbol
+	handling to all relocations.  Only set XCOFF_CALLED for function
+	symbols.
+	(xcoff_find_function): New function, split out from...
+	(bfd_xcoff_export_symbol) ...here.
+	(xcoff_set_import_path): New function, split out from...
+	(bfd_xcoff_import_symbol): ...here.  Remove assertion for old
+	meaning of XCOFF_CALLED.
+	(xcoff_mark_symbol): If we mark an undefined and unimported
+	symbol, find some way of defining it.  If the symbol is a function
+	descriptor, fill in its definition automatically.  If the symbol
+	is a function, mark its descriptor and allocate room for global
+	linkage code.  Otherwise mark the symbol as implicitly imported.
+	Move the code for creating function descriptors from...
+	(xcoff_build_ldsyms): ...here.  Use XCOFF_WAS_UNDEFINED to 
+	check for symbols that were implicitly defined.
+	(xcoff_mark): Don't count any dynamic relocations against
+	function symbols.
+	(bfd_xcoff_size_dynamic_sections): Save the rtld parameter
+	in the xcoff link info.
+	(xcoff_link_input_bfd): Remove handling of undefined and
+	unexported symbols.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* coff-rs6000.c (xcoff_reloc_type_br): Make the branch absolute
+	if the target is absolute.  Fix comment typo.
+	(xcoff_ppc_relocate_section): Remove FIXME.
+	* coff64-rs6000.c (xcoff64_reloc_type_br): Make the branch absolute
+	if the target is absolute.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* xcofflink.c (xcoff_mark, xcoff_link_input_bfd): Don't copy
+	R_POS and R_NEG relocations against absolute symbols to the
+	.loader section.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* coff64-rs6000.c (xcoff64_write_object_contents): Set the cputype
+	to 2 for bfd_mach_ppc_620.
+
+2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+	* config.bfd: Treat AIX 6+ in the same way as AIX 5.
+	* configure.in: Likewise.
+	* configure: Regenerate.
+
+2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR binutils/9945
+	* elf.c (assign_section_numbers): Generate symbol table if there
+	is any relocation in output.
+	(_bfd_elf_compute_section_file_positions): Likewise.
+
+2009-03-13  Nick Clifton  <nickc@redhat.com>
+
+	PR 9934
+	* elf-bfd.h (NUM_SHDR_ENTRIES): Cope with an empty section.
+	* elflink.c (elf_link_read_relocs_from_section): Use
+	NUM_SHDR_ENTRIES.  Gracefully handle the case where there are
+	relocs but no symbol table.
+	* elf32-arm.c (elf32_arm_check_relocs): Likewise.
+
 2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR ld/9938
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 6b49013..5a3e13f 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -779,7 +779,7 @@ extern bfd_boolean bfd_xcoff_record_link_assignment
 extern bfd_boolean bfd_xcoff_size_dynamic_sections
   (bfd *, struct bfd_link_info *, const char *, const char *,
    unsigned long, unsigned long, unsigned long, bfd_boolean,
-   int, bfd_boolean, bfd_boolean, struct bfd_section **, bfd_boolean);
+   int, bfd_boolean, unsigned int, struct bfd_section **, bfd_boolean);
 extern bfd_boolean bfd_xcoff_link_generate_rtinit
   (bfd *, const char *, const char *, bfd_boolean);
 
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 7e3defd..a173f56 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -786,7 +786,7 @@ extern bfd_boolean bfd_xcoff_record_link_assignment
 extern bfd_boolean bfd_xcoff_size_dynamic_sections
   (bfd *, struct bfd_link_info *, const char *, const char *,
    unsigned long, unsigned long, unsigned long, bfd_boolean,
-   int, bfd_boolean, bfd_boolean, struct bfd_section **, bfd_boolean);
+   int, bfd_boolean, unsigned int, struct bfd_section **, bfd_boolean);
 extern bfd_boolean bfd_xcoff_link_generate_rtinit
   (bfd *, const char *, const char *, bfd_boolean);
 
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c
index 1db66e7..3343530 100644
--- a/bfd/coff-rs6000.c
+++ b/bfd/coff-rs6000.c
@@ -422,6 +422,7 @@ _bfd_xcoff_swap_aux_in (abfd, ext1, type, class, indx, numaux, in1)
 
       /* RS/6000 "csect" auxents */
     case C_EXT:
+    case C_AIX_WEAKEXT:
     case C_HIDEXT:
       if (indx + 1 == numaux)
 	{
@@ -531,6 +532,7 @@ _bfd_xcoff_swap_aux_out (abfd, inp, type, class, indx, numaux, extp)
 
       /* RS/6000 "csect" auxents */
     case C_EXT:
+    case C_AIX_WEAKEXT:
     case C_HIDEXT:
       if (indx + 1 == numaux)
 	{
@@ -2947,11 +2949,13 @@ xcoff_reloc_type_br (input_bfd, input_section, output_bfd, rel, sym, howto,
      bfd_byte *contents;
 {
   struct xcoff_link_hash_entry *h;
+  bfd_vma section_offset;
 
   if (0 > rel->r_symndx)
     return FALSE;
 
   h = obj_xcoff_sym_hashes (input_bfd)[rel->r_symndx];
+  section_offset = rel->r_vaddr - input_section->vma;
 
   /* If we see an R_BR or R_RBR reloc which is jumping to global
      linkage code, and it is followed by an appropriate cror nop
@@ -2961,13 +2965,14 @@ xcoff_reloc_type_br (input_bfd, input_section, output_bfd, rel, sym, howto,
      going to global linkage code, we can replace the load with a
      cror.  */
   if (NULL != h
-      && bfd_link_hash_defined == h->root.type
-      && rel->r_vaddr - input_section->vma + 8 <= input_section->size)
+      && (bfd_link_hash_defined == h->root.type
+	  || bfd_link_hash_defweak == h->root.type)
+      && section_offset + 8 <= input_section->size)
     {
       bfd_byte *pnext;
       unsigned long next;
 
-      pnext = contents + (rel->r_vaddr - input_section->vma) + 4;
+      pnext = contents + section_offset + 4;
       next = bfd_get_32 (input_bfd, pnext);
 
       /* The _ptrgl function is magic.  It is used by the AIX
@@ -2977,12 +2982,12 @@ xcoff_reloc_type_br (input_bfd, input_section, output_bfd, rel, sym, howto,
 	  if (next == 0x4def7b82			/* cror 15,15,15 */
 	      || next == 0x4ffffb82			/* cror 31,31,31 */
 	      || next == 0x60000000)			/* ori r0,r0,0 */
-	    bfd_put_32 (input_bfd, 0x80410014, pnext);	/* lwz r1,20(r1) */
+	    bfd_put_32 (input_bfd, 0x80410014, pnext);	/* lwz r2,20(r1) */
 
 	}
       else
 	{
-	  if (next == 0x80410014)			/* lwz r1,20(r1) */
+	  if (next == 0x80410014)			/* lwz r2,20(r1) */
 	    bfd_put_32 (input_bfd, 0x60000000, pnext);	/* ori r0,r0,0 */
 	}
     }
@@ -2998,16 +3003,42 @@ xcoff_reloc_type_br (input_bfd, input_section, output_bfd, rel, sym, howto,
       howto->complain_on_overflow = complain_overflow_dont;
     }
 
-  howto->pc_relative = TRUE;
+  /* The original PC-relative relocation is biased by -r_vaddr, so adding
+     the value below will give the absolute target address.  */
+  *relocation = val + addend + rel->r_vaddr;
+
   howto->src_mask &= ~3;
   howto->dst_mask = howto->src_mask;
 
-  /* A PC relative reloc includes the section address.  */
-  addend += input_section->vma;
-
-  *relocation = val + addend;
-  *relocation -= (input_section->output_section->vma
-		  + input_section->output_offset);
+  if (h != NULL
+      && (h->root.type == bfd_link_hash_defined
+	  || h->root.type == bfd_link_hash_defweak)
+      && bfd_is_abs_section (h->root.u.def.section)
+      && section_offset + 4 <= input_section->size)
+    {
+      bfd_byte *ptr;
+      bfd_vma insn;
+
+      /* Turn the relative branch into an absolute one by setting the
+	 AA bit.  */
+      ptr = contents + section_offset;
+      insn = bfd_get_32 (input_bfd, ptr);
+      insn |= 2;
+      bfd_put_32 (input_bfd, insn, ptr);
+
+      /* Make the howto absolute too.  */
+      howto->pc_relative = FALSE;
+      howto->complain_on_overflow = complain_overflow_bitfield;
+    }
+  else
+    {
+      /* Use a PC-relative howto and subtract the instruction's address
+	 from the target address we calculated above.  */
+      howto->pc_relative = TRUE;
+      *relocation -= (input_section->output_section->vma
+		      + input_section->output_offset
+		      + section_offset);
+    }
   return TRUE;
 }
 
@@ -3323,9 +3354,7 @@ xcoff_complain_overflow_unsigned_func (input_bfd, val, relocation, howto)
 
    R_RBR:
    A relative branch which may be modified to become an
-   absolute branch.  FIXME: We don't implement this,
-   although we should for symbols of storage mapping class
-   XMC_XO.
+   absolute branch.
 
    R_RL:
    The PowerPC AIX ABI describes this as a load which may be
@@ -3422,6 +3451,17 @@ xcoff_ppc_relocate_section (output_bfd, info, input_bfd,
 	    }
 	  else
 	    {
+	      if (info->unresolved_syms_in_objects != RM_IGNORE
+		  && (h->flags & XCOFF_WAS_UNDEFINED) != 0)
+		{
+		  if (! ((*info->callbacks->undefined_symbol)
+			 (info, h->root.root.string,
+			  input_bfd, input_section,
+			  rel->r_vaddr - input_section->vma,
+			  (info->unresolved_syms_in_objects
+			   == RM_GENERATE_ERROR))))
+		    return FALSE;
+		}
 	      if (h->root.type == bfd_link_hash_defined
 		  || h->root.type == bfd_link_hash_defweak)
 		{
@@ -3437,17 +3477,11 @@ xcoff_ppc_relocate_section (output_bfd, info, input_bfd,
 			 + sec->output_offset);
 
 		}
-	      else if ((0 == (h->flags & (XCOFF_DEF_DYNAMIC | XCOFF_IMPORT)))
-		       && ! info->relocatable)
+	      else
 		{
-		  if (! ((*info->callbacks->undefined_symbol)
-			 (info, h->root.root.string, input_bfd, input_section,
-			  rel->r_vaddr - input_section->vma, TRUE)))
-		    return FALSE;
-
-		  /* Don't try to process the reloc.  It can't help, and
-		     it may generate another error.  */
-		  continue;
+		  BFD_ASSERT (info->relocatable
+			      || (h->flags & XCOFF_DEF_DYNAMIC) != 0
+			      || (h->flags & XCOFF_IMPORT) != 0);
 		}
 	    }
 	}
diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c
index 776b6a2..1a0ff59 100644
--- a/bfd/coff64-rs6000.c
+++ b/bfd/coff64-rs6000.c
@@ -381,6 +381,7 @@ _bfd_xcoff64_swap_aux_in (abfd, ext1, type, class, indx, numaux, in1)
 
       /* RS/6000 "csect" auxents */
     case C_EXT:
+    case C_AIX_WEAKEXT:
     case C_HIDEXT:
       if (indx + 1 == numaux)
 	{
@@ -473,6 +474,7 @@ _bfd_xcoff64_swap_aux_out (abfd, inp, type, class, indx, numaux, extp)
 
       /* RS/6000 "csect" auxents */
     case C_EXT:
+    case C_AIX_WEAKEXT:
     case C_HIDEXT:
       if (indx + 1 == numaux)
 	{
@@ -1048,6 +1050,8 @@ xcoff64_write_object_contents (abfd)
 	    case bfd_arch_powerpc:
 	      if (bfd_get_mach (abfd) == bfd_mach_ppc)
 		internal_a.o_cputype = 3;
+	      else if (bfd_get_mach (abfd) == bfd_mach_ppc_620)
+		internal_a.o_cputype = 2;
 	      else
 		internal_a.o_cputype = 1;
 	      break;
@@ -1115,11 +1119,13 @@ xcoff64_reloc_type_br (input_bfd, input_section, output_bfd, rel, sym, howto,
      bfd_byte *contents;
 {
   struct xcoff_link_hash_entry *h;
+  bfd_vma section_offset;
 
   if (0 > rel->r_symndx)
     return FALSE;
 
   h = obj_xcoff_sym_hashes (input_bfd)[rel->r_symndx];
+  section_offset = rel->r_vaddr - input_section->vma;
 
   /* If we see an R_BR or R_RBR reloc which is jumping to global
      linkage code, and it is followed by an appropriate cror nop
@@ -1129,13 +1135,14 @@ xcoff64_reloc_type_br (input_bfd, input_section, output_bfd, rel, sym, howto,
      going to global linkage code, we can replace the load with a
      cror.  */
   if (NULL != h
-      && bfd_link_hash_defined == h->root.type
-      && rel->r_vaddr - input_section->vma + 8 <= input_section->size)
+      && (bfd_link_hash_defined == h->root.type
+	  || bfd_link_hash_defweak == h->root.type)
+      && section_offset + 8 <= input_section->size)
     {
       bfd_byte *pnext;
       unsigned long next;
 
-      pnext = contents + (rel->r_vaddr - input_section->vma) + 4;
+      pnext = contents + section_offset + 4;
       next = bfd_get_32 (input_bfd, pnext);
 
       /* The _ptrgl function is magic.  It is used by the AIX compiler to call
@@ -1164,16 +1171,42 @@ xcoff64_reloc_type_br (input_bfd, input_section, output_bfd, rel, sym, howto,
       howto->complain_on_overflow = complain_overflow_dont;
     }
 
-  howto->pc_relative = TRUE;
+  /* The original PC-relative relocation is biased by -r_vaddr, so adding
+     the value below will give the absolute target address.  */
+  *relocation = val + addend + rel->r_vaddr;
+
   howto->src_mask &= ~3;
   howto->dst_mask = howto->src_mask;


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2009-03-12 20:10 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2009-03-12 20:10 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  3c3f88221be71e896e1fcb93639d18a5504bbedf (commit)
       via  9253976ace93c65f9d951a38879690b91e0bd3e2 (commit)
       via  852c0e0d0263f85b62090507be8daa135a87a53a (commit)
       via  fca72fa5ad030093f21211e1b4394ef40ab1d0cc (commit)
       via  bd553788ac40acb65c8a0849f38266955f905814 (commit)
       via  a0ef3038786538a8d390c907e8d11953bae47bc3 (commit)
       via  ddba7e72ef21e86088399b5b9364848f9d474921 (commit)
       via  24b599131ae218b0aca33621a06043e05bfea682 (commit)
       via  398035ce19b44ec266da36255133cf3d8ffd2295 (commit)
       via  b3328989e625642287d2d9a0dbafd7f357172c9b (commit)
       via  3d1209ec9ee4547aeb4bc46af829f2c7bbcd5d2e (commit)
       via  79e74d313b4bc7c56b58b1ccfd48cf07e754dc32 (commit)
       via  9339cc18dd5700a48ae62e73dddcab789ac6f2b6 (commit)
       via  92dfc8c682f091812f76ab979cde6e13d9f5f91d (commit)
       via  734bf3302f8a087bb95c33facf93cbab88296e62 (commit)
       via  a88555d5710428614dbdade1bcddea2c7b81f071 (commit)
       via  0503f5df2489d32c57558a3fd733ab7a180b688d (commit)
       via  a3040cde74b99c348ce534d90b8f5330e88ec0ec (commit)
       via  4fe17d038a0891bdf400b17f5c01babb11e18c43 (commit)
       via  3d60ec7d687cd613e00aea316190936b9e47624d (commit)
       via  be87af029b506c0082a3e47f282e77052a368f8d (commit)
       via  bb895e00aedc40d6b47f1c76162c43cca0bf9655 (commit)
       via  c2972ffea8572552b612c7c2da82d3836b4a2c8a (commit)
       via  62c45004981d213b9fe085264e57f01d55fea73b (commit)
       via  0ed0ce6569cdb43df57173f703f5987da367625e (commit)
       via  be2e1c8d04cc278c352b05afcd2f92caad740b87 (commit)
       via  8444b262861157b6478ea024f77df2ed1ff02789 (commit)
       via  7a82cea5ae873f8b53eaf13f730a417a289a6aa9 (commit)
       via  01939d0bc5b5e377d2d2e1041336174f88d75657 (commit)
       via  ba3b27c6841ed40d7a38517348b34180797c2334 (commit)
       via  a602008d1bc4bd7ae94f48f258b42fe8b9fc6e35 (commit)
       via  7736f57ac722d86d8735aa89f71e86924ffb38cc (commit)
       via  f56e4cce499eef6d0f54e5febf00aa66f8a82f29 (commit)
       via  7028ef3bbdbc5e4a111d0b7cc780ee0c35a7292e (commit)
       via  129997da4c6c2aea81696300903da1ad47b7f48e (commit)
       via  f2f3abead03c81796832772dc2be966191b2f80c (commit)
       via  a93539b2e002585b2a1a2d32f0e2df2445fe6579 (commit)
       via  57eb800b475de56bba3f720dc7c64179f5899cec (commit)
       via  f1c4daa594919152e47c111c830393e10530443a (commit)
       via  3e5fb2e1453d9b8d09983a5a3d1d3ff203e8352a (commit)
       via  6e9407b3a655b3339a97bfeb9f79e6bf8e9a90ae (commit)
       via  a31bdfa66308b389d2a94de814afafbb4f0d9ff5 (commit)
       via  000b2df5b139714e6ec5d9fc79f1c59477b75126 (commit)
       via  8f21114a8f63389d6d516164a5a5fbd4de31e21b (commit)
       via  631a01f69c65c713332b5c5c152b583fd41cefd7 (commit)
       via  b2ec49e547711d2e267442bd571eb7253394d10f (commit)
       via  ef0744bb1590a8aad7f0b52c25f947de1e9b3e36 (commit)
       via  92f4807a51643d91c9f466fa62c1dc30c7a554ac (commit)
       via  6df02fc5bff4e11da68894137831fb27e8263d5c (commit)
       via  6ae22736c8ecbc8312af3631bd8be2ff156c3f64 (commit)
       via  4a7fe2eed71d84af81771722168df100149ebcc4 (commit)
       via  6722bb0b7991e0f20fd75883a2db654eea8438d3 (commit)
       via  a2e6917f7307db762725a77922ad8b0cf370e7ac (commit)
       via  c53b171a2083fdc3d959398d654aa2f4069b1c20 (commit)
       via  478ff543e243a47bb8934f738814ef69d9936ea5 (commit)
       via  fb597d271837a83d02703ca6fad12f9590845b3e (commit)
       via  9de9f540f0e38df29cca71eb7426e5791d1004dd (commit)
       via  a35213375f8b628f9e42fd5bc6cf67000c893248 (commit)
       via  62e5f942420bc61f1566a6becc79892ea08b27cd (commit)
       via  bb7fbd4a9265f0fceea0d0f0ca21933ccbee004e (commit)
       via  dad3bf19f9381ec7b0e8ba188626dddc81e8334e (commit)
      from  6d9d76db272654e4d50af4f2403dfba0c2df7c19 (commit)

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

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                               |  105 ++
 bfd/Makefile.am                             |   30 +-
 bfd/Makefile.in                             |   31 +-
 bfd/archive.c                               |   44 +-
 bfd/bfd-in2.h                               |   18 +-
 bfd/bfd.c                                   |    5 +
 bfd/configure                               |  247 ++++-
 bfd/configure.in                            |   22 +
 bfd/dwarf2.c                                |   76 +-
 bfd/ecoff.c                                 |   11 +-
 bfd/elf32-arm.c                             |   85 +-
 bfd/elf32-i386.c                            |    7 +-
 bfd/elf32-ppc.c                             |  192 +++-
 bfd/elf32-spu.c                             |   13 +
 bfd/elf64-ppc.c                             |  280 ++++-
 bfd/elf64-x86-64.c                          |    5 +-
 bfd/libbfd.h                                |    2 +
 bfd/peXXigen.c                              |   16 +-
 bfd/po/es.po                                | 1943 +++++++++++++++------------
 bfd/reloc.c                                 |    4 +
 bfd/section.c                               |   13 +-
 bfd/som.c                                   |    6 +-
 bfd/version.h                               |    2 +-
 gdb/ChangeLog                               |  158 +++
 gdb/ada-lang.c                              |   48 -
 gdb/ada-lang.h                              |    4 -
 gdb/ada-tasks.c                             |   37 -
 gdb/aix-thread.c                            |   26 +-
 gdb/breakpoint.c                            |   24 +-
 gdb/cli/cli-cmds.c                          |    2 +-
 gdb/dec-thread.c                            |   75 +-
 gdb/disasm.c                                |    1 -
 gdb/disasm.h                                |    1 -
 gdb/doc/ChangeLog                           |    7 +
 gdb/doc/gdb.texinfo                         |   45 +-
 gdb/dwarf2read.c                            |   49 +-
 gdb/gdbserver/ChangeLog                     |    2 +-
 gdb/infcmd.c                                |   81 +-
 gdb/inferior.h                              |    2 +
 gdb/mi/mi-cmd-disas.c                       |    1 -
 gdb/objfiles.c                              |    4 +-
 gdb/printcmd.c                              |   94 ++-
 gdb/remote.c                                |  100 +-
 gdb/solib-osf.c                             |    4 +-
 gdb/solib.c                                 |   62 +-
 gdb/solib.h                                 |    6 +-
 gdb/stack.c                                 |    2 +-
 gdb/testsuite/ChangeLog                     |   10 +
 gdb/testsuite/gdb.arch/i386-permbkpt.S      |   30 +
 gdb/testsuite/gdb.arch/i386-permbkpt.exp    |   52 +
 gdb/testsuite/gdb.base/solib-display-lib.c  |   30 +
 gdb/testsuite/gdb.base/solib-display-main.c |   32 +
 gdb/testsuite/gdb.base/solib-display.exp    |  115 ++
 gdb/top.c                                   |    3 +-
 gdb/varobj.c                                |    2 +
 gdb/version.in                              |    2 +-
 gdb/windows-nat.c                           |   33 +-
 gdb/xcoffread.c                             |   34 +-
 include/elf/ChangeLog                       |    5 +
 include/elf/ppc.h                           |    6 +-
 include/elf/ppc64.h                         |    4 +-
 include/opcode/ChangeLog                    |    4 +
 include/opcode/ppc.h                        |    4 +-
 opcodes/ChangeLog                           |   31 +
 opcodes/Makefile.am                         |  342 ++---
 opcodes/Makefile.in                         |  350 ++---
 opcodes/configure                           |  247 ++++-
 opcodes/configure.in                        |   22 +
 opcodes/po/es.po                            |  249 +++--
 opcodes/po/id.po                            | 1021 ++++++++++++--
 opcodes/ppc-dis.c                           |  291 +++--
 71 files changed, 4845 insertions(+), 2066 deletions(-)
 create mode 100644 gdb/testsuite/gdb.arch/i386-permbkpt.S
 create mode 100644 gdb/testsuite/gdb.arch/i386-permbkpt.exp
 create mode 100644 gdb/testsuite/gdb.base/solib-display-lib.c
 create mode 100644 gdb/testsuite/gdb.base/solib-display-main.c
 create mode 100644 gdb/testsuite/gdb.base/solib-display.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d431c0d..9841e5d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,108 @@
+2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/9938
+	* elf32-i386.c (elf_i386_check_tls_transition): Use strncmp
+	to check ___tls_get_addr.
+
+	* elf64-x86-64.c (elf64_x86_64_check_tls_transition): Use
+	strncmp to check __tls_get_addr.
+
+2009-03-12  Andrew Stubbs  <ams@codesourcery.com>
+
+	* dwarf2.c (read_section): Always check the offset, even when the
+	section has been read before.
+
+2009-03-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_check_tls_transition): Fix a typo in
+	comments.
+
+2009-03-11  Chris Demetriou  <cgd@google.com>
+
+	* bfd.c (BFD_DETERMINISTIC_OUTPUT): New flag.
+	* bfd-in2.h: Regenerate.
+	* archive.c (bfd_ar_hdr_from_filesystem): If BFD_DETERMINISTIC_OUTPUT
+	flag is set, use 0 for uid, gid, and timestamp, and use 0644 for file
+	mode.
+	(bsd_write_armap): Likewise.
+	(_bfd_archive_bsd_update_armap_timestamp): If BFD_DETERMINISTIC_OUTPUT
+	flag is set, do nothing.
+	(coff_write_armap): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0
+	for timestamp.
+
+2009-03-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* elf32-spu.c (find_function_stack_adjust): Handle sf instruction
+	used to update stack pointer.
+
+2009-03-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+	PR binutils/9921
+	* som.c (som_bfd_derive_misc_symbol_info): Set symbol type ST_ABSOLUTE
+	for unknown symbols in absolute section.
+
+2009-03-06  Nick Clifton  <nickc@redhat.com>
+
+	* po/es.po: Updated Spanish translation.
+
+2009-03-05  Christophe Lyon  <christophe.lyon@st.com>
+
+	* elf32-arm.c (group_sections): Take next section size into
+	account before accepting to group it.
+
+2009-03-05  Christophe Lyon  <christophe.lyon@st.com>
+
+	* elf32-arm.c (arm_type_of_stub): Handle long branches targetting
+	PLT entries.
+	(elf32_arm_final_link_relocate): Likewise.
+
+2009-03-05  Moritz Kroll  <Moritz.Kroll@gmx.de>
+
+	PR 9923
+	* peXXigen.c (_bfd_XXi_final_link_postscript): Check h->root.type.
+
+2009-03-04  Alan Modra  <amodra@bigpond.net.au>
+
+	* reloc.c (BFD_RELOC_PPC_TLSGD, BFD_RELOC_PPC_TLSLD): New.
+	* section.c (struct bfd_section): Add has_tls_get_addr_call.
+	(BFD_FAKE_SECTION): Init new flag.
+	* ecoff.c (bfd_debug_section): Likewise.
+	* bfd-in2.h: Regenerate.
+	* libbfd.h: Regenerate.
+	* elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_TLSGD and R_PPC_TLSLD.
+	(ppc_elf_reloc_type_lookup): Handle new relocs.
+	(ppc_elf_check_relocs): Set has_tls_get_addr_call on finding such
+	without marker relocs.
+	(ppc_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs
+	if section has no old-style calls.
+	(ppc_elf_relocate_section): Set tls_mask for non-tls relocs too.
+	Don't try to optimize new-style __tls_get_addr call when handling
+	arg setup relocs.  Instead do so for R_PPC_TLSGD and R_PPC_TLSLD
+	relocs.
+	* elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_TLSGD, R_PPC64_TLSLD.
+	(ppc64_elf_reloc_type_lookup): Handle new relocs.
+	(ppc64_elf_check_relocs): Set has_tls_get_addr_call on finding such
+	without marker relocs.
+	(ppc64_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs
+	if section has no old-style calls.  Set toc_ref for new relocs as
+	appropriate.
+	(ppc64_elf_relocate_section): Set tls_mask for non-tls relocs too.
+	Don't try to optimize new-style __tls_get_addr call when handling
+	arg setup relocs.  Instead do so for R_PPC_TLSGD and R_PPC_TLSLD
+	relocs.
+
+2009-03-04  Alan Modra  <amodra@bigpond.net.au>
+
+	PR 6768
+	* configure.in: Test for ld --as-needed support.  Link shared
+	libbfd against libm.
+	* configure: Regenerate.
+
+2009-03-03  Alan Modra  <amodra@bigpond.net.au>
+
+	* Makefile.am: Run "make dep-am".
+	* Makefile.in: Regenerate.
+
 2009-03-02  Qinwei  <qinwei@sunnorth.com.cn>
 
 	* elf32-score7.c: New file.
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 08f0c2a..1c150cd 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -1052,11 +1052,10 @@ archive.lo: archive.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
 archures.lo: archures.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   $(INCDIR)/safe-ctype.h
 bfd.lo: bfd.c $(INCDIR)/filenames.h bfdver.h $(INCDIR)/libiberty.h \
-  $(INCDIR)/demangle.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
-  $(INCDIR)/bfdlink.h $(INCDIR)/hashtab.h $(INCDIR)/coff/internal.h \
-  $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
-  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
-  $(INCDIR)/elf/internal.h
+  $(INCDIR)/demangle.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \
+  $(INCDIR)/hashtab.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
+  libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h elf-bfd.h \
+  $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h
 bfdio.lo: bfdio.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 bfdwin.lo: bfdwin.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 cache.lo: cache.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
@@ -1460,15 +1459,15 @@ elf32-iq2000.lo: elf32-iq2000.c $(INCDIR)/filenames.h \
   $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/elf/iq2000.h $(INCDIR)/elf/reloc-macros.h \
   elf32-target.h
+elf32-lm32.lo: elf32-lm32.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
+  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
+  $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/lm32.h \
+  $(INCDIR)/elf/reloc-macros.h elf32-target.h
 elf32-m32c.lo: elf32-m32c.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m32c.h \
   $(INCDIR)/elf/reloc-macros.h $(INCDIR)/libiberty.h \
   elf32-target.h
-elf32-lm32.lo: elf32-lm32.c $(INCDIR)/filenames.h elf-bfd.h \
-  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
-  $(INCDIR)/bfdlink.h $(INCDIR)/elf/lm32.h $(INCDIR)/elf/reloc-macros.h \
-  elf32-target.h
 elf32-m32r.lo: elf32-m32r.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m32r.h \
@@ -1572,13 +1571,13 @@ elf32-s390.lo: elf32-s390.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
 elf32-score.lo: elf32-score.c $(INCDIR)/filenames.h \
   $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h elf-bfd.h \
   $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \
-  $(INCDIR)/bfdlink.h elf32-score.h $(INCDIR)/elf/score.h $(INCDIR)/elf/reloc-macros.h \
-  elf32-target.h
+  $(INCDIR)/bfdlink.h $(INCDIR)/elf/score.h $(INCDIR)/elf/reloc-macros.h \
+  elf32-score.h elf32-target.h
 elf32-score7.lo: elf32-score7.c $(INCDIR)/filenames.h \
   $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h elf-bfd.h \
   $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \
-  $(INCDIR)/bfdlink.h elf32-score.h $(INCDIR)/elf/score.h $(INCDIR)/elf/reloc-macros.h \
-  elf32-target.h
+  $(INCDIR)/bfdlink.h $(INCDIR)/elf/score.h $(INCDIR)/elf/reloc-macros.h \
+  elf32-score.h
 elf32-sh.lo: elf32-sh.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h elf-bfd.h $(INCDIR)/elf/common.h \
   $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h elf-vxworks.h \
@@ -1723,7 +1722,8 @@ m88kopenbsd.lo: m88kopenbsd.c netbsd.h $(INCDIR)/filenames.h \
   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
   $(INCDIR)/aout/ar.h
 mach-o.lo: mach-o.c $(INCDIR)/filenames.h mach-o.h \
-  $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h mach-o-target.c
+  $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h $(INCDIR)/aout/stab_gnu.h \
+  $(INCDIR)/aout/stab.def mach-o-target.c
 mipsbsd.lo: mipsbsd.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
@@ -1872,7 +1872,7 @@ vms-misc.lo: vms-misc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h vms.h
 vms-tir.lo: vms-tir.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h vms.h
-vmsutil.lo: vmsutil.c vmsutil.h $(INCDIR)/ansidecl.h
+vmsutil.lo: vmsutil.c vmsutil.h
 xcofflink.lo: xcofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h \
   libcoff.h libxcoff.h
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 1eb5887..32191a1 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -740,8 +740,8 @@ BFD32_BACKENDS_CFILES = \
 	elf32-sh64.c \
 	elf32-sh64-com.c \
 	elf32-s390.c \
-	elf32-score7.c \
 	elf32-score.c \
+	elf32-score7.c \
 	elf32-sh.c \
 	elf32-sh-symbian.c \
 	elfxx-sparc.c \
@@ -1648,11 +1648,10 @@ archive.lo: archive.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
 archures.lo: archures.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   $(INCDIR)/safe-ctype.h
 bfd.lo: bfd.c $(INCDIR)/filenames.h bfdver.h $(INCDIR)/libiberty.h \
-  $(INCDIR)/demangle.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
-  $(INCDIR)/bfdlink.h $(INCDIR)/hashtab.h $(INCDIR)/coff/internal.h \
-  $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
-  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
-  $(INCDIR)/elf/internal.h
+  $(INCDIR)/demangle.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \
+  $(INCDIR)/hashtab.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
+  libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h elf-bfd.h \
+  $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h
 bfdio.lo: bfdio.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 bfdwin.lo: bfdwin.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 cache.lo: cache.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
@@ -2056,15 +2055,15 @@ elf32-iq2000.lo: elf32-iq2000.c $(INCDIR)/filenames.h \
   $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/elf/iq2000.h $(INCDIR)/elf/reloc-macros.h \
   elf32-target.h
+elf32-lm32.lo: elf32-lm32.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
+  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
+  $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/lm32.h \
+  $(INCDIR)/elf/reloc-macros.h elf32-target.h
 elf32-m32c.lo: elf32-m32c.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m32c.h \
   $(INCDIR)/elf/reloc-macros.h $(INCDIR)/libiberty.h \
   elf32-target.h
-elf32-lm32.lo: elf32-lm32.c $(INCDIR)/filenames.h elf-bfd.h \
-  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
-  $(INCDIR)/bfdlink.h $(INCDIR)/elf/lm32.h $(INCDIR)/elf/reloc-macros.h \
-  elf32-target.h
 elf32-m32r.lo: elf32-m32r.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m32r.h \
@@ -2169,13 +2168,12 @@ elf32-score.lo: elf32-score.c $(INCDIR)/filenames.h \
   $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h elf-bfd.h \
   $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \
   $(INCDIR)/bfdlink.h $(INCDIR)/elf/score.h $(INCDIR)/elf/reloc-macros.h \
-  $(INCDIR)/bfdlink.h elf32-score.h $(INCDIR)/elf/score.h $(INCDIR)/elf/reloc-macros.h \
-  elf32-target.h
+  elf32-score.h elf32-target.h
 elf32-score7.lo: elf32-score7.c $(INCDIR)/filenames.h \
   $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h elf-bfd.h \
   $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \
-  $(INCDIR)/bfdlink.h elf32-score.h $(INCDIR)/elf/score.h $(INCDIR)/elf/reloc-macros.h \
-  elf32-target.h
+  $(INCDIR)/bfdlink.h $(INCDIR)/elf/score.h $(INCDIR)/elf/reloc-macros.h \
+  elf32-score.h
 elf32-sh.lo: elf32-sh.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h elf-bfd.h $(INCDIR)/elf/common.h \
   $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h elf-vxworks.h \
@@ -2320,7 +2318,8 @@ m88kopenbsd.lo: m88kopenbsd.c netbsd.h $(INCDIR)/filenames.h \
   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
   $(INCDIR)/aout/ar.h
 mach-o.lo: mach-o.c $(INCDIR)/filenames.h mach-o.h \
-  $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h mach-o-target.c
+  $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h $(INCDIR)/aout/stab_gnu.h \
+  $(INCDIR)/aout/stab.def mach-o-target.c
 mipsbsd.lo: mipsbsd.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
@@ -2469,7 +2468,7 @@ vms-misc.lo: vms-misc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h vms.h
 vms-tir.lo: vms-tir.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h vms.h
-vmsutil.lo: vmsutil.c vmsutil.h $(INCDIR)/ansidecl.h
+vmsutil.lo: vmsutil.c vmsutil.h
 xcofflink.lo: xcofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h \
   libcoff.h libxcoff.h
diff --git a/bfd/archive.c b/bfd/archive.c
index 437a085..5e0fd6b 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -1652,6 +1652,16 @@ bfd_ar_hdr_from_filesystem (bfd *abfd, const char *filename, bfd *member)
       return NULL;
     }
 
+  /* If the caller requested that the BFD generate deterministic output,
+     fake values for modification time, UID, GID, and file mode.  */
+  if ((abfd->flags & BFD_DETERMINISTIC_OUTPUT) != 0)
+    {
+      status.st_mtime = 0;
+      status.st_uid = 0;
+      status.st_gid = 0;
+      status.st_mode = 0644;
+    }
+
   amt = sizeof (struct ar_hdr) + sizeof (struct areltdata);
   ared = bfd_zalloc (abfd, amt);
   if (ared == NULL)
@@ -2220,20 +2230,39 @@ bsd_write_armap (bfd *arch,
   unsigned int count;
   struct ar_hdr hdr;
   struct stat statbuf;
+  long uid, gid;
 
   firstreal = mapsize + elength + sizeof (struct ar_hdr) + SARMAG;
 
   stat (arch->filename, &statbuf);
+  if ((arch->flags & BFD_DETERMINISTIC_OUTPUT) == 0)
+    {
+      /* Remember the timestamp, to keep it holy.  But fudge it a little.  */
+      bfd_ardata (arch)->armap_timestamp = (statbuf.st_mtime
+                                            + ARMAP_TIME_OFFSET);
+      uid = getuid();
+      gid = getgid();
+    }
+  else
+    {
+      /* If deterministic, we use 0 as the timestamp in the map.
+         Some linkers may require that the archive filesystem modification
+         time is less than (or near to) the archive map timestamp.  Those
+         linkers should not be used with deterministic mode.  (GNU ld and
+         Gold do not have this restriction.)  */
+      bfd_ardata (arch)->armap_timestamp = 0;
+      uid = 0;
+      gid = 0;
+    }
+
   memset (&hdr, ' ', sizeof (struct ar_hdr));
   memcpy (hdr.ar_name, RANLIBMAG, strlen (RANLIBMAG));
-  /* Remember the timestamp, to keep it holy.  But fudge it a little.  */
-  bfd_ardata (arch)->armap_timestamp = statbuf.st_mtime + ARMAP_TIME_OFFSET;
   bfd_ardata (arch)->armap_datepos = (SARMAG
 				      + offsetof (struct ar_hdr, ar_date[0]));
   _bfd_ar_spacepad (hdr.ar_date, sizeof (hdr.ar_date), "%ld",
                     bfd_ardata (arch)->armap_timestamp);
-  _bfd_ar_spacepad (hdr.ar_uid, sizeof (hdr.ar_uid), "%ld", getuid ());
-  _bfd_ar_spacepad (hdr.ar_gid, sizeof (hdr.ar_gid), "%ld", getgid ());
+  _bfd_ar_spacepad (hdr.ar_uid, sizeof (hdr.ar_uid), "%ld", uid);
+  _bfd_ar_spacepad (hdr.ar_gid, sizeof (hdr.ar_gid), "%ld", gid);
   _bfd_ar_spacepad (hdr.ar_size, sizeof (hdr.ar_size), "%-10ld", mapsize);
   memcpy (hdr.ar_fmag, ARFMAG, 2);
   if (bfd_bwrite (&hdr, sizeof (struct ar_hdr), arch)
@@ -2301,6 +2330,10 @@ _bfd_archive_bsd_update_armap_timestamp (bfd *arch)
   struct stat archstat;
   struct ar_hdr hdr;
 
+  /* If creating deterministic archives, just leave the timestamp as-is.  */
+  if ((arch->flags & BFD_DETERMINISTIC_OUTPUT) != 0)
+    return TRUE;
+
   /* Flush writes, get last-write timestamp from file, and compare it
      to the timestamp IN the file.  */
   bfd_flush (arch);
@@ -2385,7 +2418,8 @@ coff_write_armap (bfd *arch,
   _bfd_ar_spacepad (hdr.ar_size, sizeof (hdr.ar_size), "%-10ld",
                     mapsize);
   _bfd_ar_spacepad (hdr.ar_date, sizeof (hdr.ar_date), "%ld",
-                    time (NULL));
+                    ((arch->flags & BFD_DETERMINISTIC_OUTPUT) == 0
+                     ? time (NULL) : 0));
   /* This, at least, is what Intel coff sets the values to.  */
   _bfd_ar_spacepad (hdr.ar_uid, sizeof (hdr.ar_uid), "%ld", 0);
   _bfd_ar_spacepad (hdr.ar_gid, sizeof (hdr.ar_gid), "%ld", 0);
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index be35ac4..7e3defd 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1343,6 +1343,9 @@ typedef struct bfd_section
   /* Nonzero if this section has TLS related relocations.  */
   unsigned int has_tls_reloc:1;
 
+  /* Nonzero if this section has a call to __tls_get_addr.  */
+  unsigned int has_tls_get_addr_call:1;
+
   /* Nonzero if this section has a gp reloc.  */
   unsigned int has_gp_reloc:1;
 
@@ -1603,11 +1606,11 @@ extern asection bfd_ind_section;
   /* segment_mark, sec_info_type, use_rela_p, has_tls_reloc,       */  \
      0,            0,             0,          0,                       \
                                                                        \
-  /* has_gp_reloc, need_finalize_relax, reloc_done,                */  \
-     0,            0,                   0,                             \
+  /* has_tls_get_addr_call, has_gp_reloc, need_finalize_relax,     */  \
+     0,                     0,            0,                           \
                                                                        \
-  /* vma, lma, size, rawsize                                       */  \
-     0,   0,   0,    0,                                                \
+  /* reloc_done, vma, lma, size, rawsize                           */  \
+     0,          0,   0,   0,    0,                                    \
                                                                        \
   /* output_offset, output_section,              alignment_power,  */  \
      0,             (struct bfd_section *) &SEC, 0,                    \
@@ -2928,6 +2931,8 @@ relaxation.  */
 
 /* PowerPC and PowerPC64 thread-local storage relocations.  */
   BFD_RELOC_PPC_TLS,
+  BFD_RELOC_PPC_TLSGD,
+  BFD_RELOC_PPC_TLSLD,
   BFD_RELOC_PPC_DTPMOD,
   BFD_RELOC_PPC_TPREL16,
   BFD_RELOC_PPC_TPREL16_LO,
@@ -4764,6 +4769,11 @@ struct bfd
      to any input file.  */
 #define BFD_LINKER_CREATED 0x2000
 
+  /* This may be set before writing out a BFD to request that it
+     be written using values for UIDs, GIDs, timestamps, etc. that
+     will be consistent from run to run.  */
+#define BFD_DETERMINISTIC_OUTPUT 0x4000
+
   /* Currently my_archive is tested before adding origin to
      anything. I believe that this can become always an add of
      origin, with origin set to 0 for non archive files.  */
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 847da52..9979ac6 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -145,6 +145,11 @@ CODE_FRAGMENT
 .     to any input file.  *}
 .#define BFD_LINKER_CREATED 0x2000
 .
+.  {* This may be set before writing out a BFD to request that it
+.     be written using values for UIDs, GIDs, timestamps, etc. that
+.     will be consistent from run to run.  *}
+.#define BFD_DETERMINISTIC_OUTPUT 0x4000
+.
 .  {* Currently my_archive is tested before adding origin to
 .     anything. I believe that this can become always an add of
 .     origin, with origin set to 0 for non archive files.  *}
diff --git a/bfd/configure b/bfd/configure
index 6c21291..adcd52d 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -458,7 +458,7 @@ ac_includes_default="\
 # include <unistd.h>
 #endif"
 
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 DEBUGDIR PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_64BIT_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT BFD_HOSTPTR_T CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG SHARED_LDFLAGS SHARED_LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir pdfdir LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 DEBUGDIR PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_64BIT_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT BFD_HOSTPTR_T CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG LIBM SHARED_LDFLAGS SHARED_LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir pdfdir LIBOBJS LTLIBOBJS'
 ac_subst_files=''
 ac_pwd=`pwd`
 
@@ -20555,6 +20555,238 @@ _ACEOF
 
 fi
 
+# Check if linker supports --as-needed and --no-as-needed options
+echo "$as_me:$LINENO: checking linker --as-needed support" >&5
+echo $ECHO_N "checking linker --as-needed support... $ECHO_C" >&6
+if test "${bfd_cv_ld_as_needed+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  bfd_cv_ld_as_needed=no
+	if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
+		bfd_cv_ld_as_needed=yes
+	fi
+
+fi
+echo "$as_me:$LINENO: result: $bfd_cv_ld_as_needed" >&5
+echo "${ECHO_T}$bfd_cv_ld_as_needed" >&6
+
+LIBM=
+case $host in
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
+  # These system don't have libm, or don't need it
+  ;;
+*-ncr-sysv4.3*)
+  echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
+echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6
+if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lmw  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char _mwvalidcheckl ();
+int
+main ()
+{
+_mwvalidcheckl ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>conftest.er1
+  ac_status=$?


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2009-02-09 14:35 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2009-02-09 14:35 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  11257285d3beac35867bebeff9bcd13eeee03b0a (commit)
       via  aa9e163aeabac07be9e5d02ca7c610e38c22adb6 (commit)
       via  49431235476ec3ac86c03f3fd3f96405fd6f44d5 (commit)
       via  8474d8b73df10d52592dfabaf191b02e1ce7de83 (commit)
       via  b2535ab9b55e4509bbddceebe61c1649c463cc81 (commit)
       via  faf0b01eda05c08865793f3f29fe857d5ec756ae (commit)
       via  7d7b5f60e0dbb9d2168706aaeca2a467ada0c6bf (commit)
       via  51618e64a75f87a49b8d89b4c4f25960f9823c78 (commit)
       via  1307c4f734b3c4c887d0b4c97f4d4fcde886e1a6 (commit)
       via  830bd202c54edc3f7cb1c9909213337ee26214a2 (commit)
       via  355f3289ed09b4d6a61c315d0007c3ada83afbbe (commit)
       via  7b2e4b7b232037453630d3062bbd332ea422db83 (commit)
       via  7811e8abd0badf9acf4e03fd41d57023f3ebee5b (commit)
       via  e9073a2e083d941860355640391801ef6348007c (commit)
       via  6f2bad6c505482623ae39733fca82ad82847e432 (commit)
       via  007adcd27bbddfc64a74ffc09d40265b097d117d (commit)
       via  d0168fb4e09bde9f40830c1a98f47cef3d48980e (commit)
       via  d45fdd4ff235fe067ce5c42291612faf446c7e65 (commit)
       via  1255cee6a9c614ec92cebdc6f5e264a1a0c8f2cf (commit)
       via  263438089876e3a6f3a6797c2d3e3f6f50abc6ff (commit)
       via  6756ddeddd373eedbfe140ed1b4733993745cf0e (commit)
       via  9d3162dae32640334a142100d14774d59f03e044 (commit)
       via  57492ff716e032d769e5a77b712bdaf8129fd328 (commit)
       via  29812a409d3050b33641793706d980dcfc8fba80 (commit)
       via  a78c01aa25b052c69655a45f51b44580f31fc274 (commit)
       via  481b6ee5fac7a08c10ad6be0359730464ed4d2c0 (commit)
       via  f6a01920a37b6cd61f0c56ab3b9a5741b939e299 (commit)
       via  74fb74b8199f2c32bc7c941827ea0f325c6a2206 (commit)
       via  e07b6da344df10253e7bc1652983a94590ccf37a (commit)
       via  1c16b172f6c9585e581aeeba83962031fed9238e (commit)
       via  499683add884015d10a79fc2689af16bb102421a (commit)
       via  afae06d4cd7540a55060b41257743563344b12ba (commit)
       via  2ef6d153fc7fbc4ccbd691b190ecce6696b0b290 (commit)
       via  ec0b317e787b4ddd254c1ebbf1f1da43af6c5867 (commit)
       via  d01d94ef3114c8490d919d04efb3ed9772e8c2e6 (commit)
       via  7d5dabc5616e1677a35e38d0813caa04aba3419d (commit)
       via  b8ebdfbbfb243d17d816d7ae260bb6ab6eab9d8c (commit)
       via  c57514c5a7481509929821bf2c0f4d4e0ae05d99 (commit)
       via  9084212b273d5f61543f3ec690790ffbe89490d2 (commit)
       via  0f5e1bd15ddabc7b36dde309b095e748df89e457 (commit)
       via  770caeefe482bba086e960b859c07bd764cd8526 (commit)
       via  23e0f90d9e882540eea737cbbf87e49ba31e4449 (commit)
       via  30dd021f93f0fb60c732abf7c7f8f8319b488c07 (commit)
       via  1d240df3a6b051cede459b198358903eebf169f3 (commit)
       via  14fea5b74a9f96a11c0d2a657c2e228909e25e8d (commit)
       via  590d6ea5c2ccdf286b3deb49d13093e7c8eb2bdd (commit)
       via  b39196ffa6ac5e0c4f221bfa83d0094866c91d2f (commit)
       via  3f8ab5bd0abe1234a0fa40799e28e77b19b6bd23 (commit)
       via  6a39a538722affc904593c399c4dd0c53ab5826a (commit)
       via  aa8db852a72468c03224c517e3c45f8a37b8fe87 (commit)
       via  b1ab508b8ca4b6f19818376652208ed26646229b (commit)
       via  2b5bc67a55096bd2e49d1676cb8a6a8a55b27ecd (commit)
       via  cdb74e5ff3d3396edc18dca754b97ecc286cbcd5 (commit)
       via  a39875781013be22170069298eec4cf10f6345d6 (commit)
       via  4d0bf29f48fc74a0c73272d908be6576b3b98651 (commit)
       via  2974de281b84c7188779b8fed155ecbcef22ce27 (commit)
       via  eaee67125959568e0f0ec7799d26b6d3f60f7c04 (commit)
       via  eaa61cb386941b9c08674d99da5e210cb742b546 (commit)
       via  83244659d8ba6362e7dbd7dfafb8ed1cf6e51c0a (commit)
       via  a3bba34e704e8ff71dba954c74452217cb40124d (commit)
       via  34083a97307a6f1456c9455997c4b5471ba21330 (commit)
       via  9b9259f61cdcbec6d68eb9cedef6819f288053ed (commit)
       via  331acbfdd7b4c6734baad6d4d4c2c1489a9a22a1 (commit)
       via  12ee80b84d3220d99f5396deb7b072e51d7d1afd (commit)
       via  55a909760e801aafcf7e031b098cf2161d248d9a (commit)
       via  48a6038a855c30477e907307ab8b7d3834c575c1 (commit)
       via  fe4c4e465347fee881541b71c140a773f42a0ce6 (commit)
       via  e1d633a3fafbf670c686f59f3007b6280da50625 (commit)
       via  5c8d779d999734da634d5905e5a945d98cab69d8 (commit)
       via  54596033c019654f4a92f8d99c62a2cfb02b8b19 (commit)
       via  7a228ded75afbcc5af87b9cd26e54ceea0b3cb25 (commit)
       via  d8ccded1bd72290e07a69451f708292a76fe7a7a (commit)
       via  f1737c87c2af20d1325583a5ab7861a4dd5a0111 (commit)
       via  5d8468a9859aabe67d53f6babf5c2321e2abf000 (commit)
       via  937201738a21d48c627d2200ca73de7960d46786 (commit)
       via  b861fbb2404426ae5f91fe2d92b9809a487698fa (commit)
       via  8c64d8171f82fb656a5c7f77895867bb0d7372ad (commit)
       via  0a35ab92d3b16aadbf63f6079a61b9a71b9ebcb7 (commit)
       via  4b1236ddb168d1eeed42dfcca0e64973301451cf (commit)
       via  81ebe44fd16047d8bd1f695003bec53eb50b1051 (commit)
       via  0cd91cc2b97d671e6f2035f26c34cc134b800228 (commit)
       via  e7579ed59ad66782474d31635dd5cbc26ecbcf94 (commit)
       via  09547ab8a96a6f3636ceacdf11c66e8f333c0a03 (commit)
       via  5845b55b1b01b9339c2384806e7107d321a4237c (commit)
       via  8e4acafc10950e2d83954aa8f56714403a2c604b (commit)
       via  d112c9579d4e97ddbaf61e762316154fe187b2f7 (commit)
       via  32e15a5e8946225fa4e9c11f6fc2040adae79e38 (commit)
       via  cf7d1af3ff6a6913b472bdee56b083604ee5b87e (commit)
       via  9efdb5ea40104f4be915361c462fe596302efe86 (commit)
       via  6bcccbac081b4d742322d319b8df687fe78501c8 (commit)
       via  3a8e057c013d2df89a90b7c94e5ac5842d8f6b77 (commit)
       via  a967bdb3b666cf75b608da72d82d61f3bb7d05df (commit)
       via  114a09c3fef29ad0d580c86c81338dceb176b8bb (commit)
       via  c02cfd685030e8f65a7727a14cc303790e0e94c7 (commit)
       via  e71c3f1030c5a9ae8a4b54f030b0ed1797074554 (commit)
       via  c80176fdeed48b514d2dc005005b6483fb85e8dd (commit)
       via  24f23f293583eea2a35a3a46b6f1b5034c12bbad (commit)
       via  d235a2f3d48298dd7a2b6841108965292dd78907 (commit)
       via  7f38f003c49fa058eb1f46f4e5625f5224cd9d6d (commit)
      from  cfa15b79a7f527e31d0c3244581180a4cdb6bf6c (commit)

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

- Log -----------------------------------------------------------------
commit 11257285d3beac35867bebeff9bcd13eeee03b0a
Merge: cfa15b79a7f527e31d0c3244581180a4cdb6bf6c aa9e163aeabac07be9e5d02ca7c610e38c22adb6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Feb 9 15:32:11 2009 +0100

    Merge commit 'origin/master' into archer-jankratochvil-misc

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

Summary of changes:
 ChangeLog                                          |   14 +-
 Makefile.in                                        |    2 +
 Makefile.tpl                                       |    2 +
 bfd/ChangeLog                                      |  146 ++
 bfd/Makefile.am                                    |   30 +
 bfd/Makefile.in                                    |   30 +
 bfd/aoutx.h                                        |    1 +
 bfd/archures.c                                     |    1 +
 bfd/bfd-in2.h                                      |   16 +
 bfd/configure                                      |    4 +-
 bfd/configure.in                                   |    3 +-
 bfd/cpu-mips.c                                     |    6 +-
 bfd/doc/Makefile.am                                |   14 +
 bfd/doc/Makefile.in                                |   18 +-
 bfd/dwarf2.c                                       |   19 +-
 bfd/elf-attrs.c                                    |    4 +-
 bfd/elf-bfd.h                                      |    9 -
 bfd/elf-eh-frame.c                                 |   30 +-
 bfd/elf.c                                          |   44 +-
 bfd/elf32-arm.c                                    |    8 +-
 bfd/elf32-avr.c                                    |    3 +-
 bfd/elf32-cris.c                                   |    8 +-
 bfd/elf32-m68k.c                                   | 1520 ++++++++++++++------
 bfd/elf32-mep.c                                    |    3 +-
 bfd/elf32-spu.c                                    |    8 +-
 bfd/elf64-hppa.c                                   |  306 ++---
 bfd/elf64-hppa.h                                   |    8 +-
 bfd/elflink.c                                      |   19 +-
 bfd/elfxx-mips.c                                   |   22 +-
 bfd/libbfd.h                                       |   17 +-
 bfd/mach-o.c                                       |    5 +
 bfd/po/Make-in                                     |    1 +
 bfd/reloc.c                                        |   30 +
 bfd/version.h                                      |    2 +-
 config/ChangeLog                                   |    8 +
 config/tcl.m4                                      |   14 +-
 etc/ChangeLog                                      |    5 +
 etc/configure                                      |    3 +-
 etc/configure.in                                   |    2 +-
 gdb/ChangeLog                                      |  511 +++++++
 gdb/MAINTAINERS                                    |   16 +-
 gdb/Makefile.in                                    |   12 +-
 gdb/NEWS                                           |   10 +
 gdb/aclocal.m4                                     |   24 +-
 gdb/ada-lang.c                                     |   15 +-
 gdb/aix-thread.c                                   |    9 +-
 gdb/amd64-linux-nat.c                              |  234 +++
 gdb/amd64-linux-tdep.c                             |   13 +
 gdb/amd64-tdep.c                                   |  729 +++++++++-
 gdb/amd64-tdep.h                                   |    8 +
 gdb/arm-linux-tdep.c                               |    3 +
 gdb/breakpoint.c                                   |   57 +-
 gdb/breakpoint.h                                   |    3 +-
 gdb/bsd-kvm.c                                      |    2 +-
 gdb/bsd-uthread.c                                  |    8 +-
 gdb/c-lang.c                                       |  120 ++
 gdb/cli/cli-decode.c                               |    8 +-
 gdb/cli/cli-decode.h                               |   10 +-
 gdb/command.h                                      |    3 +-
 gdb/completer.c                                    |   52 +-
 gdb/completer.h                                    |   10 +-
 gdb/config.in                                      |    7 +
 gdb/configure                                      |  410 +++---
 gdb/configure.ac                                   |  138 ++-
 gdb/configure.tgt                                  |    8 +-
 gdb/corefile.c                                     |   34 -
 gdb/corelow.c                                      |    2 +-
 gdb/darwin-nat.c                                   |    9 +-
 gdb/dec-thread.c                                   |    9 +-
 gdb/defs.h                                         |    5 +-
 gdb/doc/ChangeLog                                  |   54 +
 gdb/doc/gdb.texinfo                                |  470 ++++++-
 gdb/doc/gdbint.texinfo                             |   96 ++
 gdb/dwarf2read.c                                   |   59 +-
 gdb/f-lang.c                                       |    1 +
 gdb/frame.c                                        |   38 +-
 gdb/frame.h                                        |    5 +
 gdb/gdbarch.c                                      |   33 +
 gdb/gdbarch.h                                      |   10 +
 gdb/gdbarch.sh                                     |    5 +
 gdb/gdbcore.h                                      |    5 -
 gdb/gdbserver/ChangeLog                            |    8 +
 gdb/gdbserver/linux-low.c                          |   39 +
 gdb/gdbserver/server.c                             |   74 +
 gdb/gdbserver/target.h                             |    5 +
 gdb/gdbtypes.c                                     |   29 +-
 gdb/gdbtypes.h                                     |    4 +
 gdb/gnu-nat.c                                      |    5 +-
 gdb/go32-nat.c                                     |    7 +-
 gdb/hpux-thread.c                                  |    6 +-
 gdb/i386-darwin-tdep.c                             |   81 +-
 gdb/i386-linux-tdep.c                              |    3 +
 gdb/i386-tdep.c                                    |    2 +-
 gdb/i386-tdep.h                                    |    3 +
 gdb/inf-ptrace.c                                   |   11 +-
 gdb/inf-ttrace.c                                   |    5 +-
 gdb/infrun.c                                       |  107 ++
 gdb/interps.c                                      |    5 +-
 gdb/jv-lang.c                                      |    1 +
 gdb/language.c                                     |   10 +
 gdb/language.h                                     |   16 +
 gdb/linux-fork.c                                   |    2 +-
 gdb/linux-nat.c                                    |  117 ++-
 gdb/linux-nat.h                                    |   11 +-
 gdb/linux-tdep.c                                   |  138 ++
 .../gdb.python/python-value.c => linux-tdep.h}     |   36 +-
 gdb/linux-thread-db.c                              |   66 +-
 gdb/m2-lang.c                                      |    1 +
 gdb/machoread.c                                    |   24 +-
 gdb/main.c                                         |  150 ++-
 gdb/mi/mi-cmd-break.c                              |   11 +-
 gdb/monitor.c                                      |    5 +-
 gdb/nto-procfs.c                                   |    7 +-
 gdb/objc-lang.c                                    |    1 +
 gdb/p-lang.c                                       |    1 +
 gdb/printcmd.c                                     |   13 +-
 gdb/procfs.c                                       |   10 +-
 gdb/python/python-cmd.c                            |  585 ++++++++
 gdb/python/python-internal.h                       |    8 +-
 gdb/python/python-utils.c                          |   67 +-
 gdb/python/python-value.c                          |  417 +++++--
 gdb/python/python.c                                |   77 +-
 gdb/remote-m32r-sdi.c                              |    5 +-
 gdb/remote-mips.c                                  |    6 +-
 gdb/remote-sim.c                                   |    7 +-
 gdb/remote.c                                       |   46 +-
 gdb/rs6000-nat.c                                   |    3 +-
 gdb/scm-lang.c                                     |    1 +
 gdb/sol-thread.c                                   |   11 +-
 gdb/solib-darwin.c                                 |  450 ++++++
 .../gdb.python/python-value.c => solib-darwin.h}   |   39 +-
 gdb/solist.h                                       |    4 +-
 gdb/spu-linux-nat.c                                |    3 +-
 gdb/symtab.c                                       |   10 +
 gdb/symtab.h                                       |    2 +
 gdb/target.c                                       |  243 ++--
 gdb/target.h                                       |   41 +-
 gdb/testsuite/ChangeLog                            |   72 +
 gdb/testsuite/gdb.ada/uninitialized_vars.exp       |   54 +
 gdb/testsuite/gdb.ada/uninitialized_vars/parse.adb |  130 ++
 .../uninitialized_vars/parse_controlled.ads        |   35 +
 gdb/testsuite/gdb.arch/amd64-disp-step.S           |  153 ++
 gdb/testsuite/gdb.arch/amd64-disp-step.exp         |  219 +++
 gdb/testsuite/gdb.arch/i386-disp-step.S            |   64 +
 gdb/testsuite/gdb.arch/i386-disp-step.exp          |  112 ++
 gdb/testsuite/gdb.arch/i386-sse.c                  |    2 +-
 gdb/testsuite/gdb.base/sigbpt.c                    |    1 +
 gdb/testsuite/gdb.base/sigbpt.exp                  |   24 +-
 gdb/testsuite/gdb.base/siginfo-obj.c               |   70 +
 gdb/testsuite/gdb.base/siginfo-obj.exp             |  131 ++
 gdb/testsuite/gdb.base/signull.c                   |    1 +
 gdb/testsuite/gdb.base/signull.exp                 |   15 +-
 gdb/testsuite/gdb.cp/Makefile.in                   |    2 +-
 gdb/testsuite/gdb.cp/call-c.cc                     |    3 +
 gdb/testsuite/gdb.cp/call-c.exp                    |    3 +
 gdb/testsuite/gdb.cp/cpcompletion.exp              |   72 +
 gdb/testsuite/gdb.cp/pr9594.cc                     |   51 +
 gdb/testsuite/gdb.mi/mi-break.exp                  |   16 +
 gdb/testsuite/gdb.python/python-value.c            |   10 +
 gdb/testsuite/gdb.python/python-value.exp          |   13 +-
 gdb/testsuite/lib/mi-support.exp                   |    4 +-
 gdb/thread.c                                       |   20 +-
 gdb/typeprint.c                                    |   29 +
 gdb/valops.c                                       |   20 +-
 gdb/valprint.c                                     |  172 ++-
 gdb/valprint.h                                     |    3 +
 gdb/value.c                                        |  122 ++-
 gdb/value.h                                        |   62 +
 gdb/varobj.c                                       |   41 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |    5 +-
 include/elf/ChangeLog                              |    8 +
 include/elf/m68k.h                                 |   19 +
 include/elf/mips.h                                 |    1 +
 include/opcode/ChangeLog                           |   21 +
 include/opcode/i386.h                              |   31 +-
 include/opcode/mips.h                              |   11 +-
 opcodes/ChangeLog                                  |   52 +
 opcodes/Makefile.am                                |    3 +
 opcodes/Makefile.in                                |    3 +
 opcodes/arm-dis.c                                  |    8 +-
 opcodes/i386-dis.c                                 |   22 +-
 opcodes/i386-opc.tbl                               |   13 +
 opcodes/i386-tbl.h                                 |  141 ++
 opcodes/mep-asm.c                                  |   37 -
 opcodes/mep-desc.c                                 | 1136 +++++----------
 opcodes/mep-desc.h                                 |   33 +-
 opcodes/mep-dis.c                                  |   39 -
 opcodes/mep-ibld.c                                 |  211 ---
 opcodes/mep-opc.c                                  |  268 +----
 opcodes/mep-opc.h                                  |   26 +-
 opcodes/mips-dis.c                                 |   56 +
 opcodes/mips-opc.c                                 |   19 +-
 opcodes/po/Make-in                                 |    1 +
 opcodes/ppc-opc.c                                  |    8 +-
 195 files changed, 9400 insertions(+), 3179 deletions(-)
 create mode 100644 gdb/linux-tdep.c
 copy gdb/{testsuite/gdb.python/python-value.c => linux-tdep.h} (66%)
 create mode 100644 gdb/python/python-cmd.c
 create mode 100644 gdb/solib-darwin.c
 copy gdb/{testsuite/gdb.python/python-value.c => solib-darwin.h} (66%)
 create mode 100644 gdb/testsuite/gdb.ada/uninitialized_vars.exp
 create mode 100644 gdb/testsuite/gdb.ada/uninitialized_vars/parse.adb
 create mode 100755 gdb/testsuite/gdb.ada/uninitialized_vars/parse_controlled.ads
 create mode 100644 gdb/testsuite/gdb.arch/amd64-disp-step.S
 create mode 100644 gdb/testsuite/gdb.arch/amd64-disp-step.exp
 create mode 100644 gdb/testsuite/gdb.arch/i386-disp-step.S
 create mode 100644 gdb/testsuite/gdb.arch/i386-disp-step.exp
 create mode 100644 gdb/testsuite/gdb.base/siginfo-obj.c
 create mode 100644 gdb/testsuite/gdb.base/siginfo-obj.exp
 create mode 100644 gdb/testsuite/gdb.cp/cpcompletion.exp
 create mode 100644 gdb/testsuite/gdb.cp/pr9594.cc

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 1da2e0d..474f3d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-02-05  Andreas Schwab  <schwab@suse.de>
+
+	* Makefile.tpl (stage_last): Define $r and $s before using
+	$(RECURSE_FLAGS_TO_PASS).
+	* Makefile.in: Regenerate
+
 2009-01-21  Jeff Johnston  <jjohnstn@redhat.com>
 
 	* COPYING.NEWLIB: Add ARM license.
@@ -43,13 +49,13 @@
 
 	2008-12-04  Jack Howarth  <howarth@bromo.med.uc.edu>
 
-        * configure.ac: Add double brackets on darwin[912].
-        * configure: Regenerate.
+	* configure.ac: Add double brackets on darwin[912].
+	* configure: Regenerate.
 
 	2008-12-02  Jack Howarth  <howarth@bromo.med.uc.edu>
 
-        * configure.ac: Expand to darwin10 and later.
-        * configure: Regenerate.
+	* configure.ac: Expand to darwin10 and later.
+	* configure: Regenerate.
 
 2008-12-02  Andreas Schwab  <schwab@suse.de>
 
diff --git a/Makefile.in b/Makefile.in
index 2df155e..3ca3f26 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -54861,6 +54861,8 @@ do-distclean: distclean-stage1
 # Provide a GCC build when we're building target libraries.  This does
 # not work as a dependency, just as the minimum necessary to avoid errors.
 stage_last:
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
 
 # Same as unstage, but not phony and defaulting to stage1-start.  We place
diff --git a/Makefile.tpl b/Makefile.tpl
index f654fb3..acb349f 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -1468,6 +1468,8 @@ do-distclean: distclean-stage1
 # Provide a GCC build when we're building target libraries.  This does
 # not work as a dependency, just as the minimum necessary to avoid errors.
 stage_last:
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
 
 # Same as unstage, but not phony and defaulting to stage1-start.  We place
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 41cee38..ecc442f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,149 @@
+2009-02-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+	* elf64-hppa.c: Remove PARAMS macro.  Replace PTR with void *.  Convert
+	functions to C90.
+	* elf64-hppa.h: Likewise.
+
+2009-02-06  Joseph Myers  <joseph@codesourcery.com>
+
+	* elfxx-mips.c (_bfd_mips_elf_section_processing): Remove special
+	.sbss handling.
+
+2009-02-04  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf32-spu.c (spu_elf_build_stubs): Define __icache_neg_log2_linesize.
+	Define __icache_ptr_handler*, not __icache_ptr___icache_bi_handler*.
+
+2009-02-03  Sandip Matte  <sandip@rmicorp.com>
+
+	* aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_mips_xlr.
+	* archures.c (bfd_mach_mips_xlr): Define.
+	* bfd-in2.h: Regenerate.
+	* cpu-mips.c (I_xlr): Define.
+	(arch_info_struct): Add XLR entry.
+	* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_XLR.
+	(mips_set_isa_flags): Handle bfd_mach_mips_xlr
+	(mips_mach_extensions): Add XLR entry.
+
+2009-02-03  Eric B. Weddington  <eric.weddington@atmel.com>
+
+	* elf32-avr.c (avr_final_link_relocate): Allow avr25 to wraparound.
+
+2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
+
+	* configure.in: AC_SUBST pdfdir.
+	* Makefile.am: Add install-pdf, install-pdf-am 
+	and install-pdf-recursive targets. Define pdfdir.
+	* doc/Makefile.am: Define pdf__strip_dir. Add
+	install-pdf and install-pdf-am targets.
+	* po/Make-in: Add install-pdf target. 
+	* configure: Regenerate.
+	* Makefile.in: Regenerate
+	* doc/Makefile.in: Regenerate.
+
+2009-02-03  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+	* bfd-in2.h: Regenerate.
+	* elf32-m68k.c: Handle 2-slot GOT entries.  Rename variables and
+	fields from n_entries to n_slots where appropriate, update comments.
+	(HOWTO): Add TLS relocations.
+	(reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*.
+	(enum elf_m68k_got_offset_size): New enum.
+	(struct elf_m68k_got_entry.type): Move field to ...
+	(struct elf_m68k_got_entry_key): ... here.  Update all uses.
+	(elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static
+	functions.
+	(elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static
+	functions.
+	(struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries
+	fields into n_entries array.  Update comments.
+	(elf_m68k_init_got): Simplify, update all uses.
+	(elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update.
+	(ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot
+	GOT entries; update name, update all uses.
+	(ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto.
+	(elf_m68k_get_got_entry): Update.
+	(elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries,
+	simplify.
+	(elf_m68k_remove_got_entry_type): Simplify.
+	(elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update.
+	(elf_m68k_can_merge_gots): Update.
+	(elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update.
+	(struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot
+	GOT entries, simplify.
+	(elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same.
+	(struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff
+	field, remove obsoleted local_n_entries field.
+	(elf_m68k_partition_multi_got_2): New static function.
+	(elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it;
+	update.
+	(elf_m68k_remove_got_entry_type): Update.
+	(elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
+	(elf_m68k_check_relocs): Handle TLS relocations.  Remove unnecessary 
+	update of sgot->size and srelgot->size.
+	(elf_m68k_gc_sweep_hook): Update.
+	(elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
+	(elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle
+	TLS relocations.
+	* reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations.
+	* libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*.
+
+2009-02-02  DJ Delorie  <dj@redhat.com>
+
+	* elf32-mep.c (config_names): Regenerate configuration.
+
+2009-02-02  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf-bfd.h (bfd_elf_get_str_section): Don't declare.
+	(bfd_elf_find_section, _sh_elf_set_mach_from_flags): Likewise.
+	* elf.c (bfd_elf_get_str_section): Make static.
+	(bfd_elf_find_section): Delete.
+	* libbfd.h: Regenerate.
+
+2009-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove.
+	(_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs.
+
+2009-01-31  Alan Modra  <amodra@bigpond.net.au>
+
+	* elflink.c (on_needed_list): New function.
+	(elf_link_add_object_symbols): Link in --as-needed libs if they
+	satisfy undefined symbols in other libs.
+
+2009-01-30  Julian Brown  <julian@codesourcery.com>
+
+	* elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Skip BFDs with
+	EXEC_P or DYNAMIC flags, and skip sections which are being linked
+	with --just-symbols (-R).
+
+2009-01-29  Adam Nemet  <anemet@caviumnetworks.com>
+
+	* dwarf2.c (read_rangelist): Use read_address to read low_pc and
+	high_pc in order to properly sign-extend VMAs.
+
+2009-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
+            Mark Shinwell  <shinwell@codesourcery.com>
+            Catherine Moore  <clm@codesourcery.com>
+
+	* elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments.
+
+2009-01-28  Catherine Moore <clm@codesourcery.com>
+
+	* elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and
+	SEC_LOAD for dynamic relocation sections.
+
+2009-01-27  Hans-Peter Nilsson  <hp@axis.com>
+
+	* elf32-cris.c (cris_elf_relocate_section): Use elf_hash_table
+	(info)->tls_size, not elf_hash_table (info)->tls_sec->size for
+	the size of local TLS data.
+
+2009-01-27  Andreas Schwab  <schwab@suse.de>
+
+	* mach-o.c (bfd_mach_o_archive_p): Restrict the number of
+	architectures in the archive.
+
 2009-01-27  Hans-Peter Nilsson  <hp@axis.com>
 
 	* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL>
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 593647c..8d67cb8 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -19,6 +19,7 @@ bfdincludedir = @bfdincludedir@
 datarootdir = @datarootdir@
 docdir = @docdir@
 htmldir = @htmldir@
+pdfdir = @pdfdir@
 
 bfdlib_LTLIBRARIES = libbfd.la
 
@@ -714,6 +715,35 @@ po/BLD-POTFILES.in: @MAINT@ Makefile $(BLD_POTFILES)
 
 all diststuff: info
 
+.PHONY: install-pdf install-pdf-am install-pdf-recursive
+
+install-pdf:	install-pdf-recursive
+
+install-pdf-recursive:
+	@failcom='exit 1'; \
+	for f in x $$MAKEFLAGS; do \
+	  case $$f in \
+	    *=* | --[!k]*);; \
+	    *k*) failcom='fail=yes';; \
+	  esac; \
+	done; \
+	dot_seen=no; \
+	target=`echo $@ | sed s/-recursive//`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    dot_seen=yes; \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	  || eval $$failcom; \
+	done; \
+	if test "$$dot_seen" = "no"; then \
+	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+	fi; test -z "$$fail"
+
 .PHONY: install-html install-html-am install-html-recursive
 
 install-html:	install-html-recursive
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index afaadb7..9932dea 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -266,6 +266,7 @@ lt_ECHO = @lt_ECHO@
 mandir = @mandir@
 mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 sbindir = @sbindir@
@@ -1350,6 +1351,35 @@ po/BLD-POTFILES.in: @MAINT@ Makefile $(BLD_POTFILES)
 
 all diststuff: info
 
+.PHONY: install-pdf install-pdf-am install-pdf-recursive
+
+install-pdf:	install-pdf-recursive
+
+install-pdf-recursive:
+	@failcom='exit 1'; \
+	for f in x $$MAKEFLAGS; do \
+	  case $$f in \
+	    *=* | --[!k]*);; \
+	    *k*) failcom='fail=yes';; \
+	  esac; \
+	done; \
+	dot_seen=no; \
+	target=`echo $@ | sed s/-recursive//`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  echo "Making $$target in $$subdir"; \
+	  if test "$$subdir" = "."; then \
+	    dot_seen=yes; \
+	    local_target="$$target-am"; \
+	  else \
+	    local_target="$$target"; \
+	  fi; \
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	  || eval $$failcom; \
+	done; \
+	if test "$$dot_seen" = "no"; then \
+	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+	fi; test -z "$$fail"
+
 .PHONY: install-html install-html-am install-html-recursive
 
 install-html:	install-html-recursive
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index e808716..fccfdeb 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -795,6 +795,7 @@ NAME (aout, machine_type) (enum bfd_architecture arch,
 	case bfd_mach_mipsisa64:
 	case bfd_mach_mipsisa64r2:
 	case bfd_mach_mips_sb1:
+	case bfd_mach_mips_xlr:
 	  /* FIXME: These should be MIPS3, MIPS4, MIPS16, MIPS32, etc.  */
 	  arch_flags = M_MIPS2;
 	  break;
diff --git a/bfd/archures.c b/bfd/archures.c
index c76e16e..f548ea2 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -175,6 +175,7 @@ DESCRIPTION
 .#define bfd_mach_mips_loongson_2f      3002
 .#define bfd_mach_mips_sb1              12310201 {* octal 'SB', 01 *}
 .#define bfd_mach_mips_octeon		6501
+.#define bfd_mach_mips_xlr              887682   {* decimal 'XLR'  *}
 .#define bfd_mach_mipsisa32             32
 .#define bfd_mach_mipsisa32r2           33
 .#define bfd_mach_mipsisa64             64
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 779f03a..994759d 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1801,6 +1801,7 @@ enum bfd_architecture
 #define bfd_mach_mips_loongson_2f      3002
 #define bfd_mach_mips_sb1              12310201 /* octal 'SB', 01 */
 #define bfd_mach_mips_octeon           6501
+#define bfd_mach_mips_xlr              887682   /* decimal 'XLR'  */
 #define bfd_mach_mipsisa32             32
 #define bfd_mach_mipsisa32r2           33
 #define bfd_mach_mipsisa64             64
@@ -2363,6 +2364,21 @@ The 24-bit relocation is used in some Intel 960 configurations.  */
   BFD_RELOC_68K_GLOB_DAT,
   BFD_RELOC_68K_JMP_SLOT,
   BFD_RELOC_68K_RELATIVE,
+  BFD_RELOC_68K_TLS_GD32,
+  BFD_RELOC_68K_TLS_GD16,
+  BFD_RELOC_68K_TLS_GD8,
+  BFD_RELOC_68K_TLS_LDM32,
+  BFD_RELOC_68K_TLS_LDM16,
+  BFD_RELOC_68K_TLS_LDM8,
+  BFD_RELOC_68K_TLS_LDO32,
+  BFD_RELOC_68K_TLS_LDO16,
+  BFD_RELOC_68K_TLS_LDO8,
+  BFD_RELOC_68K_TLS_IE32,
+  BFD_RELOC_68K_TLS_IE16,
+  BFD_RELOC_68K_TLS_IE8,
+  BFD_RELOC_68K_TLS_LE32,
+  BFD_RELOC_68K_TLS_LE16,
+  BFD_RELOC_68K_TLS_LE8,
 
 /* Linkage-table relative.  */
   BFD_RELOC_32_BASEREL,
diff --git a/bfd/configure b/bfd/configure
index eaab98d..80e5eaf 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -458,7 +458,7 @@ ac_includes_default="\
 # include <unistd.h>
 #endif"
 
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 DEBUGDIR PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_64BIT_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT BFD_HOSTPTR_T CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG SHARED_LDFLAGS SHARED_LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 DEBUGDIR PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_64BIT_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT BFD_HOSTPTR_T CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG SHARED_LDFLAGS SHARED_LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir pdfdir LIBOBJS LTLIBOBJS'
 ac_subst_files=''
 ac_pwd=`pwd`
 
@@ -22188,6 +22188,7 @@ rm -f doc/config.status
 
 
 
+
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
 # tests run on this system so they can be shared between configure
@@ -23270,6 +23271,7 @@ s,@tdefaults@,$tdefaults,;t t
 s,@datarootdir@,$datarootdir,;t t
 s,@docdir@,$docdir,;t t
 s,@htmldir@,$htmldir,;t t
+s,@pdfdir@,$pdfdir,;t t
 s,@LIBOBJS@,$LIBOBJS,;t t
 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 CEOF
diff --git a/bfd/configure.in b/bfd/configure.in
index c3a8efa..a444418 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -1063,10 +1063,11 @@ sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
     -e "s,@GMOFILES@,$GMOFILES," \
     po/Makefile.in > po/Makefile]],[[]])
 
-dnl Required by html and install-html
+dnl Required by html, pdf, install-pdf and install-html
 AC_SUBST(datarootdir)
 AC_SUBST(docdir)
 AC_SUBST(htmldir)
+AC_SUBST(pdfdir)
 
 AC_OUTPUT
 
diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c
index 1102467..4c98821 100644
--- a/bfd/cpu-mips.c
+++ b/bfd/cpu-mips.c
@@ -91,7 +91,8 @@ enum
   I_sb1,
   I_loongson_2e,
   I_loongson_2f,
-  I_mipsocteon
+  I_mipsocteon,
+  I_xlr
 };
 
 #define NN(index) (&arch_info_struct[(index) + 1])
@@ -129,7 +130,8 @@ static const bfd_arch_info_type arch_info_struct[] =
   N (64, 64, bfd_mach_mips_sb1, "mips:sb1",       FALSE, NN(I_sb1)),
   N (64, 64, bfd_mach_mips_loongson_2e, "mips:loongson_2e",       FALSE, NN(I_loongson_2e)),
   N (64, 64, bfd_mach_mips_loongson_2f, "mips:loongson_2f",       FALSE, NN(I_loongson_2f)),
-  N (64, 64, bfd_mach_mips_octeon, "mips:octeon", FALSE, 0)
+  N (64, 64, bfd_mach_mips_octeon,"mips:octeon",  FALSE, NN(I_mipsocteon)),
+  N (64, 64, bfd_mach_mips_xlr, "mips:xlr",       FALSE, 0)
 };
 
 /* The default architecture is mips:3000, but with a machine number of
diff --git a/bfd/doc/Makefile.am b/bfd/doc/Makefile.am
index 9256bd1..d5b3fba 100644
--- a/bfd/doc/Makefile.am
+++ b/bfd/doc/Makefile.am
@@ -296,6 +296,20 @@ MAINTAINERCLEANFILES = $(DOCFILES)
 # cygnus option.
 install: install-info
 
+pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+
+install-pdf: install-pdf-am
+ 
+install-pdf-am: $(PDFS)
+	@$(NORMAL_INSTALL)
+	test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
+	@list='$(PDFS)'; for p in $$list; do \
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+	  f=$(pdf__strip_dir) \
+	  echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
+	  $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
+	done
+
 html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 
 install-html: install-html-am
diff --git a/bfd/doc/Makefile.in b/bfd/doc/Makefile.in
index d81c6de..97700e5 100644
--- a/bfd/doc/Makefile.in
+++ b/bfd/doc/Makefile.in
@@ -176,14 +176,14 @@ REPORT_BUGS_TEXI = @REPORT_BUGS_TEXI@
 REPORT_BUGS_TO = @REPORT_BUGS_TO@
 SED = @SED@
 SET_MAKE = @SET_MAKE@
+SHARED_LDFLAGS = @SHARED_LDFLAGS@
+SHARED_LIBADD = @SHARED_LIBADD@
 SHELL = @SHELL@
 STRIP = @STRIP@
 TDEFINES = @TDEFINES@
 USE_NLS = @USE_NLS@
 VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
-WIN32LDFLAGS = @WIN32LDFLAGS@
-WIN32LIBADD = @WIN32LIBADD@
 XGETTEXT = @XGETTEXT@
 ac_ct_AR = @ac_ct_AR@
 ac_ct_CC = @ac_ct_CC@
@@ -239,6 +239,7 @@ lt_ECHO = @lt_ECHO@
 mandir = @mandir@
 mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 sbindir = @sbindir@
@@ -358,6 +359,7 @@ CLEANFILES = *.p *.ip
 DISTCLEANFILES = bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log \
 	$(am__append_1)
 MAINTAINERCLEANFILES = $(DOCFILES) bfd.info
+pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
 all: all-am
 
@@ -808,6 +810,18 @@ bfdver.texi: $(srcdir)/Makefile.in
 # cygnus option.


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2009-01-27 14:39 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2009-01-27 14:39 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  6b30aec83c031c7a5ecfe3c8182c894048e74b7d (commit)
       via  587fa1a9ae4b6dcbce35a510d850032ce1df12cf (commit)
       via  1491427ae8c6205fe1f325da1201419313e3c3b9 (commit)
       via  52da3cb816963552920c3bd1be6d382d4debad8a (commit)
       via  ccee8cf101a68a9595867638c100086715ae1944 (commit)
       via  c51205a752a5c26e0e4f1a5763b89dd33432c6fe (commit)
       via  b51efefd842bea521c5ee25306bd73eeab74fa85 (commit)
       via  5b87a749027154f0aa0120ac1c24e726c483a8a0 (commit)
       via  3ce76e710f43751f99e1ac6137ccc4ef9e4b9f07 (commit)
       via  bf06624c54fe05cce54fef983fa7d329c500404a (commit)
       via  8b58bcf2f83e4f98a2ca9202d477b725abb90e72 (commit)
       via  051a1cf006b13a738f7f2697bc897c57d7cb163b (commit)
       via  b4d75490715058a51d045b89561bfce02fa331b6 (commit)
       via  b3d79b8ed687dfa889f46d03a17f37c42e945a2b (commit)
       via  3a4ab0a3e31d115b1b9f3ab9e14f3efcf124a5d7 (commit)
       via  aea85d57cdd9eda9faca88f025d58cc7e9f49f7f (commit)
       via  68be5f29099b8bba57a3a5bb87946511f4f82c62 (commit)
       via  59388d5a95d91cc3710b91f2b3b334f126517ad5 (commit)
       via  aefee5ed5cf0909fc174b538be69a7de3f63a91f (commit)
       via  2b33b569bdebeb623beabc36cc43c545701b6d93 (commit)
       via  c68ed5493b7c919af1cb950b542f72d62bd08882 (commit)
       via  b1482bb07699c150bcbc2cc915d2ae039ebaee80 (commit)
       via  d46ef7dd9c96079bbfb7b2c675a98fbacc37dba5 (commit)
       via  b7ee711e348c8b8bd07bc810142fe468a7da9d04 (commit)
       via  ecdf4477c1cba445b81193d6609f06aebdebeba9 (commit)
       via  1f14283bfadf9f5d9b68b8863947c0d4fb2c3cf2 (commit)
       via  857c05cde38f5b6529d4eb2e2570710b65b71b11 (commit)
       via  a1e78a92edb65f61398f75fa82122fa36a31f3dc (commit)
       via  9316ed5bdad1416e32f5be97d20cb573ac0bf64c (commit)
       via  fa9d7815fd365b52135be091938481fb5307fce4 (commit)
       via  ecf101f78860519418555b966e4ed5061286a2a9 (commit)
       via  1a6c57ddde9b9fb62dbcf7230d4f1308d3674df1 (commit)
       via  c090d23b34b137ce98f9de62537fa2fb13ca1ecd (commit)
       via  e6e9396c648fd22fe476b17352ed52a40bb2e0bd (commit)
       via  d7fb7dd25e0ab498d182b0c214270ec0703e6720 (commit)
       via  502a1d8a6089ed66188719292520c9baed722691 (commit)
       via  17ba7979fefa3603c3c150026b7f1e6084080b00 (commit)
       via  5de3a5856a0feb2e905caea5b965558b68e0bf4c (commit)
       via  9e8f01670d7d7334a7fb65c8329968bedf3c90f1 (commit)
       via  aabca0d611c0e34a0d6996210e53851d2b7789d8 (commit)
       via  b5e43e479bba74752908cedf4badff85ed25f9e6 (commit)
       via  1925ddc4c2bd7ec1446f291468fa3983d3ba4755 (commit)
       via  4fa71ccefb5491b8ed6e55d9c5e85c2236ca6151 (commit)
       via  4d5395266d494570a0cbc8b792da41185f4663c2 (commit)
       via  ed4a78fc3d59d21c02818380df85dff422ba12aa (commit)
       via  d74817b84bb759030de2dedb4c64adf008955433 (commit)
       via  68ccdda06ddeb6dd689615c1817e4e766b243c06 (commit)
       via  3edeb2f06956b32f7c8a4df32ca9039de7e4a78a (commit)
       via  1602efbcae70b4e40b4c8e3e0dac82a0dee91acf (commit)
       via  d28c2e65ddf50a889532bf15e5ec570018373292 (commit)
       via  dbfa9cc7e9016dde29373bc472533daacce53b65 (commit)
       via  81a55f1427d48710e2d699f134a6c59f78f5550b (commit)
       via  6178fc046d036ba0639a456272b63ab099edaf82 (commit)
       via  a48c179934bee9df3f67fcaaf632242e40d30e84 (commit)
       via  d641b754fd63c07aefd102230909dd015f851331 (commit)
       via  c4c2286bc98cad3c54a9b5d017ee3b150e680ac2 (commit)
       via  6cf613d6c791e0d6a785dc97654956f13139b9b7 (commit)
       via  35c95b2b57b61d962e5404886905dfe2829fb6bb (commit)
       via  8d2e8ad63204a3019f9b12f4a467a6e2b9a6c23b (commit)
       via  fae81fd61a19c98ca18a8b6b98d2840fa9dd5ade (commit)
       via  bb8e50ab4853f6b18efacc3328fa2075539d8974 (commit)
       via  2b330cc803da788211cd4b66e87cfd6bc21dfbab (commit)
       via  363c7b345f7d0730bd202c1775efeaf3d8254ed2 (commit)
       via  e7f2b7951a4b2190a967e367e5395a1c3e2d4802 (commit)
       via  dd5681c3362ddd4c5933fcaba245ff6333034f38 (commit)
       via  e6bd8f2abf2aff1a2ed7b29daaff68f918be9b88 (commit)
       via  4e8d44f12e27f569721e742bceccdfee35a78e2f (commit)
       via  6da1a829889ede67cb1d79801d7e303ffa6b4528 (commit)
       via  11a5ed3eee53962a18e0c348ac6ad6ccde4430a3 (commit)
       via  76d4004ac49829afe4cf6398c12d180b0d5242e1 (commit)
       via  306a5665b5c0cb1b3e097bbc23b79620f59e2cf0 (commit)
       via  d438502cf4d0f80282a5b84ab8e7425acd1a53c1 (commit)
       via  c0ec56f7f57d5d83ad589fb16255de691561f997 (commit)
       via  ff95333fe26824a2b1982e3ddcdc8d56d13d66a3 (commit)
       via  847915664fd893f065928e0b73911025973c0d68 (commit)
       via  feb4d18f5aa47204581b1e2f916ee4c34817e31f (commit)
       via  1aad842f599a7f2ae77c7ad85898471e503e83b2 (commit)
       via  a06be778506917cc0d66485bc74dfdf92f212506 (commit)
       via  82ab01cef505b98e5217e350fb1ce0fa5bdb5667 (commit)
       via  96dd75b5a8d23c3be6309de91768869003583298 (commit)
       via  56adda13173a3b8a2355b6b2865ff6d25059e1ca (commit)
       via  8ce9a2934dc0e16e01bb9dd0276fe05e90c39688 (commit)
       via  c86ee81222651c3e2c8694e71dcc5c7036b2aefc (commit)
       via  460b2283a3b26e9df8c9a91006806b46924c5945 (commit)
       via  7f81dd5c655ca22f862d168a3f8ac87edf4e96e0 (commit)
       via  e67de9c4083ea465357e9dd982e1c9be8d3ae9cc (commit)
       via  3a910fb838b06f989303f531482efb1189017055 (commit)
      from  a94bd75a6a33d2a5f284a848cfb04c115365a3cc (commit)

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

- Log -----------------------------------------------------------------
commit 6b30aec83c031c7a5ecfe3c8182c894048e74b7d
Merge: a94bd75a6a33d2a5f284a848cfb04c115365a3cc 587fa1a9ae4b6dcbce35a510d850032ce1df12cf
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Jan 27 15:05:00 2009 +0100

    Merge commit 'origin/master' into archer-jankratochvil-misc

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

Summary of changes:
 COPYING.NEWLIB                                     |   31 +
 ChangeLog                                          |   15 +
 Makefile.def                                       |    5 +-
 Makefile.in                                        |   20 +
 bfd/ChangeLog                                      |  194 ++++++
 bfd/Makefile.am                                    |    7 +-
 bfd/Makefile.in                                    |   19 +-
 bfd/coffcode.h                                     |   17 +-
 bfd/config.bfd                                     |    4 +
 bfd/configure                                      |   79 ++--
 bfd/configure.in                                   |   45 +-
 bfd/dwarf2.c                                       |   17 +-
 bfd/elf-attrs.c                                    |  154 ++---
 bfd/elf-bfd.h                                      |  106 +---
 bfd/elf-hppa.h                                     |   26 +-
 bfd/elf.c                                          |   17 +-
 bfd/elf32-arm.c                                    |  644 +++++++++++++++-----
 bfd/elf32-cris.c                                   |   26 +-
 bfd/elf32-ppc.c                                    |   47 ++-
 bfd/elf32-spu.c                                    |   28 +-
 bfd/elf32-spu.h                                    |    5 +-
 bfd/elflink.c                                      |  243 ++++----
 bfd/elfxx-ia64.c                                   |  306 +++++++++-
 bfd/elfxx-target.h                                 |    4 +
 bfd/pdp11.c                                        |   25 +-
 bfd/po/SRC-POTFILES.in                             |    3 +
 bfd/targets.c                                      |    2 +
 bfd/version.h                                      |    2 +-
 bfd/vmsutil.c                                      |  265 ++++++++
 bfd/vmsutil.h                                      |   20 +
 configure                                          |    4 +
 configure.ac                                       |    4 +
 gdb/ChangeLog                                      |  230 +++++++
 gdb/NEWS                                           |    6 +-
 gdb/cli/cli-decode.c                               |   21 +
 gdb/cli/cli-setshow.c                              |    6 +
 gdb/command.h                                      |   14 +
 gdb/doc/ChangeLog                                  |   16 +
 gdb/doc/gdb.texinfo                                |   40 ++-
 gdb/dummy-frame.c                                  |  112 +++--
 gdb/dummy-frame.h                                  |   16 +-
 gdb/eval.c                                         |   17 +-
 gdb/findvar.c                                      |   75 +---
 gdb/frame.c                                        |   60 +--
 gdb/frame.h                                        |   18 -
 gdb/gdbserver/ChangeLog                            |   24 +
 gdb/gdbserver/gdbreplay.c                          |    2 +-
 gdb/gdbserver/regcache.c                           |    2 -
 gdb/gdbserver/server.c                             |   74 ++-
 gdb/gdbserver/server.h                             |    5 +-
 gdb/gdbserver/thread-db.c                          |    2 +-
 gdb/gdbserver/utils.c                              |   19 +-
 gdb/gdbthread.h                                    |   17 +
 gdb/gdbtypes.c                                     |   53 +--
 gdb/gnu-v3-abi.c                                   |    2 +-
 gdb/hppa-hpux-tdep.c                               |    2 +-
 gdb/inf-ptrace.c                                   |    8 +-
 gdb/inf-ttrace.c                                   |    5 +-
 gdb/infcall.c                                      |  375 ++++++++----
 gdb/infcmd.c                                       |   28 +-
 gdb/inferior.h                                     |   28 +-
 gdb/infrun.c                                       |  221 +++++---
 gdb/linux-nat.c                                    |   12 +-
 gdb/objfiles.c                                     |    4 +-
 gdb/objfiles.h                                     |    6 +
 gdb/procfs.c                                       |    8 +-
 gdb/signals/signals.c                              |   12 +-
 gdb/solib.c                                        |  110 +++--
 gdb/solist.h                                       |    9 +
 gdb/stack.c                                        |    2 +-
 gdb/target.h                                       |    6 +-
 gdb/testsuite/ChangeLog                            |   53 ++
 gdb/testsuite/gdb.base/break.exp                   |    2 +-
 gdb/testsuite/gdb.base/call-signal-resume.exp      |  159 +++++
 gdb/testsuite/gdb.base/call-signals.c              |   89 +++
 gdb/testsuite/gdb.base/find.exp                    |    2 +-
 gdb/testsuite/gdb.base/hook-stop-frame.c           |   32 +
 gdb/testsuite/gdb.base/hook-stop-frame.exp         |   55 ++
 gdb/testsuite/gdb.base/interrupt.c                 |   18 +-
 gdb/testsuite/gdb.base/interrupt.exp               |   38 ++-
 gdb/testsuite/gdb.base/radix.exp                   |   17 +-
 gdb/testsuite/gdb.base/sepdebug.exp                |    2 +-
 gdb/testsuite/gdb.base/unwindonsignal.c            |   65 ++
 gdb/testsuite/gdb.base/unwindonsignal.exp          |   98 +++
 gdb/testsuite/gdb.cp/pr9631.cc                     |   42 ++
 gdb/testsuite/gdb.cp/pr9631.exp                    |   48 ++
 gdb/testsuite/gdb.mi/mi-syn-frame.exp              |    7 +-
 gdb/testsuite/gdb.mi/mi2-syn-frame.exp             |    7 +-
 gdb/testsuite/gdb.server/file-transfer.exp         |    2 +-
 gdb/testsuite/gdb.threads/interrupted-hand-call.c  |  149 +++++
 .../gdb.threads/interrupted-hand-call.exp          |   92 +++
 .../gdb.threads/thread-unwindonsignal.exp          |  117 ++++
 gdb/thread.c                                       |   52 ++-
 gdb/tui/tui-disasm.c                               |   15 +-
 gdb/tui/tui-winsource.c                            |   16 +-
 gdb/utils.c                                        |  166 ++++-
 gdb/valops.c                                       |   58 ++-
 gdb/valprint.c                                     |   20 +-
 gdb/value.h                                        |    5 +-
 gdb/version.in                                     |    2 +-
 include/elf/ChangeLog                              |   17 +
 include/elf/arm.h                                  |   44 +-
 include/elf/ia64.h                                 |   23 +-
 libiberty/ChangeLog                                |    6 +
 libiberty/configure                                |   30 -
 libiberty/configure.ac                             |   23 -
 opcodes/ChangeLog                                  |   18 +
 opcodes/configure                                  |   62 +-
 opcodes/configure.in                               |   32 +-
 opcodes/fr30-asm.c                                 |    2 +-
 opcodes/fr30-dis.c                                 |    4 +-
 opcodes/fr30-ibld.c                                |    4 +-
 opcodes/frv-asm.c                                  |    2 +-
 opcodes/frv-dis.c                                  |    4 +-
 opcodes/frv-ibld.c                                 |    4 +-
 opcodes/ip2k-asm.c                                 |    2 +-
 opcodes/ip2k-dis.c                                 |    4 +-
 opcodes/ip2k-ibld.c                                |    4 +-
 opcodes/iq2000-asm.c                               |    2 +-
 opcodes/iq2000-dis.c                               |    4 +-
 opcodes/iq2000-ibld.c                              |    4 +-
 opcodes/m32c-asm.c                                 |    2 +-
 opcodes/m32c-dis.c                                 |    4 +-
 opcodes/m32c-ibld.c                                |    4 +-
 opcodes/m32r-asm.c                                 |    2 +-
 opcodes/m32r-dis.c                                 |    4 +-
 opcodes/m32r-ibld.c                                |    4 +-
 opcodes/mep-asm.c                                  |    2 +-
 opcodes/mep-dis.c                                  |    4 +-
 opcodes/mep-ibld.c                                 |    4 +-
 opcodes/mt-asm.c                                   |    2 +-
 opcodes/mt-dis.c                                   |    4 +-
 opcodes/mt-ibld.c                                  |    4 +-
 opcodes/openrisc-asm.c                             |    2 +-
 opcodes/openrisc-dis.c                             |    4 +-
 opcodes/openrisc-ibld.c                            |    4 +-
 opcodes/po/POTFILES.in                             |    8 +
 opcodes/xc16x-asm.c                                |    2 +-
 opcodes/xc16x-dis.c                                |    4 +-
 opcodes/xc16x-ibld.c                               |    4 +-
 opcodes/xstormy16-asm.c                            |    2 +-
 opcodes/xstormy16-dis.c                            |    4 +-
 opcodes/xstormy16-ibld.c                           |    4 +-
 sim/ChangeLog                                      |   20 +
 sim/cris/sim-if.c                                  |  127 ++++-
 sim/testsuite/ChangeLog                            |    6 +
 sim/testsuite/lib/sim-defs.exp                     |    4 +-
 sim/testsuite/sim/cris/asm/bare3.ms                |   41 ++
 sim/testsuite/sim/cris/asm/opterr3.ms              |   10 +
 sim/testsuite/sim/cris/asm/opterr4.ms              |    7 +
 sim/testsuite/sim/cris/asm/opterr5.ms              |    7 +
 151 files changed, 4698 insertions(+), 1376 deletions(-)
 create mode 100644 bfd/vmsutil.c
 create mode 100644 bfd/vmsutil.h
 create mode 100644 gdb/testsuite/gdb.base/call-signal-resume.exp
 create mode 100644 gdb/testsuite/gdb.base/call-signals.c
 create mode 100644 gdb/testsuite/gdb.base/hook-stop-frame.c
 create mode 100644 gdb/testsuite/gdb.base/hook-stop-frame.exp
 create mode 100644 gdb/testsuite/gdb.base/unwindonsignal.c
 create mode 100644 gdb/testsuite/gdb.base/unwindonsignal.exp
 create mode 100644 gdb/testsuite/gdb.cp/pr9631.cc
 create mode 100644 gdb/testsuite/gdb.cp/pr9631.exp
 create mode 100644 gdb/testsuite/gdb.threads/interrupted-hand-call.c
 create mode 100644 gdb/testsuite/gdb.threads/interrupted-hand-call.exp
 create mode 100644 gdb/testsuite/gdb.threads/thread-unwindonsignal.exp
 create mode 100644 sim/testsuite/sim/cris/asm/bare3.ms
 create mode 100644 sim/testsuite/sim/cris/asm/opterr3.ms
 create mode 100644 sim/testsuite/sim/cris/asm/opterr4.ms
 create mode 100644 sim/testsuite/sim/cris/asm/opterr5.ms

First 500 lines of diff:
diff --git a/COPYING.NEWLIB b/COPYING.NEWLIB
index b3cccd8..68ff0c2 100644
--- a/COPYING.NEWLIB
+++ b/COPYING.NEWLIB
@@ -767,3 +767,34 @@ SUCH DAMAGE.
  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  SUCH DAMAGE.
+
+
+(35) - ARM Ltd (arm and thumb variant targets only)
+
+ Copyright (c) 2009 ARM Ltd
+ All rights reserved.
+ 
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. The name of the company may not be used to endorse or promote
+    products derived from this software without specific prior written
+    permission.
+
+ THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
diff --git a/ChangeLog b/ChangeLog
index 9ee88bf..1da2e0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2009-01-21  Jeff Johnston  <jjohnstn@redhat.com>
+
+	* COPYING.NEWLIB: Add ARM license.
+
+2009-01-16  Alan Modra  <amodra@bigpond.net.au>
+
+	* Makefile.def (configure-opcodes): Depend on configure-libiberty.
+	(all-opcodes): Depend on all-libiberty.
+	* Makefile.in: Regenerate.
+
+2009-01-15  Douglas B Rupp  <rupp@gnat.com>
+
+	* configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support.
+	* configure: Regenerate.
+
 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Backport link test fix from upstream Libtool:
diff --git a/Makefile.def b/Makefile.def
index dea795a..fee4dda 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -4,7 +4,8 @@ AutoGen definitions Makefile.tpl;
 // Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
 // This file was originally written by Nathanael Nerode.
 //
-//   Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
+//   Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+//   Free Software Foundation
 //
 // This file is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -357,6 +358,8 @@ dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; };
 dependencies = { module=configure-bfd; on=configure-intl; };
 dependencies = { module=all-bfd; on=all-libiberty; };
 dependencies = { module=all-bfd; on=all-intl; };
+dependencies = { module=configure-opcodes; on=configure-libiberty; hard=true; };
+dependencies = { module=all-opcodes; on=all-libiberty; };
 
 dependencies = { module=configure-binutils; on=configure-intl; };
 dependencies = { module=all-binutils; on=all-libiberty; };
diff --git a/Makefile.in b/Makefile.in
index ab03aab..2df155e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -55311,6 +55311,26 @@ all-stageb3g2-bfd: maybe-all-stageb3g2-intl
 all-stage4-bfd: maybe-all-stage4-intl
 all-stageprofile-bfd: maybe-all-stageprofile-intl
 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
+configure-opcodes: configure-libiberty
+
+configure-stage1-opcodes: configure-stage1-libiberty
+configure-stage2-opcodes: configure-stage2-libiberty
+configure-stageb2g0-opcodes: configure-stageb2g0-libiberty
+configure-stage3-opcodes: configure-stage3-libiberty
+configure-stageb3g2-opcodes: configure-stageb3g2-libiberty
+configure-stage4-opcodes: configure-stage4-libiberty
+configure-stageprofile-opcodes: configure-stageprofile-libiberty
+configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
+all-opcodes: maybe-all-libiberty
+
+all-stage1-opcodes: maybe-all-stage1-libiberty
+all-stage2-opcodes: maybe-all-stage2-libiberty
+all-stageb2g0-opcodes: maybe-all-stageb2g0-libiberty
+all-stage3-opcodes: maybe-all-stage3-libiberty
+all-stageb3g2-opcodes: maybe-all-stageb3g2-libiberty
+all-stage4-opcodes: maybe-all-stage4-libiberty
+all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
+all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
 configure-binutils: maybe-configure-intl
 
 configure-stage1-binutils: maybe-configure-stage1-intl
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index bc2df92..41cee38 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,197 @@
+2009-01-27  Hans-Peter Nilsson  <hp@axis.com>
+
+	* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL>
+	<R_CRIS_32_DTPREL>: Correct relocation value.
+
+	* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_8>
+	<R_CRIS_16, R_CRIS_32>: Don't call BFD_ASSERT for weak undefined
+	symbols with non-default visibility.
+
+2009-01-26  Nathan Sidwell  <nathan@codesourcery.com>
+
+	* elf32-ppc.c (ppc_elf_relax_section): Add space for relocs
+	describing the trampolines.
+	(ppc_elf_relocate_section): Update relocs to describe the
+	trampolines.
+
+2009-01-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+	* elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that
+	branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F
+	and R_PARISC_PCREL12F relocations.
+
+2009-01-24  Alan Modra  <amodra@bigpond.net.au>
+
+	PR 6022
+	* elflink.c (find_version_for_sym): New function split out from,
+	but without export_dynamic test, ..
+	(_bfd_elf_link_assign_sym_version): ..here.
+	(_bfd_elf_export_symbol): Use it.
+
+2009-01-23  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf-bfd.h (struct elf_assign_sym_version_info): Delete.
+	(struct elf_info_failed, struct elf_find_verdep_info): Move to..
+	* elflink.c: ..here, somewhat modified.
+	* elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol,
+	_bfd_elf_link_find_version_dependencies,
+	_bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section,
+	_bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol,
+	_bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't
+	declare..
+	* elflink.c: ..and make static here.
+	(_bfd_elf_link_find_version_dependencies): Adjust for removal
+	of output_bfd from struct elf_find_verdep_info.
+	(_bfd_elf_link_assign_sym_version): Similarly adjust to use
+	struct elf_info_failed.
+	(bfd_elf_size_dynamic_sections): Adjust.
+
+2009-01-22  Alan Modra  <amodra@bigpond.net.au>
+
+	PR 6832
+	* dwarf2.c (find_line): Don't update stash->sec_info_ptr until
+	after comp_unit_find_line call.
+
+2009-01-21  Nick Clifton  <nickc@redhat.com>
+
+	PR 9769
+	* vmsutil.c (vms_file_stats_name): Remove use of unsupported
+	tm_gmtoff field in struct tm.
+
+2009-01-21  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf32-spu.h (struct spu_elf_params): Add non_ia_text.
+	* elf32-spu.c (mark_overlay_section): Only include .text.ia.*
+	sections in soft-icache lines unless non_ia_text.  Don't add
+	rodata if doing so would exceed line size.
+
+2009-01-19  Hans-Peter Nilsson  <hp@axis.com>
+
+	* elf32-cris.c (elf_cris_copy_indirect_symbol): For other symbol
+	types than bfd_link_hash_indirect, before early return, call
+	_bfd_elf_link_hash_copy_indirect.
+
+2009-01-19  Andrew Stubbs  <ams@codesourcery.com>
+
+	* elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering.
+	* elf-bfd.h (elf_backend_data): Add obj_attrs_order.
+	* elf32-arm.c (elf32_arm_obj_attrs_order): New function.
+	(elf_backend_obj_attrs_order): New define.
+	* elfxx-target.h (elf_backend_obj_attrs_order): New define.
+	(elfNN_bed): Add elf_backend_obj_attrs_order.
+
+2009-01-19  Andrew Stubbs  <ams@codesourcery.com>
+
+	* elf-attrs.c (is_default_attr): Substitute magic numbers with macros.
+	(obj_attr_size): Likewise.
+	(write_obj_attribute): Likewise.
+	(_bfd_elf_copy_obj_attributes): Likewise.
+	(_bfd_elf_parse_attributes): Likewise.
+	* elf-bfd.h (ATTR_TYPE_FLAG_INT_VAL): New define.
+	(ATTR_TYPE_FLAG_STR_VAL, ATTR_TYPE_FLAG_NO_DEFAULT): New defines.
+	(ATTR_TYPE_HAS_INT_VAL, ATTR_TYPE_HAS_STR_VAL): New defines.
+	(ATTR_TYPE_HAS_NO_DEFAULT): New define.
+	* elf32-arm.c (elf32_arm_obj_attrs_arg_type): Replace magic numbers
+	with macros.
+
+2009-01-19  Andrew Stubbs  <ams@codesourcery.com>
+
+	* elf-attrs.c (is_default_attr): Support defaultless attributes.
+	(bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type.
+	(bfd_elf_add_obj_attr_string): Likewise.
+	(bfd_elf_add_obj_attr_int_string): Likewise.
+	(_bfd_elf_parse_attributes): Allow for unknown flag bits in type.
+	* elf-bfd.h (struct obj_attribute): Document new flag bit.
+	* elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that
+	Tag_nodefaults has no default value.
+	(elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults
+	comment to reflect the new state.
+
+2009-01-19  Alan Modra  <amodra@bigpond.net.au>
+
+	PR 9695
+	* pdp11.c (N_BADMAG): True for anything but OMAGIC, NMAGIC, ZMAGIC.
+	(some_aout_object_p): Delete dead code handling QMAGIC and BMAGIC.
+	(adjust_z_magix): Delete dead code handling QMAGIC.
+
+2009-01-16  Kai Tietz  <kai.tietz@onevision.com>
+
+	* coffcode.h (styp_to_sec_flags): Correct interpretation of
+	IMAGE_SCN_MEM_DISCARDABLE.
+
+2009-01-16  Alan Modra  <amodra@bigpond.net.au>
+
+	* Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute
+	SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS.
+	* configure.in (commonbfdlib): Delete.
+	(SHARED_LDFLAGS): Rename from WIN32LDFLAGS/
+	(SHARED_LIBADD): Rename from WIN32LIBADD.  Add pic libiberty if such
+	is available, not just for linux.
+	* po/SRC-POTFILES.in: Regenerate.
+	* Makefile.in: Regenerate.
+	* configure: Regenerate.
+
+2009-01-15  Andrew Stubbs  <ams@codesourcery.com>
+	    Julian Brown   <julian@codesourcery.com>
+
+	* elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known
+	ARM attributes in ABI 2.07.
+	* elf32-arm.c (get_secondary_compatible_arch): New function.
+	(set_secondary_compatible_arch): New function.
+	(tag_cpu_arch_combine): New function.
+	(elf32_arm_copy_one_eabi_other_attribute): Delete function.
+	(elf32_arm_copy_eabi_other_attribute_list): Delete function.
+	(elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to
+	make it fit with order_01243.
+	Add support for Tag_also_compatible_with,
+	Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use,
+	Tag_MPextension_use, Tag_nodefaults and Tag_conformance.
+	Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name,
+	Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension,
+	Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed,
+	Tag_VFP_arch and Tag_ABI_FP_16bit_format.
+	Rework the way unknown attributes are handled.
+	Defer errors until all attributes have been processed.
+
+2009-01-15  Andrew Stubbs  <ams@codesourcery.com>
+
+	* elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to
+	bfd_elf_add_obj_attr_int_string.
+	Read Tag_compatibility from its new location in the attribute array,
+	rather than the attribute list.
+	(_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat ->
+	bfd_elf_add_obj_attr_int_string.
+	(_bfd_elf_parse_attributes): Likewise.
+	(_bfd_elf_merge_object_attributes): There's now only one
+	Tag_compatibility, and it's in the array, not the list.
+	* elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include
+	Tag_compatibility.
+	(bfd_elf_add_obj_attr_compat): Rename to
+	bfd_elf_add_obj_attr_int_string.
+	(bfd_elf_add_proc_attr_compat): Rename to
+	bfd_elf_add_proc_attr_int_string.
+	* elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle
+	Tag_compatibility.
+
+2009-01-15  Douglas B Rupp  <rupp@gnat.com>
+
+	* Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo
+	(BFD32_BACKENDS_CFILES): Add new file vmsutil.c
+	(vmsutil.lo): Add dependency rule.
+	* Makefile.in: Regenerate.
+	* config.bfd (ia64*-*-*vms*): Add case.
+	* configure.in (bfd_elf64_ia64_vms_vec): Add case.
+	* configure: Regenerate.
+	* vmsutil.c: New file.
+	* vmsutil.h: New file.
+	* elf-bfd.h (struct bfd_elf_special_section): Change type of
+	attr to bfd_vma.
+	* elfxx-ia64.c (elfNN_vms_post_process_headers,
+	elfNN_vms_section_processing, elfNN_vms_final_write_processing,
+	elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr,
+	elfNN_vms_object_p): New functions
+	* targets.c (bfd_elf64_ia64_vms_vec): New target.
+
 2009-01-14  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR ld/9727
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 4eac4a0..593647c 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -371,6 +371,7 @@ BFD32_BACKENDS = \
 	vms-hdr.lo \
 	vms-misc.lo \
 	vms-tir.lo \
+	vmsutil.lo \
 	xcofflink.lo \
 	xsym.lo \
 	xtensa-isa.lo \
@@ -552,6 +553,7 @@ BFD32_BACKENDS_CFILES = \
 	vms-hdr.c \
 	vms-misc.c \
 	vms-tir.c \
+	vmsutil.c \
 	xcofflink.c \
 	xsym.c \
 	xtensa-isa.c \
@@ -767,8 +769,8 @@ ofiles: stamp-ofiles ; @true
 # libbfd_la_SOURCES, we put BFD64_LIBS in OFILES instead.
 libbfd_la_SOURCES = $(BFD32_LIBS_CFILES)
 libbfd_la_DEPENDENCIES = $(OFILES) ofiles
-libbfd_la_LIBADD = `cat ofiles` @WIN32LIBADD@
-libbfd_la_LDFLAGS = -release `cat libtool-soversion` @WIN32LDFLAGS@
+libbfd_la_LIBADD = `cat ofiles` @SHARED_LIBADD@
+libbfd_la_LDFLAGS = -release `cat libtool-soversion` @SHARED_LDFLAGS@
 
 # libtool will build .libs/libbfd.a.  We create libbfd.a in the build
 # directory so that we don't have to convert all the programs that use
@@ -1833,6 +1835,7 @@ vms-misc.lo: vms-misc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h vms.h
 vms-tir.lo: vms-tir.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h vms.h
+vmsutil.lo: vmsutil.c vmsutil.h $(INCDIR)/ansidecl.h
 xcofflink.lo: xcofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h \
   libcoff.h libxcoff.h
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index fc370b0..afaadb7 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -203,14 +203,14 @@ REPORT_BUGS_TEXI = @REPORT_BUGS_TEXI@
 REPORT_BUGS_TO = @REPORT_BUGS_TO@
 SED = @SED@
 SET_MAKE = @SET_MAKE@
+SHARED_LDFLAGS = @SHARED_LDFLAGS@
+SHARED_LIBADD = @SHARED_LIBADD@
 SHELL = @SHELL@
 STRIP = @STRIP@
 TDEFINES = @TDEFINES@
 USE_NLS = @USE_NLS@
 VERSION = @VERSION@
 WARN_CFLAGS = @WARN_CFLAGS@
-WIN32LDFLAGS = @WIN32LDFLAGS@
-WIN32LIBADD = @WIN32LIBADD@
 XGETTEXT = @XGETTEXT@
 ac_ct_AR = @ac_ct_AR@
 ac_ct_CC = @ac_ct_CC@
@@ -637,6 +637,7 @@ BFD32_BACKENDS = \
 	vms-hdr.lo \
 	vms-misc.lo \
 	vms-tir.lo \
+	vmsutil.lo \
 	xcofflink.lo \
 	xsym.lo \
 	xtensa-isa.lo \
@@ -818,6 +819,7 @@ BFD32_BACKENDS_CFILES = \
 	vms-hdr.c \
 	vms-misc.c \
 	vms-tir.c \
+	vmsutil.c \
 	xcofflink.c \
 	xsym.c \
 	xtensa-isa.c \
@@ -975,8 +977,8 @@ OFILES = $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@ @bfd64_libs@
 # libbfd_la_SOURCES, we put BFD64_LIBS in OFILES instead.
 libbfd_la_SOURCES = $(BFD32_LIBS_CFILES)
 libbfd_la_DEPENDENCIES = $(OFILES) ofiles
-libbfd_la_LIBADD = `cat ofiles` @WIN32LIBADD@
-libbfd_la_LDFLAGS = -release `cat libtool-soversion` @WIN32LDFLAGS@
+libbfd_la_LIBADD = `cat ofiles` @SHARED_LIBADD@
+libbfd_la_LDFLAGS = -release `cat libtool-soversion` @SHARED_LDFLAGS@
 
 # libtool will build .libs/libbfd.a.  We create libbfd.a in the build
 # directory so that we don't have to convert all the programs that use
@@ -2022,15 +2024,15 @@ elf32-iq2000.lo: elf32-iq2000.c $(INCDIR)/filenames.h \
   $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/elf/iq2000.h $(INCDIR)/elf/reloc-macros.h \
   elf32-target.h
-elf32-lm32.lo: elf32-lm32.c $(INCDIR)/filenames.h elf-bfd.h \
-  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
-  $(INCDIR)/bfdlink.h $(INCDIR)/elf/lm32.h $(INCDIR)/elf/reloc-macros.h \
-  elf32-target.h
 elf32-m32c.lo: elf32-m32c.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m32c.h \
   $(INCDIR)/elf/reloc-macros.h $(INCDIR)/libiberty.h \
   elf32-target.h
+elf32-lm32.lo: elf32-lm32.c $(INCDIR)/filenames.h elf-bfd.h \
+  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
+  $(INCDIR)/bfdlink.h $(INCDIR)/elf/lm32.h $(INCDIR)/elf/reloc-macros.h \
+  elf32-target.h
 elf32-m32r.lo: elf32-m32r.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m32r.h \
@@ -2429,6 +2431,7 @@ vms-misc.lo: vms-misc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h vms.h
 vms-tir.lo: vms-tir.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h vms.h
+vmsutil.lo: vmsutil.c vmsutil.h $(INCDIR)/ansidecl.h
 xcofflink.lo: xcofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h \
   libcoff.h libxcoff.h
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 12d2ad5..db0b2e9 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -1069,10 +1069,19 @@ styp_to_sec_flags (bfd *abfd,
 	  sec_flags &= ~ SEC_READONLY;
 	  break;
 	case IMAGE_SCN_MEM_DISCARDABLE:
-	  /* The MS PE spec sets the DISCARDABLE flag on .reloc sections
-	     but we do not want them to be labelled as debug section, since
-	     then strip would remove them.  */
-	  if (! CONST_STRNEQ (name, ".reloc"))
+	  /* The MS PE spec says that debug sections are DISCARDABLE,
+	     but the presence of a DISCARDABLE flag does not necessarily
+	     mean that a given section contains debug information.  Thus
+	     we only set the SEC_DEBUGGING flag on sections that we
+	     recognise as containing debug information.  */
+	     if (CONST_STRNEQ (name, DOT_DEBUG)
+#ifdef _COMMENT
+	      || strcmp (name, _COMMENT) == 0
+#endif
+#ifdef COFF_LONG_SECTION_NAMES
+  	      || CONST_STRNEQ (name, GNU_LINKONCE_WI)
+#endif
+	      || CONST_STRNEQ (name, ".stab"))
 	    sec_flags |= SEC_DEBUGGING;
 	  break;
 	case IMAGE_SCN_MEM_SHARED:
diff --git a/bfd/config.bfd b/bfd/config.bfd
index e3d2b86..d9865e6 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -187,6 +187,10 @@ case "${targ}" in
     targ_selvecs="bfd_elf64_ia64_hpux_big_vec"
     want64=true
     ;;
+  ia64*-*-*vms*)
+    targ_defvec=bfd_elf64_ia64_vms_vec
+    want64=true
+    ;;
   sparc64-*-freebsd* | sparc64-*-kfreebsd*-gnu)
     targ_defvec=bfd_elf64_sparc_freebsd_vec
     targ_selvecs="bfd_elf64_sparc_vec bfd_elf32_sparc_vec sunos_big_vec"
diff --git a/bfd/configure b/bfd/configure
index a3ca40f..eaab98d 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -458,7 +458,7 @@ ac_includes_default="\
 # include <unistd.h>
 #endif"
 
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 DEBUGDIR PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_64BIT_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT BFD_HOSTPTR_T CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 DEBUGDIR PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_64BIT_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT BFD_HOSTPTR_T CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG SHARED_LDFLAGS SHARED_LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
 ac_subst_files=''
 ac_pwd=`pwd`
 
@@ -1012,7 +1012,6 @@ Optional Features:
   --disable-libtool-lock  avoid locking (might break parallel builds)
   --enable-64-bit-bfd     64-bit support (on hosts with narrower word sizes)
   --enable-targets        alternative target configurations
-  --enable-commonbfdlib   build shared BFD/opcodes/libiberty library
   --enable-secureplt      Default to creating read-only plt entries
   --enable-elf-stt-common Allow the generation of ELF symbols with the STT_COMMON type
   --enable-werror         treat compile warnings as errors
@@ -5720,13 +5719,13 @@ if test "${lt_cv_nm_interface+set}" = set; then
 else
   lt_cv_nm_interface="BSD nm"


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2009-01-16 10:33 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2009-01-16 10:33 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  30af9b0f969a57100396e918f5013d402a158cbb (commit)
       via  1b26519e2da4d8911270921f9f3f5d35a89bb4b0 (commit)
       via  0cfdf12ebb79fbe02ef38ba04ebf72e70209fe84 (commit)
       via  c6bf25e6e5ea9e480d09dfafd68b2748aca7b5a7 (commit)
       via  19a21ea3060f22dc3cd57af7de2d165295d1d564 (commit)
       via  bacf115a52bbab63860c290c368468f9969bfbb5 (commit)
       via  ec3e7bcd5ddd1692c834f61dcaeffaeaa5ad171a (commit)
       via  7b9ddb80ce43d46a1362b3446c122b5d2059a790 (commit)
       via  6de4ebe01d8ec1c109121e6f4f0ba4a6aa8c844d (commit)
       via  de0dac8e13465811dc1f6f0101b37f4e0cefb0ff (commit)
       via  24e811e5b400f3d15ecd15e4016f5bb703f3493b (commit)
       via  b3b8f7fcd034901efd2da7b2510d17b1659febd7 (commit)
       via  5f97626715295ce62acf56599a69501bff204f89 (commit)
       via  429a3006f056541ca2679131643b64629d9a8ca1 (commit)
       via  923cae23714297737070af0cb6127fff84e01934 (commit)
       via  2d6d3a41a5b8625d958f4f1c13d87203360710be (commit)
       via  d01d9f616da76337402f2a5614bb287a2307fd14 (commit)
       via  d52f6c771825f463ee4359051d169c4e7727e39f (commit)
       via  aa9ce73ea9e5d5f57acc0bf5cad43844c75bbf5f (commit)
       via  6e9fd0006cfd1fd96d286ae6ee1cd9196003da4e (commit)
       via  6c731926e209d61f297815028008facb3330afee (commit)
       via  5d956b6c873148aaf661851059b08adeb9e2478d (commit)
       via  8f40c7017844a39544a56c1a2a923ddf9c23acf4 (commit)
       via  9b4d98c60fcd1c022be194b1531b9b1d46f4bfff (commit)
       via  ca922ee40ab51547f0b3580f3f480bbac8be77a0 (commit)
       via  7f08c16c1ff2512e7dd909261899f1fa27e068bc (commit)
       via  62427248e95d5e0355ad214f9edb2756a31105d3 (commit)
       via  5452564e0a42f420c23232fbd9d67790ee282847 (commit)
       via  8e15d9dffb522ecb916e4e6a73e806d3ed2e451c (commit)
       via  f634ecc13a7c5644887d97b235919e788a6217f9 (commit)
       via  84047918f976f8b240a6c5a5c02d489a9869827b (commit)
       via  da268f9a9aaddf58af0ff324b447ef34a681f874 (commit)
       via  a06b996dcf762a276d85532ced1b55d5a6303edb (commit)
       via  6497550db50dc6a26a7c6b8d8b37a3fdf0ad1641 (commit)
       via  659f38d5c6585a19e99f14d9e537cfcb4e7c4d4e (commit)
       via  3f7d5964e85c0d620ad2cd2dcd486edac4b8b707 (commit)
       via  1a5d1c21ab02040a31d59e308cb1124003bbf7c7 (commit)
       via  916f4199c37d5371f1b6870db72fe8aee4ab14c0 (commit)
       via  144fbabf43efc102c284bf15a7e8f208869f8c37 (commit)
       via  bc655b7fd0fa70213e28695540f4e43da933bb60 (commit)
       via  b645d6a2ea0908336b70703d884d5702d1de3bee (commit)
       via  07b459a4e6c5130b469b934422e7655ea61ae99a (commit)
       via  7ec34a49aa9cb7d812021ba6667a0cfdd182676e (commit)
       via  4862c642a24472539ac705783835a847e5ec8b20 (commit)
       via  87305e8fba25e58c528850af46dbe886c0b33342 (commit)
       via  d9adab297c5c89dd458acb08e9802add640c1aac (commit)
       via  9a007bf02bc2dab12f94080fd81921f8c91e4ae5 (commit)
       via  a31f09673356bc0040bb850f21962549cd1a9cef (commit)
      from  f034fb1c82c05bb53d2dd39dee1afd02e9cd5696 (commit)

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

- Log -----------------------------------------------------------------
commit 30af9b0f969a57100396e918f5013d402a158cbb
Merge: f034fb1c82c05bb53d2dd39dee1afd02e9cd5696 1b26519e2da4d8911270921f9f3f5d35a89bb4b0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Jan 15 14:46:00 2009 +0100

    Merge commit 'origin/master' into archer-jankratochvil-misc

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

Summary of changes:
 bfd/ChangeLog                                      |   73 ++
 bfd/elf32-spu.c                                    | 1188 +++++++++++++++-----
 bfd/elf32-spu.h                                    |    9 +-
 bfd/elflink.c                                      |   41 +-
 bfd/syms.c                                         |    9 +-
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |  188 +++
 gdb/MAINTAINERS                                    |    1 +
 gdb/Makefile.in                                    |    7 +-
 gdb/NEWS                                           |    3 +
 gdb/ada-lang.c                                     |   10 +-
 gdb/amd64-windows-nat.c                            |   92 ++
 sim/igen/filter_host.c => gdb/amd64-windows-tdep.c |   37 +-
 gdb/cli/cli-cmds.c                                 |    9 +-
 gdb/cli/cli-decode.c                               |    4 +
 gdb/cli/cli-script.c                               |  101 ++-
 gdb/cli/cli-script.h                               |    3 +-
 gdb/config/djgpp/fnchange.lst                      |   10 +
 gdb/config/i386/cygwin.mh                          |    2 +-
 gdb/config/i386/mingw.mh                           |    2 +-
 gdb/config/i386/mingw64.mh                         |    2 +
 .../gen-itable.h => gdb/config/i386/nm-cygwin64.h  |   24 +-
 gdb/configure                                      |    2 +-
 gdb/configure.ac                                   |    2 +-
 gdb/configure.host                                 |    4 +-
 gdb/configure.tgt                                  |   10 +-
 gdb/doc/ChangeLog                                  |   23 +
 gdb/doc/annotate.texinfo                           |   28 +-
 gdb/doc/gdb.texinfo                                |   66 +-
 gdb/doc/gdbint.texinfo                             |   27 +-
 gdb/doc/stabs.texinfo                              |   43 +-
 gdb/dwarf2loc.c                                    |    9 +-
 gdb/f-typeprint.c                                  |   23 +-
 gdb/gdb_curses.h                                   |    2 +-
 gdb/gdbserver/ChangeLog                            |    5 +
 gdb/gdbserver/win32-low.c                          |    1 +
 gdb/gdbtypes.c                                     |   38 +-
 gdb/i386-cygwin-tdep.c                             |   48 +-
 gdb/i386-windows-nat.c                             |   76 ++
 gdb/mdebugread.c                                   |   10 +-
 gdb/mi/mi-main.c                                   |    5 +-
 gdb/remote.c                                       |   25 +
 gdb/ser-mingw.c                                    |    3 +
 gdb/target.c                                       |   15 +-
 gdb/testsuite/ChangeLog                            |    5 +
 gdb/testsuite/gdb.ada/ref_tick_size/p.adb          |    2 +-
 gdb/testsuite/gdb.ada/ref_tick_size/pck.adb        |    2 +-
 gdb/testsuite/gdb.ada/ref_tick_size/pck.ads        |    2 +-
 gdb/testsuite/gdb.base/define.exp                  |   37 +-
 gdb/testsuite/gdb.python/python.exp                |    2 +-
 gdb/utils.c                                        |    5 +-
 gdb/valarith.c                                     |   12 +-
 gdb/valops.c                                       |   10 +-
 gdb/value.c                                        |   16 +-
 gdb/value.h                                        |    5 +
 gdb/version.in                                     |    2 +-
 gdb/win32-termcap.c                                |   65 --
 gdb/{win32-nat.c => windows-nat.c}                 |  334 +++---
 sim/common/version.h => gdb/windows-nat.h          |   13 +-
 gdb/windows-tdep.c                                 |   39 +
 gdb/{i386-cygwin-tdep.h => windows-tdep.h}         |   17 +-
 include/ChangeLog                                  |    8 +
 include/gdb/callback.h                             |    2 +-
 include/gdb/fileio.h                               |    2 +-
 include/gdb/remote-sim.h                           |    2 +-
 include/gdb/signals.h                              |    3 +-
 include/gdb/sim-arm.h                              |    2 +-
 include/gdb/sim-cr16.h                             |    2 +-
 include/gdb/sim-d10v.h                             |    2 +-
 include/gdb/sim-frv.h                              |    2 +-
 include/gdb/sim-h8300.h                            |    2 +-
 include/gdb/sim-m32c.h                             |    2 +-
 include/gdb/sim-ppc.h                              |    2 +-
 include/gdb/sim-sh.h                               |    3 +-
 include/plugin-api.h                               |   21 +-
 opcodes/ChangeLog                                  |   28 +
 opcodes/bfin-dis.c                                 |    2 +-
 opcodes/i386-dis.c                                 |   32 +-
 opcodes/i386-gen.c                                 |    4 +-
 opcodes/i386-opc.tbl                               |    6 +-
 opcodes/i386-tbl.h                                 |    6 +-
 opcodes/ppc-dis.c                                  |    3 +-
 opcodes/ppc-opc.c                                  |   12 +-
 sim/Makefile.in                                    |    2 +-
 sim/arm/Makefile.in                                |    2 +-
 sim/arm/iwmmxt.c                                   |    2 +-
 sim/arm/iwmmxt.h                                   |    2 +-
 sim/arm/maverick.c                                 |    2 +-
 sim/arm/wrapper.c                                  |    2 +-
 sim/common/Make-common.in                          |    2 +-
 sim/common/Makefile.in                             |    2 +-
 sim/common/callback.c                              |    2 +-
 sim/common/cgen-cpu.h                              |    2 +-
 sim/common/cgen-defs.h                             |    2 +-
 sim/common/cgen-engine.h                           |    2 +-
 sim/common/cgen-mem.h                              |    2 +-
 sim/common/cgen-par.c                              |    2 +-
 sim/common/cgen-par.h                              |    2 +-
 sim/common/cgen-run.c                              |    2 +-
 sim/common/cgen-scache.c                           |    3 +-
 sim/common/cgen-scache.h                           |    2 +-
 sim/common/cgen-sim.h                              |    2 +-
 sim/common/cgen-trace.c                            |    2 +-
 sim/common/cgen-trace.h                            |    2 +-
 sim/common/cgen-types.h                            |    2 +-
 sim/common/cgen-utils.c                            |    2 +-
 sim/common/dv-core.c                               |    2 +-
 sim/common/dv-glue.c                               |    2 +-
 sim/common/dv-pal.c                                |    2 +-
 sim/common/dv-sockser.c                            |    2 +-
 sim/common/genmloop.sh                             |    2 +-
 sim/common/hw-alloc.c                              |    2 +-
 sim/common/hw-alloc.h                              |    2 +-
 sim/common/hw-base.c                               |    2 +-
 sim/common/hw-base.h                               |    2 +-
 sim/common/hw-device.c                             |    2 +-
 sim/common/hw-device.h                             |    2 +-
 sim/common/hw-events.c                             |    2 +-
 sim/common/hw-events.h                             |    2 +-
 sim/common/hw-handles.c                            |    2 +-
 sim/common/hw-handles.h                            |    2 +-
 sim/common/hw-instances.c                          |    2 +-
 sim/common/hw-instances.h                          |    2 +-
 sim/common/hw-main.h                               |    2 +-
 sim/common/hw-ports.c                              |    2 +-
 sim/common/hw-ports.h                              |    2 +-
 sim/common/hw-properties.c                         |    2 +-
 sim/common/hw-properties.h                         |    2 +-
 sim/common/hw-tree.c                               |    2 +-
 sim/common/hw-tree.h                               |    2 +-
 sim/common/nrun.c                                  |    2 +-
 sim/common/run-sim.h                               |    2 +-
 sim/common/run.c                                   |    2 +-
 sim/common/sim-abort.c                             |    2 +-
 sim/common/sim-alu.h                               |    2 +-
 sim/common/sim-arange.c                            |    2 +-
 sim/common/sim-arange.h                            |    2 +-
 sim/common/sim-base.h                              |    2 +-
 sim/common/sim-basics.h                            |    2 +-
 sim/common/sim-bits.c                              |    2 +-
 sim/common/sim-bits.h                              |    2 +-
 sim/common/sim-config.c                            |    2 +-
 sim/common/sim-config.h                            |    2 +-
 sim/common/sim-core.c                              |    2 +-
 sim/common/sim-core.h                              |    2 +-
 sim/common/sim-cpu.c                               |    2 +-
 sim/common/sim-cpu.h                               |    2 +-
 sim/common/sim-endian.c                            |    2 +-
 sim/common/sim-endian.h                            |    2 +-
 sim/common/sim-engine.c                            |    2 +-
 sim/common/sim-engine.h                            |    2 +-
 sim/common/sim-events.c                            |    2 +-
 sim/common/sim-events.h                            |    2 +-
 sim/common/sim-fpu.c                               |    3 +-
 sim/common/sim-fpu.h                               |    3 +-
 sim/common/sim-hload.c                             |    2 +-
 sim/common/sim-hrw.c                               |    2 +-
 sim/common/sim-hw.c                                |    2 +-
 sim/common/sim-hw.h                                |    2 +-
 sim/common/sim-info.c                              |    2 +-
 sim/common/sim-inline.c                            |    2 +-
 sim/common/sim-inline.h                            |    2 +-
 sim/common/sim-io.c                                |    2 +-
 sim/common/sim-io.h                                |    2 +-
 sim/common/sim-load.c                              |    2 +-
 sim/common/sim-memopt.c                            |    2 +-
 sim/common/sim-memopt.h                            |    2 +-
 sim/common/sim-model.c                             |    3 +-
 sim/common/sim-model.h                             |    3 +-
 sim/common/sim-module.c                            |    3 +-
 sim/common/sim-module.h                            |    2 +-
 sim/common/sim-n-bits.h                            |    2 +-
 sim/common/sim-n-core.h                            |    2 +-
 sim/common/sim-n-endian.h                          |    2 +-
 sim/common/sim-options.c                           |    3 +-
 sim/common/sim-options.h                           |    2 +-
 sim/common/sim-profile.c                           |    2 +-
 sim/common/sim-profile.h                           |    3 +-
 sim/common/sim-reason.c                            |    2 +-
 sim/common/sim-reg.c                               |    2 +-
 sim/common/sim-resume.c                            |    2 +-
 sim/common/sim-run.c                               |    2 +-
 sim/common/sim-signal.c                            |    2 +-
 sim/common/sim-signal.h                            |    2 +-
 sim/common/sim-stop.c                              |    2 +-
 sim/common/sim-trace.c                             |    3 +-
 sim/common/sim-trace.h                             |    3 +-
 sim/common/sim-types.h                             |    2 +-
 sim/common/sim-utils.c                             |    2 +-
 sim/common/sim-utils.h                             |    2 +-
 sim/common/sim-watch.c                             |    2 +-
 sim/common/sim-watch.h                             |    2 +-
 sim/common/syscall.c                               |    3 +-
 sim/common/version.h                               |    2 +-
 sim/cr16/Makefile.in                               |    2 +-
 sim/cr16/cr16_sim.h                                |    4 +-
 sim/cr16/endian.c                                  |    4 +-
 sim/cr16/gencode.c                                 |    4 +-
 sim/cr16/interp.c                                  |    4 +-
 sim/cr16/simops.c                                  |    4 +-
 sim/cris/Makefile.in                               |    2 +-
 sim/cris/cris-sim.h                                |    3 +-
 sim/cris/cris-tmpl.c                               |    3 +-
 sim/cris/crisv10f.c                                |    3 +-
 sim/cris/crisv32f.c                                |    3 +-
 sim/cris/devices.c                                 |    3 +-
 sim/cris/dv-cris.c                                 |    2 +-
 sim/cris/dv-rv.c                                   |    2 +-
 sim/cris/mloop.in                                  |    2 +-
 sim/cris/rvdummy.c                                 |    2 +-
 sim/cris/sim-if.c                                  |    3 +-
 sim/cris/sim-main.h                                |    3 +-
 sim/cris/tconfig.in                                |    2 +-
 sim/cris/traps.c                                   |    2 +-
 sim/d10v/Makefile.in                               |    2 +-
 sim/erc32/Makefile.in                              |    3 +-
 sim/frv/Makefile.in                                |    2 +-
 sim/frv/cache.c                                    |    2 +-
 sim/frv/cache.h                                    |    3 +-
 sim/frv/devices.c                                  |    2 +-
 sim/frv/frv-sim.h                                  |    2 +-
 sim/frv/frv.c                                      |    2 +-
 sim/frv/interrupts.c                               |    3 +-
 sim/frv/memory.c                                   |    2 +-
 sim/frv/mloop.in                                   |    2 +-
 sim/frv/options.c                                  |    2 +-
 sim/frv/pipeline.c                                 |    2 +-
 sim/frv/profile-fr400.c                            |    2 +-
 sim/frv/profile-fr400.h                            |    2 +-
 sim/frv/profile-fr450.c                            |    2 +-
 sim/frv/profile-fr500.c                            |    2 +-
 sim/frv/profile-fr500.h                            |    2 +-
 sim/frv/profile-fr550.c                            |    2 +-
 sim/frv/profile-fr550.h                            |    2 +-
 sim/frv/profile.c                                  |    2 +-
 sim/frv/profile.h                                  |    2 +-
 sim/frv/registers.c                                |    3 +-
 sim/frv/registers.h                                |    2 +-
 sim/frv/reset.c                                    |    2 +-
 sim/frv/sim-if.c                                   |    3 +-
 sim/frv/sim-main.h                                 |    3 +-
 sim/frv/traps.c                                    |    2 +-
 sim/h8300/Makefile.in                              |    2 +-
 sim/igen/Makefile.in                               |    2 +-
 sim/igen/compare_igen_models                       |    2 +-
 sim/igen/filter.c                                  |    2 +-
 sim/igen/filter.h                                  |    2 +-
 sim/igen/filter_host.c                             |    2 +-
 sim/igen/filter_host.h                             |    2 +-
 sim/igen/gen-engine.c                              |    2 +-
 sim/igen/gen-engine.h                              |    2 +-
 sim/igen/gen-icache.c                              |    2 +-
 sim/igen/gen-icache.h                              |    2 +-
 sim/igen/gen-idecode.c                             |    2 +-
 sim/igen/gen-idecode.h                             |    2 +-
 sim/igen/gen-itable.c                              |    2 +-
 sim/igen/gen-itable.h                              |    2 +-
 sim/igen/gen-model.c                               |    2 +-
 sim/igen/gen-model.h                               |    2 +-
 sim/igen/gen-semantics.c                           |    2 +-
 sim/igen/gen-semantics.h                           |    2 +-
 sim/igen/gen-support.c                             |    2 +-
 sim/igen/gen-support.h                             |    2 +-
 sim/igen/gen.c                                     |    2 +-
 sim/igen/gen.h                                     |    2 +-
 sim/igen/igen.c                                    |    2 +-
 sim/igen/igen.h                                    |    2 +-
 sim/igen/ld-cache.c                                |    2 +-
 sim/igen/ld-cache.h                                |    2 +-
 sim/igen/ld-decode.c                               |    2 +-
 sim/igen/ld-decode.h                               |    2 +-
 sim/igen/ld-insn.c                                 |    2 +-
 sim/igen/ld-insn.h                                 |    2 +-
 sim/igen/lf.c                                      |    2 +-
 sim/igen/lf.h                                      |    2 +-
 sim/igen/misc.c                                    |    2 +-
 sim/igen/misc.h                                    |    2 +-
 sim/igen/table.c                                   |    2 +-
 sim/igen/table.h                                   |    2 +-
 sim/iq2000/Makefile.in                             |    2 +-
 sim/iq2000/iq2000-sim.h                            |    2 +-
 sim/iq2000/iq2000.c                                |    2 +-
 sim/iq2000/mloop.in                                |    2 +-
 sim/iq2000/sim-if.c                                |    2 +-
 sim/m32c/Makefile.in                               |    2 +-
 sim/m32c/blinky.S                                  |    2 +-
 sim/m32c/configure.in                              |    2 +-
 sim/m32c/cpu.h                                     |    2 +-
 sim/m32c/gdb-if.c                                  |    2 +-
 sim/m32c/gloss.S                                   |    2 +-
 sim/m32c/int.c                                     |    2 +-
 sim/m32c/int.h                                     |    2 +-
 sim/m32c/load.c                                    |    2 +-
 sim/m32c/load.h                                    |    2 +-
 sim/m32c/m32c.opc                                  |    2 +-
 sim/m32c/main.c                                    |    2 +-
 sim/m32c/mem.c                                     |    2 +-
 sim/m32c/mem.h                                     |    2 +-
 sim/m32c/misc.c                                    |    2 +-
 sim/m32c/misc.h                                    |    2 +-
 sim/m32c/opc2c.c                                   |    2 +-
 sim/m32c/r8c.opc                                   |    2 +-
 sim/m32c/reg.c                                     |    2 +-
 sim/m32c/safe-fgets.c                              |    2 +-
 sim/m32c/safe-fgets.h                              |    2 +-
 sim/m32c/sample.S                                  |    2 +-
 sim/m32c/sample.ld                                 |    2 +-
 sim/m32c/sample2.c                                 |    2 +-
 sim/m32c/srcdest.c                                 |    2 +-
 sim/m32c/syscalls.c                                |    2 +-
 sim/m32c/syscalls.h                                |    2 +-
 sim/m32c/trace.c                                   |    2 +-
 sim/m32c/trace.h                                   |    2 +-
 sim/m32r/Makefile.in                               |    2 +-
 sim/m32r/devices.c                                 |    2 +-
 sim/m32r/m32r-sim.h                                |    2 +-
 sim/m32r/m32r.c                                    |    2 +-
 sim/m32r/m32r2.c                                   |    3 +-
 sim/m32r/m32rx.c                                   |    2 +-
 sim/m32r/mloop.in                                  |    3 +-
 sim/m32r/mloop2.in                                 |    2 +-
 sim/m32r/mloopx.in                                 |    3 +-
 sim/m32r/sim-if.c                                  |    2 +-
 sim/m32r/traps-linux.c                             |    2 +-
 sim/m32r/traps.c                                   |    2 +-
 sim/m68hc11/Makefile.in                            |    3 +-
 sim/m68hc11/dv-m68hc11.c                           |    2 +-
 sim/m68hc11/dv-m68hc11eepr.c                       |    2 +-
 sim/m68hc11/dv-m68hc11sio.c                        |    3 +-
 sim/m68hc11/dv-m68hc11spi.c                        |    3 +-
 sim/m68hc11/dv-m68hc11tim.c                        |    2 +-
 sim/m68hc11/dv-nvram.c                             |    2 +-
 sim/m68hc11/emulos.c                               |    2 +-
 sim/m68hc11/gencode.c                              |    3 +-
 sim/m68hc11/interp.c                               |    2 +-
 sim/m68hc11/interrupts.c                           |    2 +-
 sim/m68hc11/interrupts.h                           |    3 +-
 sim/m68hc11/m68hc11_sim.c                          |    2 +-
 sim/m68hc11/sim-main.h                             |    2 +-
 sim/mcore/Makefile.in                              |    2 +-
 sim/mcore/interp.c                                 |    2 +-
 sim/mcore/sysdep.h                                 |    2 +-
 sim/mips/cp1.c                                     |    2 +-
 sim/mips/cp1.h                                     |    3 +-
 sim/mips/dsp.c                                     |    2 +-
 sim/mips/dv-tx3904cpu.c                            |    2 +-
 sim/mips/dv-tx3904irc.c                            |    2 +-
 sim/mips/dv-tx3904sio.c                            |    2 +-
 sim/mips/dv-tx3904tmr.c                            |    2 +-
 sim/mips/mdmx.c                                    |    2 +-
 sim/mips/sim-main.h                                |    3 +-
 sim/mn10300/Makefile.in                            |    2 +-
 sim/mn10300/dv-mn103cpu.c                          |    2 +-
 sim/mn10300/dv-mn103int.c                          |    2 +-
 sim/mn10300/dv-mn103iop.c                          |    2 +-
 sim/mn10300/dv-mn103ser.c                          |    2 +-
 sim/mn10300/dv-mn103tim.c                          |    2 +-
 sim/ppc/ChangeLog                                  |    4 +
 sim/ppc/altivec_expression.h                       |    2 +-
 sim/ppc/altivec_registers.h                        |    2 +-
 sim/ppc/dp-bit.c                                   |    2 +-
 sim/ppc/e500_expression.h                          |    2 +-
 sim/ppc/e500_registers.h                           |    2 +-
 sim/ppc/gdb-sim.c                                  |    2 +-
 sim/ppc/ppc-instructions                           |    2 +-
 sim/sh/Makefile.in                                 |    2 +-
 sim/sh64/Makefile.in                               |    2 +-
 sim/sh64/eng.h                                     |    2 +-
 sim/sh64/sh64-sim.h                                |    2 +-
 sim/sh64/sh64.c                                    |    2 +-
 sim/sh64/sim-if.c                                  |    2 +-
 sim/testsuite/Makefile.in                          |    2 +-
 sim/testsuite/common/bits-gen.c                    |    2 +-
 sim/testsuite/d10v-elf/Makefile.in                 |    2 +-
 sim/testsuite/frv-elf/Makefile.in                  |    2 +-
 sim/testsuite/m32r-elf/Makefile.in                 |    2 +-
 sim/testsuite/mips64el-elf/Makefile.in             |    2 +-
 sim/testsuite/sim/cris/asm/asm.exp                 |    2 +-
 sim/testsuite/sim/cris/c/c.exp                     |    2 +-
 sim/testsuite/sim/cris/hw/rv-n-cris/rvc.exp        |    2 +-
 sim/testsuite/sim/mips/testutils.inc               |    2 +-
 sim/testsuite/sim/mips/utils-dsp.inc               |    2 +-
 sim/testsuite/sim/mips/utils-fpu.inc               |    2 +-
 sim/testsuite/sim/mips/utils-mdmx.inc              |    2 +-
 sim/v850/Makefile.in                               |    2 +-
 385 files changed, 2467 insertions(+), 1181 deletions(-)
 create mode 100644 gdb/amd64-windows-nat.c
 copy sim/igen/filter_host.c => gdb/amd64-windows-tdep.c (53%)
 create mode 100644 gdb/config/i386/mingw64.mh
 copy sim/igen/gen-itable.h => gdb/config/i386/nm-cygwin64.h (53%)
 create mode 100644 gdb/i386-windows-nat.c
 delete mode 100644 gdb/win32-termcap.c
 rename gdb/{win32-nat.c => windows-nat.c} (88%)
 copy sim/common/version.h => gdb/windows-nat.h (74%)
 create mode 100644 gdb/windows-tdep.c
 rename gdb/{i386-cygwin-tdep.h => windows-tdep.h} (66%)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index da237ce..bc2df92 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,76 @@
+2009-01-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/9727
+	* elflink.c (elf_gc_sweep): Exclude the group section if the
+	first member of the section group is excluded.
+
+2009-01-14  Alan Modra  <amodra@bigpond.net.au>
+
+	PR 9735
+	* syms.c (_bfd_stab_section_find_nearest_line): Don't free
+	saved filename, use bfd_alloc rather than bfd_malloc for it.
+
+2009-01-13  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.
+
+2009-01-13  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf32-spu.c (remove_cycles): Always set call->max_depth.
+
+2009-01-12  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.
+
+2009-01-12  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
+	num_lines_log2.
+	(struct got_entry): Add br_addr.
+	(struct call_info): Add priority.
+	(struct function_info): Add lr_store and sp_adjust.
+	(spu_elf_setup): Init line_size_log2 and num_lines_log2.
+	(spu_elf_find_overlays): For soft-icache, mark any section within cache
+	area as an overlay, and check that no other overlays exist.  Look up
+	icache overlay manager entry sym.
+	(BRA_STUBS, BRA, BRASL): Define.
+	(enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
+	(needs_ovl_stub): Adjust for soft-icache.  Return priority encoded
+	in branch insn.
+	(count_stub, build_stub): Support soft-icache.
+	(build_spuear_stubs, process_stubs): Adjust build_stub call.
+	(spu_elf_size_stubs): Size soft-icache stubs.
+	(overlay_index): New function.
+	(spu_elf_build_stubs): Make static.  Support soft-icache.
+	(spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
+	(find_function_stack_adjust): Save lr store and stack adjust insn
+	offsets.
+	(maybe_insert_function): Adjust find_function_stack_adjust call.
+	(mark_functions_via_relocs): Retrieve priority.
+	(remove_cycles): Only warn about pruned arcs when stack_analysis.
+	(sort_calls): Sort by priority first.
+	(mark_overlay_section): Ignore .ovl.init.
+	(sum_stack): Only print when stack_analysis.
+	(print_one_overlay_section): New function, extracted from..
+	(spu_elf_auto_overlay): ..here.  Support soft-icache overlays.
+	(spu_elf_stack_analysis): Only print when htab->stack_analysis.
+	(spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
+	analysis.  Call spu_elf_build_stubs.
+	(spu_elf_relocate_section): For soft-icache encode overlay index
+	into addresses.
+	(spu_elf_output_symbol_hook): Support soft-icache.
+	(spu_elf_modify_program_headers: Likewise.
+
+	* elf32-spu.h (struct spu_elf_params): Add lrlive_analysis.  Rename
+	num_regions to num_lines.  Add line_size and max_branch.
+	(enum _ovly_flavour): Add ovly_soft_icache.
+	(spu_elf_build_stubs): Delete.
+
+2009-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4
+	relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'.
+
 2009-01-07  Hans-Peter Nilsson  <hp@axis.com>
 
 	* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c
index 447aa8d..318c5b4 100644
--- a/bfd/elf32-spu.c
+++ b/bfd/elf32-spu.c
@@ -1,6 +1,6 @@
 /* SPU specific support for 32-bit ELF
 
-   Copyright 2006, 2007, 2008 Free Software Foundation, Inc.
+   Copyright 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -301,6 +301,7 @@ struct spu_link_hash_table
 
   /* Shortcuts to overlay sections.  */
   asection *ovtab;
+  asection *init;
   asection *toe;
   asection **ovl_sec;
 
@@ -320,6 +321,10 @@ struct spu_link_hash_table
   /* Total number of overlays.  */
   unsigned int num_overlays;
 
+  /* For soft icache.  */
+  unsigned int line_size_log2;
+  unsigned int num_lines_log2;
+
   /* How much memory we have.  */
   unsigned int local_store;
   /* Local store --auto-overlay should reserve for non-overlay
@@ -345,7 +350,10 @@ struct got_entry
 {
   struct got_entry *next;
   unsigned int ovl;
-  bfd_vma addend;
+  union {
+    bfd_vma addend;
+    bfd_vma br_addr;
+  };
   bfd_vma stub_addr;
 };
 
@@ -360,6 +368,7 @@ struct call_info
   unsigned int max_depth;
   unsigned int is_tail : 1;
   unsigned int is_pasted : 1;
+  unsigned int priority : 13;
 };
 
 struct function_info
@@ -382,6 +391,10 @@ struct function_info
   unsigned int call_count;
   /* Address range of (this part of) function.  */
   bfd_vma lo, hi;
+  /* Offset where we found a store of lr, or -1 if none found.  */
+  bfd_vma lr_store;
+  /* Offset where we found the stack adjustment insn.  */
+  bfd_vma sp_adjust;
   /* Stack usage.  */
   int stack;
   /* Distance from root of call tree.  Tail and hot/cold branches
@@ -415,6 +428,9 @@ struct spu_elf_stack_info
   struct function_info fun[1];
 };
 
+static struct function_info *find_function (asection *, bfd_vma,
+					    struct bfd_link_info *);
+
 /* Create a spu ELF linker hash table.  */
 
 static struct bfd_link_hash_table *
@@ -449,6 +465,8 @@ spu_elf_setup (struct bfd_link_info *info, struct spu_elf_params *params)
 {
   struct spu_link_hash_table *htab = spu_hash_table (info);
   htab->params = params;
+  htab->line_size_log2 = bfd_log2 (htab->params->line_size);
+  htab->num_lines_log2 = bfd_log2 (htab->params->num_lines);
 }
 
 /* Find the symbol for the given R_SYMNDX in IBFD and set *HP and *SYMP
@@ -597,6 +615,7 @@ spu_elf_find_overlays (struct bfd_link_info *info)
   unsigned int i, n, ovl_index, num_buf;
   asection *s;
   bfd_vma ovl_end;
+  const char *ovly_mgr_entry;
 
   if (info->output_bfd->section_count < 2)
     return FALSE;
@@ -622,51 +641,149 @@ spu_elf_find_overlays (struct bfd_link_info *info)
   /* Sort them by vma.  */
   qsort (alloc_sec, n, sizeof (*alloc_sec), sort_sections);
 
-  /* Look for overlapping vmas.  Any with overlap must be overlays.
-     Count them.  Also count the number of overlay regions.  */
   ovl_end = alloc_sec[0]->vma + alloc_sec[0]->size;
-  for (ovl_index = 0, num_buf = 0, i = 1; i < n; i++)
+  if (htab->params->ovly_flavour == ovly_soft_icache)
     {
-      s = alloc_sec[i];
-      if (s->vma < ovl_end)
+      /* Look for an overlapping vma to find the first overlay section.  */
+      bfd_vma vma_start = 0;
+      bfd_vma lma_start = 0;
+
+      for (i = 1; i < n; i++)
 	{
-	  asection *s0 = alloc_sec[i - 1];
+	  s = alloc_sec[i];
+	  if (s->vma < ovl_end)
+	    {
+	      asection *s0 = alloc_sec[i - 1];
+	      vma_start = s0->vma;
+	      lma_start = s0->lma;
+	      ovl_end = (s0->vma
+			 + ((bfd_vma) 1
+			    << (htab->num_lines_log2 + htab->line_size_log2)));
+	      --i;
+	      break;
+	    }
+	  else
+	    ovl_end = s->vma + s->size;
+	}
 
-	  if (spu_elf_section_data (s0)->u.o.ovl_index == 0)
+      /* Now find any sections within the cache area.  */
+      for (ovl_index = 0, num_buf = 0; i < n; i++)
+	{
+	  s = alloc_sec[i];
+	  if (s->vma >= ovl_end)
+	    break;
+
+	  /* A section in an overlay area called .ovl.init is not
+	     an overlay, in the sense that it might be loaded in
+	     by the overlay manager, but rather the initial
+	     section contents for the overlay buffer.  */
+	  if (strncmp (s->name, ".ovl.init", 9) != 0)
 	    {
-	      alloc_sec[ovl_index] = s0;
-	      spu_elf_section_data (s0)->u.o.ovl_index = ++ovl_index;
-	      spu_elf_section_data (s0)->u.o.ovl_buf = ++num_buf;
+	      num_buf = ((s->vma - vma_start) >> htab->line_size_log2) + 1;
+	      if (((s->vma - vma_start) & (htab->params->line_size - 1))
+		  || ((s->lma - lma_start) & (htab->params->line_size - 1)))
+		{
+		  info->callbacks->einfo (_("%X%P: overlay section %A "
+					    "does not start on a cache line.\n"),
+					  s);
+		  return FALSE;
+		}
+	      else if (s->size > htab->params->line_size)
+		{
+		  info->callbacks->einfo (_("%X%P: overlay section %A "
+					    "is larger than a cache line.\n"),
+					  s);
+		  return FALSE;
+		}
+
+	      alloc_sec[ovl_index++] = s;
+	      spu_elf_section_data (s)->u.o.ovl_index
+		= ((s->lma - lma_start) >>  htab->line_size_log2) + 1;
+	      spu_elf_section_data (s)->u.o.ovl_buf = num_buf;
 	    }
-	  alloc_sec[ovl_index] = s;
-	  spu_elf_section_data (s)->u.o.ovl_index = ++ovl_index;
-	  spu_elf_section_data (s)->u.o.ovl_buf = num_buf;
-	  if (s0->vma != s->vma)
+	}
+
+      /* Ensure there are no more overlay sections.  */
+      for ( ; i < n; i++)
+	{
+	  s = alloc_sec[i];
+	  if (s->vma < ovl_end)
 	    {
-	      info->callbacks->einfo (_("%X%P: overlay sections %A and %A "
-					"do not start at the same address.\n"),
-				      s0, s);
+	      info->callbacks->einfo (_("%X%P: overlay section %A "
+					"is not in cache area.\n"),
+				      alloc_sec[i-1]);
 	      return FALSE;
 	    }
-	  if (ovl_end < s->vma + s->size)
+	  else
+	    ovl_end = s->vma + s->size;
+	}
+    }
+  else
+    {
+      /* Look for overlapping vmas.  Any with overlap must be overlays.
+	 Count them.  Also count the number of overlay regions.  */
+      for (ovl_index = 0, num_buf = 0, i = 1; i < n; i++)
+	{
+	  s = alloc_sec[i];
+	  if (s->vma < ovl_end)
+	    {
+	      asection *s0 = alloc_sec[i - 1];
+
+	      if (spu_elf_section_data (s0)->u.o.ovl_index == 0)
+		{
+		  ++num_buf;
+		  if (strncmp (s0->name, ".ovl.init", 9) != 0)
+		    {
+		      alloc_sec[ovl_index] = s0;
+		      spu_elf_section_data (s0)->u.o.ovl_index = ++ovl_index;
+		      spu_elf_section_data (s0)->u.o.ovl_buf = num_buf;
+		    }
+		  else
+		    ovl_end = s->vma + s->size;
+		}
+	      if (strncmp (s->name, ".ovl.init", 9) != 0)
+		{
+		  alloc_sec[ovl_index] = s;
+		  spu_elf_section_data (s)->u.o.ovl_index = ++ovl_index;
+		  spu_elf_section_data (s)->u.o.ovl_buf = num_buf;
+		  if (s0->vma != s->vma)
+		    {
+		      info->callbacks->einfo (_("%X%P: overlay sections %A "
+						"and %A do not start at the "
+						"same address.\n"),
+					      s0, s);
+		      return FALSE;
+		    }
+		  if (ovl_end < s->vma + s->size)
+		    ovl_end = s->vma + s->size;
+		}
+	    }
+	  else
 	    ovl_end = s->vma + s->size;
 	}
-      else
-	ovl_end = s->vma + s->size;
     }
 
   htab->num_overlays = ovl_index;
   htab->num_buf = num_buf;
   htab->ovl_sec = alloc_sec;
-  htab->ovly_load = elf_link_hash_lookup (&htab->elf, "__ovly_load",
+  ovly_mgr_entry = "__ovly_load";
+  if (htab->params->ovly_flavour == ovly_soft_icache)
+    ovly_mgr_entry = "__icache_br_handler";
+  htab->ovly_load = elf_link_hash_lookup (&htab->elf, ovly_mgr_entry,
 					  FALSE, FALSE, FALSE);
-  htab->ovly_return = elf_link_hash_lookup (&htab->elf, "__ovly_return",
-					    FALSE, FALSE, FALSE);
+  if (htab->params->ovly_flavour != ovly_soft_icache)
+    htab->ovly_return = elf_link_hash_lookup (&htab->elf, "__ovly_return",
+					      FALSE, FALSE, FALSE);
   return ovl_index != 0;
 }
 
-#define BRSL	0x33000000
+/* Non-zero to use bra in overlay stubs rather than br.  */
+#define BRA_STUBS 0
+
+#define BRA	0x30000000
+#define BRASL	0x31000000
 #define BR	0x32000000
+#define BRSL	0x33000000
 #define NOP	0x40200000
 #define LNOP	0x00200000
 #define ILA	0x42000000
@@ -736,7 +853,15 @@ maybe_needs_stubs (asection *input_section)
 enum _stub_type
 {
   no_stub,
-  ovl_stub,
+  call_ovl_stub,
+  br000_ovl_stub,
+  br001_ovl_stub,
+  br010_ovl_stub,
+  br011_ovl_stub,
+  br100_ovl_stub,
+  br101_ovl_stub,
+  br110_ovl_stub,
+  br111_ovl_stub,
   nonovl_stub,
   stub_error
 };
@@ -756,8 +881,9 @@ needs_ovl_stub (struct elf_link_hash_entry *h,
   struct spu_link_hash_table *htab = spu_hash_table (info);
   enum elf_spu_reloc_type r_type;
   unsigned int sym_type;
-  bfd_boolean branch;
+  bfd_boolean branch, hint, call;
   enum _stub_type ret = no_stub;
+  bfd_byte insn[4];
 
   if (sym_sec == NULL
       || sym_sec->output_section == bfd_abs_section_ptr
@@ -775,14 +901,9 @@ needs_ovl_stub (struct elf_link_hash_entry *h,
 	 makes setjmp/longjmp between overlays work.  */
       if (strncmp (h->root.root.string, "setjmp", 6) == 0
 	  && (h->root.root.string[6] == '\0' || h->root.root.string[6] == '@'))
-	ret = ovl_stub;
+	ret = call_ovl_stub;
     }
 
-  /* Usually, symbols in non-overlay sections don't need stubs.  */
-  if (spu_elf_section_data (sym_sec->output_section)->u.o.ovl_index == 0
-      && !htab->params->non_overlay_stubs)
-    return ret;
-
   if (h != NULL)
     sym_type = h->type;
   else
@@ -790,10 +911,10 @@ needs_ovl_stub (struct elf_link_hash_entry *h,
 
   r_type = ELF32_R_TYPE (irela->r_info);
   branch = FALSE;
+  hint = FALSE;
+  call = FALSE;
   if (r_type == R_SPU_REL16 || r_type == R_SPU_ADDR16)
     {
-      bfd_byte insn[4];
-
       if (contents == NULL)
 	{
 	  contents = insn;
@@ -806,10 +927,12 @@ needs_ovl_stub (struct elf_link_hash_entry *h,
       else
 	contents += irela->r_offset;
 
-      if (is_branch (contents) || is_hint (contents))
+      branch = is_branch (contents);
+      hint = is_hint (contents);
+      if (branch || hint)
 	{
-	  branch = TRUE;
-	  if ((contents[0] & 0xfd) == 0x31
+	  call = (contents[0] & 0xfd) == 0x31;
+	  if (call
 	      && sym_type != STT_FUNC
 	      && contents != insn)
 	    {
@@ -840,20 +963,45 @@ needs_ovl_stub (struct elf_link_hash_entry *h,
 	}
     }
 
-  if (sym_type != STT_FUNC
-      && !branch
-      && (sym_sec->flags & SEC_CODE) == 0)
+  if ((!branch && htab->params->ovly_flavour == ovly_soft_icache)
+      || (sym_type != STT_FUNC
+	  && !(branch || hint)
+	  && (sym_sec->flags & SEC_CODE) == 0))
+    return no_stub;
+
+  /* Usually, symbols in non-overlay sections don't need stubs.  */
+  if (spu_elf_section_data (sym_sec->output_section)->u.o.ovl_index == 0
+      && !htab->params->non_overlay_stubs)
     return ret;
 
   /* A reference from some other section to a symbol in an overlay
      section needs a stub.  */
   if (spu_elf_section_data (sym_sec->output_section)->u.o.ovl_index
        != spu_elf_section_data (input_section->output_section)->u.o.ovl_index)
-    ret = ovl_stub;
+    {
+      if (call || sym_type == STT_FUNC)
+	ret = call_ovl_stub;
+      else
+	{
+	  ret = br000_ovl_stub;
+
+	  if (branch)
+	    {
+	      unsigned int lrlive = (contents[1] & 0x70) >> 4;
+	      ret += lrlive;
+	    }
+	}
+    }
 
   /* If this insn isn't a branch then we are possibly taking the
-     address of a function and passing it out somehow.  */
-  return !branch && sym_type == STT_FUNC ? nonovl_stub : ret;
+     address of a function and passing it out somehow.  Soft-icache code
+     always generates inline code to do indirect branches.  */
+  if (!(branch || hint)
+      && sym_type == STT_FUNC
+      && htab->params->ovly_flavour != ovly_soft_icache)
+    ret = nonovl_stub;
+
+  return ret;
 }
 
 static bfd_boolean
@@ -891,6 +1039,12 @@ count_stub (struct spu_link_hash_table *htab,
       head = elf_local_got_ents (ibfd) + ELF32_R_SYM (irela->r_info);
     }
 
+  if (htab->params->ovly_flavour == ovly_soft_icache)
+    {
+      htab->stub_count[ovl] += 1;
+      return TRUE;
+    }
+
   addend = 0;
   if (irela != NULL)
     addend = irela->r_addend;
@@ -963,10 +1117,19 @@ ovl_stub_size (enum _ovly_flavour ovly_flavour)
    ila $78,ovl_number
    lnop
    ila $79,target_address
-   br __ovly_load  */
+   br __ovly_load
+
+   Software icache stubs are:
+
+   .word target_index
+   .word target_ia;
+   .word lrlive_branchlocalstoreaddr;
+   brasl $75,__icache_br_handler
+   .quad xor_pattern
+*/
 
 static bfd_boolean
-build_stub (struct spu_link_hash_table *htab,


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2009-01-10 23:26 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2009-01-10 23:26 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  f034fb1c82c05bb53d2dd39dee1afd02e9cd5696 (commit)
       via  69f6bc73a02f2a4d2f1125082dbcf3f5774539f7 (commit)
       via  b3b0cb4d915852276dbc8ace1556565d19d48a87 (commit)
       via  7a56a2c458cc543b6afc9db2dc3aefceedfbc51c (commit)
       via  dda21c0c8bc20cbaa85e2b24a7dfd7c4c0ce394e (commit)
       via  2e95d670cb8ca9b13c88fa6adbc7baef9239d0ea (commit)
       via  7cf22d1d6c85d9b75935dc65af7e12a609209424 (commit)
       via  51e678e7efcbe1e933d970491c733d84becb6768 (commit)
       via  58f8992d79a305a8427d5f592d0ccad451810d87 (commit)
       via  5ff7044261fce3ced393828fe0ed3cf66cf99651 (commit)
       via  9ae07e44039acecbd6047f49907b47131ebae43e (commit)
       via  784c173fcf9c84e1963a573a951291ef83054009 (commit)
       via  91394ed36ab2a6859c9be169f0eb5fccf0e95559 (commit)
       via  5f86b229221212b4c1c52869539798a25cc09455 (commit)
       via  7540d7a5126e83863832aaf8dfb88acdd77775ed (commit)
       via  1e70e6d6733c989b0f62aa4b90e9ca3e31fd601c (commit)
       via  91b400cbb0793ce12e724d0a74c20b2b69ba886a (commit)
       via  f53d9973143fcc59408221cff3695913a733c9d8 (commit)
       via  dfa92f2938a8a455558975906ac4fc6fab1994a9 (commit)
       via  113dc1139de965378886f0cda76aadcac0fc700c (commit)
       via  73b561a36d0072895e39cc25b599180f64bb8358 (commit)
       via  5e5bd1d1aaec8c5dc2d017559310c5d3b1f7e941 (commit)
       via  251821d85bf51b64556ffa53496f8d5b717d1b28 (commit)
       via  fc7825b81de334217f74fb3206bfc793cfa6d426 (commit)
       via  72e31e9dbd9ef0b29f4c217d0e4ec62a8240ed68 (commit)
       via  036999d0a933897c90eedebb8561fd61fe53b9e9 (commit)
       via  7002b113b9e2afed981d3eb9d4157c98a3a3c447 (commit)
       via  8ee6a98bd6643233f00f0c91693ea6a571d54182 (commit)
       via  21f684e3486b49b52365d0e6e012067f75c53a04 (commit)
       via  a296a0ecadd622bf0f1484bd0027196dea637915 (commit)
       via  f1aba448dbe81323a66229bee669b96c1975c092 (commit)
       via  427836f3214de2556bf2058fcbc34406ff8ce095 (commit)
       via  0859dc381bc745337a127755d33638f183e3f75d (commit)
       via  60e49fc0d2c1cb723806c540588a9fc9dc45f779 (commit)
       via  81592205b450e76260e628188cc24720d9d33a9d (commit)
       via  dcc61fc257100b0742340b450af4f958b138673d (commit)
       via  befd85e74b156e716882e75fdbd68ec5b07db36a (commit)
       via  a32f5f7e42cd949873aeb19f97e5308c8cb11a24 (commit)
       via  127bbf3a1da05460653cdc725da8b835cb3e4b28 (commit)
       via  e90465bc2f297fd8ad13589444565e33bc523ee5 (commit)
       via  c401d0f0d9ecf583e1ba7f3615843e6b990af2ee (commit)
       via  db684da85b5b658f953ed0bfa8a0dbd6b94b6222 (commit)
       via  edaa5febe3edb1e9cddeb2ac7600849553d5eb8f (commit)
       via  52e43ba70a07811d551d2c688fd75ce8fd5f8f51 (commit)
       via  10871c6b8a336f2b146936bdb760e5c60974638d (commit)
       via  03738d56d907cc637dc5d598fd733fe9dff3a8d1 (commit)
       via  a5061bc7b92b8e0047c1c8b8c22fb5446b859a1b (commit)
       via  4b91d20df87a5bbdf4d0921548e43a3a9d859fde (commit)
       via  7515bba947f7024128d2e7781ade7103f3e06ef8 (commit)
       via  f3c58c5f3e59ede0c7dcc1a0e6679357a3ffee3f (commit)
      from  997d730f46e591a2d45676013ebf857b0339ca04 (commit)

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

- Log -----------------------------------------------------------------
commit f034fb1c82c05bb53d2dd39dee1afd02e9cd5696
Merge: 997d730f46e591a2d45676013ebf857b0339ca04 69f6bc73a02f2a4d2f1125082dbcf3f5774539f7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Jan 11 00:20:26 2009 +0100

    Merge commit 'origin/master' into archer-jankratochvil-misc

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

Summary of changes:
 bfd/ChangeLog                              |    9 +
 bfd/elf32-cris.c                           |   10 +-
 bfd/version.h                              |    2 +-
 gdb/CONTRIBUTE                             |    3 +-
 gdb/ChangeLog                              |  171 +
 gdb/MAINTAINERS                            |    2 +
 gdb/Makefile.in                            |    4 +-
 gdb/arch-utils.c                           |    8 +-
 gdb/breakpoint.c                           |  151 +-
 gdb/cli/cli-cmds.c                         |    2 +-
 gdb/coff-pe-read.c                         |   25 +-
 gdb/config/pa/linux.mh                     |    1 -
 gdb/corefile.c                             |    5 +-
 gdb/defs.h                                 |    2 -
 gdb/doc/ChangeLog                          |   14 +
 gdb/doc/gdb.texinfo                        |   35 +-
 gdb/doc/gdbint.texinfo                     |   14 +-
 gdb/event-top.c                            |    4 +-
 gdb/exec.c                                 |   11 +-
 gdb/f-typeprint.c                          |    3 +-
 gdb/gdbarch.c                              |  318 +-
 gdb/gdbarch.sh                             |   26 +-
 gdb/gdbtypes.c                             |    7 +-
 gdb/infrun.c                               |    1 -
 gdb/interps.c                              |    1 -
 gdb/remote-sim.c                           |   17 +-
 gdb/ser-mingw.c                            |    2 +-
 gdb/symfile.c                              |    1 +
 gdb/testsuite/ChangeLog                    |    9 +
 gdb/testsuite/gdb.fortran/derived-type.exp |   61 +-
 gdb/testsuite/gdb.fortran/subarray.exp     |   58 +-
 gdb/top.c                                  |    8 -
 gdb/utils.c                                |   11 +-
 gdb/value.c                                |    2 +-
 gdb/varobj.c                               |    2 +-
 gdb/version.in                             |    2 +-
 gdb/win32-nat.c                            |   81 +-
 include/gdb/ChangeLog                      |    5 +
 include/gdb/callback.h                     |    6 +-
 include/opcode/ChangeLog                   |    5 +
 include/opcode/ppc.h                       |    8 +-
 libiberty/ChangeLog                        |    9 +
 libiberty/cp-demangle.c                    |   17 +-
 opcodes/ChangeLog                          |   54 +
 opcodes/i386-gen.c                         |   89 +-
 opcodes/i386-init.h                        |  106 +-
 opcodes/i386-opc.h                         |   22 +-
 opcodes/i386-opc.tbl                       |   17 +-
 opcodes/i386-tbl.h                         | 3558 ++++++++--------
 opcodes/ppc-opc.c                          | 6202 ++++++++++++++--------------
 sim/ChangeLog                              |   17 +
 sim/common/ChangeLog                       |   11 +
 sim/common/callback.c                      |    6 +-
 sim/common/cgen-ops.h                      |   42 +-
 sim/common/sim-io.h                        |    4 +-
 sim/cris/traps.c                           |   75 +-
 sim/frv/ChangeLog                          |    4 +
 sim/frv/sem.c                              |  108 +-
 sim/testsuite/ChangeLog                    |    5 +
 sim/testsuite/sim/cris/c/hellodyn3.c       |    9 +
 sim/testsuite/sim/cris/c/mmap5.c           |   91 +
 sim/testsuite/sim/cris/c/mmap6.c           |    8 +
 sim/testsuite/sim/cris/c/mmap7.c           |   14 +
 sim/testsuite/sim/cris/c/mmap8.c           |    9 +
 64 files changed, 6067 insertions(+), 5517 deletions(-)
 create mode 100644 sim/testsuite/sim/cris/c/hellodyn3.c
 create mode 100644 sim/testsuite/sim/cris/c/mmap5.c
 create mode 100644 sim/testsuite/sim/cris/c/mmap6.c
 create mode 100644 sim/testsuite/sim/cris/c/mmap7.c
 create mode 100644 sim/testsuite/sim/cris/c/mmap8.c

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c114076..da237ce 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,12 @@
+2009-01-07  Hans-Peter Nilsson  <hp@axis.com>
+
+	* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
+	<case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in
+	the program, the known offset starts at the negative size of the
+	TLS section.
+	<case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>:
+	Similar.
+
 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
 
 	* config.bfd: Add lm32-*-rtems*.
diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c
index ea268fc..dbc00ba 100644
--- a/bfd/elf32-cris.c
+++ b/bfd/elf32-cris.c
@@ -1721,8 +1721,9 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section,
 	      bfd_vma off;
 
 	      /* The symbol is defined in the program, so just write
-		 (1, known_tpoffset) into the GOT.  */
+		 (1, -prog_tls_size+known_tpoffset) into the GOT.  */
 	      relocation -= elf_hash_table (info)->tls_sec->vma;
+	      relocation -= elf_hash_table (info)->tls_sec->size;
 
 	      if (h != NULL)
 		{
@@ -1872,8 +1873,9 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section,
 	      bfd_vma off;
 
 	      /* The symbol is defined in the program, so just write
-		 the known_tpoffset into the GOT.  */
+		 the -prog_tls_size+known_tpoffset into the GOT.  */
 	      relocation -= elf_hash_table (info)->tls_sec->vma;
+	      relocation -= elf_hash_table (info)->tls_sec->size;
 
 	      if (h != NULL)
 		off = h->got.offset;
@@ -2001,7 +2003,9 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section,
 
 	  /* NULL if we had an error.  */
 	  relocation -= elf_hash_table (info)->tls_sec == NULL
-	    ? 0 : elf_hash_table (info)->tls_sec->vma;
+	    ? 0
+	    : (elf_hash_table (info)->tls_sec->vma
+	       + elf_hash_table (info)->tls_sec->size);
 
 	  /* The TLS-relative offset is the relocation.  */
 	  break;
diff --git a/bfd/version.h b/bfd/version.h
index 65dbb42..2bde24f 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20090106
+#define BFD_VERSION_DATE 20090110
 #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/CONTRIBUTE b/gdb/CONTRIBUTE
index 67a2ed4..75b6ddf 100644
--- a/gdb/CONTRIBUTE
+++ b/gdb/CONTRIBUTE
@@ -49,7 +49,8 @@ o	Copyright Assignment
 	taking care of your contributions) to obtain the relevant
 	forms.
 
-	Small changes can be accepted without a copyright assignment form on file.
+        Small changes can be accepted without a copyright assignment form
+        on file.
 
 	Ref: http://www.gnu.org/prep/maintain.html#SEC6
 
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8c93b4a..9ceec2b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,174 @@
+2009-01-09  Andreas Schwab  <schwab@suse.de>
+
+	* Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
+
+2009-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+	* gdbtypes.c (append_composite_type_field): Correct the location of
+	appended fields.
+
+2009-01-09  Pedro Alves  <pedro@codesourcery.com>
+
+	* defs.h (deprecated_error_hook): Delete declaration.
+	* interps.c (clear_interpreter_hooks): Adjust.
+	* remote-sim.c (gdb_os_error): Don't try to call
+	deprecated_error_hook.  No need to call exit anymore.
+	* top.c (deprecated_error_hook): Delete.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* arch-utils.c (gdbarch_update_p): Use host_address_to_string
+	to print the address of the gdbarch pointer.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* gdbarch.sh: Fix all the compilation errors on amd64-windows
+	due to casting a pointer to a long when printing a function
+	address. Instead, use host_address_to_string to convert our
+	address to a string.
+	* gdbarch.c: Regenerate.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* event-top.c (async_disconnect, async_stop_sig): use "raise"
+	instead of "kill" to raise a signal.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* win32-nat.c (get_module_name): Change the type of parameter
+	"base_address" to LPVOID.  Remove unnecessary cast.
+	(struct lm_info): Change type of load_addr to LPVOID.
+	(win32_make_so): Change the type of parameter "load_addr"
+	to LPVOID.  Remove some unnecessary casts.
+	(handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
+	(win32_xfer_shared_libraries): Add missing cast.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* win32-nat.c (has_detach_ability, set_process_privilege):
+	Cast the result of GetProcAddress to (void *) to avoid
+	a compilation warning.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
+	already defined.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* win32-nat.c (get_image_name, win32_xfer_memory): Fix type
+	definition of local variable "done".
+	(info_w32_command, handle_exception): Remove unnecessary cast.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
+	DebugSetProcessKillOnExit.  Update all uses in this file.
+	(kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
+	Update all uses in this file.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
+	and use it when pushing the target.
+	(win32_attach, win32_create_inferior): Update call to
+	do_initial_win32_stuff.
+	(win32_detach, win32_mourn_inferior): Use our ops parameter
+	instead of the global win32_ops to unpush the target.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* ser-mingw.c (ser_windows_open): Use proper type when casting
+	in call to _open_osfhandle.
+
+2009-01-09  Kai Tietz  <kai.tietz@onevision.com>
+
+	* coff-pe-read.c (read_pe_exported_syms): Fix typo.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* CONTRIBUTE: Minor reformatting.
+
+2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
+
+	* MAINTAINERS: Add myself to Write After Approval.
+	* coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
+	export directory.
+
+2009-01-08  Nathan Froyd  <froydnj@codesourcery.com>
+
+	* remote-sim.c (gdb_os_error): Mark as a noreturn function.
+	Call exit to make it obvious to GCC.
+
+2009-01-08  Tom Tromey  <tromey@redhat.com>
+
+	PR breakpoints/9350:
+	* varobj.c (varobj_invalidate): Unconditionally free
+	all_rootvarobj.
+	* symfile.c (syms_from_objfile): Free local_addr when returning
+	normally.
+	* exec.c (exec_file_attach): Do cleanups before returning.
+	(exec_file_command): Likewise.
+	* corefile.c (reopen_exec_file): Do cleanups before returning.
+	* breakpoint.c (insert_breakpoint_locations): Do cleanups before
+	returning. 
+	(do_vec_free): New function.
+	(update_global_location_list): Make a cleanup for old_locations.
+	Do cleanups before returning.  Remove unused variable 'e'.
+	(find_condition_and_thread): Free result of parsing the
+	expression.
+	(print_it_typical): Do cleanups before returning.
+	(breakpoint_re_set_one): Always free sals.sals.
+
+2009-01-08  Joel Brobecker  <brobecker@adacore.com>
+	    Emi Suzuki  <emi-suzuki@tjsys.co.jp>
+ 
+	* breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
+	watchpoints.
+
+2009-01-07  Doug Evans  <dje@google.com>
+
+	* top.c (gdb_prompt_string): Delete, unused.
+
+2009-01-07  Pedro Alves  <pedro@codesourcery.com>
+
+	Delete ONE_PROCESS_WRITETEXT leftovers.
+
+	* breakpoint.c (insert_bp_location): Delete process_warning
+	argument.  Adjust.
+	(insert_breakpoint_locations): Adjust.
+	(reattach_breakpoints): Adjust.
+	* infrun.c (normal_stop): Drop "It might be running in another
+	process" notice.
+
+2009-01-07  Stan Shebs  <stan@codesourcery.com>
+
+	* config/pa/linux.mh (XDEPFILES): Remove.
+
+2009-01-07  Doug Evans  <dje@google.com>
+
+	* cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
+
+2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
+	spacing, a regression from 2008-04-22.
+
+2009-01-07  Joel Brobecker  <brobecker@adacore.com>
+
+	* utils.c (gdb_print_host_address): Adjust implementation to
+	reuse host_address_to_string. Move comment explaining the conversion
+	from host address to string from here...
+	(host_address_to_string): ... to there.
+
+2009-01-07  Emi Suzuki  <emi-suzuki@tjsys.co.jp>
+
+	* MAINTAINERS: Add myself for write after approval privileges.
+
+2009-01-06  Tom Tromey  <tromey@redhat.com>
+
+	* value.c (set_internalvar): Use value_free, not xfree.
+
 2009-01-06  Jim Blandy  <jimb@red-bean.com>
 
 	Check return values of functions declared with warn_unused_result
diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS
index d599826..672d5f7 100644
--- a/gdb/MAINTAINERS
+++ b/gdb/MAINTAINERS
@@ -580,10 +580,12 @@ Jackie Smith Cashion				jsmith@redhat.com
 Michael Snyder					msnyder@vmware.com
 Petr Sorfa					petrs@caldera.com
 Andrew Stubbs					ams@codesourcery.com
+Emi Suzuki					emi-suzuki@tjsys.co.jp
 Ian Lance Taylor				ian@airs.com
 Gary Thomas					gthomas@redhat.com
 Jason Thorpe					thorpej@netbsd.org
 Caroline Tice					ctice@apple.com
+Kai Tietz					kai.tietz@onevision.com
 Tom Tromey					tromey@redhat.com
 David Ung					davidu@mips.com
 D Venkatasubramanian				dvenkat@noida.hcltech.com
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 14eaa37..2fe2d7a 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1011,8 +1011,8 @@ init.c: $(INIT_FILES)
 	@rm -f init.c-tmp init.l-tmp
 	@touch init.c-tmp
 	@echo gdbtypes > init.l-tmp
-	@-LANG=c ; export LANG ; \
-	LC_ALL=c ; export LC_ALL ; \
+	@-LANG=C ; export LANG ; \
+	LC_ALL=C ; export LC_ALL ; \
 	echo $(INIT_FILES) | \
 	tr ' ' '\012' | \
 	sed \
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 41c4933..c1ea9da 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -495,8 +495,8 @@ gdbarch_update_p (struct gdbarch_info info)
     {
       if (gdbarch_debug)
 	fprintf_unfiltered (gdb_stdlog, "gdbarch_update_p: "
-			    "Architecture 0x%08lx (%s) unchanged\n",
-			    (long) new_gdbarch,
+			    "Architecture %s (%s) unchanged\n",
+			    host_address_to_string (new_gdbarch),
 			    gdbarch_bfd_arch_info (new_gdbarch)->printable_name);
       return 1;
     }
@@ -504,8 +504,8 @@ gdbarch_update_p (struct gdbarch_info info)
   /* It's a new architecture, swap it in.  */
   if (gdbarch_debug)
     fprintf_unfiltered (gdb_stdlog, "gdbarch_update_p: "
-			"New architecture 0x%08lx (%s) selected\n",
-			(long) new_gdbarch,
+			"New architecture %s (%s) selected\n",
+			host_address_to_string (new_gdbarch),
 			gdbarch_bfd_arch_info (new_gdbarch)->printable_name);
   deprecated_current_gdbarch_select_hack (new_gdbarch);
 
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 74612b2..9705ede 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -1029,14 +1029,14 @@ should_be_inserted (struct bp_location *bpt)
 
 /* Insert a low-level "breakpoint" of some type.  BPT is the breakpoint.
    Any error messages are printed to TMP_ERROR_STREAM; and DISABLED_BREAKS,
-   PROCESS_WARNING, and HW_BREAKPOINT_ERROR are used to report problems.
+   and HW_BREAKPOINT_ERROR are used to report problems.
 
    NOTE drow/2003-09-09: This routine could be broken down to an object-style
    method for each breakpoint or catchpoint type.  */
 static int
 insert_bp_location (struct bp_location *bpt,
 		    struct ui_file *tmp_error_stream,
-		    int *disabled_breaks, int *process_warning,
+		    int *disabled_breaks,
 		    int *hw_breakpoint_error)
 {
   int val = 0;
@@ -1179,9 +1179,6 @@ Note: automatically using hardware breakpoints for read-only addresses.\n"));
 	    }
 	  else
 	    {
-#ifdef ONE_PROCESS_WRITETEXT
-	      *process_warning = 1;
-#endif
 	      if (bpt->loc_type == bp_loc_hardware_breakpoint)
 		{
 		  *hw_breakpoint_error = 1;
@@ -1279,10 +1276,9 @@ insert_breakpoint_locations (void)
   int val = 0;
   int disabled_breaks = 0;
   int hw_breakpoint_error = 0;
-  int process_warning = 0;
 
   struct ui_file *tmp_error_stream = mem_fileopen ();
-  make_cleanup_ui_file_delete (tmp_error_stream);
+  struct cleanup *cleanups = make_cleanup_ui_file_delete (tmp_error_stream);
   
   /* Explicitly mark the warning -- this will only be printed if
      there was an error.  */
@@ -1300,7 +1296,7 @@ insert_breakpoint_locations (void)
 	continue;
 
       val = insert_bp_location (b, tmp_error_stream,
-				    &disabled_breaks, &process_warning,
+				    &disabled_breaks,
 				    &hw_breakpoint_error);
       if (val)
 	error = val;
@@ -1352,14 +1348,11 @@ insert_breakpoint_locations (void)
 			      "Could not insert hardware breakpoints:\n\
 You may have requested too many hardware breakpoints/watchpoints.\n");
 	}
-#ifdef ONE_PROCESS_WRITETEXT
-      if (process_warning)
-	fprintf_unfiltered (tmp_error_stream,
-			    "The same program may be running in another process.");
-#endif
       target_terminal_ours_for_output ();
       error_stream (tmp_error_stream);
     }
+
+  do_cleanups (cleanups);
 }
 
 int
@@ -1405,7 +1398,7 @@ reattach_breakpoints (int pid)
   int val;
   struct cleanup *old_chain = save_inferior_ptid ();
   struct ui_file *tmp_error_stream = mem_fileopen ();
-  int dummy1 = 0, dummy2 = 0, dummy3 = 0;
+  int dummy1 = 0, dummy2 = 0;
 
   make_cleanup_ui_file_delete (tmp_error_stream);
 
@@ -1416,7 +1409,7 @@ reattach_breakpoints (int pid)
       {
 	b->inserted = 0;
 	val = insert_bp_location (b, tmp_error_stream,
-				  &dummy1, &dummy2, &dummy3);
+				  &dummy1, &dummy2);
 	if (val != 0)
 	  {
 	    do_cleanups (old_chain);
@@ -2241,13 +2234,13 @@ watchpoint_value_print (struct value *val, struct ui_file *stream)
 static enum print_stop_action
 print_it_typical (bpstat bs)
 {
-  struct cleanup *old_chain, *ui_out_chain;
+  struct cleanup *old_chain;
   struct breakpoint *b;
   const struct bp_location *bl;
   struct ui_stream *stb;
-  int bp_temp = 0;  
-  stb = ui_out_stream_new (uiout);
-  old_chain = make_cleanup_ui_out_stream_delete (stb);
+  int bp_temp = 0;
+  enum print_stop_action result;
+
   /* bs->breakpoint_at can be NULL if it was a momentary breakpoint
      which has since been deleted.  */
   if (bs->breakpoint_at == NULL)
@@ -2255,6 +2248,9 @@ print_it_typical (bpstat bs)
   bl = bs->breakpoint_at;
   b = bl->owner;
 
+  stb = ui_out_stream_new (uiout);
+  old_chain = make_cleanup_ui_out_stream_delete (stb);
+
   switch (b->type)
     {
     case bp_breakpoint:
@@ -2277,7 +2273,7 @@ print_it_typical (bpstat bs)
 	}
       ui_out_field_int (uiout, "bkptno", b->number);
       ui_out_text (uiout, ", ");
-      return PRINT_SRC_AND_LOC;
+      result = PRINT_SRC_AND_LOC;
       break;
 
     case bp_shlib_event:
@@ -2285,20 +2281,20 @@ print_it_typical (bpstat bs)
 	 variable?  (If so, we report this as a generic, "Stopped due
 	 to shlib event" message.) */
       printf_filtered (_("Stopped due to shared library event\n"));
-      return PRINT_NOTHING;
+      result = PRINT_NOTHING;
       break;
 
     case bp_thread_event:
       /* Not sure how we will get here. 
 	 GDB should not stop for these breakpoints.  */
       printf_filtered (_("Thread Event Breakpoint: gdb should not stop!\n"));
-      return PRINT_NOTHING;
+      result = PRINT_NOTHING;
       break;
 
     case bp_overlay_event:
       /* By analogy with the thread event, GDB should not stop for these. */
       printf_filtered (_("Overlay Event Breakpoint: gdb should not stop!\n"));
-      return PRINT_NOTHING;
+      result = PRINT_NOTHING;
       break;
 
     case bp_watchpoint:
@@ -2309,17 +2305,16 @@ print_it_typical (bpstat bs)
 	  (uiout, "reason",
 	   async_reason_lookup (EXEC_ASYNC_WATCHPOINT_TRIGGER));
       mention (b);
-      ui_out_chain = make_cleanup_ui_out_tuple_begin_end (uiout, "value");
+      make_cleanup_ui_out_tuple_begin_end (uiout, "value");
       ui_out_text (uiout, "\nOld value = ");
       watchpoint_value_print (bs->old_val, stb->stream);
       ui_out_field_stream (uiout, "old", stb);
       ui_out_text (uiout, "\nNew value = ");
       watchpoint_value_print (b->val, stb->stream);
       ui_out_field_stream (uiout, "new", stb);
-      do_cleanups (ui_out_chain);
       ui_out_text (uiout, "\n");
       /* More than one watchpoint may have been triggered.  */
-      return PRINT_UNKNOWN;
+      result = PRINT_UNKNOWN;
       break;
 
     case bp_read_watchpoint:
@@ -2328,13 +2323,12 @@ print_it_typical (bpstat bs)
 	  (uiout, "reason",
 	   async_reason_lookup (EXEC_ASYNC_READ_WATCHPOINT_TRIGGER));
       mention (b);
-      ui_out_chain = make_cleanup_ui_out_tuple_begin_end (uiout, "value");
+      make_cleanup_ui_out_tuple_begin_end (uiout, "value");
       ui_out_text (uiout, "\nValue = ");
       watchpoint_value_print (b->val, stb->stream);
       ui_out_field_stream (uiout, "value", stb);
-      do_cleanups (ui_out_chain);
       ui_out_text (uiout, "\n");
-      return PRINT_UNKNOWN;
+      result = PRINT_UNKNOWN;
       break;
 
     case bp_access_watchpoint:
@@ -2346,7 +2340,7 @@ print_it_typical (bpstat bs)


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2009-01-07 23:30 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2009-01-07 23:30 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  a2210e11357415bace04b1d246897aa6cc781f5b (commit)
       via  26af839fdd5cd7143867acff0012473537ecc667 (commit)
       via  3bdc07d2a6f44070a5ef57b305a2e4c816b0a820 (commit)
       via  0bd695e5a4e79c240a67ea794cb83a7324584a8d (commit)
       via  d8e475b5ea302f7de5665e5bb54112f53d95bc75 (commit)
       via  60a61846f7a1d6129b24be2f9e6b38d3311a47b9 (commit)
       via  64f8419f28ea32be7ea4a8e99de688395995a0dd (commit)
       via  410508e4968402499d97466db958ceca88670e71 (commit)
       via  8b2893e01420fef3503f6245618a2c00675a6bc3 (commit)
       via  52490b0fd88bbeab9705526edae4ba9490b35e58 (commit)
       via  9ace673c7b26ef35fabe462a4d92a01383d7cfa0 (commit)
       via  529823bb9b73f202c72324e975016d3a2fc559ce (commit)
       via  40bd160e942a5a85f46b9e5cdc20e8e7e70b9ffe (commit)
       via  56266baf7d36c96b16217eab3a797a3fd73646c1 (commit)
       via  55a1b5a021b9a566f2dea68563c8b6c772155f20 (commit)
      from  eb8157243e35312d0e36a67461a50b6518cd9689 (commit)

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

- Log -----------------------------------------------------------------
commit a2210e11357415bace04b1d246897aa6cc781f5b
Merge: eb8157243e35312d0e36a67461a50b6518cd9689 26af839fdd5cd7143867acff0012473537ecc667
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Jan 8 00:21:04 2009 +0100

    Merge commit 'origin/master' into archer-jankratochvil-misc

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

Summary of changes:
 bfd/ChangeLog                         |    4 +
 bfd/config.bfd                        |    2 +-
 bfd/version.h                         |    2 +-
 gdb/ChangeLog                         |   33 +
 gdb/NEWS                              |    8 +
 gdb/cli/cli-cmds.c                    |    4 +-
 gdb/doc/ChangeLog                     |    6 +
 gdb/doc/gdb.texinfo                   |   30 +
 gdb/gdbserver/ChangeLog               |   10 +
 gdb/gdbserver/gdbreplay.c             |    2 +-
 gdb/gdbserver/linux-low.c             |   37 +-
 gdb/gdbserver/server.c                |    2 +-
 gdb/inflow.c                          |   26 +-
 gdb/linux-nat.c                       |    6 +-
 gdb/main.c                            |   12 +-
 gdb/mi/mi-cmd-env.c                   |    5 +-
 gdb/ser-tcp.c                         |  244 +++++--
 gdb/top.c                             |    3 -
 gdb/ui-file.c                         |    8 +-
 gdb/utils.c                           |   14 +-
 gdb/version.in                        |    2 +-
 opcodes/ChangeLog                     | 1231 ++---------------------------
 opcodes/{ChangeLog => ChangeLog-2008} |    5 -
 opcodes/i386-dis.c                    |  848 +++++++-------------
 opcodes/i386-gen.c                    |    6 +-
 opcodes/i386-init.h                   |    3 +-
 opcodes/i386-opc.h                    |    7 +-
 opcodes/i386-opc.tbl                  |  197 +++---
 opcodes/i386-tbl.h                    | 1423 +++++++++++++--------------------
 sim/m32c/ChangeLog                    |    4 +
 sim/m32c/m32c.opc                     |    4 +-
 sim/m32c/r8c.opc                      |    4 +-
 32 files changed, 1421 insertions(+), 2771 deletions(-)
 copy opcodes/{ChangeLog => ChangeLog-2008} (99%)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4e2726d..c114076 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+	* config.bfd: Add lm32-*-rtems*.
+
 2009-01-03  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* coff-ppc.c: Add 2009 to Copyright.
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 452f25d..e3d2b86 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -728,7 +728,7 @@ case "${targ}" in
     targ_defvec=bfd_elf32_iq2000_vec
     ;;
 
-  lm32-*-elf)
+  lm32-*-elf | lm32-*-rtems*)
     targ_defvec=bfd_elf32_lm32_vec
     targ_selvecs=bfd_elf32_lm32fdpic_vec
     ;;
diff --git a/bfd/version.h b/bfd/version.h
index 26c4d87..65dbb42 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20090105
+#define BFD_VERSION_DATE 20090106
 #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 b959e9a..8c93b4a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,36 @@
+2009-01-06  Jim Blandy  <jimb@red-bean.com>
+
+	Check return values of functions declared with warn_unused_result
+	attribute in GLIBC 2.8.
+	* cli/cli-cmds.c (pwd_command): Check return value from getcwd.
+	* inflow.c (check_syscall): New function.
+	(new_tty): Use check_syscall to check return values from open and dup.
+	* linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
+	* main.c (captured_main): Call cwd after setting up gdb_stderr;
+	check for errors from getcwd.
+	* mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
+	* ui-file.c (stdio_file_write): Ignore return value from fwrite.
+	(stdio_file_fputs): Same.
+	* utils.c (internal_vproblem): abort if last-ditch error message
+	write fails.
+
+	* top.c (gdb_init): Don't set the current directory here; that's
+	already been done in captured_main.
+
+2009-01-06  Sandra Loosemore  <sandra@codesourcery.com>
+
+	* ser-tcp.c: Adjust includes.
+	(tcp_set_cmdlist, tcp_show_cmdlist): Declare.
+	(tcp_auto_retry, tcp_retry_limit): Declare.
+	(TIMEOUT): Remove, in favor of tcp_retry_limit.
+	(POLL_INTERVAL): Increase to 5, in favor of backoff logic.
+	(wait_for_connect): New function.
+	(net_open): Use it.  Add auto-retry logic.
+	(set_tcp_cmd, show_tcp_cmd): New functions.
+	(_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
+	and "set/show tcp connect-timeout" commands.
+	* NEWS: Document new commands.
+
 2009-01-05  Tom Tromey  <tromey@redhat.com>
 
 	* python/python-internal.h (Py_ssize_t): Define as int.
diff --git a/gdb/NEWS b/gdb/NEWS
index 415a4be..4532f9e 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -169,6 +169,14 @@ set target-async
   with GDB while the target is running.  "show target-async" displays the
   current state of asynchronous execution of the target.
 
+set tcp auto-retry (on|off)
+show tcp auto-retry
+set tcp connect-timeout
+show tcp connect-timeout
+  These commands allow GDB to retry failed TCP connections to a remote stub
+  with a specified timeout period; this is useful if the stub is launched
+  in parallel with GDB but may not be ready to accept connections immediately.
+
 macro define
 macro list
 macro undef
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index de35e1a..b391e30 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -320,7 +320,9 @@ pwd_command (char *args, int from_tty)
 {
   if (args)
     error (_("The \"pwd\" command does not take an argument: %s"), args);
-  getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
+  if (! getcwd (gdb_dirbuf, sizeof (gdb_dirbuf)))
+    error (_("Error finding name of working directory: %s"),
+           safe_strerror (errno));
 
   if (strcmp (gdb_dirbuf, current_directory) != 0)
     printf_unfiltered (_("Working directory %s\n (canonically %s).\n"),
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index b79252c..dfe9526 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-06  Sandra Loosemore  <sandra@codesourcery.com>
+
+	* gdb.texinfo (Remote Configuration): Document new
+	"set/show tcp auto-retry" and "set/show tcp connect-timeout"
+	commands.
+
 2008-12-28  Pedro Alves  <pedro@codesourcery.com>
 
 	* gdbint.texinfo (gdbarch_cannot_fetch_register): Don't mention
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 6ef124c..f6b7a1c 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -14206,6 +14206,36 @@ Select the file used for @code{run} with @code{target
 extended-remote}.  This should be set to a filename valid on the
 target system.  If it is not set, the target will use a default
 filename (e.g.@: the last program run).
+
+@kindex set tcp
+@kindex show tcp
+@item set tcp auto-retry on
+@cindex auto-retry, for remote TCP target
+Enable auto-retry for remote TCP connections.  This is useful if the remote
+debugging agent is launched in parallel with @value{GDBN}; there is a race
+condition because the agent may not become ready to accept the connection
+before @value{GDBN} attempts to connect.  When auto-retry is
+enabled, if the initial attempt to connect fails, @value{GDBN} reattempts
+to establish the connection using the timeout specified by 
+@code{set tcp connect-timeout}.
+
+@item set tcp auto-retry off
+Do not auto-retry failed TCP connections.
+
+@item show tcp auto-retry
+Show the current auto-retry setting.
+
+@item set tcp connect-timeout @var{seconds}
+@cindex connection timeout, for remote TCP target
+@cindex timeout, for remote target connection
+Set the timeout for establishing a TCP connection to the remote target to
+@var{seconds}.  The timeout affects both polling to retry failed connections 
+(enabled by @code{set tcp auto-retry on}) and waiting for connections
+that are merely slow to complete, and represents an approximate cumulative
+value.
+
+@item show tcp connect-timeout
+Show the current connection timeout setting.
 @end table
 
 @cindex remote packets, enabling and disabling
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 7c4d073..b745986 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,13 @@
+2009-01-06  Joel Brobecker  <brobecker@adacore.com>
+
+	* gdbreplay.c (gdbreplay_version): Update copyright year.
+	* server.c (gdbserver_version): Likewise.
+
+2009-01-05  Doug Evans  <dje@google.com>
+
+	* linux-low.c (linux_attach_lwp): Add some comments/fixmes.
+	(handle_extended_wait): Improve comment.
+
 2008-12-13  Doug Evans  <dje@google.com>
 
 	* utils.c (xmalloc,xcalloc,xstrdup): New fns.
diff --git a/gdb/gdbserver/gdbreplay.c b/gdb/gdbserver/gdbreplay.c
index 9bb9e0d..aec45a5 100644
--- a/gdb/gdbserver/gdbreplay.c
+++ b/gdb/gdbserver/gdbreplay.c
@@ -395,7 +395,7 @@ static void
 gdbreplay_version (void)
 {
   printf ("GNU gdbreplay %s%s\n"
-	  "Copyright (C) 2008 Free Software Foundation, Inc.\n"
+	  "Copyright (C) 2009 Free Software Foundation, Inc.\n"
 	  "gdbreplay is free software, covered by the GNU General Public License.\n"
 	  "This gdbreplay was configured as \"%s\"\n",
 	  PKGVERSION, version, host_name);
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index c8b07eb..3fa06ec 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -180,7 +180,7 @@ handle_extended_wait (struct process_info *event_child, int wstat)
 
       /* Normally we will get the pending SIGSTOP.  But in some cases
 	 we might get another signal delivered to the group first.
-         If we do, be sure not to lose it.  */
+	 If we do get another signal, be sure not to lose it.  */
       if (WSTOPSIG (status) == SIGSTOP)
 	{
 	  if (stopping_threads)
@@ -326,6 +326,8 @@ linux_attach_lwp (unsigned long pid)
 	       strerror (errno), errno);
     }
 
+  /* FIXME: This intermittently fails.
+     We need to wait for SIGSTOP first.  */
   ptrace (PTRACE_SETOPTIONS, pid, 0, PTRACE_O_TRACECLONE);
 
   new_process = (struct process_info *) add_process (pid);
@@ -333,15 +335,36 @@ linux_attach_lwp (unsigned long pid)
   new_thread_notify (thread_id_to_gdb_id (new_process->lwpid));
 
   /* The next time we wait for this LWP we'll see a SIGSTOP as PTRACE_ATTACH
-     brings it to a halt.  We should ignore that SIGSTOP and resume the process
-     (unless this is the first process, in which case the flag will be cleared
-     in linux_attach).
+     brings it to a halt.
+
+     There are several cases to consider here:
+
+     1) gdbserver has already attached to the process and is being notified
+        of a new thread that is being created.
+        In this case we should ignore that SIGSTOP and resume the process.
+        This is handled below by setting stop_expected = 1.
+
+     2) This is the first thread (the process thread), and we're attaching
+        to it via attach_inferior.
+        In this case we want the process thread to stop.
+        This is handled by having linux_attach clear stop_expected after
+        we return.
+        ??? If the process already has several threads we leave the other
+        threads running.
+
+     3) GDB is connecting to gdbserver and is requesting an enumeration of all
+        existing threads.
+        In this case we want the thread to stop.
+        FIXME: This case is currently not properly handled.
+        We should wait for the SIGSTOP but don't.  Things work apparently
+        because enough time passes between when we ptrace (ATTACH) and when
+        gdb makes the next ptrace call on the thread.
 
      On the other hand, if we are currently trying to stop all threads, we
      should treat the new thread as if we had sent it a SIGSTOP.  This works
-     because we are guaranteed that add_process added us to the end of the
-     list, and so the new thread has not yet reached wait_for_sigstop (but
-     will).  */
+     because we are guaranteed that the add_process call above added us to the
+     end of the list, and so the new thread has not yet reached
+     wait_for_sigstop (but will).  */
   if (! stopping_threads)
     new_process->stop_expected = 1;
 }
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index 6e13657..f2e9b05 100644
--- a/gdb/gdbserver/server.c
+++ b/gdb/gdbserver/server.c
@@ -1255,7 +1255,7 @@ static void
 gdbserver_version (void)
 {
   printf ("GNU gdbserver %s%s\n"
-	  "Copyright (C) 2007 Free Software Foundation, Inc.\n"
+	  "Copyright (C) 2009 Free Software Foundation, Inc.\n"
 	  "gdbserver is free software, covered by the GNU General Public License.\n"
 	  "This gdbserver was configured as \"%s\"\n",
 	  PKGVERSION, version, host_name);
diff --git a/gdb/inflow.c b/gdb/inflow.c
index a7cb25f..972b52e 100644
--- a/gdb/inflow.c
+++ b/gdb/inflow.c
@@ -523,6 +523,20 @@ new_tty_prefork (const char *ttyname)
   inferior_thisrun_terminal = ttyname;
 }
 
+
+/* If RESULT, assumed to be the return value from a system call, is
+   negative, print the error message indicated by errno and exit.
+   MSG should identify the operation that failed.  */
+static void
+check_syscall (const char *msg, int result)
+{
+  if (result < 0)
+    {
+      print_sys_errmsg (msg, errno);
+      _exit (1);
+    }
+}
+
 void
 new_tty (void)
 {
@@ -549,27 +563,23 @@ new_tty (void)
 
   /* Now open the specified new terminal.  */
   tty = open (inferior_thisrun_terminal, O_RDWR | O_NOCTTY);
-  if (tty == -1)
-    {
-      print_sys_errmsg (inferior_thisrun_terminal, errno);
-      _exit (1);
-    }
+  check_syscall (inferior_thisrun_terminal, tty);
 
   /* Avoid use of dup2; doesn't exist on all systems.  */
   if (tty != 0)
     {
       close (0);
-      dup (tty);
+      check_syscall ("dup'ing tty into fd 0", dup (tty));
     }
   if (tty != 1)
     {
       close (1);
-      dup (tty);
+      check_syscall ("dup'ing tty into fd 1", dup (tty));
     }
   if (tty != 2)
     {
       close (2);
-      dup (tty);
+      check_syscall ("dup'ing tty into fd 2", dup (tty));
     }
 
 #ifdef TIOCSCTTY
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index dfa7ef2..9a7e39c 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -3684,8 +3684,10 @@ linux_nat_info_proc_cmd (char *args, int from_tty)
       if ((procfile = fopen (fname1, "r")) != NULL)
 	{
 	  struct cleanup *cleanup = make_cleanup_fclose (procfile);
-	  fgets (buffer, sizeof (buffer), procfile);
-	  printf_filtered ("cmdline = '%s'\n", buffer);
+          if (fgets (buffer, sizeof (buffer), procfile))
+            printf_filtered ("cmdline = '%s'\n", buffer);
+          else
+            warning (_("unable to read '%s'"), fname1);
 	  do_cleanups (cleanup);
 	}
       else
diff --git a/gdb/main.c b/gdb/main.c
index ccd5e46..0eb9596 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -188,9 +188,6 @@ captured_main (void *data)
   line[0] = '\0';		/* Terminate saved (now empty) cmd line */
   instream = stdin;
 
-  getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
-  current_directory = gdb_dirbuf;
-
   gdb_stdout = stdio_fileopen (stdout);
   gdb_stderr = stdio_fileopen (stderr);
   gdb_stdlog = gdb_stderr;	/* for moment */
@@ -199,6 +196,15 @@ captured_main (void *data)
   gdb_stdtargerr = gdb_stderr;	/* for moment */
   gdb_stdtargin = gdb_stdin;	/* for moment */
 
+  if (! getcwd (gdb_dirbuf, sizeof (gdb_dirbuf)))
+    /* Don't use *_filtered or warning() (which relies on
+       current_target) until after initialize_all_files(). */
+    fprintf_unfiltered (gdb_stderr,
+                        _("%s: warning: error finding working directory: %s\n"),
+                        argv[0], safe_strerror (errno));
+    
+  current_directory = gdb_dirbuf;
+
   /* Set the sysroot path.  */
 #ifdef TARGET_SYSTEM_ROOT_RELOCATABLE
   gdb_sysroot = make_relative_prefix (argv[0], BINDIR, TARGET_SYSTEM_ROOT);
diff --git a/gdb/mi/mi-cmd-env.c b/gdb/mi/mi-cmd-env.c
index b40fac4..cbc9bdb 100644
--- a/gdb/mi/mi-cmd-env.c
+++ b/gdb/mi/mi-cmd-env.c
@@ -79,7 +79,10 @@ mi_cmd_env_pwd (char *command, char **argv, int argc)
      
   /* Otherwise the mi level is 2 or higher.  */
 
-  getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
+  if (! getcwd (gdb_dirbuf, sizeof (gdb_dirbuf)))
+    error (_("mi_cmd_env_pwd: error finding name of working directory: %s"),
+           safe_strerror (errno));
+    
   ui_out_field_string (uiout, "cwd", gdb_dirbuf);
 }
 
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
index e3cf970..7792133 100644
--- a/gdb/ser-tcp.c
+++ b/gdb/ser-tcp.c
@@ -22,6 +22,9 @@
 #include "serial.h"
 #include "ser-base.h"
 #include "ser-tcp.h"
+#include "gdbcmd.h"
+#include "cli/cli-decode.h"
+#include "cli/cli-setshow.h"
 
 #include <sys/types.h>
 
@@ -49,6 +52,7 @@
 
 #include <signal.h>
 #include "gdb_string.h"
+#include "gdb_select.h"
 
 #ifndef HAVE_SOCKLEN_T
 typedef int socklen_t;
@@ -56,10 +60,93 @@ typedef int socklen_t;
 
 void _initialize_ser_tcp (void);
 
-/* seconds to wait for connect */
-#define TIMEOUT 15
+/* For "set tcp" and "show tcp".  */
+
+static struct cmd_list_element *tcp_set_cmdlist;
+static struct cmd_list_element *tcp_show_cmdlist;
+
+/* Whether to auto-retry refused connections.  */
+
+static int tcp_auto_retry = 1;
+
+/* Timeout period for connections, in seconds.  */
+
+static int tcp_retry_limit = 15;
+
 /* how many times per second to poll deprecated_ui_loop_hook */
-#define POLL_INTERVAL 2
+
+#define POLL_INTERVAL 5
+
+/* Helper function to wait a while.  If SCB is non-null, wait on its
+   file descriptor.  Otherwise just wait on a timeout, updating *POLLS.
+   Returns -1 on timeout or interrupt, otherwise the value of select.  */
+
+static int
+wait_for_connect (struct serial *scb, int *polls)
+{
+  struct timeval t;
+  int n;
+
+  /* While we wait for the connect to complete, 
+     poll the UI so it can update or the user can 
+     interrupt.  */
+  if (deprecated_ui_loop_hook && deprecated_ui_loop_hook (0))
+    {
+      errno = EINTR;
+      return -1;
+    }
+
+  /* Check for timeout.  */
+  if (*polls > tcp_retry_limit * POLL_INTERVAL)
+    {
+      errno = ETIMEDOUT;
+      return -1;
+    }
+
+  /* Back off to polling once per second after the first POLL_INTERVAL
+     polls.  */
+  if (*polls < POLL_INTERVAL)
+    {
+      t.tv_sec = 0;
+      t.tv_usec = 1000000 / POLL_INTERVAL;
+    }
+  else
+    {
+      t.tv_sec = 1;
+      t.tv_usec = 0;
+    }
+
+  if (scb)
+    {
+      fd_set rset, wset, eset;
+      FD_ZERO (&rset);
+      FD_SET (scb->fd, &rset);
+      wset = rset;
+      eset = rset;
+	  
+      /* POSIX systems return connection success or failure by signalling
+	 wset.  Windows systems return success in wset and failure in
+	 eset.
+     
+	 We must call select here, rather than gdb_select, because
+	 the serial structure has not yet been initialized - the
+	 MinGW select wrapper will not know that this FD refers
+	 to a socket.  */
+      n = select (scb->fd + 1, &rset, &wset, &eset, &t);
+    }
+  else
+    /* Use gdb_select here, since we have no file descriptors, and on
+       Windows, plain select doesn't work in that case.  */


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2008-12-28 16:15 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2008-12-28 16:15 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  da617182ac466ecf193345cf6f5e19a314df121e (commit)
       via  2b13c99b148c83aab15005638a818c1b8aec4b8f (commit)
       via  8581535a8f15da3961ef8e108b1070ed08ca2be4 (commit)
       via  43f17405181c357d49d5193f0d16665964e6e5b0 (commit)
       via  4598bfbbd66f2bbd11c1d95e7caf3f7a7a1ed432 (commit)
       via  b242b90839d4e79e53317b746414dddf50e2169f (commit)
       via  563227ba14831f6468d71abf0ca50ed7174e0327 (commit)
       via  e793c2a84c2111d3c7fb51a8f04a76eac8ee3758 (commit)
       via  4941be4d1396562382640da4a2e8dd2ba718b317 (commit)
       via  286970c6bd53c6a5a252282e334d2469aa20dba7 (commit)
       via  49eb3a97ce331c38c1133a965df6cfdbbd4c49c0 (commit)
       via  8217d8b8fedfa6445fbfff732b65bacf017ac0db (commit)
       via  1ea30b1c3e6a1b2a9f038471203e9e043ec9f22a (commit)
       via  0c374d82d1079c91a6d9d8626eee65067e12d69b (commit)
       via  5ec7c2090a73e8a488afd418c7ac25a7f112e773 (commit)
       via  4912758dc497fcc09e2ce3d04d8eb34fc7f903bd (commit)
       via  15d23d26929391714006d3e4e82e66982d4c253f (commit)
       via  0d1845ec33cf76021a56ae85c75337b6b294ade7 (commit)
       via  2baaecceed1201d82a1919a9a6cc2f094b44ed6b (commit)
       via  d0aad6615cd46494a6207650ced04e2f6c8e4df4 (commit)
       via  3adb16ca001caec36ca9a226eb66be4a1676da3e (commit)
       via  91148184de08f58587c3b566ddb3a717914bcd99 (commit)
       via  93cb045b7c85caa6fe372df5ada9dbb3ecbf4bcb (commit)
       via  506746b25e05bb7397ca7739abd332b058a1df92 (commit)
       via  1c34cff5284df4f439e045b457c8114ebe0b0ede (commit)
       via  d8e503dc80e0427b3e5d688984d27587493ebaa6 (commit)
       via  74b8003e546928852c25de825a46353ba35cbd91 (commit)
       via  b82726d591ea1d9d68e8f48d108ab646eebc09d3 (commit)
       via  396dc5343b8a584da7d4a381df9dfffc84a18949 (commit)
       via  d01dd7a822a487c73576e740c491065d9e5d39da (commit)
       via  4f3c18d1d8d13a93071126c0d0017852d3ed6a00 (commit)
       via  75d44a52d91ea5a96b4de336b3918abd8797d827 (commit)
       via  21db5bdb710737d641c0c2fc7fd54feb3cb9cc9f (commit)
      from  076af0f74d1b2713371d122a78df99fe6ea6c98c (commit)

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

- Log -----------------------------------------------------------------
commit da617182ac466ecf193345cf6f5e19a314df121e
Merge: 2b13c99b148c83aab15005638a818c1b8aec4b8f 43f17405181c357d49d5193f0d16665964e6e5b0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Dec 28 16:54:22 2008 +0100

    Merge commit 'origin/master' into archer-jankratochvil-misc

commit 2b13c99b148c83aab15005638a818c1b8aec4b8f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Dec 28 16:38:59 2008 +0100

    Revert "https://bugzilla.redhat.com/show_bug.cgi?id=162775"
    
    This reverts commit e25caae08e0092125d06450426bd03cb57f6eb0b.

commit 8581535a8f15da3961ef8e108b1070ed08ca2be4
Merge: 076af0f74d1b2713371d122a78df99fe6ea6c98c 4598bfbbd66f2bbd11c1d95e7caf3f7a7a1ed432
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Dec 28 15:29:32 2008 +0100

    Merge commit 'origin/master' into archer-jankratochvil-misc
    
    Conflicts:
    	gdb/f-valprint.c

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

Summary of changes:
 bfd/ChangeLog                       |   97 ++-
 bfd/Makefile.am                     |    9 +
 bfd/Makefile.in                     |    9 +
 bfd/archures.c                      |    4 +
 bfd/bfd-in2.h                       |   20 +-
 bfd/coffcode.h                      |    2 +
 bfd/config.bfd                      |   11 +
 bfd/configure                       |    2 +
 bfd/configure.in                    |    2 +
 bfd/cpu-lm32.c                      |   41 +
 bfd/elf-bfd.h                       |    5 -
 bfd/elf.c                           |    7 +-
 bfd/elf32-arm.c                     |   12 +-
 bfd/elf32-i386.c                    |   51 +-
 bfd/elf32-lm32.c                    | 2909 +++++++++++++++++++++++++++++++++++
 bfd/elf32-m68k.c                    |   32 +-
 bfd/elf64-x86-64.c                  |   53 +-
 bfd/elfcode.h                       |    3 -
 bfd/elflink.c                       |   74 -
 bfd/elfxx-ia64.c                    |   14 +-
 bfd/libbfd.h                        |    9 +
 bfd/mach-o.c                        |  116 ++-
 bfd/mach-o.h                        |   15 +-
 bfd/reloc.c                         |   21 +
 bfd/syms.c                          |   11 +-
 bfd/targets.c                       |    3 +
 bfd/version.h                       |    2 +-
 gdb/ChangeLog                       |   50 +
 gdb/ada-lang.c                      |   60 +-
 gdb/ada-typeprint.c                 |    5 +-
 gdb/ada-valprint.c                  |    2 +-
 gdb/breakpoint.c                    |   43 +-
 gdb/breakpoint.h                    |    8 +-
 gdb/eval.c                          |    2 +-
 gdb/gdbtypes.c                      |   22 +-
 gdb/gdbtypes.h                      |    8 +-
 gdb/hppa-tdep.c                     |    2 +-
 gdb/infrun.c                        |   98 +-
 gdb/mdebugread.c                    |    4 +-
 gdb/printcmd.c                      |   21 +-
 gdb/python/python-internal.h        |    1 +
 gdb/python/python-value.c           |    4 -
 gdb/stack.c                         |   13 +-
 gdb/testsuite/ChangeLog             |    4 +
 gdb/testsuite/gdb.base/entry.c      |   29 -
 gdb/testsuite/gdb.base/entry.exp    |   46 -
 gdb/testsuite/gdb.cp/punctuator.exp |   24 +-
 gdb/valarith.c                      |    2 +-
 gdb/value.h                         |    8 +-
 gdb/version.in                      |    2 +-
 include/ChangeLog                   |    4 +
 include/coff/ChangeLog              |    4 +
 include/coff/ti.h                   |    9 +
 include/dis-asm.h                   |    1 +
 include/elf/ChangeLog               |    8 +
 include/elf/common.h                |    1 -
 include/elf/lm32.h                  |   56 +
 opcodes/ChangeLog                   |   45 +
 opcodes/Makefile.am                 |   44 +
 opcodes/Makefile.in                 |   52 +-
 opcodes/cgen-asm.in                 |    2 +-
 opcodes/cgen-dis.in                 |    4 +-
 opcodes/cgen-ibld.in                |    4 +-
 opcodes/configure                   |    1 +
 opcodes/configure.in                |    1 +
 opcodes/disassemble.c               |    6 +
 opcodes/i386-dis.c                  |   20 +-
 opcodes/i386-opc.h                  |    3 +-
 opcodes/i386-opc.tbl                |   28 +-
 opcodes/i386-tbl.h                  |  204 ++-
 opcodes/lm32-asm.c                  |  747 +++++++++
 opcodes/lm32-desc.c                 | 1183 ++++++++++++++
 opcodes/lm32-desc.h                 |  246 +++
 opcodes/{cgen-dis.in => lm32-dis.c} |  128 ++-
 opcodes/lm32-ibld.c                 | 1061 +++++++++++++
 opcodes/lm32-opc.c                  |  876 +++++++++++
 opcodes/lm32-opc.h                  |  105 ++
 opcodes/lm32-opinst.c               |  473 ++++++
 opcodes/po/ga.po                    |  252 ++--
 sim/frv/ChangeLog                   |    5 +
 sim/frv/arch.c                      |   23 +-
 sim/frv/arch.h                      |   23 +-
 sim/frv/cpu.c                       |   23 +-
 sim/frv/cpu.h                       |   23 +-
 sim/frv/cpuall.h                    |   23 +-
 sim/frv/decode.c                    |   23 +-
 sim/frv/decode.h                    |   23 +-
 sim/frv/model.c                     |   23 +-
 sim/frv/sem.c                       |  123 +-
 89 files changed, 9036 insertions(+), 836 deletions(-)
 create mode 100644 bfd/cpu-lm32.c
 create mode 100644 bfd/elf32-lm32.c
 delete mode 100644 gdb/testsuite/gdb.base/entry.c
 delete mode 100644 gdb/testsuite/gdb.base/entry.exp
 create mode 100644 include/elf/lm32.h
 create mode 100644 opcodes/lm32-asm.c
 create mode 100644 opcodes/lm32-desc.c
 create mode 100644 opcodes/lm32-desc.h
 copy opcodes/{cgen-dis.in => lm32-dis.c} (76%)
 create mode 100644 opcodes/lm32-ibld.c
 create mode 100644 opcodes/lm32-opc.c
 create mode 100644 opcodes/lm32-opc.h
 create mode 100644 opcodes/lm32-opinst.c

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6cd350f..b989a72 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,88 @@
+2008-12-23  Jon Beniston <jon@beniston.com>
+
+	* Makefile.am: Add LM32 object files and dependencies.
+	* Makefile.in: Regenerate.
+	* archures.c: Add LM32 architechiture info.
+	* targets.c: Likewise.
+	* reloc.c: Likewise.
+	* bfd-in2.h: Regenerate.
+	* config.bfd: Add LM32 targets.
+	* configure.in: Likewise.
+	* configure: Regenerate.
+	* cpu-lm32.c: New file.
+	* elf32-lm32.c: New file.
+
+2008-12-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/7036
+	* elfxx-ia64.c (elfNN_ia64_relax_section): Assume linker will
+	always insert 32byte between the .plt and .text sections after
+	the the first relaxation pass.
+
+2008-12-23  Nick Clifton  <nickc@redhat.com>
+
+	PR 7093
+	* elf32-arm.c (bfd_elf32_arm_init_maps): Only process ARM ELF
+	object files.
+
+2008-12-23  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (bfd_mach_o_make_bfd_section): Use the standard ELF name
+	.eh_frame for __TEXT.__eh_frame so that it is recognized by gdb.
+	Use shorter sections name for well known sections.
+	(bfd_mach_o_scan_read_dylinker): Only put dylinker name in the
+	section content.
+	(bfd_mach_o_scan_read_segment): Use shorter sections name for
+	well known segments.
+	(bfd_mach_o_scan_read_command): Ignore some new commands.
+	(bfd_mach_o_openr_next_archived_file): Use more descriptive names
+	for members filename.
+	(bfd_mach_o_fat_extract): New function to easily extract members
+	of a fat binary.
+	* mach-o.h (bfd_mach_o_load_command_type): Add new constants.
+	(bfd_mach_o_dylinker_command): Fix comment and reindent.
+	(bfd_mach_o_fat_extract): New prototype.
+
+2008-12-23  Johan Olmutz Nielsen  <jnielsen@ddci.com>
+
+	* coffcode.h (coff_write_object_contents): Always initialise
+	section.s_page.
+
+2008-12-23  Andreas Schwab  <schwab@suse.de>
+
+	* elf32-m68k.c (elf_m68k_discard_copies): Use SYMBOL_CALLS_LOCAL.
+	(elf_m68k_relocate_section): Use SYMBOL_CALLS_LOCAL and
+	SYMBOL_REFERENCES_LOCAL.
+	(elf_m68k_relocate_section): Likewise.
+
+2008-12-23  Nick Clifton  <nickc@redhat.com>
+
+	* elf-bfd.h (struct bfd_elf_section_data): Remove indirect_relocs
+	field.
+	(_bfd_elf_make_ifunc_reloc_section): Remove prototype.
+	* elf.c (swap_out_syms): Remove STT_IFUNC support.
+	(elf_find_function): Likewise.
+	* elf32-arm.c (arm_elf_find_function): Likewise.
+	(elf32_arm_adjust_dynamic_symbol): Likewise.
+	(elf32_arm_swap_symbol_in): Likewise.
+	(elf32_arm_is_function_type): Likewise.
+	* elf32-i386.c (is_indirect_symbol): Delete.
+	(elf_i386_check_relocs): Remove STT_IFUNC support.
+	(allocate_dynrelocs): Likewise.
+	(elf_i386_relocate_section): Likewise.
+	* elf64-x86-64.c (is_indirect_symbol): Delete.
+	(elf64_x86_64_check_relocs): Remove STT_IFUNC support.
+	(allocate_dynrelocs): Likewise.
+	(elf64_x86_64_relocate_section): Likewise.
+	* elfcode.h (elf_slurp_symbol_table): Likewise.
+	* elflink.c (_bfd_elf_adjust_symbol): Likewise.
+	(get_ifunc_reloc_section_name): Delete.
+	(_bfd_elf_make_ifunc_reloc_section): Delete.
+	* syms.c (BSF_INDIRECT_FUNCTION): Delete.
+	(bfd_print_symbol_vandf): Remove STT_IFUNC support.
+	(bfd_decode_symclass): Likewise.
+	* bfd-in2.h: Regenerate.
+
 2008-12-20  Hans-Peter Nilsson  <hp@axis.com>
 
 	* elf32-cris.c 	(cris_elf_howto_table): Add entry for R_CRIS_32_IE.
@@ -98,7 +183,7 @@
 	* cpu-avr.c (compatible): Makes avr-6 compatible only with itself.
 
 2008-12-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
-	
+
 	* elf64-s390.c (elf_s390_check_relocs): Initialize
 	htab->elf.dynobj if necessary.
 
@@ -295,7 +380,7 @@
 	relocs.  For overflow, emit additional messages for the new 16-bit
 	relocs as well as R_CRIS_16_GOTPLT and R_CRIS_16_GOT.
 	(elf_cris_finish_dynamic_symbol): Use elf_cris_finish_dynamic_symbol
-	instead of plain casts.  Check new hash entry member 
+	instead of plain casts.  Check new hash entry member
 	reg_got_refcount when checking whether to emit a GOT entry.
 	(elf_cris_finish_dynamic_sections): Update head comment to warn
 	about emitting relocs here.  Use a temporary variable when testing
@@ -348,7 +433,7 @@
 	Leave addend zero on LD DTPMOD dynamic reloc.
 
 2008-11-19  Bob Wilson  <bob.wilson@acm.org>
-	
+
 	* xtensa-modules.c (sysregs): Add MMID, VECBASE, EPC5, EPC6, EPC7,
 	EXCSAVE5, EXCSAVE6, EXCSAVE7, EPS5, EPS6, EPS7, CPENABLE,
 	SCOMPARE1, and THREADPTR registers.
@@ -411,7 +496,7 @@
 	(Slot_inst16b_get_field_fns, Slot_inst16b_set_field_fns): Likewise.
 	(xtensa_modules): Update number of fields, operands, iclasses and
 	opcodes.
-	
+
 2008-11-19  Nix  <nix@esperi.org.uk>
 
 	* elf.c (swap_out_syms) [USE_STT_COMMON]: Fix syntax error.
@@ -429,7 +514,7 @@
 	* elf32-arm.c (elf32_arm_merge_eabi_attributes): Merge
 	half-precision attributes.
 	(elf32_arm_copy_one_eabi_other_attribute): New.
-	(elf32_arm_copy_other_attribute_list): New. 
+	(elf32_arm_copy_other_attribute_list): New.
 
 2008-11-18  Nick Clifton  <nickc@redhat.com>
 
@@ -464,7 +549,7 @@
 
 2008-11-14  Tristan Gingold  <gingold@adacore.com>
 
-	* configure.com: Handle bfd_default_target_size, BFD_HOST_LONG_LONG, 
+	* configure.com: Handle bfd_default_target_size, BFD_HOST_LONG_LONG,
 	BFD_HOST_64BIT_LONG_LONG, BFD_HOSTPTR_T, bfd_file_ptr.
 	Generate bfdver.h.
 	* vms-hdr.c (_bfd_vms_write_hdr): Use strdup/free instead of alloca.
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 8ddf3cc..4eac4a0 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -83,6 +83,7 @@ ALL_MACHINES = \
 	cpu-i960.lo \
 	cpu-ip2k.lo \
 	cpu-iq2000.lo \
+	cpu-lm32.lo \
 	cpu-m32c.lo \
 	cpu-m32r.lo \
 	cpu-m68hc11.lo \
@@ -149,6 +150,7 @@ ALL_MACHINES_CFILES = \
 	cpu-i960.c \
 	cpu-ip2k.c \
 	cpu-iq2000.c \
+	cpu-lm32.c \
 	cpu-m32c.c \
 	cpu-m32r.c \
 	cpu-m68hc11.c \
@@ -264,6 +266,7 @@ BFD32_BACKENDS = \
 	elf32-i960.lo \
 	elf32-ip2k.lo \
 	elf32-iq2000.lo \
+	elf32-lm32.lo \
 	elf32-m32c.lo \
 	elf32-m32r.lo \
 	elf32-m68hc11.lo \
@@ -445,6 +448,7 @@ BFD32_BACKENDS_CFILES = \
 	elf32-i960.c \
 	elf32-ip2k.c \
 	elf32-iq2000.c \
+	elf32-lm32.c \
 	elf32-m32c.c \
 	elf32-m32r.c \
 	elf32-m68k.c \
@@ -1093,6 +1097,7 @@ cpu-i860.lo: cpu-i860.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 cpu-i960.lo: cpu-i960.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 cpu-ip2k.lo: cpu-ip2k.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 cpu-iq2000.lo: cpu-iq2000.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
+cpu-lm32.lo: cpu-lm32.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 cpu-m32c.lo: cpu-m32c.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 cpu-m32r.lo: cpu-m32r.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 cpu-m68hc11.lo: cpu-m68hc11.c $(INCDIR)/filenames.h \
@@ -1426,6 +1431,10 @@ elf32-m32c.lo: elf32-m32c.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m32c.h \
   $(INCDIR)/elf/reloc-macros.h $(INCDIR)/libiberty.h \
   elf32-target.h
+elf32-lm32.lo: elf32-lm32.c $(INCDIR)/filenames.h elf-bfd.h \
+  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
+  $(INCDIR)/bfdlink.h $(INCDIR)/elf/lm32.h $(INCDIR)/elf/reloc-macros.h \
+  elf32-target.h
 elf32-m32r.lo: elf32-m32r.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m32r.h \
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 9d86902..fc370b0 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -348,6 +348,7 @@ ALL_MACHINES = \
 	cpu-i960.lo \
 	cpu-ip2k.lo \
 	cpu-iq2000.lo \
+	cpu-lm32.lo \
 	cpu-m32c.lo \
 	cpu-m32r.lo \
 	cpu-m68hc11.lo \
@@ -414,6 +415,7 @@ ALL_MACHINES_CFILES = \
 	cpu-i960.c \
 	cpu-ip2k.c \
 	cpu-iq2000.c \
+	cpu-lm32.c \
 	cpu-m32c.c \
 	cpu-m32r.c \
 	cpu-m68hc11.c \
@@ -530,6 +532,7 @@ BFD32_BACKENDS = \
 	elf32-i960.lo \
 	elf32-ip2k.lo \
 	elf32-iq2000.lo \
+	elf32-lm32.lo \
 	elf32-m32c.lo \
 	elf32-m32r.lo \
 	elf32-m68hc11.lo \
@@ -711,6 +714,7 @@ BFD32_BACKENDS_CFILES = \
 	elf32-i960.c \
 	elf32-ip2k.c \
 	elf32-iq2000.c \
+	elf32-lm32.c \
 	elf32-m32c.c \
 	elf32-m32r.c \
 	elf32-m68k.c \
@@ -1689,6 +1693,7 @@ cpu-i860.lo: cpu-i860.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 cpu-i960.lo: cpu-i960.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 cpu-ip2k.lo: cpu-ip2k.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 cpu-iq2000.lo: cpu-iq2000.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
+cpu-lm32.lo: cpu-lm32.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 cpu-m32c.lo: cpu-m32c.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 cpu-m32r.lo: cpu-m32r.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
 cpu-m68hc11.lo: cpu-m68hc11.c $(INCDIR)/filenames.h \
@@ -2017,6 +2022,10 @@ elf32-iq2000.lo: elf32-iq2000.c $(INCDIR)/filenames.h \
   $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/elf/iq2000.h $(INCDIR)/elf/reloc-macros.h \
   elf32-target.h
+elf32-lm32.lo: elf32-lm32.c $(INCDIR)/filenames.h elf-bfd.h \
+  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
+  $(INCDIR)/bfdlink.h $(INCDIR)/elf/lm32.h $(INCDIR)/elf/reloc-macros.h \
+  elf32-target.h
 elf32-m32c.lo: elf32-m32c.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m32c.h \
diff --git a/bfd/archures.c b/bfd/archures.c
index 1156e09..c76e16e 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -409,6 +409,8 @@ DESCRIPTION
 .#define bfd_mach_z80            3 {* With ixl, ixh, iyl, and iyh.  *}
 .#define bfd_mach_z80full        7 {* All undocumented instructions.  *}
 .#define bfd_mach_r800           11 {* R800: successor with multiplication.  *}
+.  bfd_arch_lm32,      {* Lattice Mico32 *}
+.#define bfd_mach_lm32      1
 .  bfd_arch_last
 .  };
 */
@@ -471,6 +473,7 @@ extern const bfd_arch_info_type bfd_i960_arch;
 extern const bfd_arch_info_type bfd_ia64_arch;
 extern const bfd_arch_info_type bfd_ip2k_arch;
 extern const bfd_arch_info_type bfd_iq2000_arch;
+extern const bfd_arch_info_type bfd_lm32_arch;
 extern const bfd_arch_info_type bfd_m32c_arch;
 extern const bfd_arch_info_type bfd_m32r_arch;
 extern const bfd_arch_info_type bfd_m68hc11_arch;
@@ -542,6 +545,7 @@ static const bfd_arch_info_type * const bfd_archures_list[] =
     &bfd_ia64_arch,
     &bfd_ip2k_arch,
     &bfd_iq2000_arch,
+    &bfd_lm32_arch,
     &bfd_m32c_arch,
     &bfd_m32r_arch,
     &bfd_m68hc11_arch,
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 37c24b7..779f03a 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -2035,6 +2035,8 @@ enum bfd_architecture
 #define bfd_mach_z80            3 /* With ixl, ixh, iyl, and iyh.  */
 #define bfd_mach_z80full        7 /* All undocumented instructions.  */
 #define bfd_mach_r800           11 /* R800: successor with multiplication.  */
+  bfd_arch_lm32,      /* Lattice Mico32 */
+#define bfd_mach_lm32      1
   bfd_arch_last
   };
 
@@ -4412,6 +4414,17 @@ BFD_RELOC_XTENSA_ASM_EXPAND.  */
 
 /* 4 bit value.  */
   BFD_RELOC_Z8K_IMM4L,
+
+/* Lattice Mico32 relocations.  */
+  BFD_RELOC_LM32_CALL,
+  BFD_RELOC_LM32_BRANCH,
+  BFD_RELOC_LM32_16_GOT,
+  BFD_RELOC_LM32_GOTOFF_HI16,
+  BFD_RELOC_LM32_GOTOFF_LO16,
+  BFD_RELOC_LM32_COPY,
+  BFD_RELOC_LM32_GLOB_DAT,
+  BFD_RELOC_LM32_JMP_SLOT,
+  BFD_RELOC_LM32_RELATIVE,
   BFD_RELOC_UNUSED };
 typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
 reloc_howto_type *bfd_reloc_type_lookup
@@ -4472,13 +4485,6 @@ typedef struct bfd_symbol
      perhaps others someday.  */
 #define BSF_FUNCTION           (1 << 3)
 
-  /* The symbol is an indirect code object.  Unrelated to BSF_INDIRECT.
-     Relocations against a symbol with this flag have to evaluated at
-     run-time, where the function pointed to by this symbol is invoked
-     in order to determine the value to be used in the relocation.
-     BSF_FUNCTION must also be set for symbols with this flag.  */
-#define BSF_INDIRECT_FUNCTION  (1 << 4)
- 
   /* Used by the linker.  */
 #define BSF_KEEP               (1 << 5)
 #define BSF_KEEP_G             (1 << 6)
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 3b98c5d..12d2ad5 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -3528,6 +3528,8 @@ coff_write_object_contents (bfd * abfd)
       section.s_size =  current->size;
 #ifdef coff_get_section_load_page
       section.s_page = coff_get_section_load_page (current);
+#else
+      section.s_page = 0;
 #endif
 
 #ifdef COFF_WITH_PE
diff --git a/bfd/config.bfd b/bfd/config.bfd
index da7271b..452f25d 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -85,6 +85,7 @@ fido*)		 targ_archs=bfd_m68k_arch ;;
 hppa*)		 targ_archs=bfd_hppa_arch ;;
 i[3-7]86)	 targ_archs=bfd_i386_arch ;;
 i370)		 targ_archs=bfd_i370_arch ;;
+lm32)	         targ_archs=bfd_lm32_arch ;;
 m6811*|m68hc11*) targ_archs="bfd_m68hc11_arch bfd_m68hc12_arch" ;;
 m6812*|m68hc12*) targ_archs="bfd_m68hc12_arch bfd_m68hc11_arch" ;;
 m68*)		 targ_archs=bfd_m68k_arch ;;
@@ -727,6 +728,16 @@ case "${targ}" in
     targ_defvec=bfd_elf32_iq2000_vec
     ;;
 
+  lm32-*-elf)
+    targ_defvec=bfd_elf32_lm32_vec
+    targ_selvecs=bfd_elf32_lm32fdpic_vec
+    ;;
+    
+  lm32-*-*linux*)
+    targ_defvec=bfd_elf32_lm32fdpic_vec
+    targ_selvecs=bfd_elf32_lm32_vec
+    ;;
+    
   m32c-*-elf | m32c-*-rtems*)
     targ_defvec=bfd_elf32_m32c_vec
     ;;
diff --git a/bfd/configure b/bfd/configure
index 0a1ce6c..a3ca40f 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -20752,6 +20752,8 @@ do
     bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";;
     bfd_elf32_ip2k_vec)		tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
     bfd_elf32_iq2000_vec)       tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
+    bfd_elf32_lm32_vec)         tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
+    bfd_elf32_lm32fdpic_vec)         tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
     bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
     bfd_elf32_littlearc_vec)	tb="$tb elf32-arc.lo elf32.lo $elf" ;;
     bfd_elf32_littlearm_symbian_vec)
diff --git a/bfd/configure.in b/bfd/configure.in
index 47ef10c..d75e15a 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -689,6 +689,8 @@ do
     bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";;
     bfd_elf32_ip2k_vec)		tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
     bfd_elf32_iq2000_vec)       tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
+    bfd_elf32_lm32_vec)         tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
+    bfd_elf32_lm32fdpic_vec)         tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
     bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
     bfd_elf32_littlearc_vec)	tb="$tb elf32-arc.lo elf32.lo $elf" ;;
     bfd_elf32_littlearm_symbian_vec)
diff --git a/bfd/cpu-lm32.c b/bfd/cpu-lm32.c
new file mode 100644
index 0000000..227612f
--- /dev/null
+++ b/bfd/cpu-lm32.c
@@ -0,0 +1,41 @@
+/* BFD support for the Lattice Mico32 architecture.
+   Copyright 2008 Free Software Foundation, Inc.
+   Contributed by Jon Beniston <jon@beniston.com>
+
+   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 "bfd.h"
+#include "sysdep.h"
+#include "libbfd.h"
+
+const bfd_arch_info_type bfd_lm32_arch = 
+{
+    32,                           /* Bits in word.  */
+    32,                           /* Bits in address.  */
+    8,                            /* Bits in byte.  */
+    bfd_arch_lm32,                /* Enum bfd_architecture.  */ 
+    bfd_mach_lm32,                /* Machine number.  */
+    "lm32",                       /* Architecture name.  */
+    "lm32",                       /* Printable name.  */
+    4,                            /* Alignment.  */
+    TRUE,                         /* Is this the default machine for the target.  */
+    bfd_default_compatible,       /* Function callback to test if two files have compatible machines.  */
+    bfd_default_scan,
+    NULL                          /* Next.  */
+};
+
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index effa344..5418e7f 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1287,9 +1287,6 @@ struct bfd_elf_section_data
   /* A pointer to the bfd section used for dynamic relocs.  */
   asection *sreloc;
 
-  /* A pointer to the bfd section used for dynamic relocs against ifunc symbols.  */
-  asection *indirect_relocs;
-
   union {
     /* Group name, if this section is a member of a group.  */
     const char *name;
@@ -1771,8 +1768,6 @@ extern asection * _bfd_elf_get_dynamic_reloc_section
   (bfd *, asection *, bfd_boolean);
 extern asection * _bfd_elf_make_dynamic_reloc_section
   (asection *, bfd *, unsigned int, bfd *, bfd_boolean);
-extern asection * _bfd_elf_make_ifunc_reloc_section
-  (bfd *, asection *, bfd *, unsigned int);
 extern long _bfd_elf_get_dynamic_reloc_upper_bound
   (bfd *);
 extern long _bfd_elf_canonicalize_dynamic_reloc
diff --git a/bfd/elf.c b/bfd/elf.c
index 7597d01..70ed765 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -6427,8 +6427,6 @@ Unable to find equivalent output section for symbol '%s' from section '%s'"),
 
       if ((flags & BSF_THREAD_LOCAL) != 0)
 	type = STT_TLS;
-      else if ((flags & BSF_INDIRECT_FUNCTION) != 0)
-	type = STT_IFUNC;
       else if ((flags & BSF_FUNCTION) != 0)
 	type = STT_FUNC;
       else if ((flags & BSF_OBJECT) != 0)
@@ -7122,7 +7120,6 @@ elf_find_function (bfd *abfd ATTRIBUTE_UNUSED,
 	  continue;
 	case STT_NOTYPE:
 	case STT_FUNC:
-	case STT_IFUNC:
 	  if (bfd_get_section (&q->symbol) == section
 	      && q->symbol.value >= low_func
 	      && q->symbol.value <= offset)
@@ -8941,10 +8938,10 @@ _bfd_elf_set_osabi (bfd * abfd,
 
 /* Return TRUE for ELF symbol types that represent functions.
    This is the default version of this function, which is sufficient for
-   most targets.  It returns true if TYPE is STT_FUNC or STT_IFUNC.  */
+   most targets.  It returns true if TYPE is STT_FUNC.  */
 
 bfd_boolean
 _bfd_elf_is_function_type (unsigned int type)
 {


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2008-12-22 18:33 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2008-12-22 18:33 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  076af0f74d1b2713371d122a78df99fe6ea6c98c (commit)
       via  f2f03a7b81be57219bb881817eadbcdfa0ef22ca (commit)
       via  ee5c26141772582db315f9be9f472be50d450599 (commit)
       via  94923161f4aa9c75a27c8f56a68662cef6695713 (commit)
       via  6d5935ce5358685aebb1f3c0717208dfe2bef69c (commit)
       via  11f72c470e70fa4ee116167c5ce66d8b03894c2d (commit)
       via  f89f82d14b41e6a3e1dc549d3bfe693c52033df6 (commit)
       via  de7b18543b60d144347b0a5833eaa06d1142f508 (commit)
       via  01af8f937b250e70a9cbcaac1f4a8081c1310774 (commit)
       via  54cc2aff242becc8a9e18f996f312e037cec1b5e (commit)
       via  a798d62bb189a020d54a39a585f389a9ee2af1f9 (commit)
       via  9ba29a21ccba2a171ace841b92b58bd36373ea8b (commit)
       via  b5d1a9c84a4ed43405660142002ab3cbd7a7b474 (commit)
       via  5485f078197d2218972b39e59f281e3f7d68b6af (commit)
       via  894c4d3cfa4c945504748f7d367ba2d9066d0510 (commit)
       via  6fd0f5e0007de75291ffb509bb484edb668b5fec (commit)
       via  04ffa34daa9ec5479dc309ec31a1b06fc6d9ea10 (commit)
       via  dbec8bd1c21893318cdf3a1f106e1f97c6cc9b7a (commit)
       via  d7cfbc2bb9dbfbfdae0c37b81d1b7ec396a3460e (commit)
       via  2e5763547fb65a9eb02002fb66a27d21f82190fc (commit)
       via  3cfef389e20fdd1681cb58fa3d7106bc88123426 (commit)
       via  46cbdd91e10b097b82869b02c7ecac42b18111c3 (commit)
       via  bb468712c6f3fdd9c273874e266a564152628c92 (commit)
       via  00e185f44528b17369b1a4d43b6b90ceb9d95303 (commit)
       via  2c38a42f5c1db3bfc6c4d92ea5e51e780eba109a (commit)
       via  372545781586f5d9cff43b2026d17c457c17fb31 (commit)
       via  2f9349947773bb6f823ab29b072332596e2d0586 (commit)
       via  6bf4fc327768f938a688a38419411c6bbd92f6da (commit)
       via  9862c7aa88705cd9df15d5b8939ab397c09752b7 (commit)
       via  9afa43afc50c92b23e53f9b9572745e71a0f62bc (commit)
       via  18d5bf202d84cb59601a5c187f92690507758b6c (commit)
       via  d0690d9940e725aab88f7d6159217002dafab60f (commit)
       via  e07cde57529cf055bc33fb56df9ed23e9f621ad2 (commit)
       via  bfc8bde3ca5ed5e461bf3e34f7aa2247ad48fb79 (commit)
       via  695adac1eccc081d2ce31c319b71a0e3df946f5e (commit)
       via  1600c45345cb1439b677b98613d46be3aa85ba9e (commit)
       via  c7aaa97e0a3c0cce11e0f6ba306d5da88c023f1d (commit)
       via  e0f87abb998c458c5387b3ad8e0eeccd57044b28 (commit)
       via  25a94ecf3c8a5bddd5bad79ea9c57fa01b649f27 (commit)
       via  c66188244654f137d2ceacce47b32695e4d7d8e9 (commit)
       via  96ca222c623d0d1542519d28294e6dc70d6ef249 (commit)
       via  4c1258818cbb8f5b63e00d23def80077c950e713 (commit)
       via  6e85aa313469d4d12a7002990bd0066c19380767 (commit)
       via  87f807a8ce30125c9fdcb1dabfad0c518e5594cd (commit)
       via  9fb1647d68ae93c6cd5ef3fb7ba296919a5d06b2 (commit)
       via  24988cb3edc09fa6c3d69947bd59ceaa127cab60 (commit)
       via  bebc621bcc4373d65ff0dc26fda563411621f7e9 (commit)
       via  668893b18357f1ff5c2a52bbfcbe1db5ff51b74f (commit)
       via  5c896fb3370431afa9c7d98a82fae8178865a1c7 (commit)
       via  011395def22c679506b483de9aa8f68e02178fb7 (commit)
       via  645c834f57c6117eb381fd6c781d4de54918675f (commit)
       via  49b0e175117b79282d73a007e858747dce1352df (commit)
       via  9e3c9b86cf7b0713cf1480d0c6488f5051425f0a (commit)
       via  6b96c9a3f78b7128e397bcfde4bc6e5501344eba (commit)
       via  39f8b9ff6c5208a54f765b19b4a1738b9c237182 (commit)
       via  a5a60c19055838698f459f03715ca1ba6a9ccfc1 (commit)
       via  772c9c1d0a70440295c6cf1e21be494c7b797ea8 (commit)
       via  25071386e8e8db4c93075249ef221c98f3298e9f (commit)
       via  159545d661ac64df03fb89d90db249ce48dc0a0b (commit)
       via  3ee2fe6b0783da17e2b0b58304fac41a9027945b (commit)
       via  b7681b5e27511b6e714c253ab8a8381eaff0052d (commit)
       via  12827e561be554ec5830e0e5eb96d129c25afb71 (commit)
       via  994251cd6164ec4fac1927eb8dcb513eded00fb5 (commit)
       via  ee45b7b81717a8f9b521a11b6d67377b2a12b5f1 (commit)
       via  d2700f1acc567abf034abb6a683a8782478ca4af (commit)
       via  002164ed870bff432669d55d4456eeeccbd2857b (commit)
       via  2f3a28dafacdd658ddf59bb7312a32645dc91a2d (commit)
       via  377ea3da879c2ac8b4d33137ac8f40804feeb2da (commit)
       via  2b9474d6a76d1fcc9fde5198f48967f96b251a1a (commit)
       via  a875acb4a45b744d5354f7aa4aea08be4f456357 (commit)
       via  f196d76fae27a6d88832743e28c7a7bf9c8abff7 (commit)
       via  ad845052245e1306347274daeed5874ca90f8c4c (commit)
       via  ee42d69e173ca6f58594c3b16a1ce00bf6a5fffa (commit)
       via  56f6e3676173c9a41dc4ed227a8450550cec718c (commit)
      from  6f19b1c2d34a9f9cd3725481a7e69a29941e8f71 (commit)

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

- Log -----------------------------------------------------------------
commit 076af0f74d1b2713371d122a78df99fe6ea6c98c
Merge: 6f19b1c2d34a9f9cd3725481a7e69a29941e8f71 f2f03a7b81be57219bb881817eadbcdfa0ef22ca
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Dec 22 19:19:02 2008 +0100

    Merge commit 'origin/master' into archer-jankratochvil-misc

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

Summary of changes:
 COPYING.LIBGLOSS                                   |   24 +
 COPYING.NEWLIB                                     |  129 +
 ChangeLog                                          |   38 +
 bfd/ChangeLog                                      |   48 +
 bfd/bfd-in2.h                                      |    1 +
 bfd/configure                                      |   93 +-
 bfd/elf32-cris.c                                   |  273 +-
 bfd/elf64-ppc.c                                    |    4 +-
 bfd/libbfd.h                                       |    1 +
 bfd/reloc.c                                        |    2 +
 bfd/version.h                                      |    2 +-
 config.guess                                       |    4 +-
 config.sub                                         |   10 +-
 configure                                          |    4 +-
 configure.ac                                       |    4 +-
 gdb/ChangeLog                                      |  171 +
 gdb/ada-lang.c                                     |   25 +-
 gdb/breakpoint.c                                   |   36 +-
 gdb/c-exp.y                                        |  269 +-
 gdb/c-lang.c                                       |  113 +-
 gdb/c-lang.h                                       |    7 -
 gdb/cli/cli-decode.c                               |   48 +-
 gdb/completer.c                                    |    4 +-
 gdb/dbxread.c                                      |   13 +
 gdb/doc/ChangeLog                                  |   13 +
 gdb/doc/gdb.texinfo                                |   31 +-
 gdb/dwarf2expr.c                                   |   14 +
 gdb/environ.c                                      |    1 +
 gdb/gdbserver/ChangeLog                            |   22 +
 gdb/gdbserver/hostio.c                             |    6 +-
 gdb/gdbserver/inferiors.c                          |    8 +-
 gdb/gdbserver/linux-low.c                          |   21 +-
 gdb/gdbserver/mem-break.c                          |    2 +-
 gdb/gdbserver/regcache.c                           |    4 +-
 gdb/gdbserver/remote-utils.c                       |   12 +-
 gdb/gdbserver/server.c                             |   32 +-
 gdb/gdbserver/server.h                             |   11 +
 gdb/gdbserver/target.c                             |    4 +-
 gdb/gdbserver/utils.c                              |   57 +
 gdb/gdbserver/win32-low.c                          |    2 +-
 gdb/gnu-v3-abi.c                                   |   16 +-
 gdb/inf-ptrace.c                                   |    4 +-
 gdb/inf-ttrace.c                                   |    2 -
 gdb/infcmd.c                                       |  119 +-
 gdb/inferior.h                                     |    4 -
 gdb/inflow.c                                       |   62 -
 gdb/infrun.c                                       |   46 +-
 gdb/linux-fork.c                                   |    9 +-
 gdb/linux-nat.c                                    |   12 +-
 gdb/linux-thread-db.c                              |    4 +-
 gdb/m32c-tdep.c                                    |   14 +
 gdb/macrocmd.c                                     |   10 +-
 gdb/macroexp.c                                     |   18 +-
 gdb/remote.c                                       |   64 +-
 gdb/rs6000-nat.c                                   |    4 +-
 gdb/spu-linux-nat.c                                |    4 +-
 gdb/target.c                                       |    4 -
 gdb/target.h                                       |    9 -
 gdb/testsuite/ChangeLog                            |   44 +
 gdb/testsuite/gdb.arch/ppc-fp.exp                  |    3 -
 gdb/testsuite/gdb.arch/vsx-regs.exp                |    3 -
 gdb/testsuite/gdb.base/commands.exp                |   35 +
 gdb/testsuite/gdb.base/completion.exp              |   18 +
 gdb/testsuite/gdb.base/consecutive.exp             |    5 -
 gdb/testsuite/gdb.base/expand-psymtabs.c           |    7 +-
 gdb/testsuite/gdb.base/macscp.exp                  |   12 +
 gdb/testsuite/gdb.base/macscp1.c                   |   14 +
 .../{expand-psymtabs.c => watchpoint-hw.c}         |   21 +-
 gdb/testsuite/gdb.base/watchpoint-hw.exp           |   52 +
 gdb/testsuite/gdb.cp/punctuator.exp                |   52 +
 gdb/testsuite/gdb.gdbtk/browser.test               |    3 -
 gdb/testsuite/gdb.gdbtk/console.test               |    3 -
 gdb/testsuite/gdb.gdbtk/srcwin.test                |    3 -
 gdb/testsuite/gdb.gdbtk/srcwin2.test               |    3 -
 gdb/testsuite/gdb.gdbtk/srcwin3.test               |    3 -
 gdb/testsuite/gdb.gdbtk/windows.test               |    3 -
 gdb/testsuite/gdb.threads/tls2.c                   |    5 +-
 gdb/version.in                                     |    2 +-
 include/ChangeLog                                  |    5 +
 include/demangle.h                                 |   13 +
 include/elf/ChangeLog                              |    4 +
 include/elf/cris.h                                 |    5 +
 libiberty/ChangeLog                                |   18 +
 libiberty/cp-demangle.c                            |   41 +-
 libtool.m4                                         |   85 +-
 opcodes/ChangeLog                                  |   70 +
 opcodes/arm-dis.c                                  |  183 +-
 opcodes/configure                                  |   93 +-
 opcodes/i386-dis.c                                 |  253 +-
 opcodes/i386-gen.c                                 |    1 +
 opcodes/i386-opc.h                                 |    5 +-
 opcodes/i386-opc.tbl                               |   56 +-
 opcodes/i386-tbl.h                                 |14852 ++++++++++----------
 sim/ppc/ChangeLog                                  |    5 +
 sim/ppc/ppc-instructions                           |    8 +
 sim/ppc/ppc-spr-table                              |    2 +
 96 files changed, 9523 insertions(+), 8435 deletions(-)
 copy gdb/testsuite/gdb.base/{expand-psymtabs.c => watchpoint-hw.c} (79%)
 create mode 100644 gdb/testsuite/gdb.base/watchpoint-hw.exp
 create mode 100644 gdb/testsuite/gdb.cp/punctuator.exp

First 500 lines of diff:
diff --git a/COPYING.LIBGLOSS b/COPYING.LIBGLOSS
index bc64c24..b4d657e 100644
--- a/COPYING.LIBGLOSS
+++ b/COPYING.LIBGLOSS
@@ -204,3 +204,27 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGE.
 
+(12) Jon Beniston (only lm32-* targets)
+
+ Contributed by Jon Beniston <jon@beniston.com>
+ 
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
diff --git a/COPYING.NEWLIB b/COPYING.NEWLIB
index 24c34cb..b3cccd8 100644
--- a/COPYING.NEWLIB
+++ b/COPYING.NEWLIB
@@ -637,4 +637,133 @@ SUCH DAMAGE.
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
 
+(30) - Alex Tatmanjants (targets using libc/posix)
 
+  Copyright (c) 1995 Alex Tatmanjants <alex@elvisti.kiev.ua>
+ 		at Electronni Visti IA, Kiev, Ukraine.
+ 			All rights reserved.
+ 
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+ 
+  THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
+  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+  ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE
+  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+  SUCH DAMAGE.
+
+(31) - M. Warner Losh (targets using libc/posix)
+
+  Copyright (c) 1998, M. Warner Losh <imp@freebsd.org>
+  All rights reserved.
+ 
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+ 
+  THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+  ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+  SUCH DAMAGE.
+
+(32) - Andrey A. Chernov (targets using libc/posix)
+
+  Copyright (C) 1996 by Andrey A. Chernov, Moscow, Russia.
+  All rights reserved.
+ 
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+ 
+  THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
+  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+  ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+  SUCH DAMAGE.
+
+(33) - Daniel Eischen (targets using libc/posix)
+
+  Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>.
+  All rights reserved.
+ 
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+ 
+  THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+  ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+  SUCH DAMAGE.
+
+
+(34) - Jon Beniston (only lm32-* targets)
+
+ Contributed by Jon Beniston <jon@beniston.com>
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
diff --git a/ChangeLog b/ChangeLog
index 382c2ba..9ee88bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,41 @@
+2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Backport link test fix from upstream Libtool:
+
+	* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS):
+	Add cache variables to tests that require the linker to work.
+	For shlibpath_overrides_runpath, this also changes the semantics
+	to let the result from the C compiler take precedence.
+	compiler take precedence.
+
+2008-12-02  Ben Elliston  <bje@au.ibm.com>
+
+	* config.sub, config.guess: Update from upstream sources.
+
+2008-12-17  Jeff Johnston  <jjohnstn@redhat.com>
+
+	* COPYING.NEWLIB: Updated.
+	* COPYING.LIBGLOSS: Ditto.
+
+2008-12-16  Paolo Bonzini  <bonzini@gnu.org>
+
+	Sync with GCC:
+
+	2008-12-12  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* configure.ac (ppllibs): Add by default the lib flags.
+	* configure: Regenerate.
+
+	2008-12-04  Jack Howarth  <howarth@bromo.med.uc.edu>
+
+        * configure.ac: Add double brackets on darwin[912].
+        * configure: Regenerate.
+
+	2008-12-02  Jack Howarth  <howarth@bromo.med.uc.edu>
+
+        * configure.ac: Expand to darwin10 and later.
+        * configure: Regenerate.
+
 2008-12-02  Andreas Schwab  <schwab@suse.de>
 
 	* Makefile.def: configure-target-boehm-gc depends on
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 704a418..6cd350f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,51 @@
+2008-12-20  Hans-Peter Nilsson  <hp@axis.com>
+
+	* elf32-cris.c 	(cris_elf_howto_table): Add entry for R_CRIS_32_IE.
+	(cris_reloc_map): Similarly.
+	(cris_elf_relocate_section, cris_elf_gc_sweep_hook)
+	(cris_elf_check_relocs): Handle R_CRIS_32_IE.
+	* reloc.c (bfd_reloc_code_type): Add entry for R_CRIS_32_IE.
+	* bfd-in2.h, libbfd.h: Regenerate.
+
+2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* configure: Regenerate.
+
+2008-12-17  Hans-Peter Nilsson  <hp@axis.com>
+
+	* elf32-cris.c (elf_cris_copy_indirect_symbol): Return without
+	action for symbols other than bfd_link_hash_indirect.
+	(cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missing
+	gate h != NULL for h->def_regular test.
+
+2008-12-15  Hans-Peter Nilsson  <hp@axis.com>
+
+	* elf32-cris.c (elf_cris_copy_indirect_symbol): New function.
+	(elf_backend_copy_indirect_symbol): Define to above.
+
+	* elf32-cris.c (struct elf_cris_pcrel_relocs_copied): New member
+	r_type.  Fix formatting.
+	(cris_elf_relocate_section) <R_CRIS_8_PCREL, R_CRIS_16_PCREL>
+	<R_CRIS_32_PCREL>: Also break early if the symbol doesn't get
+	emitted as a dynamic one.
+	(cris_elf_check_relocs) <R_CRIS_7, R_CRIS_16, R_CRIS_32>: Fork
+	from PCREL relocs code and simplify; don't fall through.
+	<R_CRIS_8_PCREL, R_CRIS_16_PCREL, R_CRIS_32_PCREL>: Simplify for
+	pcrel only.  For non-local or overridable symbols in a DSO, always
+	keep count of relocs, not just when -Bsymbolic.  Don't emit
+	message nor mark as TEXTREL here.
+	(elf_cris_discard_excess_dso_dynamics): Emit warning and mark as
+	TEXTREL here, if there are nondiscarded pcrel relocs.
+
+	* elf32-cris.c (elf_cris_got_elt_size) <symtab_hdr>: Initialize
+	using ibfd, not abfd.
+
+2008-12-11  Alan Modra  <amodra@bigpond.net.au>
+
+	PR 7041
+	* elf64-ppc.c (func_desc_adjust): Correct logic making fake function
+	descriptors.  Similarly correct making function descriptors dynamic.
+
 2008-12-10  Alan Modra  <amodra@bigpond.net.au>
 
 	* elf32-spu.h (struct spu_elf_params): Add num_regions.
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index b1451c9..37c24b7 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -4213,6 +4213,7 @@ This is the 5 bits of a value.  */
   BFD_RELOC_CRIS_32_TPREL,
   BFD_RELOC_CRIS_16_TPREL,
   BFD_RELOC_CRIS_DTPMOD,
+  BFD_RELOC_CRIS_32_IE,
 
 /* Intel i860 Relocations.  */
   BFD_RELOC_860_COPY,
diff --git a/bfd/configure b/bfd/configure
index 8ff1234..0a1ce6c 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -9824,44 +9824,50 @@ x|xyes)
       # to ld, don't add -lc before -lgcc.
       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
-      $RM conftest*
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  $RM conftest*
+	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
-      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+	if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } 2>conftest.err; then
-        soname=conftest
-        lib=conftest
-        libobjs=conftest.$ac_objext
-        deplibs=
-        wl=$lt_prog_compiler_wl
-	pic_flag=$lt_prog_compiler_pic
-        compiler_flags=-v
-        linker_flags=-v
-        verstring=
-        output_objdir=.
-        libname=conftest
-        lt_save_allow_undefined_flag=$allow_undefined_flag
-        allow_undefined_flag=
-        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
+	  soname=conftest
+	  lib=conftest
+	  libobjs=conftest.$ac_objext
+	  deplibs=
+	  wl=$lt_prog_compiler_wl
+	  pic_flag=$lt_prog_compiler_pic
+	  compiler_flags=-v
+	  linker_flags=-v
+	  verstring=
+	  output_objdir=.
+	  libname=conftest
+	  lt_save_allow_undefined_flag=$allow_undefined_flag
+	  allow_undefined_flag=
+	  if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }
-        then
-	  archive_cmds_need_lc=no
-        else
-	  archive_cmds_need_lc=yes
-        fi
-        allow_undefined_flag=$lt_save_allow_undefined_flag
-      else
-        cat conftest.err 1>&5
-      fi
-      $RM conftest*
-      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
-echo "${ECHO_T}$archive_cmds_need_lc" >&6
+	  then
+	    lt_cv_archive_cmds_need_lc=no
+	  else
+	    lt_cv_archive_cmds_need_lc=yes
+	  fi
+	  allow_undefined_flag=$lt_save_allow_undefined_flag
+	else
+	  cat conftest.err 1>&5
+	fi
+	$RM conftest*
+
+fi
+echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
+echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
+      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
       ;;
     esac
   fi
@@ -10441,12 +10447,17 @@ linux* | k*bsd*-gnu)
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=no
+
   # Some binutils ld are patched to set DT_RUNPATH
-  save_LDFLAGS=$LDFLAGS
-  save_libdir=$libdir
-  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
-       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
-  cat >conftest.$ac_ext <<_ACEOF
+  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  lt_cv_shlibpath_overrides_runpath=no
+    save_LDFLAGS=$LDFLAGS
+    save_libdir=$libdir
+    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
+	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
+    cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat confdefs.h >>conftest.$ac_ext
@@ -10484,7 +10495,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
-  shlibpath_overrides_runpath=yes
+  lt_cv_shlibpath_overrides_runpath=yes
 fi
 
 else
@@ -10494,8 +10505,12 @@ sed 's/^/| /' conftest.$ac_ext >&5
 fi
 rm -f conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
-  LDFLAGS=$save_LDFLAGS
-  libdir=$save_libdir
+    LDFLAGS=$save_LDFLAGS
+    libdir=$save_libdir
+
+fi
+
+  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
   # This implies no fast_install, which is unacceptable.
   # Some rework will be needed to allow for fast_install
@@ -11455,7 +11470,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11458 "configure"
+#line 11473 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11551,7 +11566,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11554 "configure"
+#line 11569 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c
index 72916f2..c297689 100644
--- a/bfd/elf32-cris.c
+++ b/bfd/elf32-cris.c
@@ -436,7 +436,8 @@ static reloc_howto_type cris_elf_howto_table [] =
   TLSHOWTO16S (R_CRIS_16_GOT_TPREL),
   TLSHOWTO32 (R_CRIS_32_TPREL),
   TLSHOWTO16S (R_CRIS_16_TPREL),
-  TLSHOWTO32 (R_CRIS_DTPMOD)
+  TLSHOWTO32 (R_CRIS_DTPMOD),
+  TLSHOWTO32 (R_CRIS_32_IE)
 };
 \f
 /* Map BFD reloc types to CRIS ELF reloc types.  */
@@ -479,7 +480,8 @@ static const struct cris_reloc_map cris_reloc_map [] =
   { BFD_RELOC_CRIS_16_GOT_TPREL, R_CRIS_16_GOT_TPREL },
   { BFD_RELOC_CRIS_32_TPREL,	R_CRIS_32_TPREL },
   { BFD_RELOC_CRIS_16_TPREL,	R_CRIS_16_TPREL },
-  { BFD_RELOC_CRIS_DTPMOD,	R_CRIS_DTPMOD }
+  { BFD_RELOC_CRIS_DTPMOD,	R_CRIS_DTPMOD },
+  { BFD_RELOC_CRIS_32_IE,	R_CRIS_32_IE }
 };
 
 static reloc_howto_type *
@@ -794,10 +796,15 @@ struct elf_cris_pcrel_relocs_copied
 {
   /* Next section.  */
   struct elf_cris_pcrel_relocs_copied *next;
+
   /* A section in dynobj.  */
   asection *section;
+
   /* Number of relocs copied in this section.  */
   bfd_size_type count;
+
+  /* Example of reloc being copied, for message.  */
+  enum elf_cris_reloc_type r_type;
 };
 
 /* CRIS ELF linker hash entry.  */
@@ -1474,7 +1481,8 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section,
 	case R_CRIS_16_PCREL:
 	case R_CRIS_32_PCREL:
 	  /* If the symbol was local, we need no shlib-specific handling.  */
-	  if (h == NULL || ELF_ST_VISIBILITY (h->other) != STV_DEFAULT)
+	  if (h == NULL || ELF_ST_VISIBILITY (h->other) != STV_DEFAULT
+	      || h->dynindx == -1)
 	    break;
 
 	  /* Fall through.  */
@@ -1488,7 +1496,7 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section,
 		   && r_type != R_CRIS_16_PCREL
 		   && r_type != R_CRIS_32_PCREL)
 		  || (!info->symbolic
-		      || !h->def_regular)))
+		      || (h != NULL && !h->def_regular))))
 	    {
 	      Elf_Internal_Rela outrel;
 	      bfd_byte *loc;
@@ -1826,6 +1834,17 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section,
 	     the GOT entry.  */
 	  break;
 
+	case R_CRIS_32_IE:
+	  if (info->shared)
+	    {
+	      bfd_set_error (bfd_error_invalid_operation);


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2008-12-14 23:51 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2008-12-14 23:51 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  a5ef33ef94775a5bdd201806ddf36d2671e6a866 (commit)
       via  17ec07b78f28e400d2e839d732abc94a6cb3ae2f (commit)
       via  2ba1a5ccb3799e993fd59088955b46d3a2647ceb (commit)
       via  bcc4841ed5d1365ce8e51fdb07afdfe5e8b114ec (commit)
       via  9d0ff7b457f2022cbcd2da11d1783348e2d36a33 (commit)
       via  3a70e03ee3b26bf0193ca88e5d211c87c7c8535f (commit)
       via  8a3ada7cdf8d989359bc5a94125c632117a2942c (commit)
       via  9cb769c44ee29cdc01a445a701df041aae7de528 (commit)
       via  95f1a6166a530ac07837b3f3111da3f8b76e7eee (commit)
       via  6641e3e244876f0f1e93f32e2bd4b5e274e057d5 (commit)
       via  0b104d2741b7f42029e74984b7a3ae8ef97cfebb (commit)
       via  f9fe8e1a40bb54ce88075b918d8be1a1566c6a48 (commit)
       via  df4a0b9abc3290af89ca9025b1c4a5ea00fbd345 (commit)
       via  d4a93591c374490bdf974cb170efb8a49c86fcc6 (commit)
       via  4a15fb5a73b2ddc4d6449c6dad79e1082301db46 (commit)
       via  2b0889d13c54d273bcb7688080ba231fbca96243 (commit)
       via  2d720676aece106042aecd9dbbc658d93c1d814d (commit)
       via  b9b2df2e314d7db4ea3a5c3c8c00139db22e862f (commit)
       via  215063195ce04893ac22d83dfda12db2080cd614 (commit)
       via  90b65158d7c9efbcc97386de78b37fdc87e65df1 (commit)
       via  bc330b88fd18fac168518b965fed937ba537371d (commit)
       via  92d4fad88b6f77282ef69e039660817aece6b2bd (commit)
       via  7dbe32ffbc835ecd38e06b2a3fe098e888889154 (commit)
       via  990d890a845dd2d8c84a44540a3318c66881bcda (commit)
       via  2ca21c55c0ac4e968a77500ec6ecc8d9710c5c7b (commit)
       via  ec39a377f6b2636a2b1d6698ef03c0cc38e7e709 (commit)
       via  4a74550b41e81a3d763d86c9a350aa5b0403b9c1 (commit)
      from  2af2bfaa1c59088a25d4cf5b11d0e6bc061e5474 (commit)

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

- Log -----------------------------------------------------------------
commit a5ef33ef94775a5bdd201806ddf36d2671e6a866
Merge: 2af2bfaa1c59088a25d4cf5b11d0e6bc061e5474 17ec07b78f28e400d2e839d732abc94a6cb3ae2f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Dec 15 00:46:51 2008 +0100

    Merge commit 'origin/master' into archer-jankratochvil-misc

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

Summary of changes:
 bfd/ChangeLog                       |   51 +++
 bfd/cpu-avr.c                       |    8 +-
 bfd/elf32-spu.c                     |  669 ++++++++++++++++++-----------------
 bfd/elf32-spu.h                     |   64 +++-
 bfd/pef.c                           |    2 +-
 bfd/version.h                       |    2 +-
 gdb/ChangeLog                       |   47 +++
 gdb/acinclude.m4                    |    3 +
 gdb/breakpoint.c                    |   26 +-
 gdb/cli/cli-decode.c                |   92 ++++--
 gdb/cli/cli-decode.h                |    8 +-
 gdb/command.h                       |    2 -
 gdb/config.in                       |    9 +
 gdb/configure                       |   69 ++++-
 gdb/configure.ac                    |    5 +-
 gdb/gdbserver/ChangeLog             |    6 +
 gdb/gdbserver/linux-low.h           |    1 -
 gdb/gdbserver/thread-db.c           |    2 -
 gdb/infcmd.c                        |   14 +-
 gdb/python/python-value.c           |    4 +-
 gdb/remote.c                        |    4 +-
 gdb/testsuite/ChangeLog             |    5 +
 gdb/testsuite/gdb.base/commands.exp |   30 ++
 gdb/version.in                      |    2 +-
 opcodes/ChangeLog                   |    8 +
 opcodes/i386-dis.c                  |    1 -
 opcodes/i386-gen.c                  |    2 +-
 27 files changed, 739 insertions(+), 397 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index dd67ef2..704a418 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,54 @@
+2008-12-10  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf32-spu.h (struct spu_elf_params): Add num_regions.
+	* elf32-spu.c (spu_elf_auto_overlay): Handle multiple overlay regions.
+
+2008-12-10  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf32-spu.g (struct spu_elf_params, enum _ovly_flavour): New.
+	(spu_elf_setup): Declare.
+	(spu_elf_create_sections, spu_elf_size_stubs): Update prototype.
+	(spu_elf_build_stubs, spu_elf_check_vma): Likewise.
+	* elf32-spu.c (struct spu_link_hash_table): Add "params". Remove
+	various other fields now in "params".  Adjust code throughout.
+	(struct call_info, struct function_info): Move earlier in file.
+	(struct spu_elf_stack_info): Likewise.
+	(spu_elf_setup): New function.
+	(spu_elf_create_sections): Remove args other than "info".
+	(spu_elf_size_stubs, spu_elf_build_stubs, spu_elf_check_vma): Likewise.
+	(maybe_needs_stubs): Remove "output_bfd" arg.  Adjust all calls.
+	(interesting_section): Similarly with "obfd" arg.
+	(needs_ovl_stub): Adjust output_section test.
+	(allocate_spuear_stubs): Likewise.
+	(OVL_STUB_SIZE): Don't define.
+	(ovl_stub_size): New function, use in place of OVL_STUB_SIZE.
+	(build_stub): Test params->ovly_flavour rather than OVL_STUB_SIZE.
+	(spu_elf_auto_overlay): Remove args other than "info".  Make use
+	of size returned from spu_elf_load_ovl_mgr.
+	(spu_elf_stack_analysis): Remove args other than "info".
+	(spu_elf_relocate_section): Tidy setting of "ea".
+
+2008-12-10  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf32-spu.c (find_function_stack_adjust): Don't limit number
+	of insns scanned.  Correct sp tests.  Handle "fsmbi" and "andbi".
+	(mark_detached_root): New function.
+	(build_call_tree): Call it.
+	(sort_calls): Don't do void* arithmetic.
+	(define_ovtab_symbol): Don't abort on symbols defined in linker scripts.
+	(discover_functions): Consider STT_SECTION symbols too.
+	(collect_lib_sections): Don't cut short call tree traversal
+	when function size is too large.
+
+2008-12-09  Tom Tromey  <tromey@redhat.com>
+
+	* pef.c (bfd_pef_parse_traceback_table): Add parens to placate gcc
+	4.4.
+
+2008-12-09  Tristan Gingold  <gingold@adacore.com>
+
+	* cpu-avr.c (compatible): Makes avr-6 compatible only with itself.
+
 2008-12-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 	
 	* elf64-s390.c (elf_s390_check_relocs): Initialize
diff --git a/bfd/cpu-avr.c b/bfd/cpu-avr.c
index 364f64e..ddc410b 100644
--- a/bfd/cpu-avr.c
+++ b/bfd/cpu-avr.c
@@ -38,7 +38,13 @@ compatible (const bfd_arch_info_type * a,
   if (a->mach == b->mach)
     return a;
 
-  if (a->mach <= bfd_mach_avr6 && b->mach <= bfd_mach_avr6)
+  /* avr-6 is compatible only with itself as its call convention is not
+     compatible with other avr (the mcu saves the return address on 3 bytes
+     instead of 2).  */
+  if (a->mach == bfd_mach_avr6 || b->mach == bfd_mach_avr6)
+    return NULL;
+
+  if (a->mach < bfd_mach_avr6 && b->mach < bfd_mach_avr6)
     {
       /* Special case for ATmega[16]03 (avr:3) and ATmega83 (avr:4).  */
       if ((a->mach == bfd_mach_avr3 && b->mach == bfd_mach_avr4)
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c
index 708ab24..447aa8d 100644
--- a/bfd/elf32-spu.c
+++ b/bfd/elf32-spu.c
@@ -297,6 +297,8 @@ struct spu_link_hash_table
 {
   struct elf_link_hash_table elf;
 
+  struct spu_elf_params *params;
+
   /* Shortcuts to overlay sections.  */
   asection *ovtab;
   asection *toe;
@@ -333,34 +335,8 @@ struct spu_link_hash_table
   /* Count of overlay stubs needed in non-overlay area.  */
   unsigned int non_ovly_stub;
 
-  /* Stash various callbacks for --auto-overlay.  */
-  void (*spu_elf_load_ovl_mgr) (void);
-  FILE *(*spu_elf_open_overlay_script) (void);
-  void (*spu_elf_relink) (void);
-
-  /* Bit 0 set if --auto-overlay.
-     Bit 1 set if --auto-relink.
-     Bit 2 set if --overlay-rodata.  */
-  unsigned int auto_overlay : 3;
-#define AUTO_OVERLAY 1
-#define AUTO_RELINK 2
-#define OVERLAY_RODATA 4
-
-  /* Set if we should emit symbols for stubs.  */
-  unsigned int emit_stub_syms:1;
-
-  /* Set if we want stubs on calls out of overlay regions to
-     non-overlay regions.  */
-  unsigned int non_overlay_stubs : 1;
-
   /* Set on error.  */
   unsigned int stub_err : 1;
-
-  /* Set if stack size analysis should be done.  */
-  unsigned int stack_analysis : 1;
-
-  /* Set if __stack_* syms will be emitted.  */
-  unsigned int emit_stack_syms : 1;
 };
 
 /* Hijack the generic got fields for overlay stub accounting.  */
@@ -376,6 +352,69 @@ struct got_entry
 #define spu_hash_table(p) \
   ((struct spu_link_hash_table *) ((p)->hash))
 
+struct call_info
+{
+  struct function_info *fun;
+  struct call_info *next;
+  unsigned int count;
+  unsigned int max_depth;
+  unsigned int is_tail : 1;
+  unsigned int is_pasted : 1;
+};
+
+struct function_info
+{
+  /* List of functions called.  Also branches to hot/cold part of
+     function.  */
+  struct call_info *call_list;
+  /* For hot/cold part of function, point to owner.  */
+  struct function_info *start;
+  /* Symbol at start of function.  */
+  union {
+    Elf_Internal_Sym *sym;
+    struct elf_link_hash_entry *h;
+  } u;
+  /* Function section.  */
+  asection *sec;
+  asection *rodata;
+  /* Where last called from, and number of sections called from.  */
+  asection *last_caller;
+  unsigned int call_count;
+  /* Address range of (this part of) function.  */
+  bfd_vma lo, hi;
+  /* Stack usage.  */
+  int stack;
+  /* Distance from root of call tree.  Tail and hot/cold branches
+     count as one deeper.  We aren't counting stack frames here.  */
+  unsigned int depth;
+  /* Set if global symbol.  */
+  unsigned int global : 1;
+  /* Set if known to be start of function (as distinct from a hunk
+     in hot/cold section.  */
+  unsigned int is_func : 1;
+  /* Set if not a root node.  */
+  unsigned int non_root : 1;
+  /* Flags used during call tree traversal.  It's cheaper to replicate
+     the visit flags than have one which needs clearing after a traversal.  */
+  unsigned int visit1 : 1;
+  unsigned int visit2 : 1;
+  unsigned int marking : 1;
+  unsigned int visit3 : 1;
+  unsigned int visit4 : 1;
+  unsigned int visit5 : 1;
+  unsigned int visit6 : 1;
+  unsigned int visit7 : 1;
+};
+
+struct spu_elf_stack_info
+{
+  int num_fun;
+  int max_fun;
+  /* Variable size array describing functions, one per contiguous
+     address range belonging to a function.  */
+  struct function_info fun[1];
+};
+
 /* Create a spu ELF linker hash table.  */
 
 static struct bfd_link_hash_table *
@@ -405,6 +444,13 @@ spu_elf_link_hash_table_create (bfd *abfd)
   return &htab->elf.root;
 }
 
+void
+spu_elf_setup (struct bfd_link_info *info, struct spu_elf_params *params)
+{
+  struct spu_link_hash_table *htab = spu_hash_table (info);
+  htab->params = params;
+}
+
 /* Find the symbol for the given R_SYMNDX in IBFD and set *HP and *SYMP
    to (hash, NULL) for global symbols, and (NULL, sym) for locals.  Set
    *SYMSECP to the symbol's section.  *LOCSYMSP caches local syms.  */
@@ -479,16 +525,9 @@ get_sym_h (struct elf_link_hash_entry **hp,
    that the linker maps the sections to the right place in the output.  */
 
 bfd_boolean
-spu_elf_create_sections (struct bfd_link_info *info,
-			 int stack_analysis,
-			 int emit_stack_syms)
+spu_elf_create_sections (struct bfd_link_info *info)
 {
   bfd *ibfd;
-  struct spu_link_hash_table *htab = spu_hash_table (info);
-
-  /* Stash some options away where we can get at them later.  */
-  htab->stack_analysis = stack_analysis;
-  htab->emit_stack_syms = emit_stack_syms;
 
   for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
     if (bfd_get_section_by_name (ibfd, SPU_PTNOTE_SPUNAME) != NULL)
@@ -626,13 +665,6 @@ spu_elf_find_overlays (struct bfd_link_info *info)
   return ovl_index != 0;
 }
 
-/* Support two sizes of overlay stubs, a slower more compact stub of two
-   intructions, and a faster stub of four instructions.  */
-#ifndef OVL_STUB_SIZE
-/* Default to faster.  */
-#define OVL_STUB_SIZE 16
-/* #define OVL_STUB_SIZE 8 */
-#endif
 #define BRSL	0x33000000
 #define BR	0x32000000
 #define NOP	0x40200000
@@ -684,15 +716,14 @@ is_hint (const unsigned char *insn)
 /* True if INPUT_SECTION might need overlay stubs.  */
 
 static bfd_boolean
-maybe_needs_stubs (asection *input_section, bfd *output_bfd)
+maybe_needs_stubs (asection *input_section)
 {
   /* No stubs for debug sections and suchlike.  */
   if ((input_section->flags & SEC_ALLOC) == 0)
     return FALSE;
 
   /* No stubs for link-once sections that will be discarded.  */
-  if (input_section->output_section == NULL
-      || input_section->output_section->owner != output_bfd)
+  if (input_section->output_section == bfd_abs_section_ptr)
     return FALSE;
 
   /* Don't create stubs for .eh_frame references.  */
@@ -729,8 +760,7 @@ needs_ovl_stub (struct elf_link_hash_entry *h,
   enum _stub_type ret = no_stub;
 
   if (sym_sec == NULL
-      || sym_sec->output_section == NULL
-      || sym_sec->output_section->owner != info->output_bfd
+      || sym_sec->output_section == bfd_abs_section_ptr
       || spu_elf_section_data (sym_sec->output_section) == NULL)
     return ret;
 
@@ -750,7 +780,7 @@ needs_ovl_stub (struct elf_link_hash_entry *h,
 
   /* Usually, symbols in non-overlay sections don't need stubs.  */
   if (spu_elf_section_data (sym_sec->output_section)->u.o.ovl_index == 0
-      && !htab->non_overlay_stubs)
+      && !htab->params->non_overlay_stubs)
     return ret;
 
   if (h != NULL)
@@ -911,6 +941,15 @@ count_stub (struct spu_link_hash_table *htab,
   return TRUE;
 }
 
+/* Support two sizes of overlay stubs, a slower more compact stub of two
+   intructions, and a faster stub of four instructions.  */
+
+static unsigned int
+ovl_stub_size (enum _ovly_flavour ovly_flavour)
+{
+  return 8 << ovly_flavour;
+}
+
 /* Two instruction overlay stubs look like:
 
    brsl $75,__ovly_load
@@ -936,10 +975,10 @@ build_stub (struct spu_link_hash_table *htab,
 	    bfd_vma dest,
 	    asection *dest_sec)
 {
-  unsigned int ovl;
+  unsigned int ovl, dest_ovl;
   struct got_entry *g, **head;
   asection *sec;
-  bfd_vma addend, val, from, to;
+  bfd_vma addend, from, to;
 
   ovl = 0;
   if (stub_type != nonovl_stub)
@@ -973,42 +1012,40 @@ build_stub (struct spu_link_hash_table *htab,
   to = (htab->ovly_load->root.u.def.value
 	+ htab->ovly_load->root.u.def.section->output_offset
 	+ htab->ovly_load->root.u.def.section->output_section->vma);
-  val = to - from;
-  if (OVL_STUB_SIZE == 16)
-    val -= 12;
-  if (((dest | to | from) & 3) != 0
-      || val + 0x40000 >= 0x80000)
+
+  if (((dest | to | from) & 3) != 0)
     {
       htab->stub_err = 1;
       return FALSE;
     }
-  ovl = spu_elf_section_data (dest_sec->output_section)->u.o.ovl_index;
+  dest_ovl = spu_elf_section_data (dest_sec->output_section)->u.o.ovl_index;
 
-  if (OVL_STUB_SIZE == 16)
+  switch (htab->params->ovly_flavour)
     {
-      bfd_put_32 (sec->owner, ILA + ((ovl << 7) & 0x01ffff80) + 78,
+    case ovly_normal:
+      bfd_put_32 (sec->owner, ILA + ((dest_ovl << 7) & 0x01ffff80) + 78,
 		  sec->contents + sec->size);
       bfd_put_32 (sec->owner, LNOP,
 		  sec->contents + sec->size + 4);
       bfd_put_32 (sec->owner, ILA + ((dest << 7) & 0x01ffff80) + 79,
 		  sec->contents + sec->size + 8);
-      bfd_put_32 (sec->owner, BR + ((val << 5) & 0x007fff80),
+      bfd_put_32 (sec->owner, BR + (((to - (from + 12)) << 5) & 0x007fff80),
 		  sec->contents + sec->size + 12);
-    }
-  else if (OVL_STUB_SIZE == 8)
-    {
-      bfd_put_32 (sec->owner, BRSL + ((val << 5) & 0x007fff80) + 75,
-		  sec->contents + sec->size);
+      break;
 
-      val = (dest & 0x3ffff) | (ovl << 18);
-      bfd_put_32 (sec->owner, val,
+    case ovly_compact:
+      bfd_put_32 (sec->owner, BRSL + (((to - from) << 5) & 0x007fff80) + 75,
+		  sec->contents + sec->size);
+      bfd_put_32 (sec->owner, (dest & 0x3ffff) | (dest_ovl << 18),
 		  sec->contents + sec->size + 4);
+      break;
+
+    default:
+      abort ();
     }
-  else
-    abort ();
-  sec->size += OVL_STUB_SIZE;
+  sec->size += ovl_stub_size (htab->params->ovly_flavour);
 
-  if (htab->emit_stub_syms)
+  if (htab->params->emit_stub_syms)
     {
       size_t len;
       char *name;
@@ -1046,8 +1083,8 @@ build_stub (struct spu_link_hash_table *htab,
 	{
 	  h->root.type = bfd_link_hash_defined;
 	  h->root.u.def.section = sec;
-	  h->root.u.def.value = sec->size - OVL_STUB_SIZE;
-	  h->size = OVL_STUB_SIZE;
+	  h->size = ovl_stub_size (htab->params->ovly_flavour);
+	  h->root.u.def.value = sec->size - h->size;
 	  h->type = STT_FUNC;
 	  h->ref_regular = 1;
 	  h->def_regular = 1;
@@ -1077,11 +1114,10 @@ allocate_spuear_stubs (struct elf_link_hash_entry *h, void *inf)
       && h->def_regular
       && strncmp (h->root.root.string, "_SPUEAR_", 8) == 0
       && (sym_sec = h->root.u.def.section) != NULL
-      && sym_sec->output_section != NULL
-      && sym_sec->output_section->owner == info->output_bfd
+      && sym_sec->output_section != bfd_abs_section_ptr
       && spu_elf_section_data (sym_sec->output_section) != NULL
       && (spu_elf_section_data (sym_sec->output_section)->u.o.ovl_index != 0
-	  || htab->non_overlay_stubs))
+	  || htab->params->non_overlay_stubs))
     {
       return count_stub (htab, NULL, NULL, nonovl_stub, h, NULL);
     }
@@ -1103,11 +1139,10 @@ build_spuear_stubs (struct elf_link_hash_entry *h, void *inf)
       && h->def_regular
       && strncmp (h->root.root.string, "_SPUEAR_", 8) == 0
       && (sym_sec = h->root.u.def.section) != NULL
-      && sym_sec->output_section != NULL
-      && sym_sec->output_section->owner == info->output_bfd
+      && sym_sec->output_section != bfd_abs_section_ptr
       && spu_elf_section_data (sym_sec->output_section) != NULL
       && (spu_elf_section_data (sym_sec->output_section)->u.o.ovl_index != 0
-	  || htab->non_overlay_stubs))
+	  || htab->params->non_overlay_stubs))
     {
       return build_stub (htab, NULL, NULL, nonovl_stub, h, NULL,
 			 h->root.u.def.value, sym_sec);
@@ -1149,7 +1184,7 @@ process_stubs (struct bfd_link_info *info, bfd_boolean build)
 	      || isec->reloc_count == 0)
 	    continue;
 
-	  if (!maybe_needs_stubs (isec, info->output_bfd))
+	  if (!maybe_needs_stubs (isec))
 	    continue;
 
 	  /* Get the relocs.  */
@@ -1248,22 +1283,19 @@ process_stubs (struct bfd_link_info *info, bfd_boolean build)
 /* Allocate space for overlay call and return stubs.  */
 
 int
-spu_elf_size_stubs (struct bfd_link_info *info,
-		    void (*place_spu_section) (asection *, asection *,
-					       const char *),
-		    int non_overlay_stubs)
+spu_elf_size_stubs (struct bfd_link_info *info)
 {
-  struct spu_link_hash_table *htab = spu_hash_table (info);
+  struct spu_link_hash_table *htab;
   bfd *ibfd;
   bfd_size_type amt;
   flagword flags;
   unsigned int i;
   asection *stub;
 
-  htab->non_overlay_stubs = non_overlay_stubs;
   if (!process_stubs (info, FALSE))
     return 0;
 
+  htab = spu_hash_table (info);
   elf_link_hash_traverse (&htab->elf, allocate_spuear_stubs, info);
   if (htab->stub_err)
     return 0;
@@ -1282,10 +1314,11 @@ spu_elf_size_stubs (struct bfd_link_info *info,
   stub = bfd_make_section_anyway_with_flags (ibfd, ".stub", flags);
   htab->stub_sec[0] = stub;
   if (stub == NULL
-      || !bfd_set_section_alignment (ibfd, stub, 3 + (OVL_STUB_SIZE > 8)))
+      || !bfd_set_section_alignment (ibfd, stub,
+				     htab->params->ovly_flavour + 3))
     return 0;
-  stub->size = htab->stub_count[0] * OVL_STUB_SIZE;
-  (*place_spu_section) (stub, NULL, ".text");
+  stub->size = htab->stub_count[0] * ovl_stub_size (htab->params->ovly_flavour);
+  (*htab->params->place_spu_section) (stub, NULL, ".text");
 
   for (i = 0; i < htab->num_overlays; ++i)
     {
@@ -1294,10 +1327,11 @@ spu_elf_size_stubs (struct bfd_link_info *info,
       stub = bfd_make_section_anyway_with_flags (ibfd, ".stub", flags);
       htab->stub_sec[ovl] = stub;
       if (stub == NULL
-	  || !bfd_set_section_alignment (ibfd, stub, 3 + (OVL_STUB_SIZE > 8)))
+	  || !bfd_set_section_alignment (ibfd, stub,
+					 htab->params->ovly_flavour + 3))
 	return 0;
-      stub->size = htab->stub_count[ovl] * OVL_STUB_SIZE;
-      (*place_spu_section) (stub, osec, NULL);
+      stub->size = htab->stub_count[ovl] * ovl_stub_size (htab->params->ovly_flavour);
+      (*htab->params->place_spu_section) (stub, osec, NULL);
     }
 
  /* htab->ovtab consists of two arrays.
@@ -1321,14 +1355,14 @@ spu_elf_size_stubs (struct bfd_link_info *info,
     return 0;
 
   htab->ovtab->size = htab->num_overlays * 16 + 16 + htab->num_buf * 4;
-  (*place_spu_section) (htab->ovtab, NULL, ".data");
+  (*htab->params->place_spu_section) (htab->ovtab, NULL, ".data");
 
   htab->toe = bfd_make_section_anyway_with_flags (ibfd, ".toe", SEC_ALLOC);
   if (htab->toe == NULL
       || !bfd_set_section_alignment (ibfd, htab->toe, 4))
     return 0;
   htab->toe->size = 16;
-  (*place_spu_section) (htab->toe, NULL, ".toe");
+  (*htab->params->place_spu_section) (htab->toe, NULL, ".toe");
 
   return 2;
 }
@@ -1401,7 +1435,7 @@ define_ovtab_symbol (struct spu_link_hash_table *htab, const char *name)
       h->ref_regular_nonweak = 1;
       h->non_elf = 0;
     }
-  else
+  else if (h->root.u.def.section->owner != NULL)
     {
       (*_bfd_error_handler) (_("%B is not allowed to define %s"),
 			     h->root.u.def.section->owner,
@@ -1409,6 +1443,13 @@ define_ovtab_symbol (struct spu_link_hash_table *htab, const char *name)


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


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

* [SCM]  archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc
@ 2008-12-07  2:49 jkratoch
  0 siblings, 0 replies; 16+ messages in thread
From: jkratoch @ 2008-12-07  2:49 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-misc has been updated
       via  c28670de34d0377d2334b9cca3062933ab83e608 (commit)
       via  ac68302d81ede77b746f71c2b59a834d26678430 (commit)
       via  5d1a7f50c49cc857d057dfd9fd959e1758287376 (commit)
       via  5575ed05779065a1b256775836f564aa7c1d7578 (commit)
       via  e309468dfbaa3b96ceef7816fcd7bd39a9aa509c (commit)
       via  c89c11bd89aaf9d81e19621bb31770ba66b3137e (commit)
       via  db0269e02d545476458cf798c5e51ef7df2db1c8 (commit)
       via  22ff147254a15c977ca7eccc83567ba74587b8a3 (commit)
       via  bbd069c594c74fc0225f75977b85ecf6f1d44258 (commit)
       via  811f7e9b0e9f7b1d6dda24a1fda8de505f650234 (commit)
       via  1cdd9d6d10ee334ab8d2c0f6aabf9e06d64ab843 (commit)
       via  2c36ed58ed01300bca52900a14ff42bcb860a04c (commit)
       via  0a58600f749f333d8ac192706e685d6a28123c07 (commit)
       via  a248d9f6aa039c4e776caa0b5cae6f0c0b654f35 (commit)
       via  d3ac72fc45ec9d20f009b27feeb41b6927ad31ca (commit)
       via  284d7c34abfaf1286c819668d092dfcba08bc967 (commit)
       via  4c4dff80576a53640e188da7166db287010f3ee1 (commit)
       via  4648b9a9bed25e1e1f0bc2c527968555cccc4ddd (commit)
       via  c6cfd68af8ced76343f5cc446374af35e57a0802 (commit)
       via  ff9d520b9dd390a2a8c2ac68a2f6b76a967ffe74 (commit)
       via  541fb9b0c146bd8554229ac226f06217d9365980 (commit)
       via  c9a95c6dd1449250301d18a1c06b2ed47d3fa1c3 (commit)
       via  8ecf9dac1666e63b7256071ffb36916ae1ff287b (commit)
       via  56a56296304cc86e6857718812a6ff33598bddc7 (commit)
       via  dc697606cc3491699f1cb75bcf3f454b2314fa75 (commit)
       via  0d7f1dce6964c1311df77cf8d2df94c0fbf9d813 (commit)
       via  079abef410032c6142f2340f3a06c009c167c300 (commit)
       via  ffb0f004d9469bcdf239a63342800fad40a0bac0 (commit)
       via  723746ce87c24d5a76914086751746c8962bb961 (commit)
       via  1daccbfefaded1cdf5b2b299d3f8a5e42c2ab6c0 (commit)
       via  23dd7133633bc8cdfdd3b8b32d186dd6b9d023f0 (commit)
       via  c3969fc156ec7d3072901361513784dafe6ba113 (commit)
       via  770048f90119e40fe1bdbc846c965cdec35beced (commit)
       via  4f8b14779bfdf10f7e098b1949c9230c3251fb95 (commit)
       via  2b2bbf584985bb600bd9013bca94b460f18012db (commit)
       via  c55585c921b8b92c8250e867678d3548297e1f09 (commit)
       via  eec8fadc1cb616a73e1105b9180fa11716afb670 (commit)
       via  abbd0ebf4941068143ee8ad2609b3402d8801ea7 (commit)
       via  8139e5a6fb0b7c63b0eeaacca3c900aef29f9e30 (commit)
       via  ebf83d239f2edd601c2a5a1c63085d94ecd633b6 (commit)
       via  6a8ed1c08e021d7eb7aebbd4c6e9430edc33b58a (commit)
       via  3ca1eeb0d473f7f9f9685146f31b4a8f036e7ea7 (commit)
       via  18279fff0c8a2e35c4d7ce36419b42f59cbf4745 (commit)
       via  c6ae09d0409f4c3b9b7d1ffcc577a1598cc84196 (commit)
       via  640de437dadf6827af6bf019ef2de0d7af3cba2a (commit)
       via  28525954466f3616bb045b26b9d9e10eee038fc9 (commit)
       via  0ed3851170c2693e3644c55d206ab3a06f29c739 (commit)
       via  d1300dd4058061a944fb98bdf3f9ab1bf6d0e8e8 (commit)
       via  5a11891522889d57baa35655f0dc0d213d72890d (commit)
       via  a16a4df6061a1e4c3e238fe5799f3ca0b1eb300c (commit)
       via  b41677852fae1e632d71864b16e8d2d8d0fd6026 (commit)
       via  dcc1ff927a4204c2c0aa81100148b4c6a757ecca (commit)
       via  b3be576be02b3801c71cf5d5edef1960568e13c3 (commit)
       via  d3f0ca268eb2e533b836abe66f6e03c3e560b9a8 (commit)
       via  aad79ae2e400846986776a2c105700227cca11df (commit)
       via  0e21db8fcb0d7ade9d275fc2b2952c054f113116 (commit)
       via  1be1fadf973e21bc5138c04a7bf0ec6119010d21 (commit)
       via  681957f170e6a8dfa3c1bb4b5f797fe6878b426b (commit)
       via  84b4cd354e047b3e6f9f7cbf76c6b9a2ef60929c (commit)
       via  6b354a5de47be27a657d0080b3f1465ac615fa1d (commit)
       via  fd156dd185c0709490531572be41872c6b2459d7 (commit)
       via  cb4f6eae826b8debbe7adde13e3d187b6801f106 (commit)
       via  43cf60f92da09adc8638b73b867b6132c03306eb (commit)
       via  a80a7e51140551d0e14703dc9f8c85a85b0dd519 (commit)
       via  007d0df88d2ecf3013f0090f771a53ffd54b230c (commit)
       via  44cfaadc3a464b73af1d72d7b1165e8d5a3a0227 (commit)
       via  c5ae29c8ed4093e0797de2af9a9298fc87ece4c4 (commit)
      from  5c149522cf24b33ad66b3ec502e8a90eb6a16dfa (commit)

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

- Log -----------------------------------------------------------------
commit c28670de34d0377d2334b9cca3062933ab83e608
Merge: 5c149522cf24b33ad66b3ec502e8a90eb6a16dfa ac68302d81ede77b746f71c2b59a834d26678430
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Dec 6 23:50:11 2008 +0100

    Merge commit 'origin/master' into archer-jankratochvil-misc

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

Summary of changes:
 ChangeLog                                    |  499 ++++---
 Makefile.def                                 |   18 +-
 Makefile.in                                  | 2217 +++++++++++++++++++++++++-
 Makefile.tpl                                 |   12 +
 bfd/ChangeLog                                |  111 ++
 bfd/aoutx.h                                  |    2 +
 bfd/archures.c                               |    2 +
 bfd/bfd-in.h                                 |    4 +
 bfd/bfd-in2.h                                |   67 +-
 bfd/config.bfd                               |    6 +
 bfd/configure                                |    8 +-
 bfd/configure.in                             |   10 +-
 bfd/cpu-mips.c                               |    4 +
 bfd/elf-bfd.h                                |    5 +
 bfd/elf.c                                    |    7 +-
 bfd/elf32-arm.c                              |    8 +-
 bfd/elf32-cr16.c                             | 1725 +++++++++++++++++++--
 bfd/elf32-i386.c                             |   65 +-
 bfd/elf64-s390.c                             |    3 +
 bfd/elf64-x86-64.c                           |   69 +-
 bfd/elfcode.h                                |    3 +
 bfd/elflink.c                                |  147 ++-
 bfd/elfxx-mips.c                             |    4 +
 bfd/hpux-core.c                              |    1 -
 bfd/libbfd.h                                 |    3 +
 bfd/reloc.c                                  |    6 +
 bfd/syms.c                                   |   64 +-
 bfd/version.h                                |    2 +-
 config-ml.in                                 |   53 +-
 config.guess                                 |   22 +-
 config.sub                                   |   16 +-
 config/ChangeLog                             |   11 +
 config/mh-mingw                              |    2 +-
 config/unwind_ipinfo.m4                      |   41 +-
 configure                                    |  279 ++++-
 configure.ac                                 |  129 ++-
 gdb/ChangeLog                                |  149 ++
 gdb/MAINTAINERS                              |    1 +
 gdb/Makefile.in                              |    6 +-
 gdb/NEWS                                     |   10 +
 gdb/breakpoint.c                             |   17 +-
 gdb/config/i386/darwin.mh                    |   10 +
 gdb/configure.host                           |    2 +
 gdb/configure.tgt                            |    5 +
 gdb/darwin-nat-info.c                        |  847 ++++++++++
 gdb/darwin-nat.c                             | 1307 +++++++++++++++
 gdb/darwin-nat.h                             |  107 ++
 gdb/darwin.defs                              |    6 +
 gdb/defs.h                                   |    1 +
 gdb/doc/ChangeLog                            |   32 +
 gdb/doc/gdb.texinfo                          |  500 ++++++-
 gdb/doc/gdbint.texinfo                       |   11 +-
 gdb/features/osdata.dtd                      |   16 +
 gdb/findvar.c                                |    7 +
 gdb/gdbserver/ChangeLog                      |   16 +
 gdb/gdbserver/linux-low.c                    |  108 ++
 gdb/gdbserver/remote-utils.c                 |   92 ++
 gdb/gdbserver/server.c                       |   36 +
 gdb/gdbserver/server.h                       |   34 +
 gdb/gdbserver/target.h                       |    5 +
 gdb/i386-darwin-nat.c                        |  562 +++++++
 gdb/i386-darwin-tdep.c                       |  159 ++
 gdb/i386-darwin-tdep.h                       |   33 +
 gdb/ia64-tdep.c                              |  197 ++-
 gdb/infcall.c                                |   43 +-
 gdb/infcmd.c                                 |    2 -
 gdb/infrun.c                                 |    5 -
 gdb/linux-nat.c                              |  115 ++
 gdb/machoread.c                              |  694 ++++++++
 gdb/mi/mi-main.c                             |   42 +-
 gdb/osabi.c                                  |    1 +
 gdb/osdata.c                                 |  362 +++++
 gdb/osdata.h                                 |   53 +
 gdb/printcmd.c                               |   23 +-
 gdb/remote.c                                 |   23 +
 gdb/target.c                                 |   20 +
 gdb/target.h                                 |   15 +-
 gdb/testsuite/ChangeLog                      |   35 +
 gdb/testsuite/gdb.ada/formatted_ref.exp      |   10 +
 gdb/testsuite/gdb.ada/int_deref.exp          |    4 +-
 gdb/testsuite/gdb.base/breakpoint-shadow.c   |   27 +
 gdb/testsuite/gdb.base/breakpoint-shadow.exp |   63 +
 gdb/testsuite/gdb.base/macscp.exp            |    7 +-
 gdb/testsuite/gdb.base/start.exp             |    4 +-
 gdb/testsuite/gdb.cp/formatted-ref.exp       |   10 +
 gdb/testsuite/gdb.server/ext-run.exp         |    5 +
 gdb/testsuite/gdb.threads/tls.c              |    9 +
 gdb/testsuite/gdb.threads/tls.exp            |   18 +-
 gdb/testsuite/gdb.threads/tls2.c             |   28 +
 gdb/valops.c                                 |   35 +-
 gdb/value.c                                  |  135 +-
 gdb/value.h                                  |    4 +-
 gdb/version.in                               |    2 +-
 gdb/xml-support.c                            |   39 +
 gdb/xml-support.h                            |    7 +
 include/ChangeLog                            |   14 +
 include/bfdlink.h                            |    4 +-
 include/elf/ChangeLog                        |    9 +
 include/elf/common.h                         |    1 +
 include/elf/cr16.h                           |    3 +
 include/opcode/ChangeLog                     |    5 +
 include/opcode/mips.h                        |    5 +-
 include/plugin-api.h                         |    4 +-
 opcodes/ChangeLog                            |   36 +-
 opcodes/cr16-dis.c                           |    6 +-
 opcodes/m68k-dis.c                           |   36 +-
 opcodes/mips-dis.c                           |    4 +
 opcodes/ppc-dis.c                            |    4 +-
 opcodes/ppc-opc.c                            |  184 +--
 sim/arm/ChangeLog                            |    4 +
 sim/arm/arminit.c                            |    2 +
 sim/arm/iwmmxt.c                             |    2 +
 sim/h8300/ChangeLog                          |    4 +
 sim/h8300/compile.c                          |    4 +-
 114 files changed, 11129 insertions(+), 943 deletions(-)
 create mode 100644 gdb/config/i386/darwin.mh
 create mode 100644 gdb/darwin-nat-info.c
 create mode 100644 gdb/darwin-nat.c
 create mode 100644 gdb/darwin-nat.h
 create mode 100644 gdb/darwin.defs
 create mode 100644 gdb/features/osdata.dtd
 create mode 100644 gdb/i386-darwin-nat.c
 create mode 100644 gdb/i386-darwin-tdep.c
 create mode 100644 gdb/i386-darwin-tdep.h
 create mode 100644 gdb/machoread.c
 create mode 100644 gdb/osdata.c
 create mode 100644 gdb/osdata.h
 create mode 100644 gdb/testsuite/gdb.base/breakpoint-shadow.c
 create mode 100644 gdb/testsuite/gdb.base/breakpoint-shadow.exp
 create mode 100644 gdb/testsuite/gdb.threads/tls2.c

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index dcf365a..382c2ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,87 @@
+2008-12-02  Andreas Schwab  <schwab@suse.de>
+
+	* Makefile.def: configure-target-boehm-gc depends on
+	all-target-libstdc++-v3.
+	* Makefile.in: Regenerate.
+
+2008-12-02  Ben Elliston  <bje@au.ibm.com>
+
+	* config.sub, config.guess: Update from upstream sources.
+
+2008-11-27  Joseph Myers  <joseph@codesourcery.com>
+
+	Merge from GCC:
+
+	2007-12-02  Matthias Klose  <doko@ubuntu.com>
+
+	* config-ml.in: Remove 64bit configure tests.
+
+	2008-05-14  Rafael Espindola  <espindola@google.com>
+
+	* config-ml.in: don't handle --enable-shared and --enable-static.
+
+	2008-09-02  Sebastian Pop  <sebastian.pop@amd.com>
+	    Tobias Grosser  <grosser@fim.uni-passau.de>
+	    Jan Sjodin  <jan.sjodin@amd.com>
+	    Harsha Jagasia  <harsha.jagasia@amd.com>
+	    Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
+	    Konrad Trifunovic  <konrad.trifunovic@inria.fr>
+	    Adrien Eliche  <aeliche@isty.uvsq.fr>
+
+	Merge from graphite branch.
+	* configure: Regenerate.
+	* Makefile.in: Regenerate.
+	* configure.ac (host_libs): Add ppl and cloog.
+	Add checks for PPL and CLooG.
+	* Makefile.def (ppl, cloog): Added modules and dependences.
+	* Makefile.tpl (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): New.
+	(HOST_PPLLIBS, HOST_PPLINC, HOST_CLOOGLIBS, HOST_CLOOGINC): New.
+
+	2008-09-03  Richard Guenther  <rguenther@suse.de>
+
+	* configure.ac: Always pass -DCLOOG_PPL_BACKEND to the
+	cloog test.
+	* configure: Re-generate.
+
+	2008-09-03  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* configure.ac (--with-cloog-polylib): New.
+	(--disable-cloog-version-check): New.
+	(--disable-ppl-version-check): New.
+	* configure: Re-generate.
+
+	2008-09-05  Richard Guenther  <rguenther@suse.de>
+
+	* configure.ac: Initialize clooglibs to -lcloog.
+	* configure: Re-generate.
+
+	2008-10-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* configure.ac (MPFR check): Bump minimum version to 2.3.0 and
+	recommended version to 2.3.2.
+
+	* configure: Regenerate.
+
+	2008-10-31  Ben Elliston  <bje@au.ibm.com>
+
+	* configure.ac (spu-*-*): Remove special case.
+	* configure: Regenerate.
+
+	Complete comment text from GCC version of:
+
+	2008-08-31  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
+
+	* configure.ac (RPATH_ENVVAR): Use PATH on Windows.
+	(GCC_SHLIB_SUBDIR): New.
+	* Makefile.tpl (HOST_LIB_PATH_gcc): Use GCC_SHLIB_SUBDIR.
+	* configure: Regenerate.
+	* Makefile.in: Regenerate.
+
+2008-11-27  Tristan Gingold  <gingold@adacore.com>
+
+	* configure.ac: Build gdb for i?86-*-darwin*
+	* configure: Regenerated.
+
 2008-11-14  Daniel Jacobowitz  <dan@codesourcery.com>
 
 	PR bootstrap/38014
@@ -95,17 +179,17 @@
 	Sync with gcc:
 	2008-07-30 Paolo Bonzini  <bonzini@gnu.org>
 
-        * configure.ac: Add makefile fragments for hpux.
-        * Makefile.def (flags_to_pass): Add ADA_CFLAGS.
-        * Makefile.tpl (HOST_EXPORTS): Pass ADA_CFLAGS.
-        * configure: Regenerate.
-        * Makefile.in: Regenerate.
+	* configure.ac: Add makefile fragments for hpux.
+	* Makefile.def (flags_to_pass): Add ADA_CFLAGS.
+	* Makefile.tpl (HOST_EXPORTS): Pass ADA_CFLAGS.
+	* configure: Regenerate.
+	* Makefile.in: Regenerate.
 
 	2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
-        * Makefile.tpl ($(srcdir)/configure): Update dependencies.
-        * Makefile.in: Regenerate.
-        * configure: Regenerate.
+	* Makefile.tpl ($(srcdir)/configure): Update dependencies.
+	* Makefile.in: Regenerate.
+	* configure: Regenerate.
 
 2008-06-18  Ian Lance Taylor  <iant@google.com>
 
@@ -170,13 +254,13 @@
 
 	2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
 
-        * Makefile.tpl (restrap): Call `make all' using double-colon rules.
-        * Makefile.in: Regenerate.
+	* Makefile.tpl (restrap): Call `make all' using double-colon rules.
+	* Makefile.in: Regenerate.
 
 	2008-04-11  Eric B. Weddington  <eweddington@cso.atmel.com>
 
-        * configure.ac: Do not build libssp for the AVR.
-        * configure: Regenerate.
+	* configure.ac: Do not build libssp for the AVR.
+	* configure: Regenerate.
 
 2008-04-18  Nick Clifton  <nickc@redhat.com>
 
@@ -185,9 +269,9 @@
 
 2008-04-18  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
 
-        * configure.ac (cr16-*-*): Add case for cr16 target and include gdb
+	* configure.ac (cr16-*-*): Add case for cr16 target and include gdb
 	as nonconfigurable directories list.
-        * configure: Regenerate.
+	* configure: Regenerate.
 
 2008-04-14  David S. Miller  <davem@davemloft.net>
 
@@ -218,8 +302,8 @@
 2008-04-04  NightStrike  <NightStrike@gmail.com>
 
 	PR other/35151
-        * configure.ac: Combine rules for mingw32 and mingw64.
-        * configure: Regenerate.
+	* configure.ac: Combine rules for mingw32 and mingw64.
+	* configure: Regenerate.
 
 2008-03-27  Paolo Bonzini  <bonzini@gnu.org>
 
@@ -269,9 +353,9 @@
 2008-03-16  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
 	Backport from upstream Libtool:
-	
+
 	2007-10-12  Eric Blake  <ebb9@byu.net>
-	
+
 	Deal with Autoconf 2.62's semantic change in m4_append.
 	* ltsugar.m4 (lt_append): Replace broken versions of
 	m4_append.
@@ -304,27 +388,27 @@
 
 2008-02-20  Paolo Bonzini  <bonzini@gnu.org>
 
-        PR bootstrap/32009
-        PR bootstrap/32161
-
-        * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here.
-        * configure: Regenerate.
-
-        * Makefile.def: Define stage_libcflags for all bootstrap stages.
-        * Makefile.tpl (BOOT_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS,
-        STAGE4_LIBCFLAGS): New.
-        (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without
-        $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
-        (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS.
-        (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS.
-        (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags
-        for target modules.  Don't export LIBCFLAGS.
-        (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass
-        $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after
-        the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
-        (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with
-        $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS).
-        * Makefile.in: Regenerate.
+	PR bootstrap/32009
+	PR bootstrap/32161
+
+	* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here.
+	* configure: Regenerate.
+
+	* Makefile.def: Define stage_libcflags for all bootstrap stages.
+	* Makefile.tpl (BOOT_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS,
+	STAGE4_LIBCFLAGS): New.
+	(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without
+	$(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
+	(BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS.
+	(EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS.
+	(configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags
+	for target modules.  Don't export LIBCFLAGS.
+	(all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass
+	$(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after
+	the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
+	(invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with
+	$(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS).
+	* Makefile.in: Regenerate.
 
 2008-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
@@ -351,11 +435,11 @@
 
 2008-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
-        PR bootstrap/34922
-        * configure.ac (PARSE_ARGS): Push suitable setting of
-        ac_subdirs_all, for `./configure --help=recursive'.
-        Handle `+' in generic toplevel directory disabling.
-        * configure: Regenerate.
+	PR bootstrap/34922
+	* configure.ac (PARSE_ARGS): Push suitable setting of
+	ac_subdirs_all, for `./configure --help=recursive'.
+	Handle `+' in generic toplevel directory disabling.
+	* configure: Regenerate.
 
 2008-01-23  Ben Elliston  <bje@au.ibm.com>
 
@@ -396,11 +480,11 @@
 
 2007-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
-        * config-ml.in: Robustify against white space in absolute file
-        names.
+	* config-ml.in: Robustify against white space in absolute file
+	names.
 
-        * config-ml.in (multi-clean): Substitute ${Makefile}.
-        Remove superfluous ${Makefile} in list.
+	* config-ml.in (multi-clean): Substitute ${Makefile}.
+	Remove superfluous ${Makefile} in list.
 
 2007-10-23  Daniel Jacobowitz  <dan@codesourcery.com>
 
@@ -457,7 +541,7 @@
 	* Makefile.def: Add libgomp config as a maybe dependency for libstdc++.
 	* configure: Regenerate.
 	* Makefile.in: Regenerate.
-	
+
 2007-09-17  Andreas Schwab  <schwab@suse.de>
 
 	* configure.ac: Raise minimum makeinfo version to 4.6.
@@ -516,7 +600,7 @@
 	* configure: Regenerate.
 
 2007-08-18  Paul Brook  <paul@codesourcery.com>
-            Joseph Myers  <joseph@codesourcery.com>
+	    Joseph Myers  <joseph@codesourcery.com>
 
 	* Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
 	(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it.
@@ -584,11 +668,11 @@
 
 2007-07-09  Kai Tietz   <kai.tietz@onevision.com>
 
-        * Makefile.def: Add windmc tool to build.
-        * Makefile.tpl: Likewise.
-        * configure.ac: Likewise.
-        * Makefile.in: Regenerate.
-        * configure: Regenerate.
+	* Makefile.def: Add windmc tool to build.
+	* Makefile.tpl: Likewise.
+	* configure.ac: Likewise.
+	* Makefile.in: Regenerate.
+	* configure: Regenerate.
 
 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
 
@@ -605,7 +689,7 @@
 	* configure.ac (arm*-*-linux-gnueabi): Don't build libgloss if we're
 	not building newlib.
 	* configure: Regenerated.
-	
+
 2007-06-22  Daniel Jacobowitz  <dan@codesourcery.com>
 
 	* src-release (DEVO_SUPPORT): Correct typos.
@@ -617,9 +701,9 @@
 
 2007-06-14  Paolo Bonzini  <bonzini@gnu.org>
 
-        * Makefile.tpl (cleanstrap): Don't delete the toplevel Makefile.
-        (distclean-stage[+id+]): Possibly delete stage_last.
-        * Makefile.in: Regenerate.
+	* Makefile.tpl (cleanstrap): Don't delete the toplevel Makefile.
+	(distclean-stage[+id+]): Possibly delete stage_last.
+	* Makefile.in: Regenerate.
 
 2007-06-07  Ben Elliston  <bje@au.ibm.com>
 
@@ -635,9 +719,9 @@
 	Sync with gcc:
 	2007-05-30  Jakub Jelinek  <jakub@redhat.com>
 
-        PR bootstrap/29382
-        * configure.ac: Don't use -fkeep-inline-functions for GCC < 3.3.1.
-        * configure: Rebuilt.
+	PR bootstrap/29382
+	* configure.ac: Don't use -fkeep-inline-functions for GCC < 3.3.1.
+	* configure: Rebuilt.
 
 2007-06-01  Steve Ellcey  <sje@cup.hp.com>
 
@@ -743,9 +827,9 @@
 	* configure: Rebuilt.
 
 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
-            Nathan Sidwell  <nathan@codesourcery.com>
-            Vladimir Prus  <vladimir@codesourcery.com
-            Joseph Myers  <joseph@codesourcery.com>
+	    Nathan Sidwell  <nathan@codesourcery.com>
+	    Vladimir Prus  <vladimir@codesourcery.com
+	    Joseph Myers  <joseph@codesourcery.com>
 
 	* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix quoting.
 	* configure: Regenerate.
@@ -851,28 +935,28 @@
 2007-01-11  Paolo Bonzini  <bonzini@gnu.org>
 
 	* configure.in: Change == to = in test command.
-        * configure: Regenerate.
+	* configure: Regenerate.
 
 2007-01-11  Paolo Bonzini  <bonzini@gnu.org>
-            Nick Clifton  <nickc@redhat.com>
-            Kaveh R. Ghazi  <ghazi@caip.rutgets.edu>
-
-        * configure.in (build_configargs, host_configargs, target_configargs):
-        Remove build/host/target parameters.
-        (host_libs): Add gmp and mpfr.
-        (GMP tests): Reorganize to allow in-tree GMP/MPFR.
-        * Makefile.def (gmp, mpfr): New.
-        (gcc): Remove target.
-        * Makefile.tpl (build_os, build_vendor, host_os, host_vendor,
-        target_os, target_vendor): New.
-        (configure): Add host_alias/target_alias arguments.  Adjust invocations.
-        * configure: Regenerate.
-        * Makefile.in: Regenerate.
+	    Nick Clifton  <nickc@redhat.com>
+	    Kaveh R. Ghazi  <ghazi@caip.rutgets.edu>
+
+	* configure.in (build_configargs, host_configargs, target_configargs):
+	Remove build/host/target parameters.
+	(host_libs): Add gmp and mpfr.
+	(GMP tests): Reorganize to allow in-tree GMP/MPFR.
+	* Makefile.def (gmp, mpfr): New.
+	(gcc): Remove target.
+	* Makefile.tpl (build_os, build_vendor, host_os, host_vendor,
+	target_os, target_vendor): New.
+	(configure): Add host_alias/target_alias arguments.  Adjust invocations.
+	* configure: Regenerate.
+	* Makefile.in: Regenerate.
 
 2007-01-11  Matt Fago  <fago@earthlink.net>
 
 	* configure.in: Try to link to functions only in mpfr 2.2.x
-        to improve robustness of configure tests.
+	to improve robustness of configure tests.
 	* configure: Regenerate.
 
 2007-01-08  Kai Tietz	<kai.tietz@onevision.com>
@@ -908,20 +992,20 @@
 	Sync with gcc:
 	2006-12-29  Paolo Bonzini  <bonzini@gnu.org>
 
-        * configure.in: Reorganize recognition of languages.  Add
-        --enable-stage1-languages.  Show supported languages for the chosen
-        target rather than all recognized languages.
-        * configure: Regenerate.
+	* configure.in: Reorganize recognition of languages.  Add
+	--enable-stage1-languages.  Show supported languages for the chosen
+	target rather than all recognized languages.
+	* configure: Regenerate.
 
 	2006-12-29  Paolo Bonzini  <bonzini@gnu.org>
 
-        * Makefile.tpl (GCC_STRAP_TARGETS, all-prebootstrap): Remove.
-        * Makefile.in: Regenerate.
+	* Makefile.tpl (GCC_STRAP_TARGETS, all-prebootstrap): Remove.
+	* Makefile.in: Regenerate.
 
 	2006-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
-        * configure.in: Warn that MPFR 2.2.0 is buggy.
-        * configure: Regenerate.
+	* configure.in: Warn that MPFR 2.2.0 is buggy.
+	* configure: Regenerate.
 
 2006-12-27  Ian Lance Taylor  <iant@google.com>
 
@@ -1072,8 +1156,8 @@
 	* configure: Regenerate.
 
 2006-08-15  Thiemo Seufer  <ths@mips.com>
-            Nigel Stephens  <nigel@mips.com>
-            David Ung  <davidu@mips.com>
+	    Nigel Stephens  <nigel@mips.com>
+	    David Ung  <davidu@mips.com>
 
 	* config.sub: Add support for sde as alias of mipsisa32-sde-elf.
 
@@ -1082,10 +1166,10 @@
 	Sync from GCC:
 	2006-07-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
-        PR bootstrap/18058
-        * configure.in: Add -fkeep-inline-functions to CFLAGS for stage 1
-        if the bootstrap compiler is a GCC version that supports it.
-        * configure: Regenerate.
+	PR bootstrap/18058
+	* configure.in: Add -fkeep-inline-functions to CFLAGS for stage 1
+	if the bootstrap compiler is a GCC version that supports it.
+	* configure: Regenerate.
 
 2006-07-22  Daniel Jacobowitz  <dan@codesourcery.com>
 
@@ -1094,8 +1178,8 @@
 
 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
 
-        * Makefile.tpl (configure-stageN-MODULE): Pass --with-build-libsubdir
-        for stages after the first.
+	* Makefile.tpl (configure-stageN-MODULE): Pass --with-build-libsubdir
+	for stages after the first.
 
 2006-07-17  Jakub Jelinek  <jakub@redhat.com>
 
@@ -1173,7 +1257,7 @@
 	Sync from gcc:
 
 	2005-01-12  David Edelsohn  <edelsohn@gnu.org>
-	            Andreas Schwab  <schwab@suse.de>
+		    Andreas Schwab  <schwab@suse.de>
 
 	PR bootstrap/18033
 	* config-ml.in: Eval option if surrounded by single quotes.
@@ -1310,15 +1394,15 @@
 	Sync with gcc:
 	2006-03-10  Aldy Hernandez  <aldyh@redhat.com>
 
-        * configure.in: Handle --disable-<component> generically.
-        * configure: Regenerate.
+	* configure.in: Handle --disable-<component> generically.
+	* configure: Regenerate.
 
 	2006-02-21 Rafael Avila de Espindola <rafael.espindola@gmail.com>
 
-        * Makefile.tpl  (BUILD_CONFIGDIRS): Remove.
-        (TARGET_CONFIGDIRS): Remove.
-        * configure.in: Remove AC_SUBST(target_configdirs).
-        * Makefile.in, configure: Regenerated.
+	* Makefile.tpl  (BUILD_CONFIGDIRS): Remove.
+	(TARGET_CONFIGDIRS): Remove.
+	* configure.in: Remove AC_SUBST(target_configdirs).
+	* Makefile.in, configure: Regenerated.
 
 
 2006-03-01  H.J. Lu  <hongjiu.lu@intel.com>
@@ -1365,22 +1449,22 @@
 	2006-01-31  Richard Guenther  <rguenther@suse.de>
 		    Paolo Bonzini  <bonzini@gnu.org>
 
-        * Makefile.def (target_modules): Add libgcc-math target module.
-        * configure.in (target_libraries): Add libgcc-math target library.
-        (--enable-libgcc-math): New configure switch.
-        * Makefile.in: Re-generate.
-        * configure: Re-generate.
-        * libgcc-math: New toplevel directory.
+	* Makefile.def (target_modules): Add libgcc-math target module.
+	* configure.in (target_libraries): Add libgcc-math target library.
+	(--enable-libgcc-math): New configure switch.
+	* Makefile.in: Re-generate.
+	* configure: Re-generate.
+	* libgcc-math: New toplevel directory.
 
 	2006-01-18  Richard Henderson  <rth@redhat.com>
-	            Jakub Jelinek  <jakub@redhat.com>
-	            Diego Novillo  <dnovillo@redhat.com>
+		    Jakub Jelinek  <jakub@redhat.com>
+		    Diego Novillo  <dnovillo@redhat.com>


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


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

end of thread, other threads:[~2009-09-04 18:32 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-27 15:52 [SCM] archer-jankratochvil-misc: Merge commit 'origin/master' into archer-jankratochvil-misc jkratoch
2008-12-07  2:49 jkratoch
2008-12-14 23:51 jkratoch
2008-12-22 18:33 jkratoch
2008-12-28 16:15 jkratoch
2009-01-07 23:30 jkratoch
2009-01-10 23:26 jkratoch
2009-01-16 10:33 jkratoch
2009-01-27 14:39 jkratoch
2009-02-09 14:35 jkratoch
2009-03-12 20:10 jkratoch
2009-03-15 14:37 jkratoch
2009-03-20 17:07 jkratoch
2009-04-11 10:13 jkratoch
2009-05-03 13:18 jkratoch
2009-09-04 18:32 jkratoch

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