include/nuttx/compiler.h: Changes that go along with commit 0002258f17

This commit is contained in:
Gregory Nutt 2019-10-31 18:11:28 -06:00
parent 0002258f17
commit c6b4f5c4ca

View File

@ -118,7 +118,11 @@
# define farcall_function __attribute__ ((long_call))
/* The packed attribute informs GCC that the stucture elements are packed,
/* Data alignment */
# define aligned_data(n) __attribute__ ((aligned(n)))
/* The packed attribute informs GCC that the structure elements are packed,
* ignoring other alignment rules.
*/
@ -352,6 +356,7 @@
*/
# define noreturn_function
# define aligned_data(n)
# define begin_packed_struct
# define end_packed_struct
@ -495,6 +500,7 @@
*/
# define noreturn_function
# define aligned_data(n)
# define begin_packed_struct
# define end_packed_struct
# define naked_function
@ -599,6 +605,7 @@
# define weak_const_function
# define noreturn_function
# define farcall_function
# define aligned_data(n)
# define begin_packed_struct __packed
# define end_packed_struct
# define reentrant_function
@ -648,6 +655,7 @@
# define restrict
# define noreturn_function
# define farcall_function
# define aligned_data(n)
# define begin_packed_struct
# define end_packed_struct
# define reentrant_function