8#ifndef ZEPHYR_INCLUDE_TOOLCHAIN_MWDT_H_ 
    9#define ZEPHYR_INCLUDE_TOOLCHAIN_MWDT_H_ 
   12#if defined(_ASMLANGUAGE) 
   19.macro section_var_mwdt, section, symbol
 
   20        .section .\§ion\&.\&symbol, 
"aw" 
   24.macro section_func_mwdt, section, symbol
 
   25        .section .\§ion\&.\&symbol, 
"ax" 
   32.macro section_subsec_func_mwdt, section, subsection, symbol
 
   33        .section .\§ion\&.\&subsection, "ax"
 
   38#define SECTION_VAR(sect, sym) section_var_mwdt sect, sym 
   39#define SECTION_FUNC(sect, sym) section_func_mwdt sect, sym 
   40#define SECTION_SUBSEC_FUNC(sect, subsec, sym) \ 
   41        section_subsec_func_mwdt sect, subsec, sym 
   43.macro glbl_text_mwdt, symbol
 
   45        .type symbol, @
function 
   48.macro glbl_data_mwdt, symbol
 
   53.macro weak_data_mwdt, symbol
 
   58#define GTEXT(sym) glbl_text_mwdt sym 
   59#define GDATA(sym) glbl_data_mwdt sym 
   60#define WDATA(sym) weak_data_mwdt sym 
   65#ifndef _SSIZE_T_DEFINED 
   66#define _SSIZE_T_DEFINED 
   74#ifdef CONFIG_NEWLIB_LIBC 
   75  #error "ARC MWDT doesn't support building with CONFIG_NEWLIB_LIBC as it doesn't have newlib" 
   78#ifdef CONFIG_NATIVE_APPLICATION 
   79  #error "ARC MWDT doesn't support building Zephyr as an native application" 
   83#define __no_optimization __attribute__((optnone)) 
   84#define __fallthrough     __attribute__((fallthrough)) 
   86#define TOOLCHAIN_HAS_C_GENERIC                 1 
   87#define TOOLCHAIN_HAS_C_AUTO_TYPE               1 
   93#define BUILD_ASSERT(EXPR, MSG...) static_assert(EXPR, "" MSG)
 
   95#define BUILD_ASSERT(EXPR, MSG...) _Static_assert(EXPR, "" MSG)
 
   98#define __builtin_arc_nop()     _nop() 
Common toolchain abstraction.
 
GCC toolchain abstraction.
 
__SIZE_TYPE__ ssize_t
Definition: types.h:28