2010-06-08 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Tue, 8 Jun 2010 08:26:01 +0000 (08:26 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 8 Jun 2010 08:26:01 +0000 (08:26 +0000)
* vms-lib.c (_bfd_vms_lib_ia64_mkarchive): New function.
* libbfd-in.h (_bfd_vms_lib_ia64_mkarchive): Declare.
* libbfd.h: Regenerate.
* elfxx-ia64.c (bfd_elfNN_write_archive_contents): Redefine for VMS.
(bfd_elfNN_mkarchive): Ditto.

bfd/ChangeLog
bfd/elfxx-ia64.c
bfd/libbfd-in.h
bfd/libbfd.h
bfd/vms-lib.c

index d6a13053a3d216a6a7c2eb1259a27fe2261221f1..485f4da528e0a1c9f3e6f91cc2b43d95fb512f34 100644 (file)
@@ -1,3 +1,11 @@
+2010-06-08  Tristan Gingold  <gingold@adacore.com>
+
+       * vms-lib.c (_bfd_vms_lib_ia64_mkarchive): New function.
+       * libbfd-in.h (_bfd_vms_lib_ia64_mkarchive): Declare.
+       * libbfd.h: Regenerate.
+       * elfxx-ia64.c (bfd_elfNN_write_archive_contents): Redefine for VMS.
+       (bfd_elfNN_mkarchive): Ditto.
+
 2010-06-02  Tristan Gingold  <gingold@adacore.com>
 
        * vms-alpha.c (alpha_vms_bfd_final_link): Fix 64bit constant.
index 93baaf1ba1b0a47ed0fd36b6c280923e57c8bff1..5cb1a20ccc0440781dc9fcbc58ffcdcd9f813680 100644 (file)
@@ -6179,6 +6179,10 @@ elfNN_vms_close_and_cleanup (bfd *abfd)
 
 #undef bfd_elfNN_archive_p
 #define bfd_elfNN_archive_p _bfd_vms_lib_ia64_archive_p
+#undef bfd_elfNN_write_archive_contents
+#define bfd_elfNN_write_archive_contents _bfd_vms_lib_write_archive_contents
+#undef bfd_elfNN_mkarchive
+#define bfd_elfNN_mkarchive _bfd_vms_lib_ia64_mkarchive
 
 #define bfd_elfNN_archive_slurp_armap \
   _bfd_vms_lib_slurp_armap
index ec13399de0970403423320a17e47dd5d23d344cd..87a73b4623928829ea925fd1cd0b170a026ebe1e 100644 (file)
@@ -377,6 +377,7 @@ extern bfd *_bfd_vms_lib_get_imagelib_file (bfd *);
 extern const bfd_target *_bfd_vms_lib_alpha_archive_p (bfd *abfd);
 extern const bfd_target *_bfd_vms_lib_ia64_archive_p (bfd *abfd);
 extern bfd_boolean _bfd_vms_lib_alpha_mkarchive (bfd *abfd);
+extern bfd_boolean _bfd_vms_lib_ia64_mkarchive (bfd *abfd);
 
 /* Routines to use for BFD_JUMP_TABLE_SYMBOLS where there is no symbol
    support.  Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols).  */
index 578929aca3f1dbbbbf189a3eda12478d8eb0d1cc..233891c9754ee2a0cdb43143c222730dfb0d46b3 100644 (file)
@@ -382,6 +382,7 @@ extern bfd *_bfd_vms_lib_get_imagelib_file (bfd *);
 extern const bfd_target *_bfd_vms_lib_alpha_archive_p (bfd *abfd);
 extern const bfd_target *_bfd_vms_lib_ia64_archive_p (bfd *abfd);
 extern bfd_boolean _bfd_vms_lib_alpha_mkarchive (bfd *abfd);
+extern bfd_boolean _bfd_vms_lib_ia64_mkarchive (bfd *abfd);
 
 /* Routines to use for BFD_JUMP_TABLE_SYMBOLS where there is no symbol
    support.  Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols).  */
index b7c8f83d287715d8c91537cd292da34b98b54b74..c959df959672a3f7976f1da95b2c682ee09c43cf 100644 (file)
@@ -703,6 +703,12 @@ _bfd_vms_lib_alpha_mkarchive (bfd *abfd)
   return _bfd_vms_lib_mkarchive (abfd, vms_lib_alpha);
 }
 
+bfd_boolean
+_bfd_vms_lib_ia64_mkarchive (bfd *abfd)
+{
+  return _bfd_vms_lib_mkarchive (abfd, vms_lib_ia64);
+}
+
 /* Find NAME in the symbol index.  Return the index.  */
 
 symindex