summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/binutils-2.17/bfd/bfd-in2.h2
-rw-r--r--gnu/usr.bin/binutils-2.17/bfd/libbfd.h3
-rw-r--r--gnu/usr.bin/binutils/bfd/bfd-in2.h11
-rw-r--r--gnu/usr.bin/binutils/bfd/libbfd.h3
4 files changed, 8 insertions, 11 deletions
diff --git a/gnu/usr.bin/binutils-2.17/bfd/bfd-in2.h b/gnu/usr.bin/binutils-2.17/bfd/bfd-in2.h
index 299fc0ff35e..1f06496b2ef 100644
--- a/gnu/usr.bin/binutils-2.17/bfd/bfd-in2.h
+++ b/gnu/usr.bin/binutils-2.17/bfd/bfd-in2.h
@@ -4373,7 +4373,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-2.17/bfd/libbfd.h b/gnu/usr.bin/binutils-2.17/bfd/libbfd.h
index 2a590a395a5..ff1bb0bbaaa 100644
--- a/gnu/usr.bin/binutils-2.17/bfd/libbfd.h
+++ b/gnu/usr.bin/binutils-2.17/bfd/libbfd.h
@@ -76,8 +76,7 @@ struct artdata {
symindex symdef_count; /* how many there are */
char *extended_names; /* clever intel extension */
bfd_size_type extended_names_size; /* Size of extended names */
- /* 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,
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 `<<bfd.h>>', 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 `<<bfd.h>>', 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,