forked from Imagelibrary/rtems
score: Fix PER_CPU_DATA_ITEM_DECLARE()
Fix PER_CPU_DATA_ITEM_DECLARE() for targets with a small-data area. Update #3507.
This commit is contained in:
@@ -47,7 +47,8 @@ RTEMS_LINKER_RWSET_DECLARE( _Per_CPU_Data, char );
|
|||||||
* @param item The designator of the item.
|
* @param item The designator of the item.
|
||||||
*/
|
*/
|
||||||
#define PER_CPU_DATA_ITEM_DECLARE( type, item ) \
|
#define PER_CPU_DATA_ITEM_DECLARE( type, item ) \
|
||||||
RTEMS_LINKER_RWSET_ITEM_DECLARE( _Per_CPU_Data, type, item )
|
RTEMS_LINKER_RWSET_ITEM_DECLARE( _Per_CPU_Data, type, item ) \
|
||||||
|
RTEMS_SECTION( ".rtemsrwset._Per_CPU_Data.content.1" )
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Defines a per-CPU item of the specified type.
|
* @brief Defines a per-CPU item of the specified type.
|
||||||
|
|||||||
Reference in New Issue
Block a user