From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) by sourceware.org (Postfix) with ESMTPS id 47CC03875DFD for ; Mon, 9 Mar 2020 18:25:48 +0000 (GMT) Received: by mail-ot1-x32c.google.com with SMTP id i14so10586819otp.5 for ; Mon, 09 Mar 2020 11:25:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ncgIPY5RFjLrLomE7dOZSYH3r7SSeiZip6Nypa9ypBI=; b=rGd2nqwqoPy39Bdfd5NC/DTGeEobNceUADmLJwkpd+HP52rTpVOzG5mkSmnGk7V/7g BOTXq5dHz1StO/fU1oGku5CNHW2IfX3ko/3COKOdVJn6t4nyPs2j69e5PxbN0Cw23p4Q vcqtPysxE8JT5/h1U8LUrZGl6U18Q3PbByvbhg8lE9dUC5a7kDW5z/7xQk1m253FNbJg PlgNFIyz5D4mVcDf9OxOI4h4TBdLZklcC9/rNQn3AL6jRymVJH1xk8tO+5mme9DcNk9/ qIhINmcVnTwnmKCZPYraNfE76BlaCUcP1alampXieLy88zlHvrlmct8bR9JuR53yijuB 4NYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ncgIPY5RFjLrLomE7dOZSYH3r7SSeiZip6Nypa9ypBI=; b=GCmavWmuKsEpNx/iOkyB5DdsuWpYT3mDpyKVDz17kLGgb9Xix4Q9ln70DMkd4GXpKb nLJpu8BW2G9w6ybA4sME/RZoFh3gDJ8TM+MAxqhKD7gjHlRQGt46NhfeJN7XA1y5x9w4 TiQTY5F7qHpdFeXCkLPZdVSdF6vwKW9s962CNvXOMvKwwiwMHtAwRTS2Q0oJ1doZ+cMb lboYk4rqyW1F6Bwx6MV6MUSHrts9lfw+9ixZHGfZwf0OObiFaGazkrQOo7nUk10KfRQ7 4YJe6rqHQHxFomHBnKpDH3P3b79UN9TeHeE3SfKKAtUGoaZMpeJzoeZJW9THMYkQwbvR jF/w== X-Gm-Message-State: ANhLgQ0T4+/QcooZ5bNdIKJQ85/AUgz0H8tYTx0kYnHSEGbsYwpeUBdr 8qTC2Zjx4NlktOrPbTLyaGJkh1T/64AVNwB6Tdo= X-Google-Smtp-Source: ADFU+vs6i8bOCc81JU4SQZVPYgo3p4qd8gcEsaIzj21IhO7Y8XCxYUM5T9Cyxv2tps43ms6XgWPxZvVU1lMPoFvdzrI= X-Received: by 2002:a9d:6c94:: with SMTP id c20mr14389728otr.285.1583778347713; Mon, 09 Mar 2020 11:25:47 -0700 (PDT) MIME-Version: 1.0 References: <1ab500be-a957-7dde-8bad-c94fbf8483ab@suse.cz> <4be8dd93-35cf-3155-2843-87a56fb774d9@suse.cz> In-Reply-To: <4be8dd93-35cf-3155-2843-87a56fb774d9@suse.cz> From: "H.J. Lu" Date: Mon, 9 Mar 2020 11:25:11 -0700 Message-ID: Subject: Re: [PATCH][RFC] API extension for binutils (type of symbols). To: =?UTF-8?Q?Martin_Li=C5=A1ka?= Cc: GCC Patches , Richard Biener , Jan Hubicka Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2020 18:25:49 -0000 On Mon, Mar 9, 2020 at 9:56 AM Martin Li=C5=A1ka wrote: > > On 3/9/20 4:36 PM, H.J. Lu wrote: > > We nee to support different variables, like TLS, data and bss variables= . > > Why do we need TLS? Right now, it's not supported by nm. Or am I wrong? Since you are introducing symbol types, why not support TLS? > About BSS and DATA I agree that it would be handy. I can theoretically > covered with code in get_variable_section/bss_initializer_p. But it's > quite logic and I'm not sure we should simulate it. > > @Honza/Richi: Do you have any opinion about that? > > Thanks, > Martin --=20 H.J.