From a570d4b2d3504e3fd1cb8c032b8eb5db5e43ab6b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 18 Jun 1996 19:14:57 +0000 Subject: [PATCH] Tue Jun 18 15:11:33 1996 Klaus Kaempf * fopen-vms.h: New file. --- include/.Sanitize | 1 + include/ChangeLog | 36 ++++++++++++++++++++++++++++++++++++ include/fopen-vms.h | 24 ++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 include/fopen-vms.h diff --git a/include/.Sanitize b/include/.Sanitize index e54d44a584f..935e7f1b622 100644 --- a/include/.Sanitize +++ b/include/.Sanitize @@ -37,6 +37,7 @@ elf floatformat.h fopen-bin.h fopen-same.h +fopen-vms.h gdbm.h getopt.h hp-symtab.h diff --git a/include/ChangeLog b/include/ChangeLog index 1afbf5efe34..dce58082eac 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,6 +1,42 @@ +Tue Jun 18 15:11:33 1996 Klaus Kaempf + + * fopen-vms.h: New file. + +Tue Jun 4 18:58:16 1996 Ian Lance Taylor + + * bfdlink.h (struct bfd_link_info): Add notice_all field. + +Fri Apr 26 10:33:12 1996 Doug Evans + + * demangle.h (#ifdef IN_GCC): #include "gansidecl.h". + (PROTO,PTR,const): Delete. + +Mon Apr 22 17:27:42 1996 Ian Lance Taylor + + * bfdlink.h (struct bfd_link_info): Add traditional_format field. + +Mon Apr 15 15:16:56 1996 Doug Evans + + * libiberty.h (choose_temp_base): Add prototype. + +Tue Mar 12 17:29:46 1996 Ian Lance Taylor + + * bfdlink.h (bfd_wrapped_link_hash_lookup): Declare. + (struct bfd_link_info): Add wrap_hash field. + +Wed Feb 14 16:49:17 1996 Martin Anantharaman + + * ieee.h (ieee_record_enum_type): Define + ieee_external_reference_info_enum. + +Fri Feb 2 17:09:25 1996 Doug Evans + + * dis-asm.h (DISASM_RAW_INSN): Delete. + Tue Jan 23 09:21:47 1996 Doug Evans * dis-asm.h (INIT_DISASSEMBLE_INFO): Set endian to BFD_ENDIAN_UNKNOWN. + New argument FPRINTF_FUNC. Mon Jan 22 16:37:59 1996 Doug Evans diff --git a/include/fopen-vms.h b/include/fopen-vms.h new file mode 100644 index 00000000000..da76b7fb59c --- /dev/null +++ b/include/fopen-vms.h @@ -0,0 +1,24 @@ +/* Macros for the 'type' part of an fopen, freopen or fdopen. + + [Update] + + This version is for VMS systems, where text and binary files are + different. + This file is designed for inclusion by host-dependent .h files. No + user application should include it directly, since that would make + the application unable to be configured for both "same" and "binary" + variant systems. */ + +#define FOPEN_RB "rb","rfm=var" +#define FOPEN_WB "wb","rfm=var" +#define FOPEN_AB "ab","rfm=var" +#define FOPEN_RUB "r+b","rfm=var" +#define FOPEN_WUB "w+b","rfm=var" +#define FOPEN_AUB "a+b","rfm=var" + +#define FOPEN_RT "r" +#define FOPEN_WT "w" +#define FOPEN_AT "a" +#define FOPEN_RUT "r+" +#define FOPEN_WUT "w+" +#define FOPEN_AUT "a+" -- 2.30.2