public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: jkratoch@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  archer-jankratochvil-vla: Merge remote branch 'origin/master' into archer-jankratochvil-vla
Date: Tue, 16 Nov 2010 05:24:00 -0000	[thread overview]
Message-ID: <20101116052420.18684.qmail@sourceware.org> (raw)

The branch, archer-jankratochvil-vla has been updated
       via  92e2d9797f67a91bd16116328489da1179bc76d5 (commit)
       via  78eb0ee7441fda6c528e9817f332c3edcc50bcc3 (commit)
       via  fe12b092e5f0085281ce09e94c541ea2eeb8e4e4 (commit)
       via  ccae871af2e5963b0b6d5467a41982f7f218875b (commit)
       via  83ef38220fa6a963e11b592dc63fe5ff540fcbf1 (commit)
       via  b3dc839d953520a1e4b2a66425e5c589475cec4d (commit)
       via  f4160a60204da977af41ce5cc984af76a0b96e65 (commit)
       via  35e427b76abcbcbf3faa7be78828a900777476e3 (commit)
       via  479d34415d438cb903b03495d21024f7a0d2bb38 (commit)
       via  4da0884073e5a4e464eed13293fb4458255d8dd7 (commit)
       via  dd80b3ebfaae70b2fb34cc0a92348a272e6cc848 (commit)
       via  603686b32e907e5a2f6761e2633c6a3937128c07 (commit)
       via  5097cdcc3758b39b213555d944e995c57531004c (commit)
       via  1f3223243cb9dce65d15e485eb7b10c3c29b3e0e (commit)
       via  91e77a2dadfcc2da238145c8f7538e1bf60cd893 (commit)
       via  1fbfe5836f6cb33edb0d232ba145ccd52c359b7e (commit)
       via  95aa50e02997e2c95e342adb6895bda63bf89bac (commit)
       via  94607e51af04ec6ee708c55239cdeb78c7d41df0 (commit)
       via  e8b212e21800a12661936e7a943c7daa9d1088a7 (commit)
       via  97060a82bac95c43b0ad497fa1313b5ca59c3d00 (commit)
       via  e15d3f1e9a9e0373291f0f8ca8420ca3fc749ba2 (commit)
       via  1b080e5c812a10d012790f79eefbf638de75ccd1 (commit)
       via  774ffe9e9d84a0ff884bb2b21d97c8f915c5152e (commit)
       via  550202613b8b567107580a062f418947b689e1ed (commit)
       via  787ced139be0421e8c5e0fbfe7ff5429d8b67601 (commit)
       via  dcca8d3dfdd4166e3192214edb8e04dca236731f (commit)
       via  0c775a6234f13a97229cc0bcebeb73f0cafa9d9d (commit)
       via  1afa9b4c79b59bf187f6629e31cafb85f4e445c6 (commit)
       via  9f2a4c761ef976fdfb4f577965f533ece6ae5fbd (commit)
       via  1cc93f904c223a595c3f41894751af0b30445e86 (commit)
       via  003496e6982380db1773e30170b119c7f3620dff (commit)
       via  3edd55a2b0f3444c7d37cbf003b73694e54d2bc2 (commit)
       via  ef713b00f2cd6a459d0a54fc135a89b037f8473b (commit)
       via  7d5a91474a0cdb796031ddc25aa0d107be6eb39d (commit)
       via  f315c52904765d5565ca733990b4669cbdd49e9b (commit)
       via  831cbee68bdbcd09f9ab019f97eaeffaab814435 (commit)
       via  cf320ffc8f681fe4c905b72e84cef4cfdd6c34df (commit)
       via  0aef60bc38db1570f0cb8dbb911262462fa3bb9c (commit)
       via  d8fe843c07b52bd0fe2c6028255e9ba238872d16 (commit)
       via  2d2fab1e79945baf5d0afd9b5b39e7a06e227516 (commit)
       via  4d7c3dada182d003459fc58a3d9ccd007a71d829 (commit)
       via  51d482007a9e846df89e68d78ef290f659a59370 (commit)
       via  1cadd0709fed603af6a5ed85c3b0bad29e86f8da (commit)
       via  9c71e9c0d7209d261e25e637a353d86490ddfd95 (commit)
       via  3ee415453d3877b67cfaa0c3c127af6304a8e658 (commit)
       via  45159048697d9647168a2b436a312ea3d2dc7780 (commit)
       via  1007825bd6b7e3b8790bf0f42485e1359aa3962b (commit)
       via  3fb10e156211cbabdde596b03fea1b9780ecc679 (commit)
       via  3ac4c69d2e95f5985c27c4e9287f34a8cea98ecf (commit)
       via  bef9f4dc3ec8d6060d7efa0a02d396ef635fb2a6 (commit)
       via  1e63dae39c2da9726182d90e491049be8b05be2b (commit)
       via  6405077542cc5b6325d29381059ec6da8e014489 (commit)
       via  7230711e31ddbf07c57cbb2f6fa365ef1ea5fca1 (commit)
       via  110f62ff8cdaafe1f62d4ccf87acbf9ec54ec8c1 (commit)
       via  daf877c040390d8c63871f303a8af637af29a21e (commit)
       via  e848cef8dfe2b3cd4064029df315f4cb3798d1c2 (commit)
      from  3b250f43d9164cbb9d143c09124fc042c4441015 (commit)

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

