xcofflink.h 1.9 KB

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