Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1215755imn; Sat, 30 Jul 2022 20:49:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tAnhXFMi+xEoaAndC1gvHjHrlMTlcslU2H2d/QZoiRdDD2MUHvxFUKWLCtAPDxpzEdcrTM X-Received: by 2002:a17:907:7295:b0:72b:8207:bdc2 with SMTP id dt21-20020a170907729500b0072b8207bdc2mr7997186ejc.753.1659239395132; Sat, 30 Jul 2022 20:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659239395; cv=none; d=google.com; s=arc-20160816; b=pjPMhPf4i0v/LZSXGxcA7ZpNuXb4fnzsVwlKW+eqBo4rTbwf/O6vnibi/qVXbZDg/n Jfs9UWijy6HUdzrQX8midKGIGjYwbDQuXQUYGRshK5L1wXuzWDEVpt22NT3aFwljoxVA Srx6iBYQ5FWLh66J/+ZM/rL83hokIgTHFcXTELs1IKe5WGH8TiYIEv0xzc7kgR+nL6ET g6uXkm2loeZAdCRqIP9Jz2eRXMKOieYQibdOHh6odPLMYXyrzWYm0r0JiHVtchfP6eKM GozHTmc7/Ld5DLU8Td0wyiQdxoMrYt3TvZYNi8tPXYjhYKDeeLY6lU/0flxdtXYDGYxC XEfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=ta5PJGOoYuvPp0jAHjaF+U8Fl3DVXmCEuwrYnJ006RE=; b=TogtltQV6cI9ciHcjO7Mnwdvi/tIfNjnvt+0p5/3ecXNUEEPh3VPa/TpxZILsNDyuA CNsV489T9pORGkJVZ++EjqX0uNhs4/3Q65lcZzmcEmt4ONuNqC+8vILUGRPgJ7Oz8ijc b64VIJP6KunWBA3kfK/oF+K2O2Q0J/QXHMkjeRL0XM7FM5c+PdKZ7nRDTlPIi2pHj8Ri 3VYXPlD4pFzRkoHPI+lpHWViKwWSjWcxUnnt1qf8C0QaOiGPa+ApkAbAbexKC+mCoiqv jYJkUxMKNurOWWfbmirNkBQMR4aIYVVubjQOa9rASegP7RS2GRp9bIlGpzfLWmeRh3AB vzqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=mAyrCk0A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n11-20020a17090695cb00b0072397249ecbsi5921319ejy.928.2022.07.30.20.49.14; Sat, 30 Jul 2022 20:49:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=mAyrCk0A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230467AbiGaDH7 (ORCPT + 99 others); Sat, 30 Jul 2022 23:07:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231240AbiGaDHx (ORCPT ); Sat, 30 Jul 2022 23:07:53 -0400 Received: from xry111.site (xry111.site [IPv6:2001:470:683e::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B0EA12D08 for ; Sat, 30 Jul 2022 20:07:52 -0700 (PDT) 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 MIME-Version: 1.0 X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, PDS_OTHER_BAD_TLD,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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