@@ -12,6 +12,11 @@
#define ah r1
#endif
+#ifdef CONFIG_SYS_THUMB_BUILD
+ .thumb
+ .thumb_func
+#endif
+
.globl __ashldi3
.globl __aeabi_llsl
__ashldi3:
@@ -12,6 +12,11 @@
#define ah r1
#endif
+#ifdef CONFIG_SYS_THUMB_BUILD
+ .thumb
+ .thumb_func
+#endif
+
.globl __ashrdi3
.globl __aeabi_lasr
__ashrdi3:
@@ -1,5 +1,9 @@
.macro ARM_DIV_BODY dividend, divisor, result, curbit
+#ifdef CONFIG_SYS_THUMB_BUILD
+ .thumb
+ .thumb_func
+#endif
#if __LINUX_ARM_ARCH__ >= 5
clz \curbit, \divisor
@@ -12,6 +12,11 @@
#define ah r1
#endif
+#ifdef CONFIG_SYS_THUMB_BUILD
+ .thumb
+ .thumb_func
+#endif
+
.globl __lshrdi3
.globl __aeabi_llsr
__lshrdi3:
@@ -1,4 +1,8 @@
.macro ARM_MOD_BODY dividend, divisor, order, spare
+#ifdef CONFIG_SYS_THUMB_BUILD
+ .thumb
+ .thumb_func
+#endif
#if __LINUX_ARM_ARCH__ >= 5
@@ -1,6 +1,10 @@
/* # 1 "libgcc1.S" */
@ libgcc1 routines for ARM cpu.
@ Division routines, written by Richard Earnshaw, (rearnsha@armltd.co.uk)
+#ifdef CONFIG_SYS_THUMB_BUILD
+ .thumb
+ .thumb_func
+#endif
/* # 145 "libgcc1.S" */
dividend .req r0
divisor .req r1
@@ -12,3 +12,4 @@ nice make -j 3 u-boot.img u-boot-dtb.bin && \
# git diff 742de9076e8a8f44b77794b43e6175d86b897996 -- arch board common drivers include > ../wagabuibui.patch
# scp ../wagabuibui.patch pavel@pollux.denx.de:~/wagabuibui/eldk/meta-eldk/recipes-bsp/uboot/u-boot/wagabuibui.patch
+# scp pavel@pollux.denx.de:~/wagabuibui/u-boot/u-boot-dtb.bin /srv/tftp/wagabuibui/u-boot.bin