t-vr 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. # Copyright (C) 2002-2015 Free Software Foundation, Inc.
  2. #
  3. # This file is part of GCC.
  4. #
  5. # GCC 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, or (at your option)
  8. # any later version.
  9. #
  10. # GCC is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with GCC; see the file COPYING3. If not see
  17. # <http://www.gnu.org/licenses/>.
  18. # Main multilibs
  19. # --------------
  20. #
  21. # Endianness: EB or EL
  22. #
  23. # ABIs: mabi=32
  24. # mabi=o64
  25. # mabi=eabi
  26. # mabi=eabi/mlong32
  27. # mabi=eabi/mgp32
  28. # mabi=eabi/mgp32/mlong64
  29. #
  30. # Architecture: march=vr4120 with -mfix-vr4120
  31. # march=vr4130 with -mfix-vr4130 (default)
  32. # march=vr5000
  33. # march=vr5400
  34. # march=vr5500
  35. #
  36. # Total: 2 * 6 * 5 = 60 multilibs.
  37. #
  38. #
  39. # Extra vr4300 multilibs
  40. # ----------------------
  41. #
  42. # Endianness: EB or EL
  43. #
  44. # ABI: o64
  45. #
  46. # Architecture: vr4300.
  47. #
  48. # Total: 2 * 1 * 2 = 2 multilibs.
  49. #
  50. #
  51. # Extra MIPS16 multilibs
  52. # ----------------------
  53. #
  54. # Endianness: EB or EL
  55. #
  56. # ABIs: mabi=o64
  57. # mabi=eabi/mlong32
  58. # mabi=eabi/mgp32
  59. #
  60. # Architecture: march=vr4120 with -mfix-vr4120
  61. # march=vr4130 with -mfix-vr4130 (default)
  62. #
  63. # Total: 2 * 3 * 2 = 12 multilibs.
  64. MULTILIB_OPTIONS = \
  65. EL/EB \
  66. mabi=32/mabi=o64/mabi=eabi \
  67. mgp32 \
  68. mlong64 \
  69. mips16 \
  70. mfix-vr4120/mfix-vr4130/march=vr4300/march=vr5000/march=vr5400/march=vr5500
  71. MULTILIB_DIRNAMES = \
  72. el eb \
  73. o32 o64 eabi \
  74. gp32 \
  75. long64 \
  76. mips16 \
  77. vr4120 vr4130 vr4300 vr5000 vr5400 vr5500
  78. MULTILIB_MATCHES = EL=mel EB=meb mfix-vr4120=march?vr4120 \
  79. mfix-vr4130=march?vr4130
  80. # Assume a 41xx-series is the default: we'd need a *mips16 entry if
  81. # the default processor didn't support mips16. Also assume the
  82. # default ABI is EABI64 -mlong32.
  83. MULTILIB_EXCEPTIONS = \
  84. *mabi=32/mlong64* \
  85. *mabi=32/mgp32* \
  86. *mabi=o64/mgp32* \
  87. *mabi=o64/mlong64* \
  88. *mips16/march=vr5* \
  89. *mips16/march=vr4300 \
  90. $(MIPS16_EXCEPTIONS) \
  91. $(VR4300_EXCEPTIONS)
  92. MIPS16_EXCEPTIONS = \
  93. *mabi=32*mips16* \
  94. *mlong64*mips16*
  95. VR4300_EXCEPTIONS = \
  96. *mabi=32*march=vr4300 \
  97. *mgp32*march=vr4300 \
  98. *mlong64*march=vr4300 \
  99. march=vr4300 \
  100. E[LB]/march=vr4300