aboutsummaryrefslogtreecommitdiff
path: root/binutils/elfcomm.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-03-19 15:33:03 +1030
committerAlan Modra <amodra@gmail.com>2020-03-19 16:07:45 +1030
commit81a65eb338cf7b40ef76b1cdb150eefd8495e282 (patch)
tree0d15be0f216b607191bdd1fbd0a43b2952548192 /binutils/elfcomm.h
parent1cb7d8b1afc7c71cfacfe017e0692c9064bf9818 (diff)
downloadbinutils-81a65eb338cf7b40ef76b1cdb150eefd8495e282.zip
binutils-81a65eb338cf7b40ef76b1cdb150eefd8495e282.tar.gz
binutils-81a65eb338cf7b40ef76b1cdb150eefd8495e282.tar.bz2
Don't use bfd.h in binutils/elfcomm.c
Better than warning about bfd types, just don't include bfd.h and warn against including the header again. * elfcomm.c: Don't include bfd.h or bucomm.h. (program_name): Declare. (process_archive_index_and_symbols): Replace bfd_boolean with int, and substitute FALSE and TRUE. (setup_archive, setup_nested_archive): Likewise. * elfcomm.h: Likewise.
Diffstat (limited to 'binutils/elfcomm.h')
-rw-r--r--binutils/elfcomm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils/elfcomm.h b/binutils/elfcomm.h
index 8d962f2..abc7611 100644
--- a/binutils/elfcomm.h
+++ b/binutils/elfcomm.h
@@ -64,8 +64,8 @@ struct archive_info
unsigned long longnames_size; /* Size of the long file names table. */
unsigned long nested_member_origin; /* Origin in the nested archive of the current member. */
unsigned long next_arhdr_offset; /* Offset of the next archive header. */
- bfd_boolean is_thin_archive; /* TRUE if this is a thin archive. */
- bfd_boolean uses_64bit_indices; /* TRUE if the index table uses 64bit entries. */
+ int is_thin_archive; /* 1 if this is a thin archive. */
+ int uses_64bit_indices; /* 1 if the index table uses 64bit entries. */
struct ar_hdr arhdr; /* Current archive header. */
};
@@ -74,7 +74,7 @@ extern char *adjust_relative_path (const char *, const char *, unsigned long);
/* Read the symbol table and long-name table from an archive. */
extern int setup_archive (struct archive_info *, const char *, FILE *,
- off_t, bfd_boolean, bfd_boolean);
+ off_t, int, int);
/* Open and setup a nested archive, if not already open. */
extern int setup_nested_archive (struct archive_info *, const char *);