
Hi, During the review of my patchset
[PATCH v5 0/6] Add an SPL to boot the da850evm from SPI http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/119249/
a linker problem was discovered by Tom Rini and Wolfgang Denk that occured only with certain toolchains:
arm-linux-gnueabi-ld: error: no memory region specified for loadable section `.ARM.exidx'
This section .ARM.exidx is only present when the 64-bit division from libgcc is used.
The two patches in this patchset replace the 64-bit divisions in arch/arm/cpu/arm926ejs/davinci/timer.c and post/post.c by the lldiv function from div64.h and thus fix the linker problem.
Regards, Christian
Cc: Tom Rini trini@ti.com Cc: Heiko Schocher hs@denx.de Cc: Wolfgang Denk wd@denx.de
Christian Riesch (2): arm, davinci: Use lldiv for the 64-bit divisions in timer.c post/post.c: Use lldiv for 64-bit divisions
arch/arm/cpu/arm926ejs/davinci/timer.c | 6 ++++-- post/post.c | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-)