Re: [PATCH v2 4/7] kbuild: fix asm-offset generation to work with clang

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 01, 2020 at 09:22:31AM +0200, Thomas Huth wrote:
> KBuild abuses the asm statement to write to a file and
> clang chokes about these invalid asm statements. Hack it
> even more by fooling this is actual valid asm code.
> 
> This is an adaption of the Linux kernel commit cf0c3e68aa81f992b0
> which in turn is based on a patch for the U-Boot:
>   http://patchwork.ozlabs.org/patch/375026/
> 
> Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx>
> ---
>  lib/kbuild.h            | 6 +++---
>  scripts/asm-offsets.mak | 5 +++--
>  2 files changed, 6 insertions(+), 5 deletions(-)
>

 
Reviewed-by: Andrew Jones <drjones@xxxxxxxxxx>
Tested-by: Andrew Jones <drjones@xxxxxxxxxx>




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux