Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
linker-tool-mwdt.h File Reference

Metware toolchain linker defs. More...

Go to the source code of this file.

Macros

#define ASSERT(x, y)
 
#define SUBALIGN(x)   ALIGN(x)
 
#define GROUP_START(where)
 
#define GROUP_END(where)
 
#define GROUP_LINK_IN(where)   > where
 
#define GROUP_ROM_LINK_IN(vregion, lregion)   > lregion
 The GROUP_ROM_LINK_IN() macro is located at the end of the section description and tells the linker that this a read-only section that is physically placed at the 'lregion` argument.
 
#define GROUP_DATA_LINK_IN(vregion, lregion)   > vregion
 
#define GROUP_NOLOAD_LINK_IN(vregion, lregion)   > vregion
 Route memory for read-write sections that are NOT loaded; typically this is only used for 'BSS' and 'noinit'.
 
#define SECTION_PROLOGUE(name, options, align)   name options : align
 
#define SECTION_DATA_PROLOGUE(name, options, align)   name options : align
 
#define SORT_BY_NAME(x)   SORT(x)
 

Detailed Description

Metware toolchain linker defs.

This header file defines the necessary macros used by the linker script for use with the metware linker.

Macro Definition Documentation

◆ ASSERT

#define ASSERT (   x,
 
)

◆ GROUP_DATA_LINK_IN

#define GROUP_DATA_LINK_IN (   vregion,
  lregion 
)    > vregion

◆ GROUP_END

#define GROUP_END (   where)

◆ GROUP_LINK_IN

#define GROUP_LINK_IN (   where)    > where

◆ GROUP_NOLOAD_LINK_IN

#define GROUP_NOLOAD_LINK_IN (   vregion,
  lregion 
)    > vregion

Route memory for read-write sections that are NOT loaded; typically this is only used for 'BSS' and 'noinit'.

◆ GROUP_ROM_LINK_IN

#define GROUP_ROM_LINK_IN (   vregion,
  lregion 
)    > lregion

The GROUP_ROM_LINK_IN() macro is located at the end of the section description and tells the linker that this a read-only section that is physically placed at the 'lregion` argument.

◆ GROUP_START

#define GROUP_START (   where)

◆ SECTION_DATA_PROLOGUE

#define SECTION_DATA_PROLOGUE (   name,
  options,
  align 
)    name options : align

◆ SECTION_PROLOGUE

#define SECTION_PROLOGUE (   name,
  options,
  align 
)    name options : align

◆ SORT_BY_NAME

#define SORT_BY_NAME (   x)    SORT(x)

◆ SUBALIGN

#define SUBALIGN (   x)    ALIGN(x)