aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2010-06-08 08:26:01 +0000
committerTristan Gingold <gingold@adacore.com>2010-06-08 08:26:01 +0000
commit09266d1a64b852169ea7d157854e57b554dadc5d (patch)
treed2eabfa22aeb7c24f6e62383fb1fba6aca6e51d7
parenteaaffdf49f698d6f61131e9c8937000363ee950d (diff)
downloadgdb-09266d1a64b852169ea7d157854e57b554dadc5d.zip
gdb-09266d1a64b852169ea7d157854e57b554dadc5d.tar.gz
gdb-09266d1a64b852169ea7d157854e57b554dadc5d.tar.bz2
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.
-rw-r--r--bfd/ChangeLog8
-rw-r--r--bfd/elfxx-ia64.c4
-rw-r--r--bfd/libbfd-in.h1
-rw-r--r--bfd/libbfd.h1
-rw-r--r--bfd/vms-lib.c6
5 files changed, 20 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d6a1305..485f4da 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index 93baaf1..5cb1a20 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -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
diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h
index ec13399..87a73b4 100644
--- a/bfd/libbfd-in.h
+++ b/bfd/libbfd-in.h
@@ -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). */
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index 578929a..233891c 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -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). */
diff --git a/bfd/vms-lib.c b/bfd/vms-lib.c
index b7c8f83..c959df9 100644
--- a/bfd/vms-lib.c
+++ b/bfd/vms-lib.c
@@ -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