arm/armv7-r: redefine the linker symbols as armlink style

Fix build break:

Error: L6218E: Undefined symbol _sbss (referred from arm_head.o).
Error: L6218E: Undefined symbol _ebss (referred from arm_head.o).
Error: L6218E: Undefined symbol _eronly (referred from arm_head.o).
Error: L6218E: Undefined symbol _sdata (referred from arm_head.o).
Error: L6218E: Undefined symbol _edata (referred from arm_head.o).

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2022-09-26 22:00:56 +08:00 committed by Petro Karashchenko
parent a2cd1b0db3
commit aa51629bd2

View File

@ -27,6 +27,7 @@
#include "arm.h"
#include "cp15.h"
#include "sctlr.h"
#include "arm_internal.h"
.file "arm_head.S"