From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by sourceware.org (Postfix) with ESMTPS id 152553858D35 for ; Fri, 14 Jan 2022 14:26:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 152553858D35 Received: by mail-pl1-x62c.google.com with SMTP id n8so216816plc.3 for ; Fri, 14 Jan 2022 06:26:16 -0800 (PST) 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; bh=wMBAOTbauQBUm/H44E+tMeLEdDQ9kFYgiazoYipW+9g=; b=z1fxJx5xNbspgxupEm8vaU/l9gGi5/MJ58j/4Q9z0P8jyHWhSBpVfvM4ZylXpZiZJ9 6CYzKUPxpVSeFi0QJf/jC/GeJbKQ315d1KV5FEr5PDdzXPorW4Nk+NgU3KsNun/jb9lE uZMNo52hXbmvILKf7k4/nUDzDgMxOBMOLBoXWYKzB4ej6M9v8CpRwMLGLJl6lBjQyA30 W1LH1Fn3vk3W4JocHwuaz3tuRBGTZ+SscL/CB59iuPqHqVPF0EzDJ4rVF74+psJMdX7Q FRaV1vl4UoL2/Go5R7JvkrkHzXbpNmM/NOswLc93x9jKoBpIog728rmVQhzMTMrOq261 18ZQ== X-Gm-Message-State: AOAM530G0lDw0e408zT3hT6MBFg2X2/n6KgfMZW3XFH3mGH3gX8HFls6 ekx/SvnoVcOB8b/vBipsJD5TiioP3r3owOENf6xQ+Evk X-Google-Smtp-Source: ABdhPJyY+bBZFJpQJeMRsbcBv/fSlZPZfh6GXmV79K1s1NGC+3EHvJkudasdFYzK8zx6nhHu0oXb1e4KIUM6+it65Xg= X-Received: by 2002:a17:902:e544:b0:14a:555c:add3 with SMTP id n4-20020a170902e54400b0014a555cadd3mr9428602plf.102.1642170375160; Fri, 14 Jan 2022 06:26:15 -0800 (PST) MIME-Version: 1.0 References: <905c03a4ee231961ca1dd4fc74e49ebf97299b0d.1642162312.git.fweimer@redhat.com> In-Reply-To: <905c03a4ee231961ca1dd4fc74e49ebf97299b0d.1642162312.git.fweimer@redhat.com> From: "H.J. Lu" Date: Fri, 14 Jan 2022 06:25:39 -0800 Message-ID: Subject: Re: [PATCH 3/7] elf: Split dl-printf.c from dl-misc.c To: Florian Weimer Cc: GNU C Library Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3027.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: , X-List-Received-Date: Fri, 14 Jan 2022 14:26:17 -0000 On Fri, Jan 14, 2022 at 4:42 AM Florian Weimer via Libc-alpha wrote: > > This allows to use different compiler flags for the diagnostics > code. > --- > elf/Makefile | 2 +- > elf/dl-misc.c | 281 +--------------------------------------------- > elf/dl-printf.c | 292 ++++++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 297 insertions(+), 278 deletions(-) > create mode 100644 elf/dl-printf.c > > diff --git a/elf/Makefile b/elf/Makefile > index b86d116be9..0c4be43deb 100644 > --- a/elf/Makefile > +++ b/elf/Makefile > @@ -31,7 +31,7 @@ routines = $(all-dl-routines) dl-support dl-iteratephdr \ > # The core dynamic linking functions are in libc for the static and > # profiled libraries. > dl-routines = $(addprefix dl-,load lookup object reloc deps \ > - runtime init fini debug misc \ > + runtime init fini debug misc printf \ > version profile tls origin scope \ > execstack open close trampoline \ > exception sort-maps lookup-direct \ Should we put one item per-line now? -- H.J.