aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index 3463d4c..6fbe16d 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -65,7 +65,7 @@ typedef struct memory_region_struct
union lang_statement_union *last_os;
flagword flags;
flagword not_flags;
- bfd_boolean had_full_message;
+ bool had_full_message;
} lang_memory_region_type;
enum statement_enum
@@ -131,7 +131,7 @@ typedef struct lang_output_section_phdr_list
{
struct lang_output_section_phdr_list *next;
const char *name;
- bfd_boolean used;
+ bool used;
} lang_output_section_phdr_list;
typedef struct lang_output_section_statement_struct
@@ -343,7 +343,7 @@ typedef struct input_section_userdata_struct
unsigned long map_symbol_def_count;
} input_section_userdata_type;
-static inline bfd_boolean
+static inline bool
bfd_input_just_syms (const bfd *abfd)
{
lang_input_statement_type *is = bfd_usrdata (abfd);
@@ -360,8 +360,8 @@ typedef void (*walk_wild_section_handler_t) (lang_wild_statement_type *,
callback_t callback,
void *data);
-typedef bfd_boolean (*lang_match_sec_type_func) (bfd *, const asection *,
- bfd *, const asection *);
+typedef bool (*lang_match_sec_type_func) (bfd *, const asection *,
+ bfd *, const asection *);
/* Binary search tree structure to efficiently sort sections by
name. */
@@ -377,9 +377,9 @@ struct lang_wild_statement_struct
{
lang_statement_header_type header;
const char *filename;
- bfd_boolean filenames_sorted;
+ bool filenames_sorted;
struct wildcard_list *section_list;
- bfd_boolean keep_sections;
+ bool keep_sections;
lang_statement_list_type children;
struct name_list *exclude_name_list;
@@ -421,7 +421,7 @@ typedef struct
{
lang_statement_header_type header;
const char *where;
- bfd_boolean is_before;
+ bool is_before;
} lang_insert_statement_type;
typedef union lang_statement_union
@@ -451,8 +451,8 @@ struct lang_phdr
struct lang_phdr *next;
const char *name;
unsigned long type;
- bfd_boolean filehdr;
- bfd_boolean phdrs;
+ bool filehdr;
+ bool phdrs;
etree_type *at;
etree_type *flags;
};
@@ -472,7 +472,7 @@ struct lang_nocrossrefs
{
struct lang_nocrossrefs *next;
lang_nocrossref_type *list;
- bfd_boolean onlyfirst;
+ bool onlyfirst;
};
/* This structure is used to hold a list of input section names which
@@ -510,14 +510,14 @@ extern const char *output_target;
extern lang_output_section_statement_type *abs_output_section;
extern lang_statement_list_type lang_os_list;
extern struct lang_input_statement_flags input_flags;
-extern bfd_boolean lang_has_input_file;
+extern bool lang_has_input_file;
extern lang_statement_list_type statement_list;
extern lang_statement_list_type *stat_ptr;
-extern bfd_boolean delete_output_file_on_failure;
+extern bool delete_output_file_on_failure;
extern struct bfd_sym_chain entry_symbol;
extern const char *entry_section;
-extern bfd_boolean entry_from_cmdline;
+extern bool entry_from_cmdline;
extern lang_statement_list_type file_chain;
extern lang_statement_list_type input_file_chain;
@@ -533,7 +533,7 @@ extern void lang_init
extern void lang_finish
(void);
extern lang_memory_region_type * lang_memory_region_lookup
- (const char * const, bfd_boolean);
+ (const char * const, bool);
extern void lang_memory_region_alias
(const char *, const char *);
extern void lang_map
@@ -548,19 +548,19 @@ extern lang_output_section_statement_type *lang_enter_output_section_statement
extern void lang_final
(void);
extern void lang_relax_sections
- (bfd_boolean);
+ (bool);
extern void lang_process
(void);
extern void lang_section_start
(const char *, union etree_union *, const segment_type *);
extern void lang_add_entry
- (const char *, bfd_boolean);
+ (const char *, bool);
extern void lang_default_entry
(const char *);
extern void lang_add_target
(const char *);
extern void lang_add_wild
- (struct wildcard_spec *, struct wildcard_list *, bfd_boolean);
+ (struct wildcard_spec *, struct wildcard_list *, bool);
extern void lang_add_map
(const char *);
extern void lang_add_fill
@@ -572,7 +572,7 @@ extern void lang_add_attribute
extern void lang_startup
(const char *);
extern void lang_float
- (bfd_boolean);
+ (bool);
extern void lang_leave_output_section_statement
(fill_type *, const char *, lang_output_section_phdr_list *,
const char *);
@@ -617,7 +617,7 @@ extern lang_output_section_statement_type *lang_output_section_statement_lookup
extern lang_output_section_statement_type *next_matching_output_section_statement
(lang_output_section_statement_type *, int);
extern void ldlang_add_undef
- (const char *const, bfd_boolean);
+ (const char *const, bool);
extern void ldlang_add_require_defined
(const char *const);
extern void lang_add_output_format
@@ -646,9 +646,9 @@ extern void lang_clear_os_map
extern void dprint_statement
(lang_statement_union_type *, int);
extern void lang_size_sections
- (bfd_boolean *, bfd_boolean);
+ (bool *, bool);
extern void one_lang_size_sections_pass
- (bfd_boolean *, bfd_boolean);
+ (bool *, bool);
extern void lang_add_insert
(const char *, int);
extern void lang_enter_group
@@ -659,7 +659,7 @@ extern void lang_add_section
(lang_statement_list_type *, asection *, struct wildcard_list *,
struct flag_info *, lang_output_section_statement_type *);
extern void lang_new_phdr
- (const char *, etree_type *, bfd_boolean, bfd_boolean, etree_type *,
+ (const char *, etree_type *, bool, bool, etree_type *,
etree_type *);
extern void lang_add_nocrossref
(lang_nocrossref_type *);
@@ -676,7 +676,7 @@ extern void lang_leave_overlay
lang_output_section_phdr_list *, const char *);
extern struct bfd_elf_version_expr *lang_new_vers_pattern
- (struct bfd_elf_version_expr *, const char *, const char *, bfd_boolean);
+ (struct bfd_elf_version_expr *, const char *, const char *, bool);
extern struct bfd_elf_version_tree *lang_new_vers_node
(struct bfd_elf_version_expr *, struct bfd_elf_version_expr *);
extern struct bfd_elf_version_deps *lang_add_vers_depend
@@ -692,7 +692,7 @@ extern void lang_add_unique
extern const char *lang_get_output_target
(void);
extern void add_excluded_libs (const char *);
-extern bfd_boolean load_symbols
+extern bool load_symbols
(lang_input_statement_type *, lang_statement_list_type *);
struct elf_sym_strtab;
@@ -703,9 +703,9 @@ extern void ldlang_ctf_new_dynsym
(int symidx, struct elf_internal_sym *);
extern void ldlang_write_ctf_late
(void);
-extern bfd_boolean
+extern bool
ldlang_override_segment_assignment
- (struct bfd_link_info *, bfd *, asection *, asection *, bfd_boolean);
+ (struct bfd_link_info *, bfd *, asection *, asection *, bool);
extern void
lang_ld_feature (char *);
@@ -716,7 +716,7 @@ lang_print_memory_usage (void);
extern void
lang_add_gc_name (const char *);
-extern bfd_boolean
+extern bool
print_one_symbol (struct bfd_link_hash_entry *hash_entry, void *ptr);
#endif