coff-go32.c 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* BFD back-end for Intel 386 COFF files (DJGPP variant).
  2. Copyright (C) 1990-2017 Free Software Foundation, Inc.
  3. Written by DJ Delorie.
  4. This file is part of BFD, the Binary File Descriptor library.
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 3 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
  16. MA 02110-1301, USA. */
  17. #define TARGET_SYM i386_coff_go32_vec
  18. #define TARGET_NAME "coff-go32"
  19. #define TARGET_UNDERSCORE '_'
  20. #define COFF_LONG_SECTION_NAMES
  21. #define COFF_SUPPORT_GNU_LINKONCE
  22. #define COFF_LONG_FILENAMES
  23. #define COFF_SECTION_ALIGNMENT_ENTRIES \
  24. { COFF_SECTION_NAME_EXACT_MATCH (".data"), \
  25. COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
  26. { COFF_SECTION_NAME_EXACT_MATCH (".text"), \
  27. COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
  28. { COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.d"), \
  29. COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
  30. { COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.t"), \
  31. COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
  32. { COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.r"), \
  33. COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
  34. { COFF_SECTION_NAME_PARTIAL_MATCH (".debug"), \
  35. COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 }, \
  36. { COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.wi"), \
  37. COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 }
  38. #include "coff-i386.c"