[feat][common] Allow customize ld sections
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
This commit is contained in:
parent
24cde3166e
commit
b5da7d33b4
@ -40,6 +40,7 @@
|
||||
}
|
||||
|
||||
/* Std driver attribute macro*/
|
||||
#ifndef BFLB_USE_CUSTOM_LD_SECTIONS
|
||||
//#define ATTR_UNI_SYMBOL
|
||||
#define ATTR_STRINGIFY(x) #x
|
||||
#define ATTR_TOSTRING(x) ATTR_STRINGIFY(x)
|
||||
@ -56,5 +57,7 @@
|
||||
#define ATTR_EALIGN(x) __attribute__((aligned(x)))
|
||||
#define ATTR_FALLTHROUGH() __attribute__((fallthrough))
|
||||
#define ATTR_USED __attribute__((__used__))
|
||||
|
||||
#else
|
||||
#include "bl_ld_sections.h"
|
||||
#endif /* BFLB_USE_CUSTOM_LD_SECTIONS */
|
||||
#endif
|
Reference in New Issue
Block a user