mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-27 09:31:30 +02:00
Merge branch '2022-10-10-LLVM-related-improvements'
- A few patches to make building with LLVM/LLD easier
This commit is contained in:
commit
20be7c19a2
2
Makefile
2
Makefile
@ -1023,7 +1023,7 @@ LDFLAGS_u-boot += $(LDFLAGS_FINAL)
|
|||||||
LDFLAGS_u-boot += $(call ld-option, --no-dynamic-linker)
|
LDFLAGS_u-boot += $(call ld-option, --no-dynamic-linker)
|
||||||
|
|
||||||
# ld.lld support
|
# ld.lld support
|
||||||
LDFLAGS_u-boot += -z notext
|
LDFLAGS_u-boot += -z notext $(call ld-option,--apply-dynamic-relocs)
|
||||||
|
|
||||||
LDFLAGS_u-boot += --build-id=none
|
LDFLAGS_u-boot += --build-id=none
|
||||||
|
|
||||||
|
@ -184,7 +184,7 @@ __weak struct bl_params *bl2_plat_get_bl31_params_v2(uintptr_t bl32_entry,
|
|||||||
|
|
||||||
static inline void raw_write_daif(unsigned int daif)
|
static inline void raw_write_daif(unsigned int daif)
|
||||||
{
|
{
|
||||||
__asm__ __volatile__("msr DAIF, %0\n\t" : : "r" (daif) : "memory");
|
__asm__ __volatile__("msr DAIF, %x0\n\t" : : "r" (daif) : "memory");
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef void (*atf_entry_t)(struct bl31_params *params, void *plat_params);
|
typedef void (*atf_entry_t)(struct bl31_params *params, void *plat_params);
|
||||||
|
@ -14,7 +14,7 @@ struct cmd_tbl;
|
|||||||
* from flash memory. The global_data address is passed as argv[-1]
|
* from flash memory. The global_data address is passed as argv[-1]
|
||||||
* to the application program.
|
* to the application program.
|
||||||
*/
|
*/
|
||||||
static struct jt_funcs *jt;
|
struct jt_funcs *jt;
|
||||||
gd_t *global_data;
|
gd_t *global_data;
|
||||||
|
|
||||||
#define EXPORT_FUNC(f, a, x, ...) \
|
#define EXPORT_FUNC(f, a, x, ...) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user