2011-06-09 James Greenhalgh <james.greenhalgh@arm.com>
[binutils.git] / gas / config / te-vms.h
blob0c3a1940659016021c34d64418523e3be0c4576a
1 /* Copyright 2009 Free Software Foundation, Inc.
3 This file is part of GAS, the GNU Assembler.
5 GAS is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as
7 published by the Free Software Foundation; either version 3,
8 or (at your option) any later version.
10 GAS is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
13 the GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with GAS; see the file COPYING. If not, write to the Free
17 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
18 02110-1301, USA. */
20 #define TE_VMS
21 #include "obj-format.h"
23 extern bfd_uint64_t vms_dwarf2_file_time_name (const char *, const char *);
24 extern long vms_dwarf2_file_size_name (const char *, const char *);
25 extern char *vms_dwarf2_file_name (const char *, const char *);
27 /* VMS debugger expects a separator. */
28 #define DWARF2_DIR_SHOULD_END_WITH_SEPARATOR 1
30 /* VMS debugger needs the file timestamp. */
31 #define DWARF2_FILE_TIME_NAME(FILENAME,DIRNAME) \
32 vms_dwarf2_file_time_name(FILENAME, DIRNAME)
34 /* VMS debugger needs the file size. */
35 #define DWARF2_FILE_SIZE_NAME(FILENAME,DIRNAME) \
36 vms_dwarf2_file_size_name(FILENAME, DIRNAME)
38 /* VMS debugger needs the filename with version appended. */
39 /* Longest filename on VMS is 255 characters. Largest version is 32768. */
40 #define DWARF2_FILE_NAME(FILENAME,DIRNAME) \
41 vms_dwarf2_file_name(FILENAME, DIRNAME)