Commit 7f1be8a6 authored by Jessica Clarke's avatar Jessica Clarke Committed by Anup Patel
Browse files

fw_base: Don't mark fw_platform_init as both global and weak



These are mutually exclusive. GNU as and LLVM both let later binding
directives override earlier ones so this works as intended, but LLVM 12
turned this into a warning as there's no good reason to do such a thing
and could be a potential bug. Thus, remove the redundant and incorrect
.globl directive for fw_platform_init.

Signed-off-by: default avatarJessica Clarke <jrtc27@jrtc27.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Tested-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
parent a76ac444
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment