From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id E49F21F8C8 for ; Thu, 16 Sep 2021 14:17:56 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 17E543857427 for ; Thu, 16 Sep 2021 14:17:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 17E543857427 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1631801876; bh=ZR8tURBnaobfY1gM21xOheKY7o16+Gm3pyEuTjp9KxQ=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=gxjirxmW5PmQLBrZcN8UA3KtEpvCLOM+yyQnmBvShS3GZdxNM+nslOjyDJ2SERrwx gyDJ3AnbtgXaYHtMYcm21hYXblESSF3szNhvyaskVqENdj23Lb2kt8rKCWLesnvh5k BqFXxHe31OhuRphVVC0ixCtt1DC8iX6mQA29wyuk= Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by sourceware.org (Postfix) with ESMTPS id 325CD385843C for ; Thu, 16 Sep 2021 14:17:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 325CD385843C Received: by mail-pg1-x533.google.com with SMTP id w8so6281363pgf.5 for ; Thu, 16 Sep 2021 07:17:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ZR8tURBnaobfY1gM21xOheKY7o16+Gm3pyEuTjp9KxQ=; b=q72Dtwcx1yTv2KTMvzXYKMZJCAeW+jOS31jUfd0UFiedbGs6kizxuINcfDSnJBEJ9j +TVj2AIK1579gpS8HdG9RiJuLYpgBe+jKfDD/4XxSqdVzlO3PtMipqiJJsgdm4ZWxW7d GkoWS1W1TFpSJquZZbyJbAgRQoIS2lG+UvhPy9qj8hePjZ0Z7eI3RFif8i6p7V2vGkKR IFTiRr1hM9jkNbUOgeNs9YgSIa8mjFn7dNGVYOs3u2p8AJ8tfTm+PF5blUlGEliK+r2C e+1g77WWjl39IEhPEcUvEP7PbXmntETzrrdkJ/neEOwTK8FbquuXpGptcUwpkf21pyxU 0ESQ== X-Gm-Message-State: AOAM531/kVomMc7ygCKVQbZcyh2wZWi/miVaUqwlLxbmxV9kP4PyhEll umK5OYorxx3ppDB1TTRzKNekB9MDz66I4gCmHbqtXWfd1g8= X-Google-Smtp-Source: ABdhPJzJCqyFUaD1IEbwl5PqESmzutzo2x+Cjg9pfd5HAsL/swV63Rccz940ZGi6DOG634ePQ4vhWFdcrpQtz2Na8gY= X-Received: by 2002:a63:1a64:: with SMTP id a36mr5124329pgm.225.1631801856224; Thu, 16 Sep 2021 07:17:36 -0700 (PDT) MIME-Version: 1.0 References: <20210914165637.439860-1-hjl.tools@gmail.com> <20210914165637.439860-2-hjl.tools@gmail.com> <87zgscnck6.fsf@oldenburg.str.redhat.com> In-Reply-To: <87zgscnck6.fsf@oldenburg.str.redhat.com> Date: Thu, 16 Sep 2021 07:17:00 -0700 Message-ID: Subject: Re: [PATCH v11 1/1] Extend struct r_debug to support multiple namespaces [BZ #15971] To: Florian Weimer Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: "H.J. Lu via Libc-alpha" Reply-To: "H.J. Lu" Cc: GNU C Library Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On Thu, Sep 16, 2021 at 1:34 AM Florian Weimer wrote: > > * H. J. Lu: > > > 6. Provide the compatibility symbol, _r_debug, with size of struct r_de= bug, > > as an alise of _r_debug_extended, for programs which reference _r_debug= . > > There's still that misleading =E2=80=9Ccompatibility symbol=E2=80=9D. Al= so in > elf/dl-debug-symbols.S. Fixed in the v12 patch. > What about my question regarding access to _r_debug_extended for shared > objects? As I mentioned in https://sourceware.org/pipermail/libc-alpha/2021-September/130888.html Linker generates DT_DEBUG only in the executable. dl_iterate_phdr can be used to locate DT_DEBUG in the executable. --=20 H.J.