X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Fconfig%2Fte-vms.h;fp=gas%2Fconfig%2Fte-vms.h;h=0c3a1940659016021c34d64418523e3be0c4576a;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/config/te-vms.h b/gas/config/te-vms.h new file mode 100644 index 0000000..0c3a194 --- /dev/null +++ b/gas/config/te-vms.h @@ -0,0 +1,41 @@ +/* Copyright 2009 Free Software Foundation, Inc. + + This file is part of GAS, the GNU Assembler. + + GAS is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 3, + or (at your option) any later version. + + GAS is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See + the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GAS; see the file COPYING. If not, write to the Free + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ + +#define TE_VMS +#include "obj-format.h" + +extern bfd_uint64_t vms_dwarf2_file_time_name (const char *, const char *); +extern long vms_dwarf2_file_size_name (const char *, const char *); +extern char *vms_dwarf2_file_name (const char *, const char *); + +/* VMS debugger expects a separator. */ +#define DWARF2_DIR_SHOULD_END_WITH_SEPARATOR 1 + +/* VMS debugger needs the file timestamp. */ +#define DWARF2_FILE_TIME_NAME(FILENAME,DIRNAME) \ + vms_dwarf2_file_time_name(FILENAME, DIRNAME) + +/* VMS debugger needs the file size. */ +#define DWARF2_FILE_SIZE_NAME(FILENAME,DIRNAME) \ + vms_dwarf2_file_size_name(FILENAME, DIRNAME) + +/* VMS debugger needs the filename with version appended. */ +/* Longest filename on VMS is 255 characters. Largest version is 32768. */ +#define DWARF2_FILE_NAME(FILENAME,DIRNAME) \ + vms_dwarf2_file_name(FILENAME, DIRNAME)