mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
Merge branch '2021-03-28-assorted-bugfixes'
This commit is contained in:
commit
a7d3ac6148
4 changed files with 4 additions and 9 deletions
5
Makefile
5
Makefile
|
@ -324,11 +324,6 @@ HOSTCC = $(call os_x_before, 10, 5, "cc", "gcc")
|
|||
KBUILD_HOSTCFLAGS += $(call os_x_before, 10, 4, "-traditional-cpp")
|
||||
KBUILD_HOSTLDFLAGS += $(call os_x_before, 10, 5, "-multiply_defined suppress")
|
||||
|
||||
# since Lion (10.7) ASLR is on by default, but we use linker generated lists
|
||||
# in some host tools which is a problem then ... so disable ASLR for these
|
||||
# tools
|
||||
KBUILD_HOSTLDFLAGS += $(call os_x_before, 10, 7, "", "-Xlinker -no_pie")
|
||||
|
||||
# macOS Mojave (10.14.X)
|
||||
# Undefined symbols for architecture x86_64: "_PyArg_ParseTuple"
|
||||
KBUILD_HOSTLDFLAGS += $(call os_x_after, 10, 14, "-lpython -dynamclib", "")
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
#ifndef __DM_TEST_H
|
||||
#define __DM_TEST_H
|
||||
|
||||
struct udevice;
|
||||
|
||||
/**
|
||||
* struct dm_test_cdata - configuration data for test instance
|
||||
*
|
||||
|
|
|
@ -6,10 +6,8 @@
|
|||
#define DEBUG
|
||||
|
||||
#include <common.h>
|
||||
#if CONFIG_IS_ENABLED(EFI_LOADER) && !defined(API_BUILD)
|
||||
#include <command.h>
|
||||
#include <efi_api.h>
|
||||
#endif
|
||||
#include <display_options.h>
|
||||
#include <log.h>
|
||||
#include <version.h>
|
||||
|
|
|
@ -273,14 +273,14 @@ int rockchip_copy_image(int fd, struct image_tool_params *mparams);
|
|||
|
||||
#define INIT_SECTION(name) do { \
|
||||
unsigned long name ## _len; \
|
||||
char *__cat(pstart_, name) = getsectdata("__TEXT", \
|
||||
char *__cat(pstart_, name) = getsectdata("__DATA", \
|
||||
#name, &__cat(name, _len)); \
|
||||
char *__cat(pstop_, name) = __cat(pstart_, name) + \
|
||||
__cat(name, _len); \
|
||||
__cat(__start_, name) = (void *)__cat(pstart_, name); \
|
||||
__cat(__stop_, name) = (void *)__cat(pstop_, name); \
|
||||
} while (0)
|
||||
#define SECTION(name) __attribute__((section("__TEXT, " #name)))
|
||||
#define SECTION(name) __attribute__((section("__DATA, " #name)))
|
||||
|
||||
struct image_type_params **__start_image_type, **__stop_image_type;
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue