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.h | |
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.h')
-rw-r--r-- | bfd/vms.h | 39 |
1 files changed, 20 insertions, 19 deletions
@@ -1,6 +1,6 @@ /* vms.h -- Header file for VMS (Alpha and Vax) support. Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, - 2008, 2009 Free Software Foundation, Inc. + 2008, 2009, 2010 Free Software Foundation, Inc. Main header file. @@ -111,26 +111,27 @@ extern void _bfd_hexdump (int, unsigned char *, int, int); #define vms_debug2(X) #endif -extern char *vms_get_module_name (const char *filename, bfd_boolean); +extern char * vms_get_module_name (const char *, bfd_boolean); extern unsigned char *get_vms_time_string (void); extern time_t vms_time_to_time_t (unsigned int hi, unsigned int lo); -extern time_t vms_rawtime_to_time_t (unsigned char *buf); - -extern char *_bfd_vms_save_sized_string (unsigned char *, int); -extern char *_bfd_vms_save_counted_string (unsigned char *); -extern void _bfd_vms_output_begin (struct vms_rec_wr *, int); -extern void _bfd_vms_output_alignment (struct vms_rec_wr *, int); -extern void _bfd_vms_output_begin_subrec (struct vms_rec_wr *, int); -extern void _bfd_vms_output_end_subrec (struct vms_rec_wr *); -extern void _bfd_vms_output_end (bfd *, struct vms_rec_wr *); -extern int _bfd_vms_output_check (struct vms_rec_wr *, int); -extern void _bfd_vms_output_byte (struct vms_rec_wr *, unsigned); -extern void _bfd_vms_output_short (struct vms_rec_wr *, unsigned); -extern void _bfd_vms_output_long (struct vms_rec_wr *, unsigned long); -extern void _bfd_vms_output_quad (struct vms_rec_wr *, bfd_vma); -extern void _bfd_vms_output_counted (struct vms_rec_wr *, char *); -extern void _bfd_vms_output_dump (struct vms_rec_wr *, unsigned char *, int); -extern void _bfd_vms_output_fill (struct vms_rec_wr *, int, int); +extern time_t vms_rawtime_to_time_t (unsigned char *); + +extern char * _bfd_vms_save_sized_string (unsigned char *, int); +extern char * _bfd_vms_save_counted_string (unsigned char *); +extern void _bfd_vms_output_begin (struct vms_rec_wr *, int); +extern void _bfd_vms_output_alignment (struct vms_rec_wr *, int); +extern void _bfd_vms_output_begin_subrec (struct vms_rec_wr *, int); +extern void _bfd_vms_output_end_subrec (struct vms_rec_wr *); +extern void _bfd_vms_output_end (bfd *, struct vms_rec_wr *); +extern int _bfd_vms_output_check (struct vms_rec_wr *, int); +extern void _bfd_vms_output_byte (struct vms_rec_wr *, unsigned); +extern void _bfd_vms_output_short (struct vms_rec_wr *, unsigned); +extern void _bfd_vms_output_long (struct vms_rec_wr *, unsigned long); +extern void _bfd_vms_output_quad (struct vms_rec_wr *, bfd_vma); +extern void _bfd_vms_output_counted (struct vms_rec_wr *, char *); +extern void _bfd_vms_output_dump (struct vms_rec_wr *, unsigned char *, int); +extern void _bfd_vms_output_fill (struct vms_rec_wr *, int, int); +extern int _bfd_vms_convert_to_var_unix_filename (const char *); /* vms-alpha.c */ |