From: Tristan Gingold Date: Tue, 8 Jun 2010 08:26:01 +0000 (+0000) Subject: 2010-06-08 Tristan Gingold X-Git-Tag: gdb_7_2-2010-07-07-branchpoint~309 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09266d1a64b852169ea7d157854e57b554dadc5d;p=external%2Fbinutils.git 2010-06-08 Tristan Gingold * 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. --- 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 + + * 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 * 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