[U-Boot] [PATCH 0/2] Use lldiv from div64.h for 64-bit divisions
Christian Riesch
christian.riesch at omicron.at
Fri Dec 9 16:54:00 CET 2011
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 at ti.com>
Cc: Heiko Schocher <hs at denx.de>
Cc: Wolfgang Denk <wd at 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(-)
--
1.7.4.1
More information about the U-Boot
mailing list