From c34ce411144e8354bae63c83a0eddf959a82282a Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 14 Nov 2008 09:57:33 +0000 Subject: [PATCH] bfd/ 2008-11-14 Tristan Gingold * configure.com: Handle bfd_default_target_size, BFD_HOST_LONG_LONG, BFD_HOST_64BIT_LONG_LONG, BFD_HOSTPTR_T, bfd_file_ptr. Generate bfdver.h. * vms-hdr.c (_bfd_vms_write_hdr): Use strdup/free instead of alloca. * hosts/alphavms.h: Defines macros to bypass i18n. * makefile.vms (OBJS): Update file list. (DEFS): Remove VMS_DEBUG, const, add DEBUGDIR. (CFLAGS): Update flags. * bfdio.c (real_fopen): Add code specific to VMS: extract attributes from modes. binutils/ 2008-11-14 Tristan Gingold * configure.com: Get version from configure.in of bfd. * makefile.vms-in (DEBUG_OBJS): Add dwarf.obj. (CFLAGS): Update flags. include/ 2008-11-14 Tristan Gingold * fopen-vms.h (FOPEN_RB): Use a single string to match the standard prototype. (FOPEN_WB): Ditto. (FOPEN_AB): Ditto. (FOPEN_RUB): Ditto. (FOPEN_WUB): Ditto. (FOPEN_AUB): Ditto. libiberty/ 2008-11-14 Tristan Gingold * makefile.vms (OBJS): Update objects list. (CFLAGS): Update. (libiberty.olb): Remove alloca-conf.h dependency. * config.h-vms: Use new macro sets, use builtin alloca. opcodes/ 2008-11-14 Tristan Gingold * makefile.vms (OBJS): Update list of objects. (DEFS): Update (CFLAGS): Update. --- include/ChangeLog | 10 ++++++++++ include/fopen-vms.h | 12 ++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/include/ChangeLog b/include/ChangeLog index beb78b71f..1348b1334 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,13 @@ +2008-11-14 Tristan Gingold + + * fopen-vms.h (FOPEN_RB): Use a single string to match the + standard prototype. + (FOPEN_WB): Ditto. + (FOPEN_AB): Ditto. + (FOPEN_RUB): Ditto. + (FOPEN_WUB): Ditto. + (FOPEN_AUB): Ditto. + 2008-10-21 Alan Modra * obstack.h (obstack_finish ): Cast result to void *. diff --git a/include/fopen-vms.h b/include/fopen-vms.h index da76b7fb5..dde22baaf 100644 --- a/include/fopen-vms.h +++ b/include/fopen-vms.h @@ -9,12 +9,12 @@ 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_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"