defs.arm
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. # defs.arm - ARM specific definitions for the Diab toolchain
  2. #
  3. # modification history
  4. # --------------------
  5. # 01c,24jun02,m_h  define LONGCALL to allow far away ld relocations
  6. # 01b,15jan02,to   disable auto literal pool inserting
  7. # 01a,18dec01,to   written
  8. #
  9. # DESCRIPTION
  10. # This file contains ARM specific definitions and flags for the
  11. # Diab tools (compiler, assembler, linker etc.)
  12. #
  13. # compile flags:
  14. # -Wa,-Xgnu-thumb generate STT_ARM_TFUNC for the compatibility
  15. # with GNU
  16. # -Wa,-Xlit-auto-off disable auto literal pool inserting
  17. #
  18. # NOTE
  19. # The file name comes from defs.$(VX_CPU_FAMILY)
  20. #
  21. include $(TGT_DIR)/h/tool/diab/defs.diab
  22. include $(TGT_DIR)/h/tool/common/defs.arm
  23. LONGCALL = -Xcode-absolute-far
  24. ifeq  ($(findstring _T,$(CPU)),_T)
  25. # definitions for Thumb mode
  26. CC_ARCH_SPEC += -Xinterwork -Wa,-Xgnu-thumb
  27. else
  28. # definitions for ARM mode
  29. endif
  30. OPTION_LANG_ASM = -Wa,-Xlit-auto-off
  31. # end of defs.arm