All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Adami <andrea.adami@gmail.com>
To: linux-mtd@lists.infradead.org
Cc: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Subject: [PATCH 0/2] mtd-utils: improve compatibility with klibc
Date: Thu, 25 Jan 2018 09:52:36 +0100	[thread overview]
Message-ID: <cover.1516868053.git.andrea.adami@gmail.com> (raw)

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

             reply	other threads:[~2018-01-25  8:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-25  8:52 Andrea Adami [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1516868053.git.andrea.adami@gmail.com \
    --to=andrea.adami@gmail.com \
    --cc=david.oberhollenzer@sigma-star.at \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.