- Log -----------------------------------------------------------------
commit 92e2d9797f67a91bd16116328489da1179bc76d5
Merge: 78eb0ee fe12b09
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Nov 16 06:22:14 2010 +0100

    Merge remote branch 'origin/master' into archer-jankratochvil-vla

commit 78eb0ee7441fda6c528e9817f332c3edcc50bcc3
Merge: 3b250f4 1cc93f9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Nov 16 06:17:40 2010 +0100

    Merge remote branch 'origin/master' into archer-jankratochvil-vla

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

Summary of changes:
 bfd/ChangeLog                                   |   55 +
 bfd/archive.c                                   |   13 +-
 bfd/archures.c                                  |    1 +
 bfd/bfd-in.h                                    |    4 +
 bfd/bfd-in2.h                                   |    8 +
 bfd/elf.c                                       |   31 +-
 bfd/elf32-arm.c                                 |    7 -
 bfd/elf32-bfin.c                                |   24 +-
 bfd/elf64-hppa.c                                |    7 -
 bfd/elfxx-ia64.c                                |    7 -
 bfd/elfxx-mips.c                                |    8 +
 bfd/hash.c                                      |   58 +-
 bfd/po/ja.po                                    | 4994 +++++++++++++++--------
 bfd/po/ru.po                                    | 4038 ++++++++++++++-----
 bfd/section.c                                   |   23 +
 bfd/version.h                                   |    2 +-
 gdb/ChangeLog                                   |  110 +
 gdb/arm-tdep.c                                  |    1 +
 gdb/breakpoint.c                                |  143 +-
 gdb/breakpoint.h                                |   34 +-
 gdb/c-lang.c                                    |   15 +-
 gdb/defs.h                                      |    4 +
 gdb/doc/ChangeLog                               |   12 +
 gdb/doc/gdb.texinfo                             |   65 +-
 gdb/gdbserver/ChangeLog                         |    4 +
 gdb/gdbserver/linux-low.c                       |    2 +-
 gdb/infrun.c                                    |    6 +-
 gdb/mi/mi-cmd-break.c                           |    8 +-
 gdb/mi/mi-main.c                                |   31 +-
 gdb/python/lib/gdb/command/pretty_printers.py   |    3 +-
 gdb/python/py-breakpoint.c                      |  161 +-
 gdb/python/py-prettyprint.c                     |   90 +-
 gdb/python/py-utils.c                           |   19 +
 gdb/python/python-internal.h                    |   18 +-
 gdb/python/python.c                             |   13 +
 gdb/rs6000-tdep.c                               |  149 +-
 gdb/spu-tdep.c                                  |    3 +-
 gdb/testsuite/ChangeLog                         |   49 +
 gdb/testsuite/gdb.base/break-entry.exp          |   26 +-
 gdb/testsuite/gdb.base/maint.exp                |    4 +-
 gdb/testsuite/gdb.base/nodebug.exp              |    4 +-
 gdb/testsuite/gdb.base/sepsymtab.exp            |    2 +-
 gdb/testsuite/gdb.base/watchpoint-cond-gone.exp |    3 +-
 gdb/testsuite/gdb.base/watchpoint.exp           |   13 +-
 gdb/testsuite/gdb.python/py-breakpoint.exp      |   39 +
 gdb/testsuite/gdb.python/py-inferior.exp        |   25 +-
 gdb/testsuite/gdb.python/py-prettyprint.c       |    6 +-
 gdb/testsuite/gdb.python/py-prettyprint.exp     |    2 +
 gdb/testsuite/gdb.python/py-value.exp           |    7 +-
 gdb/testsuite/gdb.python/python.exp             |    4 +-
 gdb/testsuite/gdb.stabs/gdb11479.exp            |    6 +-
 gdb/valops.c                                    |   21 +-
 gdb/value.c                                     |   15 +-
 gdb/value.h                                     |    5 +-
 gdb/varobj.c                                    |   18 +-
 gdb/version.in                                  |    2 +-
 include/ChangeLog                               |    5 +
 include/elf/ChangeLog                           |    4 +
 include/elf/bfin.h                              |    3 +
 include/elf/mips.h                              |    1 +
 include/opcode/ChangeLog                        |   13 +
 include/opcode/arm.h                            |    7 +-
 include/opcode/mips.h                           |    5 +
 libiberty/ChangeLog                             |   12 +
 libiberty/cp-demangle.c                         |    6 -
 libiberty/simple-object-coff.c                  |    3 +-
 libiberty/testsuite/demangle-expected           |    9 +-
 opcodes/ChangeLog                               |   11 +
 opcodes/mips-dis.c                              |    4 +
 opcodes/mips-opc.c                              |  119 +-
 opcodes/po/fi.po                                |  441 +-
 sim/rx/ChangeLog                                |    8 +
 sim/rx/rx.c                                     |   93 +-
 73 files changed, 7835 insertions(+), 3331 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 78b904a..a67868e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,58 @@
