From patchwork Thu May 11 15:56:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 761236 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wNydZ4dfHz9rxm for ; Fri, 12 May 2017 02:06:10 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="kEKe5rBx"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3wNydZ3dKWzDqZf for ; Fri, 12 May 2017 02:06:10 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="kEKe5rBx"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com [IPv6:2607:f8b0:400e:c05::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wNyRQ4pjSzDqNM for ; Fri, 12 May 2017 01:57:22 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="kEKe5rBx"; dkim-atps=neutral Received: by mail-pg0-x244.google.com with SMTP id 64so4040072pgb.3 for ; Thu, 11 May 2017 08:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DxXGJ16GfSw33DmRVuoHfqhNtsBKfIy5r7G70QPUiq4=; b=kEKe5rBxIzSnGd6C7iDUEutXbKJbxYUoyRENH4SJxYnkUZ7HmYpZb0PJn0M8QfTDMw xXY7AhlNTngmoeB93FtyxJTPpt7ikXoRkbzNUQ27N6N5rNsI1H7JRLnbStTdqbiMgJZs Fiz649XmmHd7nvvENLedVS6JiT6C9L2/WsOQy9YTSuvbJugQHj4b1zz7rrTm/a4443iL UWrwqYN9WbiuHfiArwgnsqgQu81H2bJufS0OCdNV444hq/zdSwvZAM+lpIT/XnHbTVlb Ixvzb0kLHILpOc8yo7UmBOMFfwYSSouCxhq0R9URShOml1B8MBaAyEn1GmYhQp8pjiK9 Ql3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DxXGJ16GfSw33DmRVuoHfqhNtsBKfIy5r7G70QPUiq4=; b=h3+vN7VIR3uynjzYuNfZEDHBixsgbPnk5m+wdAJREH7eITnJFO910aCwAzDa0Obw0w cL3xHxS1ioS2VO3p74y5iz6259jadqjMkIDwB5Ngens03jekIVXfQerep2IlcpxltRdU hFp6FnlyKyaPwAGelIeA4YSNQVK+CQHz49GobyjA/zOXKSMCGdIUtMaP3ZIDSG39/r41 YdmviM1b9RI+s9tmyPABT6tUXNJCioxjY9hDBJGCUOzXR8QSxoxFrVrSd690kO7uUAOJ 3CWppNE8mj5BAOejh8xyX3DEXq3re4qPEuI4SnzT+mAsKM2uqkFxKHpcsjDvs610kvGf gwMw== X-Gm-Message-State: AODbwcCMK7LNVljr1Pf2E8zKSyo6KT+yIaYIfpvsBoJEgqrtponR/OAZ lhKxYpqkxT0f1g== X-Received: by 10.99.101.130 with SMTP id z124mr1133586pgb.8.1494518241052; Thu, 11 May 2017 08:57:21 -0700 (PDT) Received: from roar.au.ibm.com ([210.185.118.93]) by smtp.gmail.com with ESMTPSA id c7sm1194002pfk.103.2017.05.11.08.57.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 May 2017 08:57:20 -0700 (PDT) From: Nicholas Piggin To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 4/5] powerpc/64: do not create new section for save/restore functions Date: Fri, 12 May 2017 01:56:51 +1000 Message-Id: <20170511155652.8287-5-npiggin@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170511155652.8287-1-npiggin@gmail.com> References: <20170511155652.8287-1-npiggin@gmail.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nicholas Piggin Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" There is no need to create a new section for these. Consolidate with 32-bit and just use .text. Signed-off-by: Nicholas Piggin --- arch/powerpc/lib/crtsavres.S | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/lib/crtsavres.S b/arch/powerpc/lib/crtsavres.S index 18af0b3d3eb2..7e5e1c28e56a 100644 --- a/arch/powerpc/lib/crtsavres.S +++ b/arch/powerpc/lib/crtsavres.S @@ -44,10 +44,10 @@ #ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE -#ifndef CONFIG_PPC64 - .section ".text" +#ifndef CONFIG_PPC64 + /* Routines for saving integer registers, called by the compiler. */ /* Called with r11 pointing to the stack header word of the caller of the */ /* function, just beyond the end of the integer save area. */ @@ -314,8 +314,6 @@ _GLOBAL(_restvr_31) #else /* CONFIG_PPC64 */ - .section ".text.save.restore","ax",@progbits - .globl _savegpr0_14 _savegpr0_14: std r14,-144(r1)