From mboxrd@z Thu Jan 1 00:00:00 1970 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=-5.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 DDA09C7618A for ; Mon, 15 Jul 2019 04:58:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BD3272067C for ; Mon, 15 Jul 2019 04:58:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727865AbfGOE6j (ORCPT ); Mon, 15 Jul 2019 00:58:39 -0400 Received: from mx2.suse.de ([195.135.220.15]:43710 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725787AbfGOE6j (ORCPT ); Mon, 15 Jul 2019 00:58:39 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id EBFA3AD12; Mon, 15 Jul 2019 04:58:37 +0000 (UTC) Subject: Re: [PATCH 01/22] x86/paravirt: Fix callee-saved function ELF sizes To: Josh Poimboeuf , x86@kernel.org Cc: Arnd Bergmann , Jann Horn , Nick Desaulniers , Peter Zijlstra , Randy Dunlap , Thomas Gleixner , linux-kernel@vger.kernel.org, Alok Kataria References: From: Juergen Gross Message-ID: <445aa72f-c5ba-635d-122b-6d082e9c115e@suse.com> Date: Mon, 15 Jul 2019 06:58:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15.07.19 02:36, Josh Poimboeuf wrote: > The __raw_callee_save_*() functions have an ELF symbol size of zero, > which confuses objtool and other tools. > > Fixes a bunch of warnings like the following: > > arch/x86/xen/mmu_pv.o: warning: objtool: __raw_callee_save_xen_pte_val() is missing an ELF size annotation > arch/x86/xen/mmu_pv.o: warning: objtool: __raw_callee_save_xen_pgd_val() is missing an ELF size annotation > arch/x86/xen/mmu_pv.o: warning: objtool: __raw_callee_save_xen_make_pte() is missing an ELF size annotation > arch/x86/xen/mmu_pv.o: warning: objtool: __raw_callee_save_xen_make_pgd() is missing an ELF size annotation > > Signed-off-by: Josh Poimboeuf Reviewed-by: Juergen Gross Juergen