defs.arm
资源名称:ixp425BSP.rar [点击查看]
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:
VxWorks
开发平台:
C/C++
- # defs.arm - ARM specific definitions for the Diab toolchain
- #
- # modification history
- # --------------------
- # 01c,24jun02,m_h define LONGCALL to allow far away ld relocations
- # 01b,15jan02,to disable auto literal pool inserting
- # 01a,18dec01,to written
- #
- # DESCRIPTION
- # This file contains ARM specific definitions and flags for the
- # Diab tools (compiler, assembler, linker etc.)
- #
- # compile flags:
- # -Wa,-Xgnu-thumb generate STT_ARM_TFUNC for the compatibility
- # with GNU
- # -Wa,-Xlit-auto-off disable auto literal pool inserting
- #
- # NOTE
- # The file name comes from defs.$(VX_CPU_FAMILY)
- #
- include $(TGT_DIR)/h/tool/diab/defs.diab
- include $(TGT_DIR)/h/tool/common/defs.arm
- LONGCALL = -Xcode-absolute-far
- ifeq ($(findstring _T,$(CPU)),_T)
- # definitions for Thumb mode
- CC_ARCH_SPEC += -Xinterwork -Wa,-Xgnu-thumb
- else
- # definitions for ARM mode
- endif
- OPTION_LANG_ASM = -Wa,-Xlit-auto-off
- # end of defs.arm