From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from xry111.site (xry111.site [89.208.246.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64EB315A3 for ; Sun, 31 Jul 2022 03:07:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1659236866; bh=TF0jSFWyAMGHxD7vH80YuqWWTONGkLEU23EKCiPfVHM=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=mAyrCk0Adr3RRE8YQmYdnephj8DOujy6Ysy21yP/WV/MfahmFdy4MWvlEQqWn+qWJ 1E++YQdek+HgD0yEintVua8TV9sNoGLZeaLXuCLtKi+nbPE8PcuyNYfXHgVAVFp07e Rs3dtGbX6XC798oWfwszEFrDvGR6MlJ7aa6ep+v0= Received: from localhost.localdomain (xry111.site [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id A1C276692A; Sat, 30 Jul 2022 23:07:44 -0400 (EDT) Message-ID: <4df98aaebb02f8d14abd60a67cf03593588c4e39.camel@xry111.site> Subject: Re: [PATCH v4 0/4] LoongArch: Support new relocation types From: Xi Ruoyao To: Huacai Chen Cc: Lulu Cheng , Youling Tang , loongarch@lists.linux.dev, LKML , WANG Xuerui , Jinyang He Date: Sun, 31 Jul 2022 11:07:42 +0800 In-Reply-To: References: <32a74a218c76611f897fd1df1ad0059068621133.camel@xry111.site> <0179679b736aea7258981dec2d83107cce74dfc1.camel@xry111.site> <6b5d2188f93ed72b67a4bbb7116113f833fe1ee5.camel@xry111.site> <7cad6e78014168a8906e130e1cf3809077d2bda7.camel@xry111.site> <1d0783b87bda3e454a111862fcc5b5faffcb16b0.camel@xry111.site> <00eede4b1380888a500f74b1e818bb25a550632b.camel@xry111.site> <674cb3e9-d820-016b-a210-afd37ed6e25e@loongson.cn> <5233653cceab9c2baf6510bd712cd53ef63e3aac.camel@xry111.site> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.3 Precedence: bulk X-Mailing-List: loongarch@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Sat, 2022-07-30 at 18:38 +0800, Huacai Chen wrote: > So it has nothing to do with __visible in include/linux/compiler_attribut= es.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. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University