Changeset 4b767bd in rtems


Ignore:
Timestamp:
Apr 3, 2020, 7:53:53 AM (10 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
4eea8d4
Parents:
20d8237
git-author:
Sebastian Huber <sebastian.huber@…> (04/03/20 07:53:53)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/17/20 06:36:45)
Message:

bsps/arm: Use RTEMS_SECTION()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/arm/include/bsp/linker-symbols.h

    r20d8237 r4b767bd  
    2323#ifndef LIBBSP_ARM_SHARED_LINKER_SYMBOLS_H
    2424#define LIBBSP_ARM_SHARED_LINKER_SYMBOLS_H
     25
     26#include <rtems/score/basedefs.h>
    2527
    2628#ifdef __cplusplus
     
    124126LINKER_SYMBOL(bsp_translation_table_end)
    125127
    126 #define BSP_FAST_TEXT_SECTION __attribute__((section(".bsp_fast_text")))
     128#define BSP_FAST_TEXT_SECTION \
     129  RTEMS_SECTION(".bsp_fast_text")
    127130
    128 #define BSP_FAST_DATA_SECTION __attribute__((section(".bsp_fast_data")))
     131#define BSP_FAST_DATA_SECTION \
     132  RTEMS_SECTION(".bsp_fast_data")
    129133
    130 #define BSP_NOCACHE_SECTION __attribute__((section(".bsp_nocache")))
     134#define BSP_NOCACHE_SECTION \
     135  RTEMS_SECTION(".bsp_nocache")
    131136
    132137#define BSP_NOCACHE_SUBSECTION(subsection) \
    133   __attribute__((section(".bsp_nocache." # subsection)))
     138  RTEMS_SECTION(".bsp_nocache." # subsection)
    134139
    135 #define BSP_NOCACHENOLOAD_SECTION __attribute__((section(".bsp_noload_nocache")))
     140#define BSP_NOCACHENOLOAD_SECTION \
     141  RTEMS_SECTION(".bsp_noload_nocache")
    136142
    137143#define BSP_NOCACHENOLOAD_SUBSECTION(subsection) \
    138   __attribute__((section(".bsp_noload_nocache." # subsection)))
     144  RTEMS_SECTION(".bsp_noload_nocache." # subsection)
    139145
    140146/** @} */
Note: See TracChangeset for help on using the changeset viewer.