+2010-11-16  Jie Zhang  <jie.zhang@analog.com>
+
+	* elf32-bfin.c (elf32_bfin_code_in_l1): New variable.
+	(elf32_bfin_data_in_l1): New variable.
+	(elf32_bfin_final_write_processing): New.
+	(elf_backend_final_write_processing): Define.
+
+2010-11-15  Mike Frysinger  <vapier@gentoo.org>
+
+	PR binutils/12177
+	* elf32-bfin.c (_bfin_create_got_section): Drop unused flags code.
+
+2010-11-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* archive.c (_bfd_get_elt_at_filepos): Copy BFD_COMPRESS and
+	BFD_DECOMPRESS.
+	(bfd_openr_next_archived_file): Revert the last change.
+
+2010-11-11  Mingming Sun  <mingm.sun@gmail.com>
+
+	* archures.c (bfd_mach_mips_loongson_3a): Defined.
+	* bfd-in2.h (bfd_mach_mips_loongson_3a): Defined.
+	* cpu-mips.c (I_loongson_3a): New add.
+	(arch_info_struct): Add loongson_3a.
+	* elfxx-mips.c (_bfd_elf_mips_mach): Add loongson_3a.
+	(mips_set_isa_flags): Add loongson_3a.
+	(mips_mach_extensions): Add loongson_3a in MIPS64 extensions.
+
+2010-11-10  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf32-arm.c (elf32_arm_merge_eabi_attributes): Remove unused
+	variables.
+
+2010-11-10  Nick Clifton  <nickc@redhat.com>
+
+	* po/ja.po: Updated Japanese translation.
+	* po/ru.po: Updated Russian translation.
+
+2010-11-08  Nick Clifton  <nickc@redhat.com>
+
+	* po/ja.po: Updated Japanese translation.
+
+2010-11-08  Alan Modra  <amodra@gmail.com>
+
+	* hash.c (bfd_hash_hash): Extract from..
+	(bfd_hash_lookup): ..here.
+	(bfd_hash_rename): New function.
+	* section.c (bfd_rename_section): New function.
+	* bfd-in.h (bfd_hash_rename): Declare.
+	* bfd-in2.h: Regenerate.
+	* elf.c (_bfd_elf_make_section_from_shdr): Rename input sections
+	when compressing or decompressing.  Don't assert name match.
+	* elf64-hppa.c (get_reloc_section): Don't assert name match.
+	* elfxx-ia64.c (get_reloc_section): Likewise.
+
 2010-11-05  Joseph Myers  <joseph@codesourcery.com>
 
 	* elf32-tic6x.c (elf32_tic6x_obj_attrs_handle_unknown): New.
