All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mtd-utils: improve compatibility with klibc
@ 2018-01-25  8:52 Andrea Adami
  2018-01-25  8:52 ` [PATCH 1/2] mtd-utils: common.c: convert to integer arithmetic Andrea Adami
  2018-01-25  8:52 ` [PATCH 2/2] ubi-utils: ubiformat.c: " Andrea Adami
  0 siblings, 2 replies; 4+ messages in thread
From: Andrea Adami @ 2018-01-25  8:52 UTC (permalink / raw)
  To: linux-mtd; +Cc: David Oberhollenzer

Klibc does not support floating point calculations.
Here some fixes needed to build the ubi-utils against klibc for aarch64,
without FPU.

These lines end up compiled with soft float for other arm targets w/out
FPU thus this was discovered only cross-building for qemuarm64 using the flag
 '-mgeneral-regs-only'.

Changes tested on armv5, same output is printed.

Andrea Adami (2):
  mtd-utils: common.c: convert to integer arithmetic
  ubi-utils: ubiformat.c: convert to integer arithmetic.

 lib/common.c          | 15 +++++++++------
 ubi-utils/ubiformat.c |  2 +-
 2 files changed, 10 insertions(+), 7 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-01-28  0:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-25  8:52 [PATCH 0/2] mtd-utils: improve compatibility with klibc Andrea Adami
2018-01-25  8:52 ` [PATCH 1/2] mtd-utils: common.c: convert to integer arithmetic Andrea Adami
2018-01-28  0:37   ` Andrea Adami
2018-01-25  8:52 ` [PATCH 2/2] ubi-utils: ubiformat.c: " Andrea Adami

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.