From patchwork Tue Aug 18 22:41:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 265885 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1279CC433DF for ; Tue, 18 Aug 2020 22:41:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E241520789 for ; Tue, 18 Aug 2020 22:41:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597790477; bh=ILm6PYAHR9zoYRR/F9/v/nsmW1S+3S1F0Bf1JqdVsWc=; h=Date:From:To:Subject:List-ID:From; b=pVqnEQvUnk98pDaXWdnP2lMiAb9xX+o8PMsy9VrZp5UwLBZyltX8qcLdklh4SYWW8 9ax5T3JjLtNWNN1u/LLwk1rFPzDNkAitVYaXYtNt02Upt58NqbALG0MtWJInAZnnEd UV2YzPXXN8FVw4XtHC27+4FM4h7fbCdFnRWE636c= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727768AbgHRWlR (ORCPT ); Tue, 18 Aug 2020 18:41:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:50850 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727013AbgHRWlP (ORCPT ); Tue, 18 Aug 2020 18:41:15 -0400 Received: from localhost.localdomain (c-71-198-47-131.hsd1.ca.comcast.net [71.198.47.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6B05520786; Tue, 18 Aug 2020 22:41:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597790474; bh=ILm6PYAHR9zoYRR/F9/v/nsmW1S+3S1F0Bf1JqdVsWc=; h=Date:From:To:Subject:From; b=VwIRIYDwlCLVfIwR3btm2qsToWwDSS6YqWktUvc8zjHx6ukfEKr7Naa8MBtURzy1I omG4FpZ1/E8VSxcEL51FB3mtDLahU6WZrdCuLv5WbtYDmAFOLTUBoL7m11OFWsk4Th EYzFtNo8ADOv4SZrKrCMPqxmpLRSBvWBmEVwcERk= Date: Tue, 18 Aug 2020 15:41:14 -0700 From: akpm@linux-foundation.org To: amodra@gmail.com, arnd@arndb.de, bin.meng@windriver.com, chenzhou10@huawei.com, dalias@libc.org, geert+renesas@glider.be, glaubitz@physik.fu-berlin.de, krzk@kernel.org, kuninori.morimoto.gx@renesas.com, mm-commits@vger.kernel.org, romain.naour@gmail.com, sam@ravnborg.org, stable@vger.kernel.org, ysato@users.sourceforge.jp Subject: [merged] include-asm-generic-vmlinuxldsh-align-ro_after_init.patch removed from -mm tree Message-ID: <20200818224114.DVsPR2YH-%akpm@linux-foundation.org> User-Agent: s-nail v14.8.16 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org The patch titled Subject: include/asm-generic/vmlinux.lds.h: align ro_after_init has been removed from the -mm tree. Its filename was include-asm-generic-vmlinuxldsh-align-ro_after_init.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Romain Naour Subject: include/asm-generic/vmlinux.lds.h: align ro_after_init Since the patch [1], building the kernel using a toolchain built with binutils 2.33.1 prevents booting a sh4 system under Qemu. Apply the patch provided by Alan Modra [2] that fix alignment of rodata. [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ebd2263ba9a9124d93bbc0ece63d7e0fae89b40e [2] https://www.sourceware.org/ml/binutils/2019-12/msg00112.html Link: https://marc.info/?l=linux-sh&m=158429470221261 Signed-off-by: Romain Naour Cc: Alan Modra Cc: Bin Meng Cc: Chen Zhou Cc: Geert Uytterhoeven Cc: John Paul Adrian Glaubitz Cc: Krzysztof Kozlowski Cc: Kuninori Morimoto Cc: Rich Felker Cc: Sam Ravnborg Cc: Yoshinori Sato Cc: Arnd Bergmann Cc: Signed-off-by: Andrew Morton --- include/asm-generic/vmlinux.lds.h | 1 + 1 file changed, 1 insertion(+) --- a/include/asm-generic/vmlinux.lds.h~include-asm-generic-vmlinuxldsh-align-ro_after_init +++ a/include/asm-generic/vmlinux.lds.h @@ -394,6 +394,7 @@ */ #ifndef RO_AFTER_INIT_DATA #define RO_AFTER_INIT_DATA \ + . = ALIGN(8); \ __start_ro_after_init = .; \ *(.data..ro_after_init) \ JUMP_TABLE_DATA \