diff options
author | Alan Modra <amodra@gmail.com> | 2019-09-23 10:08:33 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-09-23 10:27:21 +0930 |
commit | 6ea7de3237f0780065e6c17cd2d123792410c16b (patch) | |
tree | 8da7d99233218e9e42c9ff5c1a438751fa553adb /bfd/xcofflink.h | |
parent | aa739c59d3db95d1709b0417cdf7d082bfdea911 (diff) | |
download | gdb-6ea7de3237f0780065e6c17cd2d123792410c16b.zip gdb-6ea7de3237f0780065e6c17cd2d123792410c16b.tar.gz gdb-6ea7de3237f0780065e6c17cd2d123792410c16b.tar.bz2 |
xcoff bfd.h tidy
bfd/
* bfd-in.h: Move xcoff function declarations..
* xcofflink.h: ..to here, new file.
* xcofflink.c: Include xcofflink.h.
* coff-rs6000.c (bfd_xcoff_ar_archive_set_magic): Delete unused func.
* bfd-in2.h: Regenerate.
ld/
* emultempl/aix.em: Include xcofflink.h.
Diffstat (limited to 'bfd/xcofflink.h')
-rw-r--r-- | bfd/xcofflink.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/bfd/xcofflink.h b/bfd/xcofflink.h new file mode 100644 index 0000000..5d1792e --- /dev/null +++ b/bfd/xcofflink.h @@ -0,0 +1,41 @@ +/* POWER/PowerPC XCOFF linker support. + Copyright (C) 2019 Free Software Foundation, Inc. + + 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 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + 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. */ + +extern bfd_boolean bfd_xcoff_split_import_path + (bfd *, const char *, const char **, const char **); +extern bfd_boolean bfd_xcoff_set_archive_import_path + (struct bfd_link_info *, bfd *, const char *); +extern bfd_boolean bfd_xcoff_link_record_set + (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_size_type); +extern bfd_boolean bfd_xcoff_import_symbol + (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_vma, + const char *, const char *, const char *, unsigned int); +extern bfd_boolean bfd_xcoff_export_symbol + (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *); +extern bfd_boolean bfd_xcoff_link_count_reloc + (bfd *, struct bfd_link_info *, const char *); +extern bfd_boolean bfd_xcoff_record_link_assignment + (bfd *, struct bfd_link_info *, const char *); +extern bfd_boolean bfd_xcoff_size_dynamic_sections + (bfd *, struct bfd_link_info *, const char *, const char *, + unsigned long, unsigned long, unsigned long, bfd_boolean, + int, bfd_boolean, unsigned int, struct bfd_section **, bfd_boolean); +extern bfd_boolean bfd_xcoff_link_generate_rtinit + (bfd *, const char *, const char *, bfd_boolean); |