Skip to content
Snippets Groups Projects
  • Marek Vasut's avatar
    e64d7594
    arm: lib: Fix uldivmod.S build on Thumb2 · e64d7594
    Marek Vasut authored
    
    This assembler source won't build in Thumb2 mode, so fix it adding
    the necessary Thumb2 conditional macros from unified.h .
    
    This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
    which is necessary for correct build of these files both in ARM and
    Thumb mode, just like Linux does.
    
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Cc: Albert Aribaud <albert.u.boot@aribaud.net>
    Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
    Cc: Simon Glass <sjg@chromium.org>
    Cc: Tom Rini <trini@konsulko.com>
    Reviewed-by: default avatarTom Rini <trini@konsulko.com>
    e64d7594
    History
    arm: lib: Fix uldivmod.S build on Thumb2
    Marek Vasut authored
    
    This assembler source won't build in Thumb2 mode, so fix it adding
    the necessary Thumb2 conditional macros from unified.h .
    
    This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
    which is necessary for correct build of these files both in ARM and
    Thumb mode, just like Linux does.
    
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Cc: Albert Aribaud <albert.u.boot@aribaud.net>
    Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
    Cc: Simon Glass <sjg@chromium.org>
    Cc: Tom Rini <trini@konsulko.com>
    Reviewed-by: default avatarTom Rini <trini@konsulko.com>
uldivmod.S 4.44 KiB