diff options
author | Nick Clifton <nickc@redhat.com> | 2010-05-25 10:14:16 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2010-05-25 10:14:16 +0000 |
commit | 9fcd9da67989f554961747332188536869222218 (patch) | |
tree | a4bd82b35558a6c42be7f5beb4bd0332149ed9f5 /bfd/vms-misc.c | |
parent | 770c040b7ea961f5fa87658361a8384308204fa0 (diff) | |
download | gdb-9fcd9da67989f554961747332188536869222218.zip gdb-9fcd9da67989f554961747332188536869222218.tar.gz gdb-9fcd9da67989f554961747332188536869222218.tar.bz2 |
PR ld/11624
* archive.c (_bfd_calloc_wrapper): New function.
(_bfd_add_bfd_to_archive_cache): Use it.
* configure.in: Add alpha*-*-*vms* to list of natives.
* configure: Regenerate.
* vms-misc.c: Define globalref if necessary.
(vms_convert_to_var_unix_filename): Rename to
_bfd_vms_convert_to_var_unix_filename and export.
* vms.h: Add prototype for _bfd_vms_convert_to_var_unix_filename.
* vms-alpha.c (vms_close_and_cleanup): Update invocation of
vms_convert_to_var_unix_filename.
Diffstat (limited to 'bfd/vms-misc.c')
-rw-r--r-- | bfd/vms-misc.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/bfd/vms-misc.c b/bfd/vms-misc.c index 67cc25a..be6d509 100644 --- a/bfd/vms-misc.c +++ b/bfd/vms-misc.c @@ -1,7 +1,7 @@ /* vms-misc.c -- BFD back-end for VMS/VAX (openVMS/VAX) and EVAX (openVMS/Alpha) files. Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, - 2007, 2008, 2009 Free Software Foundation, Inc. + 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Miscellaneous functions. @@ -33,6 +33,9 @@ #include "safe-ctype.h" #ifdef VMS +#if defined(__GNUC__) && !defined(globalref) +#define globalref extern +#endif #include <rms.h> #include <unixlib.h> #include <starlet.h> @@ -399,8 +402,8 @@ _bfd_vms_output_fill (struct vms_rec_wr *recwr, int value, int count) using undocumented system call sys$modify(). Pure VMS version. */ -static void -vms_convert_to_var (char *vms_filename) +void +_bfd_vms_convert_to_var (char * vms_filename) { struct FAB fab = cc$rms_fab; |