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: 39412 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 95BD3386F432; Mon, 1 Jun 2020 22:18:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 95BD3386F432 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1591049918; bh=nKvV7/1QnHyKelH8Qgkl+9uGq0cBhQg2mr5sq9K78MA=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=dj96cB1Q0P7w7pvwEiM9iYxQjtwTuO4w0cG4iHqCJIMYeE027EjRph4q1cWbjiLAu Ml4MuAkXt4aJJDPs4MdBIymLd1Ql0lmFnkqTtqwuP6rx/kCXw9JmMzQpx1JDR0x0i3 9dK9zcTrppXdlahEnaUoWKyP7tEpQN+BkCzOt9w8= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from smtprelay-out1.synopsys.com (smtprelay-out1.synopsys.com [149.117.73.133]) by sourceware.org (Postfix) with ESMTPS id 9467A3851C37 for ; Mon, 1 Jun 2020 22:18:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9467A3851C37 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) 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 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-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP 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: 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: Vineet Gupta via Libc-alpha From: Vineet Gupta Reply-To: Vineet Gupta Cc: Vineet Gupta , linux-snps-arc@lists.infradead.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" 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