diff options
author | Patrick Georgi <pgeorgi@google.com> | 2021-07-19 19:09:05 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-09-19 18:52:22 +0000 |
commit | 1c8e8b259d18b3692811243ca7e4b95ade2a8095 (patch) | |
tree | 46987d55547d5e11c40acf9e5be9b68bec663c73 /src/mainboard/google/stout/onboard.h | |
parent | f28e368d583b0ee1b5297f4d4d0288a1b38f06e0 (diff) |
arch/riscv: Avoid gcc11 replacing memset implementation with memset call
SBI comes with its own memset implementation (under a slightly
different name) that gcc11 "helpfully" tries to replace with a call
to memset(). Since we don't provide a memset, the linker isn't happy,
so prevent gcc from doing that.
Change-Id: I3459a519d46a123f873306000b8b2261bd64e0c3
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56429
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/google/stout/onboard.h')
0 files changed, 0 insertions, 0 deletions