[go: up one dir, main page]

Skip to content

Commit

Permalink
Merge branch '2021-03-28-assorted-bugfixes'
Browse files Browse the repository at this point in the history
  • Loading branch information
trini committed Mar 29, 2021
2 parents 31637e0 + 3b14204 commit a7d3ac6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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", "")
Expand Down
2 changes: 2 additions & 0 deletions include/dm/test.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#ifndef __DM_TEST_H
#define __DM_TEST_H

struct udevice;

/**
* struct dm_test_cdata - configuration data for test instance
*
Expand Down
2 changes: 0 additions & 2 deletions test/print_ut.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions tools/imagetool.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7d3ac6

Please sign in to comment.