/* genlink.h -- interface to the BFD generic linker
- Copyright 1993, 1994, 1996, 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1993-2021 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
#ifndef GENLINK_H
#define GENLINK_H
{
struct bfd_link_hash_entry root;
/* Whether this symbol has been written out. */
- bfd_boolean written;
+ bool written;
/* Symbol from input BFD. */
asymbol *sym;
};
#define _bfd_generic_link_hash_traverse(table, func, info) \
(bfd_link_hash_traverse \
(&(table)->root, \
- (bfd_boolean (*) (struct bfd_link_hash_entry *, void *)) (func), \
+ (bool (*) (struct bfd_link_hash_entry *, void *)) (func), \
(info)))
/* Get the generic link hash table from the info structure. This is
/* Add the symbols of input_bfd to the symbols being built for
output_bfd. */
-extern bfd_boolean _bfd_generic_link_output_symbols
+extern bool _bfd_generic_link_output_symbols
(bfd *, bfd *, struct bfd_link_info *, size_t *);
/* This structure is used to pass information to
/* Write out a single global symbol. This is expected to be called
via _bfd_generic_link_hash_traverse. The second argument must
actually be a struct generic_write_global_symbol_info *. */
-extern bfd_boolean _bfd_generic_link_write_global_symbol
+extern bool _bfd_generic_link_write_global_symbol
(struct generic_link_hash_entry *, void *);
/* Generic link hash table entry creation routine. */