From patchwork Sat Dec 25 17:55:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Monaco X-Patchwork-Id: 49255 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5A223385842B for ; Sat, 25 Dec 2021 17:55:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5A223385842B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1640454957; bh=u9YEUBaRr5Sm0OST9l2HRwHxsP7CbanFXlhUd7LpBoU=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=pGTWmSC28paBoyunUioPnPKb4MmBSH8qg+ibxLCTC+L9NB1xEYfrFANaOKafEZa7U gw2VVEVl3IaksfRl+Vw0ug3zibMA9OKwctbdq0aVhsSa4dzBDSFp8fvExxXAsyvZvQ t60Xj81GPPajpG43LNAGeCimO495d3m7ym2C2Fw0= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from confino.investici.org (confino.investici.org [212.103.72.250]) by sourceware.org (Postfix) with ESMTPS id 4B86C3858C27 for ; Sat, 25 Dec 2021 17:55:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4B86C3858C27 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4JLs6F5LjZz110t for ; Sat, 25 Dec 2021 17:55:33 +0000 (UTC) Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: andrea.monaco@autistici.org) by localhost (Postfix) with ESMTPSA id 4JLs6F4ZcDz10wk for ; Sat, 25 Dec 2021 17:55:33 +0000 (UTC) To: libc-alpha@sourceware.org Subject: [PATCH] elf/do-rel.h: fix comment introducing elf_dynamic_do_Rel Date: Sat, 25 Dec 2021 18:55:31 +0100 Message-ID: <87fsqg7eng.fsf@autistici.org> MIME-Version: 1.0 X-Spam-Status: No, score=-10.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, 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-Patchwork-Original-From: Andrea Monaco via Libc-alpha From: Andrea Monaco Reply-To: Andrea Monaco Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" Hello, this is minor, but the comment introducing elf_dynamic_do_Rel cites wrong parameters. Maybe this is the intended meaning. Thanks, Andrea Monaco diff --git a/elf/do-rel.h b/elf/do-rel.h index f441b74919..c58dd039be 100644 --- a/elf/do-rel.h +++ b/elf/do-rel.h @@ -32,10 +32,10 @@ (void *) (l_addr + relative->r_offset)) #endif -/* Perform the relocations in MAP on the running program image as specified - by RELTAG, SZTAG. If LAZY is nonzero, this is the first pass on PLT - relocations; they should be set up to call _dl_runtime_resolve, rather - than fully resolved now. */ +/* Perform the relocations in MAP on the running program image, in the + interval specified by RELADDR, RELSIZE. If LAZY is nonzero, this + is the first pass on PLT relocations; they should be set up to call + _dl_runtime_resolve, rather than fully resolved now. */ static inline void __attribute__ ((always_inline)) elf_dynamic_do_Rel (struct link_map *map, struct r_scope_elem *scope[],