--- zzzz-none-000/linux-3.10.107/arch/h8300/lib/abs.S 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/h8300/lib/abs.S 2021-02-04 17:41:59.000000000 +0000 @@ -2,20 +2,19 @@ #include -#if defined(__H8300H__) +#if defined(CONFIG_CPU_H8300H) .h8300h #endif -#if defined(__H8300S__) +#if defined(CONFIG_CPU_H8S) .h8300s #endif .text -.global SYMBOL_NAME(abs) +.global _abs ;;; int abs(int n) -SYMBOL_NAME_LABEL(abs) +_abs: mov.l er0,er0 bpl 1f neg.l er0 1: rts -