DragonFly commits List (threaded) for 2009-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: libm: fnstsw only takes a 16bit argument
commit 3eac7944b4112632ad6fb257c7ce31deda72d89f
Author: Simon Schubert <corecode@dragonflybsd.org>
Date: Thu Oct 29 15:56:08 2009 +0100
libm: fnstsw only takes a 16bit argument
Binutils-2.20 gas polices more strictly and does not accept 32bit
arguments to the fnstsw opcode. Please it by declaring all arguments as
__uint16_t. This possibly even fixes some latent bugs due to missing
initialization of the top 16 bits.
Summary of changes:
lib/libm/arch/amd64/fenv.c | 6 ++++--
lib/libm/arch/amd64/fenv.h | 11 +++++++----
lib/libm/arch/i386/fenv.c | 6 ++++--
lib/libm/arch/i386/fenv.h | 11 +++++++----
4 files changed, 22 insertions(+), 12 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3eac7944b4112632ad6fb257c7ce31deda72d89f
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]