elf32-tic6x.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* 32-bit ELF support for TI C6X
  2. Copyright (C) 2010-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. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. extern int elf32_tic6x_merge_arch_attributes (int, int);
  20. /* This function is provided for use from the assembler. */
  21. extern void elf32_tic6x_set_use_rela_p (bfd *, bool);
  22. struct elf32_tic6x_params
  23. {
  24. int dsbt_index;
  25. int dsbt_size;
  26. };
  27. extern void elf32_tic6x_setup (struct bfd_link_info *,
  28. struct elf32_tic6x_params *);
  29. /* C6x unwind section editing support. */
  30. extern bool elf32_tic6x_fix_exidx_coverage (struct bfd_section **,
  31. unsigned int,
  32. struct bfd_link_info *,
  33. bool);
  34. #ifdef __cplusplus
  35. }
  36. #endif