Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp702951pxu; Fri, 23 Oct 2020 11:07:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5DCeTDxPcrQKHHKL0P8vk7K8ad663xoiQ3+6ZnFmlo1JqPgm6no8m9iUUgkgacNimQO9o X-Received: by 2002:a05:6402:1201:: with SMTP id c1mr3507502edw.210.1603476436132; Fri, 23 Oct 2020 11:07:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603476436; cv=none; d=google.com; s=arc-20160816; b=Hu1roC/2OkbnfHHdOenAQGAbvcVf/nNWBYaXMVmb6dsJvRDjsPno1NkZr/XyAuQG8v M4PT6jEIKupaGc2ZKhNPRSQIqxqEE8gRoedFHiqqjGlfPr+ee2c1nMYnbQ9qmMrdYm6s XrHfY6vACkQ33eIGeqcOPIJT5kN/0BlRAJM6ljYluC6Mj5DfkzJ18TQj3UBX1iOT8q/V XIyf1AOiHxBCPSJFRNIcHjLg7C1OF9qAHdxSWoKqYjIxZbz2CcfpAOLT88bor4XkW1u5 yBsKhLWaIzXsM5BDE66mUWXm0cgBOYWoWAFq6nOtqVDv3PWIvTHMaa2id4eoadw9EIDW hVjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=d2KlYU6cPzpYXNGWOxxfZILRbEZAbRMnACZPiwWQW50=; b=gn15vJd685vmDyVbXJZnVen4V3M3mn287+PbOqaQuUynY11Tk5cv0YQHhMfLf9GctE l0bhnk8V+YIKB7g4Hvy5OZoJERhTQg6TDoSoebBv19iZ9LOFLx2W6d2UPjYH6opxlXVq XCnpWd5FNJ44svJ9MX/hZJJnuWIb0e5mqOvBSMVK1z/DAVkq3NNJX7Mn8V+P9Zb/75tM iaIORf8hmBGbNK441ncIJnwpGhGE/qddI6kYcHzXiVkp5Doi9GBeJGLoQ1teQJ7h45SW w4uzGvQuiHBYZc5t2RpSdLl85ONlJgkcY+/Z9ny9TR5K1KtZSpwMte9b0O511cfx+pXm Iqhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=gqFuJvNb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r8si1291355edw.268.2020.10.23.11.06.53; Fri, 23 Oct 2020 11:07:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=gqFuJvNb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S463261AbgJWL5z (ORCPT + 99 others); Fri, 23 Oct 2020 07:57:55 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:14170 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2409403AbgJWL5x (ORCPT ); Fri, 23 Oct 2020 07:57:53 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09NBVwDt013591; Fri, 23 Oct 2020 07:57:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=d2KlYU6cPzpYXNGWOxxfZILRbEZAbRMnACZPiwWQW50=; b=gqFuJvNbgXhxkuhnsfsKcSd7/el1tLXHX1ORprJkn8WAwNCvac9ZNA161bZmoyymuVu9 O6EW3HdWQ7J3fmxmpcE784+VyE5V/hEAAiLtOuHJAKjPEKqw6JDL1ChCotF43X9yjkfv rILil+8G6f85ttRrydHcS0wFh+QgkC/eAp4GQ+FIV6yMOgrcF2siniG9thHRIFzzjYs6 1rGEBA5qGWECk+Bgm6xMSbeLOeT2sh4jxr32827YhRg5J+QkgkEnPBum6gRUgRzgnv5D wThpRug2kK/EPfxEvukMLqEDbvucEs9/lO422Q/3T6uHH9DnAdLiQg2gX+cRBW9kdnI2 Zg== Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0a-001b2d01.pphosted.com with ESMTP id 34buh5n9dj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Oct 2020 07:57:47 -0400 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 09NBlsPp032418; Fri, 23 Oct 2020 11:57:45 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma06fra.de.ibm.com with ESMTP id 347qvhbde4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Oct 2020 11:57:45 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 09NBvhiU26345964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 23 Oct 2020 11:57:43 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3CF7D4C046; Fri, 23 Oct 2020 11:57:43 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D4FB94C050; Fri, 23 Oct 2020 11:57:42 +0000 (GMT) Received: from localhost (unknown [9.145.183.202]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Fri, 23 Oct 2020 11:57:42 +0000 (GMT) Date: Fri, 23 Oct 2020 13:57:41 +0200 From: Vasily Gorbik To: Masahiro Yamada Cc: Michal Marek , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH 2/2] s390/decompressor: support link map saving Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Patchwork-Bot: notify X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.737 definitions=2020-10-23_04:2020-10-23,2020-10-23 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 clxscore=1015 impostorscore=0 mlxscore=0 suspectscore=2 adultscore=0 mlxlogscore=828 malwarescore=0 spamscore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010230078 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Produce arch/s390/boot/compressed/vmlinux.map link map for the decompressor, when CONFIG_SAVE_LINK_MAP option is enabled. Signed-off-by: Vasily Gorbik --- arch/s390/boot/compressed/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/s390/boot/compressed/Makefile b/arch/s390/boot/compressed/Makefile index b235ed95a3d8..859a5c7c9ca7 100644 --- a/arch/s390/boot/compressed/Makefile +++ b/arch/s390/boot/compressed/Makefile @@ -21,7 +21,9 @@ OBJCOPYFLAGS := OBJECTS := $(addprefix $(obj)/,$(obj-y)) -LDFLAGS_vmlinux := --oformat $(LD_BFD) -e startup -T +clean-files += vmlinux.map + +LDFLAGS_vmlinux := --oformat $(LD_BFD) -e startup $(if $(CONFIG_SAVE_LINK_MAP),-Map=$(obj)/vmlinux.map) -T $(obj)/vmlinux: $(obj)/vmlinux.lds $(objtree)/arch/s390/boot/startup.a $(OBJECTS) FORCE $(call if_changed,ld) -- 2.25.4