diff options
author | Tom Rini <trini@konsulko.com> | 2022-11-22 12:31:56 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-06 15:30:30 -0500 |
commit | fc2240046c82d652a75cf96782502eebd16b628b (patch) | |
tree | c2215d0239ace271450af8efa13977144f875050 /arch/arm/lib | |
parent | 583f124aac205b354b3b73ebb62c79e8cc41e6d5 (diff) |
arm: Use the WEAK assembly entry point consistently
It is a bad idea, and more modern toolchains will fail, if you declare
an assembly function to be global and then weak, instead of declaring it
weak to start with. Update assorted assembly files to use the WEAK macro
directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'arch/arm/lib')
-rw-r--r-- | arch/arm/lib/relocate.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/lib/relocate.S b/arch/arm/lib/relocate.S index dd6f2e3bd5e..345e282e3e6 100644 --- a/arch/arm/lib/relocate.S +++ b/arch/arm/lib/relocate.S @@ -23,9 +23,8 @@ */ .section .text.relocate_vectors,"ax",%progbits - .weak relocate_vectors -ENTRY(relocate_vectors) +WEAK(relocate_vectors) #ifdef CONFIG_CPU_V7M /* |