From 73146b893ea641ed712f4f36f6a739be4b320393 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sat, 9 Aug 2014 22:39:09 +0000 Subject: Regenerate to pick up time_t changes --- gnu/usr.bin/binutils/bfd/bfd-in2.h | 11 +++++------ gnu/usr.bin/binutils/bfd/libbfd.h | 3 +-- 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'gnu/usr.bin/binutils') diff --git a/gnu/usr.bin/binutils/bfd/bfd-in2.h b/gnu/usr.bin/binutils/bfd/bfd-in2.h index c992c1a7ed9..20e80d1306a 100644 --- a/gnu/usr.bin/binutils/bfd/bfd-in2.h +++ b/gnu/usr.bin/binutils/bfd/bfd-in2.h @@ -3666,11 +3666,10 @@ struct bfd const struct bfd_target *xvec; /* To avoid dragging too many header files into every file that - includes `<>', IOSTREAM has been declared as a "char *", - and MTIME as a "long". Their correct types, to which they - are cast when used, are "FILE *" and "time_t". The iostream - is the result of an fopen on the filename. However, if the - BFD_IN_MEMORY flag is set, then iostream is actually a pointer + includes `<>', IOSTREAM has been declared as a "void *". + Its correct type, to which it's cast when used, is "FILE *". The + iostream is the result of an fopen on the filename. However, if + the BFD_IN_MEMORY flag is set, then iostream is actually a pointer to a bfd_in_memory struct. */ void *iostream; @@ -3699,7 +3698,7 @@ struct bfd bfd_boolean mtime_set; /* File modified time, if mtime_set is TRUE. */ - long mtime; + time_t mtime; /* Reserved for an unimplemented file locking extension. */ int ifd; diff --git a/gnu/usr.bin/binutils/bfd/libbfd.h b/gnu/usr.bin/binutils/bfd/libbfd.h index 5f6a43167b3..e576fbc7392 100644 --- a/gnu/usr.bin/binutils/bfd/libbfd.h +++ b/gnu/usr.bin/binutils/bfd/libbfd.h @@ -66,8 +66,7 @@ struct artdata { carsym *symdefs; /* the symdef entries */ symindex symdef_count; /* how many there are */ char *extended_names; /* clever intel extension */ - /* when more compilers are standard C, this can be a time_t */ - long armap_timestamp; /* Timestamp value written into armap. + time_t armap_timestamp; /* Timestamp value written into armap. This is used for BSD archives to check that the timestamp is recent enough for the BSD linker to not complain, -- cgit v1.2.3