From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 828371B3F3D; Fri, 14 Feb 2025 19:38:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739561902; cv=none; b=lrIfgih/BnwSe0iY7Kpc2SWCln+IX3OO1BriJ6NZEP1JiO+lcFttgTMjqdzhWmkVtjoxD7m89o1ytGICkbAvxZcorr6xY6Mn43Rl0RYzP8yIQ6z96REpqMjpJiqkiFeB5V3joHEqZ/mD8Ehcy0ihY0T+abZrHgkvuC+LYp289/o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739561902; c=relaxed/simple; bh=V9sAZVtvPpbSHwjX3+ZKyFuEV2FgXN7gDRROnOTXxIQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MHoTW5TSQ843CxSI5VIIeuidcKP7Z6j+HHm0CQra5yr1DHvanERIKkD4421ZzQ03Xd6qPTiqZzGJVJ53Xkv+UikWHi0DjfnxKhKo/EtRTYZOdCk36+HRgvpKIaxLLHCLrpuFFuWd+w7iBjGmon8dxupP7vYE4z3G9nxyUZVpktw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZnhThuL1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZnhThuL1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E2DFC4AF09; Fri, 14 Feb 2025 19:38:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1739561902; bh=V9sAZVtvPpbSHwjX3+ZKyFuEV2FgXN7gDRROnOTXxIQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZnhThuL1rcyP/53Er7fRg9dl+i87uptxy5JQc7SC4U6VmxXJ+WDod5dQKlypT9FeX j84/E3srsPnLeibvW05a7qQd6yW7DfP9qhQY8kti0796mhX2AnWAK1N5CCbmk1ZJZm GLM6JpU50PhHU01Ab3frOCCpEWSIO8AsC0J8b82gmgQJJMebcU1WlIUapLTvpAjv5n m6KDXAL0CXO+GEqzCLB7T1yaudSUIhnp+00c3K4/EYEMTB83+DTP4onhooYBeG00hf LqMauNPIGSrgMOtWZxmc9Jp7NLCQlMQ9O65BXS/qRw2+4fmL4BK1vWGcT9ZkQ+o3K8 gLVdiRpc9Jp8g== Date: Fri, 14 Feb 2025 11:38:19 -0800 From: Josh Poimboeuf To: Puranjay Mohan Cc: Indu Bhagat , Song Liu , Weinan Liu , Steven Rostedt , Peter Zijlstra , Mark Rutland , roman.gushchin@linux.dev, Will Deacon , Ian Rogers , linux-toolchains@vger.kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, joe.lawrence@redhat.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 0/8] unwind, arm64: add sframe unwinder for kernel Message-ID: <20250214193819.22yet42umilpugv5@jpoimboe> References: <20250212234946.yuskayyu4gx3ul7m@jpoimboe> <20250213024507.mvjkalvyqsxihp54@jpoimboe> <3069bb9c-6245-4754-a187-ac8253103d32@oracle.com> Precedence: bulk X-Mailing-List: linux-toolchains@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Fri, Feb 14, 2025 at 06:58:01PM +0000, Puranjay Mohan wrote: > and the linker script has this line: > > .sframe : AT(ADDR(.sframe) - 0) { __start_sframe_header = .; KEEP(*(.sframe)) __stop_sframe_header = .; } > > So, do can you suggest the best way to fix these warnings? Just add *(.init.sframe) like so: .sframe : AT(ADDR(.sframe) - 0) { __start_sframe_header = .; KEEP(*(.sframe) *(.init.sframe)) __stop_sframe_header = .; } -- Josh