[PATCH v2 2/3] cpukit: Explicitly enforce alignment requirements

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Mar 3 08:55:16 UTC 2021


On 02/03/2021 21:00, Gedare Bloom wrote:
>   #define RTEMS_LINKER_ROSET_ITEM_REFERENCE( set, type, item ) \
> -  static type const * const_Set_reference_##set##_##item \
> +  RTEMS_LINKER_SET_ALIGN( type ) static type const * const_Set_reference_##set##_##item \
>     RTEMS_SECTION( ".rtemsroset.reference" ) RTEMS_USED = \
>     &_Linker_set_##set##_##item

RTEMS_LINKER_SET_ALIGN( type ) and type should be together, please place the static in front similar to the extern.

Make sure the lines are not too long.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/



More information about the devel mailing list