git: libm: fnstsw only takes a 16bit argument

看板DFBSD_commit作者時間16年前 (2009/10/30 07:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AwXwr-b (DFBSD_commit)