From patchwork Mon Jun 1 22:18:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1301971 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20170209 header.b=estnoi/t; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.a=rsa-sha256 header.s=mail header.b=c2Eq12Nz; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (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 ozlabs.org (Postfix) with ESMTPS id 49bV1r3gqpz9shr for ; Tue, 2 Jun 2020 08:18:38 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Co/SvwnW+i6CyOaP6F5W/98hX55LOjfSFeRHZ/kB7ns=; b=estnoi/tsnVraf cKGIvgrtyIxSNQhON4TTjsaM04HwIuMRCS2Dl5gTbxWOhRGDnBlgQRXumt/zc3iYDWOd41o+mVwQD DL+GLkiQrfXBTG6tpkpckaCwz8HzaEjXt8LsuXr2kkkH2TnNJbnGMrGbzLbavdr5xLnri6hJwC9EE wZ0UxxrFPBhxoaw/ht/oV2Z7V9WQA0lwcAmymjGfpJa14Tm8bKX6altDvSbYKaAReNmARoE2Ovly9 oJOfUVdgRUJ1CALH496Btb7DznnuOW2FHFg06aUdk4X28kFi6nO/oMdtqfvIFKIRyUbr+exEd1pzK VN+MSdXjGCFXqHtTasBA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jfslP-0004ID-UA; Mon, 01 Jun 2020 22:18:35 +0000 Received: from smtprelay-out1.synopsys.com ([149.117.73.133]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jfslN-0004H6-7l for linux-snps-arc@lists.infradead.org; Mon, 01 Jun 2020 22:18:34 +0000 Received: from mailhost.synopsys.com (sv2-mailhost1.synopsys.com [10.205.2.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id B241A401AA; Mon, 1 Jun 2020 22:18:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1591049912; bh=8c8TVcatNexrT8oALkq2vn8LVC3OoT0MQr7SGaPuX+o=; h=From:To:Cc:Subject:Date:From; b=c2Eq12NzWo4PX1ao7PVdCYhEmTHTj4yDSM2e8VeNPu6Oq3IXg7z7BfcRGil8dOS/C FAk7ozgYZWPBVbJYxJZzMEphLk4WU3tdtv2GlcQSWqNNzaxEgtuootY3V0TokRGzyz 1cutjGg5NvPR4IuWUgdaBOybEFWwwtB+7buzJUt4t6v6kvsFw1DaHIIWA+DpyyAPJS fv48oOdACMBa0H3nSKKn12ZUYYIP4nPPVaW5IjaEgREKo+ovPZGPP2BWUZU7t2wv1W lY6HEqZjBrTEyLm3lLGP94O7QkCVz8m7s2ba3OO67EesV6OTQCriFy4dfKRTGM5OFB qECWCBWklXSNw== Received: from vineetg-Latitude-7400.internal.synopsys.com (unknown [10.13.183.89]) by mailhost.synopsys.com (Postfix) with ESMTP id 53B72A009A; Mon, 1 Jun 2020 22:18:29 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Vineet Gupta To: libc-alpha@sourceware.org Subject: [PATCH v2 0/2] rework dl-runtime: reloc_{offset,index} Date: Mon, 1 Jun 2020 15:18:21 -0700 Message-Id: <20200601221823.17861-1-vgupta@synopsys.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200601_151833_285766_E1CCCFC6 X-CRM114-Status: UNSURE ( 7.17 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [149.117.73.133 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vineet Gupta , linux-snps-arc@lists.infradead.org, Adhemerval Zanella Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Vineet Gupta (2): dl-runtime: reloc_{offset,index} now functions arch overide'able ARC/dl-runtime helper macros elf/dl-runtime.c | 28 +++++++++++++++---------- elf/dl-runtime.h | 30 ++++++++++++++++++++++++++ sysdeps/arc/dl-runtime.h | 42 +++++++++++++++++++++++++++++++++++++ sysdeps/hppa/dl-runtime.c | 4 ---- sysdeps/hppa/dl-runtime.h | 31 +++++++++++++++++++++++++++ sysdeps/x86_64/dl-runtime.c | 9 -------- sysdeps/x86_64/dl-runtime.h | 35 +++++++++++++++++++++++++++++++ 7 files changed, 155 insertions(+), 24 deletions(-) create mode 100644 elf/dl-runtime.h create mode 100644 sysdeps/arc/dl-runtime.h create mode 100644 sysdeps/hppa/dl-runtime.h delete mode 100644 sysdeps/x86_64/dl-runtime.c create mode 100644 sysdeps/x86_64/dl-runtime.h