Re: [PATCH v4 0/4] LoongArch: Support new relocation types

From: Xi Ruoyao
Date: Sat Jul 30 2022 - 23:09:10 EST


On Sat, 2022-07-30 at 18:38 +0800, Huacai Chen wrote:
> So it has nothing to do with __visible in include/linux/compiler_attributes.h?
> Or __visible is a similar thing that used by Linux kernel?

They are two different things. __visible means an object can be
accessed by another TU mysteriously (with some way not described by C
semantics), but it does not changes the way resolve the symbol in the
same TU.
--
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University