| 1 | /* POWER/PowerPC XCOFF linker support. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. |
| 3 | |
| 4 | This file is part of BFD, the Binary File Descriptor library. |
| 5 | |
| 6 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation; either version 3 of the License, or |
| 9 | (at your option) any later version. |
| 10 | |
| 11 | This program is distributed in the hope that it will be useful, |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | GNU General Public License for more details. |
| 15 | |
| 16 | You should have received a copy of the GNU General Public License |
| 17 | along with this program; if not, write to the Free Software |
| 18 | Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
| 19 | MA 02110-1301, USA. */ |
| 20 | |
| 21 | extern bfd_boolean bfd_xcoff_split_import_path |
| 22 | (bfd *, const char *, const char **, const char **); |
| 23 | extern bfd_boolean bfd_xcoff_set_archive_import_path |
| 24 | (struct bfd_link_info *, bfd *, const char *); |
| 25 | extern bfd_boolean bfd_xcoff_link_record_set |
| 26 | (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_size_type); |
| 27 | extern bfd_boolean bfd_xcoff_import_symbol |
| 28 | (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_vma, |
| 29 | const char *, const char *, const char *, unsigned int); |
| 30 | extern bfd_boolean bfd_xcoff_export_symbol |
| 31 | (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *); |
| 32 | extern bfd_boolean bfd_xcoff_link_count_reloc |
| 33 | (bfd *, struct bfd_link_info *, const char *); |
| 34 | extern bfd_boolean bfd_xcoff_record_link_assignment |
| 35 | (bfd *, struct bfd_link_info *, const char *); |
| 36 | extern bfd_boolean bfd_xcoff_size_dynamic_sections |
| 37 | (bfd *, struct bfd_link_info *, const char *, const char *, |
| 38 | unsigned long, unsigned long, unsigned long, bfd_boolean, |
| 39 | int, bfd_boolean, unsigned int, struct bfd_section **, bfd_boolean); |
| 40 | extern bfd_boolean bfd_xcoff_link_generate_rtinit |
| 41 | (bfd *, const char *, const char *, bfd_boolean); |