diff --git a/bfd/archive.c b/bfd/archive.c
index ed40141..258c8d9 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -655,6 +655,9 @@ _bfd_get_elt_at_filepos (bfd *archive, file_ptr filepos)
 
   n_nfd->arelt_data = new_areldata;
 
+  /* Copy BFD_COMPRESS and BFD_DECOMPRESS flags.  */
+  n_nfd->flags |= archive->flags & (BFD_COMPRESS | BFD_DECOMPRESS);
+
   if (_bfd_add_bfd_to_archive_cache (archive, filepos, n_nfd))
     return n_nfd;
 
@@ -697,8 +700,6 @@ DESCRIPTION
 bfd *
 bfd_openr_next_archived_file (bfd *archive, bfd *last_file)
 {
-  bfd *abfd;
-
   if ((bfd_get_format (archive) != bfd_archive)
       || (archive->direction == write_direction))
     {
@@ -706,14 +707,8 @@ bfd_openr_next_archived_file (bfd *archive, bfd *last_file)
       return NULL;
     }
 
-  abfd = BFD_SEND (archive,
+  return BFD_SEND (archive,
 		   openr_next_archived_file, (archive, last_file));
-
-  /* Copy BFD_COMPRESS and BFD_DECOMPRESS flags.  */
-  if (abfd)
-    abfd->flags |= archive->flags & (BFD_COMPRESS | BFD_DECOMPRESS);
-
-  return abfd;
 }
 
 bfd *
diff --git a/bfd/archures.c b/bfd/archures.c
index 1867154..1d61ae3 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -173,6 +173,7 @@ DESCRIPTION
 .#define bfd_mach_mips5                 5
 .#define bfd_mach_mips_loongson_2e      3001
 .#define bfd_mach_mips_loongson_2f      3002
+.#define bfd_mach_mips_loongson_3a      3003
 .#define bfd_mach_mips_sb1              12310201 {* octal 'SB', 01 *}
 .#define bfd_mach_mips_octeon		6501
 .#define bfd_mach_mips_xlr              887682   {* decimal 'XLR'  *}
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index cfa5225..63fcdc9 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -404,6 +404,10 @@ extern struct bfd_hash_entry *bfd_hash_lookup
 extern struct bfd_hash_entry *bfd_hash_insert
   (struct bfd_hash_table *, const char *, unsigned long);
 
+/* Rename an entry in a hash table.  */
+extern void bfd_hash_rename
+  (struct bfd_hash_table *, const char *, struct bfd_hash_entry *);
+
 /* Replace an entry in a hash table.  */
 extern void bfd_hash_replace
   (struct bfd_hash_table *, struct bfd_hash_entry *old,
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index c6a54b5..e7805b6 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -411,6 +411,10 @@ extern struct bfd_hash_entry *bfd_hash_lookup
 extern struct bfd_hash_entry *bfd_hash_insert
   (struct bfd_hash_table *, const char *, unsigned long);
 
+/* Rename an entry in a hash table.  */
+extern void bfd_hash_rename
+  (struct bfd_hash_table *, const char *, struct bfd_hash_entry *);
+
 /* Replace an entry in a hash table.  */
 extern void bfd_hash_replace
   (struct bfd_hash_table *, struct bfd_hash_entry *old,
@@ -1713,6 +1717,9 @@ asection *bfd_make_section (bfd *, const char *name);
 bfd_boolean bfd_set_section_flags
    (bfd *abfd, asection *sec, flagword flags);
 
+void bfd_rename_section
+   (bfd *abfd, asection *sec, const char *newname);
+
 void bfd_map_over_sections
    (bfd *abfd,
     void (*func) (bfd *abfd, asection *sect, void *obj),
@@ -1853,6 +1860,7 @@ enum bfd_architecture
 #define bfd_mach_mips5                 5
 #define bfd_mach_mips_loongson_2e      3001
 #define bfd_mach_mips_loongson_2f      3002
+#define bfd_mach_mips_loongson_3a      3003
 #define bfd_mach_mips_sb1              12310201 /* octal 'SB', 01 */
 #define bfd_mach_mips_octeon           6501
 #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'  */
diff --git a/bfd/elf.c b/bfd/elf.c
index 4f326a7..075a668 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -822,11 +822,7 @@ _bfd_elf_make_section_from_shdr (bfd *abfd,
   const struct elf_backend_data *bed;
 
   if (hdr->bfd_section != NULL)
-    {
-      BFD_ASSERT (strcmp (name,
-			  bfd_get_section_name (abfd, hdr->bfd_section)) == 0);
-      return TRUE;
-    }
+    return TRUE;
 
   newsect = bfd_make_section_anyway (abfd, name);
   if (newsect == NULL)
@@ -1016,6 +1012,7 @@ _bfd_elf_make_section_from_shdr (bfd *abfd,
 	  || (name[1] == 'z' && name[7] == '_')))
     {
       enum { nothing, compress, decompress } action = nothing;
+      char *new_name;
 
       if (bfd_is_section_compressed (abfd, newsect))
 	{
@@ -1030,6 +1027,7 @@ _bfd_elf_make_section_from_shdr (bfd *abfd,
 	    action = compress;
 	}
 
+      new_name = NULL;
       switch (action)
 	{
 	case nothing:
@@ -1042,6 +1040,17 @@ _bfd_elf_make_section_from_shdr (bfd *abfd,
 		 abfd, name);
 	      return FALSE;
 	    }
+	  if (name[1] != 'z')
+	    {
+	      unsigned int len = strlen (name);
+
+	      new_name = bfd_alloc (abfd, len + 2);
+	      if (new_name == NULL)
+		return FALSE;
+	      new_name[0] = '.';
+	      new_name[1] = 'z';
+	      memcpy (new_name + 2, name + 1, len);
+	    }
 	  break;
 	case decompress:
 	  if (!bfd_init_section_decompress_status (abfd, newsect))
@@ -1051,8 +1060,20 @@ _bfd_elf_make_section_from_shdr (bfd *abfd,
 		 abfd, name);
 	      return FALSE;
 	    }
+	  if (name[1] == 'z')
+	    {
+	      unsigned int len = strlen (name);
+
+	      new_name = bfd_alloc (abfd, len);
+	      if (new_name == NULL)
+		return FALSE;
+	      new_name[0] = '.';
+	      memcpy (new_name + 1, name + 2, len - 1);
+	    }
 	  break;
 	}
+      if (new_name != NULL)
+	bfd_rename_section (abfd, newsect, new_name);
     }
 
   return TRUE;
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 577060b..ffe8f60 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -9904,9 +9904,6 @@ elf32_arm_merge_eabi_attributes (bfd *ibfd, bfd *obfd)
 {
   obj_attribute *in_attr;
   obj_attribute *out_attr;
-  obj_attribute_list *in_list;
-  obj_attribute_list *out_list;
-  obj_attribute_list **out_listp;
   /* Some tags have 0 = don't care, 1 = strong requirement,
      2 = weak requirement.  */
   static const int order_021[3] = {0, 2, 1};
@@ -10417,10 +10414,6 @@ elf32_arm_merge_eabi_attributes (bfd *ibfd, bfd *obfd)
     return FALSE;
 
   /* Check for any attributes not known on ARM.  */
-  in_list = elf_other_obj_attributes_proc (ibfd);
-  out_listp = &elf_other_obj_attributes_proc (obfd);
-  out_list = *out_listp;
-
   result &= _bfd_elf_merge_unknown_attribute_list (ibfd, obfd);
 
   return result;
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c
index 237391b..56af244 100644
--- a/bfd/elf32-bfin.c
+++ b/bfd/elf32-bfin.c
@@ -1120,6 +1120,22 @@ bfin_reloc_type_lookup (bfd * abfd ATTRIBUTE_UNUSED,
   return (reloc_howto_type *) NULL;
 }
 
+/* Set by ld emulation if --code-in-l1.  */
+bfd_boolean elf32_bfin_code_in_l1 = 0;
+
+/* Set by ld emulation if --data-in-l1.  */
+bfd_boolean elf32_bfin_data_in_l1 = 0;
+
+static void
+elf32_bfin_final_write_processing (bfd *abfd,
+				   bfd_boolean linker ATTRIBUTE_UNUSED)
+{
+  if (elf32_bfin_code_in_l1)
+    elf_elfheader (abfd)->e_flags |= EF_BFIN_CODE_IN_L1;
+  if (elf32_bfin_data_in_l1)
+    elf_elfheader (abfd)->e_flags |= EF_BFIN_DATA_IN_L1;
+}
+
 /* Return TRUE if the name is a local label.
    bfin local labels begin with L$.  */
 static bfd_boolean
@@ -3442,14 +3458,8 @@ _bfin_create_got_section (bfd *abfd, struct bfd_link_info *info)
 	return FALSE;
 
       bfinfdpic_gotfixup_section (info) = s;
-      flags = BSF_GLOBAL;
-    }
-  else
-    {
-      flags = BSF_GLOBAL | BSF_WEAK;
     }
 
-  flags = pltflags;
   pltflags |= SEC_CODE;
   if (bed->plt_not_loaded)
     pltflags &= ~ (SEC_CODE | SEC_LOAD | SEC_HAS_CONTENTS);
@@ -5793,6 +5803,8 @@ struct bfd_elf_special_section const elf32_bfin_special_sections[] =
                                         elf32_bfin_set_private_flags
 #define bfd_elf32_bfd_print_private_bfd_data \
                                         elf32_bfin_print_private_bfd_data
+#define elf_backend_final_write_processing \
+                                        elf32_bfin_final_write_processing
 #define elf_backend_reloc_type_class    elf32_bfin_reloc_type_class
 #define elf_backend_can_gc_sections 1
 #define elf_backend_special_sections	elf32_bfin_special_sections
diff --git a/bfd/elf64-hppa.c b/bfd/elf64-hppa.c
index 11289b1..d8213a0 100644
--- a/bfd/elf64-hppa.c
+++ b/bfd/elf64-hppa.c
@@ -411,13 +411,6 @@ get_reloc_section (bfd *abfd,
   if (srel_name == NULL)
     return FALSE;
 
-  BFD_ASSERT ((CONST_STRNEQ (srel_name, ".rela")
-	       && strcmp (bfd_get_section_name (abfd, sec),
-			  srel_name + 5) == 0)
-	      || (CONST_STRNEQ (srel_name, ".rel")
-		  && strcmp (bfd_get_section_name (abfd, sec),
-			     srel_name + 4) == 0));
-
   dynobj = hppa_info->root.dynobj;
   if (!dynobj)
     hppa_info->root.dynobj = dynobj = abfd;
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index 0ef1a44..d42ad89 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -2602,13 +2602,6 @@ get_reloc_section (bfd *abfd,
   if (srel_name == NULL)
     return NULL;
 
-  BFD_ASSERT ((CONST_STRNEQ (srel_name, ".rela")
-	       && strcmp (bfd_get_section_name (abfd, sec),
-			  srel_name+5) == 0)
-	      || (CONST_STRNEQ (srel_name, ".rel")
-		  && strcmp (bfd_get_section_name (abfd, sec),
-			     srel_name+4) == 0));
-
   dynobj = ia64_info->root.dynobj;
   if (!dynobj)
     ia64_info->root.dynobj = dynobj = abfd;
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 4718dd4..cfbb06e 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -5946,6 +5946,9 @@ _bfd_elf_mips_mach (flagword flags)
     case E_MIPS_MACH_LS2F:
       return bfd_mach_mips_loongson_2f;
 
+    case E_MIPS_MACH_LS3A:
+      return bfd_mach_mips_loongson_3a;
+
     case E_MIPS_MACH_OCTEON:
       return bfd_mach_mips_octeon;
 
@@ -10556,6 +10559,10 @@ mips_set_isa_flags (bfd *abfd)
       val = E_MIPS_ARCH_3 | E_MIPS_MACH_LS2F;
       break;
 
+    case bfd_mach_mips_loongson_3a:
+      val = E_MIPS_ARCH_64 | E_MIPS_MACH_LS3A;
+      break;
+
     case bfd_mach_mips_sb1:
       val = E_MIPS_ARCH_64 | E_MIPS_MACH_SB1;
       break;
@@ -12258,6 +12265,7 @@ static const struct mips_mach_extension mips_mach_extensions[] = {
   { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },
   { bfd_mach_mips_sb1, bfd_mach_mipsisa64 },
   { bfd_mach_mips_xlr, bfd_mach_mipsisa64 },
+  { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64 },
 
   /* MIPS V extensions.  */
   { bfd_mach_mipsisa64, bfd_mach_mips5 },
diff --git a/bfd/hash.c b/bfd/hash.c
index fc05923..e2fa3a9 100644
--- a/bfd/hash.c
+++ b/bfd/hash.c
@@ -1,6 +1,6 @@
 /* hash.c -- hash table routines for BFD
    Copyright 1993, 1994, 1995, 1997, 1999, 2001, 2002, 2003, 2004, 2005,
-   2006, 2007, 2009 Free Software Foundation, Inc.
+   2006, 2007, 2009, 2010 Free Software Foundation, Inc.
    Written by Steve Chamberlain <sac@cygnus.com>
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -412,20 +412,13 @@ bfd_hash_table_free (struct bfd_hash_table *table)
   table->memory = NULL;
 }
 
-/* Look up a string in a hash table.  */
-
-struct bfd_hash_entry *
-bfd_hash_lookup (struct bfd_hash_table *table,
-		 const char *string,
-		 bfd_boolean create,
-		 bfd_boolean copy)
+static inline unsigned long
+bfd_hash_hash (const char *string, unsigned int *lenp)
 {
   const unsigned char *s;
   unsigned long hash;
-  unsigned int c;
-  struct bfd_hash_entry *hashp;
   unsigned int len;
-  unsigned int _index;
+  unsigned int c;
 
   hash = 0;
   len = 0;
@@ -438,7 +431,25 @@ bfd_hash_lookup (struct bfd_hash_table *table,
   len = (s - (const unsigned char *) string) - 1;
   hash += len + (len << 17);
   hash ^= hash >> 2;
+  if (lenp != NULL)
+    *lenp = len;
+  return hash;
+}
+
+/* Look up a string in a hash table.  */
 
+struct bfd_hash_entry *
+bfd_hash_lookup (struct bfd_hash_table *table,
+		 const char *string,
+		 bfd_boolean create,
+		 bfd_boolean copy)
+{
+  unsigned long hash;
+  struct bfd_hash_entry *hashp;
+  unsigned int len;
+  unsigned int _index;
+
+  hash = bfd_hash_hash (string, &len);
   _index = hash % table->size;
   for (hashp = table->table[_index];
        hashp != NULL;
@@ -535,6 +546,31 @@ bfd_hash_insert (struct bfd_hash_table *table,
   return hashp;
 }
 
+/* Rename an entry in a hash table.  */
+
+void
+bfd_hash_rename (struct bfd_hash_table *table,
+		 const char *string,
+		 struct bfd_hash_entry *ent)
+{
+  unsigned int _index;
+  struct bfd_hash_entry **pph;
+
+  _index = ent->hash % table->size;
+  for (pph = &table->table[_index]; *pph != NULL; pph = &(*pph)->next)
+    if (*pph == ent)
+      break;
+  if (*pph == NULL)
+    abort ();
+
+  *pph = ent->next;
+  ent->string = string;
+  ent->hash = bfd_hash_hash (string, NULL);
+  _index = ent->hash % table->size;
+  ent->next = table->table[_index];
+  table->table[_index] = ent;
+}
+
 /* Replace an entry in a hash table.  */
 
 void
diff --git a/bfd/po/ja.po b/bfd/po/ja.po
index 9373b27..e3eab97 100644
--- a/bfd/po/ja.po
+++ b/bfd/po/ja.po
@@ -1,2023 +1,3454 @@
-# Japanese message for bfd 2.11
-# Copyright (C) 2001 Free Software Foundation, Inc.
+# Japanese message for bfd
+# This file is distributed under the same license as the binutils package.
+# Copyright (C) 2001, 2010 Free Software Foundation, Inc.
 # Daisuke Yamashita <yamad@mb.infoweb.ne.jp>, 2001
-#
+# Yasuaki Taniguchi <yasuakit@gmail.com>, 2010.
 msgid ""
 msgstr ""
-"Project-Id-Version: bfd 2.11\n"
-"POT-Creation-Date: 2002-01-31 17:07+0000\n"
-"PO-Revision-Date: 2001-12-22 13:37+0900\n"
-"Last-Translator: Daisuke Yamashita <yamad@mb.infoweb.ne.jp>\n"
-"Language-Team: Japanese <ja@li.org>\n"
+"Project-Id-Version: bfd 2.20.1\n"
+"Report-Msgid-Bugs-To: bug-binutils@gnu.org\n"
+"POT-Creation-Date: 2010-03-03 15:03+0100\n"
+"PO-Revision-Date: 2010-11-09 20:28+0900\n"
+"Last-Translator: Yasuaki Taniguchi <yasuakit@gmail.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
 "MIME-Version: 1.0\n"


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


             reply	other threads:[~2010-11-16  5:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16  5:24 jkratoch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-01-17 14:07 jkratoch
2011-01-15 11:40 jkratoch
2011-01-10  9:37 jkratoch
2011-01-07  7:31 jkratoch
2011-01-04  5:08 jkratoch
2010-12-31 22:36 jkratoch
2010-02-03  5:13 jkratoch
2010-01-28 11:17 jkratoch
2010-01-17 23:35 jkratoch
2010-01-13 20:59 jkratoch
2010-01-13 20:40 jkratoch

Reply instructions:

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

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

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

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

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

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

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).