diff options
author | Leo Yan <leo.yan@linaro.org> | 2023-05-04 15:54:58 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-06-01 12:32:03 -0400 |
commit | 4787c764f98ac9d4670ff45e11676c28fb61b882 (patch) | |
tree | 4835880415385a71965785cf4a89375db92c0cf3 /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c | |
parent | f415495e2a261cab52cb03c46a92b7b457728380 (diff) |
arm64: Remove duplicated symbols
When build U-boot with clang with using commands:
$ make HOSTCC=clang xenguest_arm64_defconfig
$ make HOSTCC=clang CROSS_COMPILE=aarch64-linux-gnu- \
CC="clang -target aarch64-linux-gnueabi" -j8
The compiler reports error:
/tmp/start-acdf31.s:330:1: error: symbol '_start' is already defined
_start:
^
Because the symbol '_start' has been defined twice, one is defined in
arch/arm/cpu/armv8/start.S, another is defined in the header
boot0-linux-kernel-header.h.
To fix building failure, this patch removes the symbol '_start' from
boot0-linux-kernel-header.h.
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c')
0 files changed, 0 insertions, 0 deletions