emul-target.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /* emul-target.h. Default values for struct emulation defined in emul.h
  2. Copyright (C) 1995-2022 Free Software Foundation, Inc.
  3. This file is part of GAS, the GNU Assembler.
  4. GAS 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, or (at your option)
  7. any later version.
  8. GAS 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 GAS; see the file COPYING. If not, write to the Free
  14. Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
  15. 02110-1301, USA. */
  16. #ifndef emul_init
  17. #define emul_init common_emul_init
  18. #endif
  19. #ifndef emul_bfd_name
  20. #define emul_bfd_name default_emul_bfd_name
  21. #endif
  22. #ifndef emul_local_labels_fb
  23. #define emul_local_labels_fb 0
  24. #endif
  25. #ifndef emul_local_labels_dollar
  26. #define emul_local_labels_dollar 0
  27. #endif
  28. #ifndef emul_leading_underscore
  29. #define emul_leading_underscore 2
  30. #endif
  31. #ifndef emul_default_endian
  32. #define emul_default_endian 2
  33. #endif
  34. #ifndef emul_fake_label_name
  35. #define emul_fake_label_name 0
  36. #endif
  37. struct emulation emul_struct_name =
  38. {
  39. 0,
  40. emul_name,
  41. emul_init,
  42. emul_bfd_name,
  43. emul_local_labels_fb, emul_local_labels_dollar,
  44. emul_leading_underscore,
  45. emul_default_endian,
  46. emul_fake_label_name,
  47. emul_format,
  48. };