summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-08-09 22:39:09 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-08-09 22:39:09 +0000
commit73146b893ea641ed712f4f36f6a739be4b320393 (patch)
tree13d4173df4500011a54d82fa0fa543244db9dfbd /gnu/usr.bin/binutils
parentc49653439b7edeac6c2c7c6809b0a46bc1891781 (diff)
Regenerate to pick up time_t changes
Diffstat (limited to 'gnu/usr.bin/binutils')
-rw-r--r--gnu/usr.bin/binutils/bfd/bfd-in2.h11
-rw-r--r--gnu/usr.bin/binutils/bfd/libbfd.h3
2 files changed, 6 insertions, 8 deletions
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,