platform/upstream/linaro-glibc.git
12 years agoFix comment that describes sighandler_setxid
Siddhesh Poyarekar [Thu, 19 Jul 2012 01:34:24 +0000 (07:04 +0530)]
Fix comment that describes sighandler_setxid

12 years agoAdd missing CL entry.
Marek Polacek [Wed, 18 Jul 2012 07:09:55 +0000 (09:09 +0200)]
Add missing CL entry.

12 years agoRemove TLS configure check for MIPS.
Joseph Myers [Tue, 17 Jul 2012 22:48:57 +0000 (22:48 +0000)]
Remove TLS configure check for MIPS.

12 years agoRemove TLS configure check for ARM.
Joseph Myers [Tue, 17 Jul 2012 22:46:09 +0000 (22:46 +0000)]
Remove TLS configure check for ARM.

12 years agoFix a few typos.
Marek Polacek [Tue, 17 Jul 2012 22:25:50 +0000 (00:25 +0200)]
Fix a few typos.

12 years agoRemove TLS configure checks.
Marek Polacek [Tue, 17 Jul 2012 21:53:05 +0000 (23:53 +0200)]
Remove TLS configure checks.

12 years agotile: exit with status zero on makecontext return with NULL uc_link
Chris Metcalf [Tue, 17 Jul 2012 18:35:46 +0000 (14:35 -0400)]
tile: exit with status zero on makecontext return with NULL uc_link

12 years agotile: update libm test ULPs
Chris Metcalf [Tue, 17 Jul 2012 18:04:17 +0000 (14:04 -0400)]
tile: update libm test ULPs

12 years agoMove tile c++-types baselines to sysdeps directories.
Chris Metcalf [Tue, 17 Jul 2012 18:03:25 +0000 (14:03 -0400)]
Move tile c++-types baselines to sysdeps directories.

12 years agoAdd c++-types information for MIPS.
Joseph Myers [Tue, 17 Jul 2012 16:25:02 +0000 (16:25 +0000)]
Add c++-types information for MIPS.

12 years agoMove c++-types baselines to sysdeps directories.
Joseph Myers [Tue, 17 Jul 2012 14:44:06 +0000 (14:44 +0000)]
Move c++-types baselines to sysdeps directories.

12 years agoSplit tls-macros.h into sysdeps directories.
Joseph Myers [Tue, 17 Jul 2012 11:30:58 +0000 (11:30 +0000)]
Split tls-macros.h into sysdeps directories.

12 years agoSH: makecontext: exit (0) if uc_link is the null pointer.
Thomas Schwinge [Tue, 17 Jul 2012 08:06:06 +0000 (10:06 +0200)]
SH: makecontext: exit (0) if uc_link is the null pointer.

12 years agox86_64: makecontext: exit (0) if uc_link is the null pointer.
Thomas Schwinge [Tue, 17 Jul 2012 08:06:02 +0000 (10:06 +0200)]
x86_64: makecontext: exit (0) if uc_link is the null pointer.

12 years agosetcontext: Clarify termination when uc_link is the null pointer.
Thomas Schwinge [Tue, 17 Jul 2012 08:05:55 +0000 (10:05 +0200)]
setcontext: Clarify termination when uc_link is the null pointer.

12 years agom68k: add support for {get,make,set,swap}context
Andreas Schwab [Mon, 16 Jul 2012 14:54:37 +0000 (16:54 +0200)]
m68k: add support for {get,make,set,swap}context

12 years agoFix bug-getcontext test
Andreas Schwab [Mon, 16 Jul 2012 14:51:13 +0000 (16:51 +0200)]
Fix bug-getcontext test

12 years agoUpdate from translation team
Andreas Jaeger [Mon, 16 Jul 2012 07:38:55 +0000 (09:38 +0200)]
Update from translation team

12 years agoconformtest: Update expectations for string.h.
Joseph Myers [Sun, 15 Jul 2012 22:38:11 +0000 (22:38 +0000)]
conformtest: Update expectations for string.h.

12 years agoUpdate from french translation team
Andreas Jaeger [Fri, 13 Jul 2012 15:50:05 +0000 (17:50 +0200)]
Update from french translation team

12 years agoFix ynl return value with LDBL_MIN.
Marek Polacek [Thu, 12 Jul 2012 14:34:47 +0000 (16:34 +0200)]
Fix ynl return value with LDBL_MIN.

12 years agoRemove pre-2.4.1 Linux kernel support.
Joseph Myers [Thu, 12 Jul 2012 12:31:32 +0000 (12:31 +0000)]
Remove pre-2.4.1 Linux kernel support.

12 years agoAvoid duplicate DNS requests if answer is longer than a implementation
Jeroen van Bemmel [Thu, 12 Jul 2012 05:53:28 +0000 (11:23 +0530)]
Avoid duplicate DNS requests if answer is longer than a implementation
limit

        [BZ #14307]
        * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
        the temporary buffer used to invoke __gethostbyname2_r,
        __gethostbyaddr_r and gethostbyname4_r to make room for struct
        host_data / struct gaih_addrtuple.
        * resolv/nss_dns/dns-host.c (global scope): Move definition of
        implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
        header file nss/nsswitch.h.
        * nss/nsswitch.h (global scope): Add definition of implementation
        constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
        resolv/nss_dns/dns-host.c).

12 years agoRewrite MIPS' atomic.h to use __atomic_* builtins.
Maxim Kuvyrkov [Wed, 11 Jul 2012 23:47:58 +0000 (16:47 -0700)]
Rewrite MIPS' atomic.h to use __atomic_* builtins.

12 years agoTranslation team update for fr.po/sv.po
Andreas Jaeger [Wed, 11 Jul 2012 18:41:25 +0000 (20:41 +0200)]
Translation team update for fr.po/sv.po

12 years agoUpdate from translation team: fr.po
Andreas Jaeger [Wed, 11 Jul 2012 14:18:17 +0000 (16:18 +0200)]
Update from translation team: fr.po

12 years agoFix ctan, ctanh of subnormals in round-upwards mode (bug 14328).
Adhemerval Zanella [Wed, 11 Jul 2012 12:19:27 +0000 (09:19 -0300)]
Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).

IBM long double fixes and POWER ulps update.

12 years agoUpdate sparc ULPs.
David S. Miller [Wed, 11 Jul 2012 09:50:31 +0000 (02:50 -0700)]
Update sparc ULPs.

* sysdeps/sparc/fpu/libm-test-ulps: Update.

12 years agoFix LOG_MAKEPRI to agree with BSD
Andreas Schwab [Tue, 10 Jul 2012 17:11:03 +0000 (19:11 +0200)]
Fix LOG_MAKEPRI to agree with BSD

12 years agotile: correct typo in comment
Chris Metcalf [Tue, 10 Jul 2012 14:35:27 +0000 (10:35 -0400)]
tile: correct typo in comment

12 years agotile: Convert ASM_GLOBAL_DIRECTIVE to .globl
Chris Metcalf [Tue, 10 Jul 2012 14:33:04 +0000 (10:33 -0400)]
tile: Convert ASM_GLOBAL_DIRECTIVE to .globl

12 years agoChange ASM_GLOBAL_DIRECTIVE to .globl for ARM.
Joseph Myers [Tue, 10 Jul 2012 14:29:29 +0000 (14:29 +0000)]
Change ASM_GLOBAL_DIRECTIVE to .globl for ARM.

12 years agoGet rid of ASM_GLOBAL_DIRECTIVE.
Marek Polacek [Tue, 10 Jul 2012 12:30:24 +0000 (14:30 +0200)]
Get rid of ASM_GLOBAL_DIRECTIVE.

12 years agom68k: update libm test ULPs
Andreas Schwab [Mon, 9 Jul 2012 18:57:50 +0000 (20:57 +0200)]
m68k: update libm test ULPs

12 years agoBZ#14336: Manual spelling fixes.
Roland McGrath [Mon, 9 Jul 2012 11:41:13 +0000 (04:41 -0700)]
BZ#14336: Manual spelling fixes.

12 years agoFix clog, clog10 spurious underflow exceptions (bug 14337).
Joseph Myers [Mon, 9 Jul 2012 11:06:34 +0000 (11:06 +0000)]
Fix clog, clog10 spurious underflow exceptions (bug 14337).

12 years agoUpdate NEWS
Andreas Schwab [Fri, 6 Jul 2012 22:06:38 +0000 (00:06 +0200)]
Update NEWS

12 years agoFix float range reduction problems (#14283)
Andreas Schwab [Fri, 6 Jul 2012 21:56:57 +0000 (23:56 +0200)]
Fix float range reduction problems (#14283)

12 years agoFix missing _mcount@GLIBC_2.0 on powerpc32
Andreas Schwab [Tue, 1 May 2012 15:10:10 +0000 (17:10 +0200)]
Fix missing _mcount@GLIBC_2.0 on powerpc32

12 years agoFix tanf underflow close to pi/4 (bug 14154).
Joseph Myers [Fri, 6 Jul 2012 21:19:38 +0000 (21:19 +0000)]
Fix tanf underflow close to pi/4 (bug 14154).

12 years agoDo not store data below the stack pointer on MIPS.
Petar Jovanovic [Fri, 6 Jul 2012 19:12:21 +0000 (19:12 +0000)]
Do not store data below the stack pointer on MIPS.

12 years agoFix expm1 spurious underflow exceptions (bug 6778).
Joseph Myers [Fri, 6 Jul 2012 11:17:41 +0000 (11:17 +0000)]
Fix expm1 spurious underflow exceptions (bug 6778).

12 years agosunrpc: fix rpc bootstrap builds
Mike Frysinger [Tue, 3 Jul 2012 19:22:05 +0000 (15:22 -0400)]
sunrpc: fix rpc bootstrap builds

If you build & install glibc w/rpc disabled, you no longer have headers in
/usr/include/rpc/ (this is expected).  But if you try to build glibc w/rpc
enabled, this gets into a bad state due to the new rpc helpers that get
cross-compiled:

$ make
...
x86_64-pc-linux-gnu-gcc -m32   -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build \
-include $objdir/config.h rpc_clntout.c -o $objdir/sunrpc/cross-rpc_clntout.o \
-MMD -MP -MF $objdir/sunrpc/cross-rpc_clntout.o.dt -MT $objdir/sunrpc/cross-rpc_clntout.o -c
rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory
compilation terminated.
make: *** [$objdir/sunrpc/cross-rpc_clntout.o] Error 1

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoAdd ARM-specific static-stubs.c.
Joseph Myers [Thu, 5 Jul 2012 22:16:03 +0000 (22:16 +0000)]
Add ARM-specific static-stubs.c.

12 years agoFix csqrt underflow (bugs 14157, 14331).
Joseph Myers [Thu, 5 Jul 2012 11:02:13 +0000 (11:02 +0000)]
Fix csqrt underflow (bugs 14157, 14331).

12 years agoAdapt tst-catgets to changes in tst-gettext
Andreas Schwab [Wed, 4 Jul 2012 13:57:51 +0000 (15:57 +0200)]
Adapt tst-catgets to changes in tst-gettext

12 years agoFix tst-gettext test
Andreas Schwab [Wed, 4 Jul 2012 12:16:05 +0000 (14:16 +0200)]
Fix tst-gettext test

12 years agoFix ctan, ctanh of subnormals in round-upwards mode (bug 14328).
Joseph Myers [Wed, 4 Jul 2012 09:55:26 +0000 (09:55 +0000)]
Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).

12 years agodrop ports ignore
Mike Frysinger [Tue, 3 Jul 2012 19:19:16 +0000 (15:19 -0400)]
drop ports ignore

Now that it's been merged back into mainline, we don't want to ignore
the dir anymore.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoUpdate from translation teams
Andreas Jaeger [Tue, 3 Jul 2012 19:43:55 +0000 (21:43 +0200)]
Update from translation teams

12 years agoAvoid use of libgcc_s and libgcc_eh when building glibc.
Joseph Myers [Tue, 3 Jul 2012 19:14:59 +0000 (19:14 +0000)]
Avoid use of libgcc_s and libgcc_eh when building glibc.

12 years agoFix float range reduction problems (bug 14283).
Joseph Myers [Tue, 3 Jul 2012 17:10:42 +0000 (17:10 +0000)]
Fix float range reduction problems (bug 14283).

12 years agoAdd cosh tests for bug 14273.
Joseph Myers [Tue, 3 Jul 2012 17:06:55 +0000 (17:06 +0000)]
Add cosh tests for bug 14273.

12 years agoAdd ppca2 to ports powerpc/dl-procinfo.
Joseph Myers [Tue, 3 Jul 2012 17:03:29 +0000 (17:03 +0000)]
Add ppca2 to ports powerpc/dl-procinfo.

12 years agoRemove ports files no longer relevant now included in libc repository.
Joseph Myers [Tue, 3 Jul 2012 16:51:46 +0000 (16:51 +0000)]
Remove ports files no longer relevant now included in libc repository.

12 years agoOpen development for 2.17.
Joseph Myers [Tue, 3 Jul 2012 16:36:22 +0000 (16:36 +0000)]
Open development for 2.17.

12 years agoMerge glibc-ports into ports/ directory.
Joseph Myers [Sun, 1 Jul 2012 13:08:59 +0000 (13:08 +0000)]
Merge glibc-ports into ports/ directory.

12 years agoMove all files into ports/ subdirectory in preparation for merge with glibc
Joseph Myers [Sun, 1 Jul 2012 13:06:41 +0000 (13:06 +0000)]
Move all files into ports/ subdirectory in preparation for merge with glibc

12 years agoRelease 2.16
Carlos O'Donell [Sat, 30 Jun 2012 19:12:34 +0000 (12:12 -0700)]
Release 2.16

Update version.h and include/features.h for 2.16 release.

12 years agoUpdate NEWS and README.
Carlos O'Donell [Sat, 30 Jun 2012 15:27:06 +0000 (08:27 -0700)]
Update NEWS and README.

Final update for 2.16 release.

12 years agomanual/contrib.texi (Contributors): Sort alphabetically by last name.
Thomas Schwinge [Thu, 28 Jun 2012 08:50:08 +0000 (10:50 +0200)]
manual/contrib.texi (Contributors): Sort alphabetically by last name.

12 years agoAdd Samuel Thibault to manual/contrib.texi
Andreas Jaeger [Wed, 27 Jun 2012 17:50:07 +0000 (19:50 +0200)]
Add Samuel Thibault to manual/contrib.texi

12 years agoUpdate s390 ULPs file
Andreas Jaeger [Mon, 25 Jun 2012 08:28:03 +0000 (10:28 +0200)]
Update s390 ULPs file

12 years agoSH can do fanotify_mark, too.
Andreas Schwab [Sat, 9 Jun 2012 17:08:54 +0000 (19:08 +0200)]
SH can do fanotify_mark, too.

12 years agoSome missing bits from sysdeps/*/elf dismissal.
Thomas Schwinge [Sat, 23 Jun 2012 10:27:58 +0000 (12:27 +0200)]
Some missing bits from sysdeps/*/elf dismissal.

This fixes up commits 735095ae9566b2b14e8210e5ed44b3d5b51495f1,
09ae94c11b4309b425fbbfaa095e64cac2ae8cb8, and
ff962fb6a10c46052535d482c889b3a9e5236637.

12 years agoSH: __lll_robust_timedlock_wait: Simplify CFI directives.
Thomas Schwinge [Sat, 23 Jun 2012 10:17:44 +0000 (12:17 +0200)]
SH: __lll_robust_timedlock_wait: Simplify CFI directives.

12 years agoSH: Preserve more registers for frame unwinding purposes, add CFI directives.
Thomas Schwinge [Sat, 23 Jun 2012 10:11:13 +0000 (12:11 +0200)]
SH: Preserve more registers for frame unwinding purposes, add CFI directives.

12 years agoSH: Optimize assembler code in context of call to __fortify_fail.
Thomas Schwinge [Sat, 23 Jun 2012 10:07:04 +0000 (12:07 +0200)]
SH: Optimize assembler code in context of call to __fortify_fail.

__fortify_fail has »__attribute__ ((__noreturn__))«.

12 years agoSH: ____longjmp_chk for GNU/Linux with sigaltstack support.
Thomas Schwinge [Sat, 23 Jun 2012 09:56:02 +0000 (11:56 +0200)]
SH: ____longjmp_chk for GNU/Linux with sigaltstack support.

debug/tst-longjmp_chk2 now passes.

12 years agoSH: ABORT_INSTRUCTION.
Thomas Schwinge [Sat, 23 Jun 2012 09:47:39 +0000 (11:47 +0200)]
SH: ABORT_INSTRUCTION.

12 years agoSH: makecontext/.Lexitcode: Always initialize the GOT register before use.
Thomas Schwinge [Sat, 23 Jun 2012 09:42:29 +0000 (11:42 +0200)]
SH: makecontext/.Lexitcode: Always initialize the GOT register before use.

This is only relevant when returning from a context with »uc_link == NULL«,
which is not exercised in the testsuite.

12 years agoSH: makecontext: Fix calculation of ARGC > 4.
Thomas Schwinge [Sat, 23 Jun 2012 09:28:23 +0000 (11:28 +0200)]
SH: makecontext: Fix calculation of ARGC > 4.

stdlib/tst-setcontext and stdlib/tst-makecontext3 now pass.

12 years agoSH: makecontext: Improve understandability.
Thomas Schwinge [Sat, 23 Jun 2012 09:22:47 +0000 (11:22 +0200)]
SH: makecontext: Improve understandability.

12 years agoFix gUSA sequence in SH atomic functions in
Kaz Kojima [Fri, 22 Jun 2012 22:29:05 +0000 (07:29 +0900)]
Fix gUSA sequence in SH atomic functions in
sysdeps/unix/sysv/linux/sh/bits/atomic.h.

12 years agoFix invalid memory access in do_lookup_x.
Andreas Schwab [Fri, 22 Jun 2012 18:10:31 +0000 (11:10 -0700)]
Fix invalid memory access in do_lookup_x.

[BZ #13579] Do not free l_initfini and allow it to be reused
on subsequent dl_open calls for the same library. This fixes
the invalid memory access in do_lookup_x when the previously
free'd l_initfini was accessed through l_searchlist when a
library had been opened for the second time.

12 years agoUse AC_LANG_SOURCE to fix autoconf warnings.
Carlos O'Donell [Fri, 22 Jun 2012 14:58:19 +0000 (14:58 +0000)]
Use AC_LANG_SOURCE to fix autoconf warnings.

12 years agoUse tab not spaces.
Carlos O'Donell [Fri, 22 Jun 2012 14:52:50 +0000 (14:52 +0000)]
Use tab not spaces.

12 years agoRespect --localstatedir for /var/db parent directory.
Roland McGrath [Fri, 22 Jun 2012 17:11:07 +0000 (10:11 -0700)]
Respect --localstatedir for /var/db parent directory.

12 years agoUpdate copyright years
Jeff Law [Thu, 21 Jun 2012 23:16:15 +0000 (17:16 -0600)]
Update copyright years

12 years ago [BZ #14277]
Jeff Law [Thu, 21 Jun 2012 23:15:38 +0000 (17:15 -0600)]
    [BZ #14277]
        * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
        free.  Simplify list management for _LIBC case.

12 years agoFix wordsize-64 cosh regression (bug 14273).
Joseph Myers [Thu, 21 Jun 2012 19:26:09 +0000 (19:26 +0000)]
Fix wordsize-64 cosh regression (bug 14273).

12 years agoRegenerate sysdeps/mach/configure.
Joseph Myers [Thu, 21 Jun 2012 19:20:33 +0000 (19:20 +0000)]
Regenerate sysdeps/mach/configure.

12 years agoMention BZ #14278 in NEWS
H.J. Lu [Thu, 21 Jun 2012 17:30:14 +0000 (10:30 -0700)]
Mention BZ #14278 in NEWS

12 years agoFix a typo in i386 SYSCALL_PIC_SETUP
H.J. Lu [Thu, 21 Jun 2012 17:17:07 +0000 (10:17 -0700)]
Fix a typo in i386 SYSCALL_PIC_SETUP

12 years agoAdd Changelog ...
Carlos O'Donell [Thu, 21 Jun 2012 17:08:19 +0000 (17:08 +0000)]
Add Changelog ...

... for ac80ce0bd9c22b85aae0a39cd719b9c90b08ced7.

12 years agoAdd .gitignore.
Carlos O'Donell [Thu, 21 Jun 2012 17:05:25 +0000 (17:05 +0000)]
Add .gitignore.

Ignore the autoconf cache directory.

12 years ago2012-06-21 Jeff Law <law@redhat.com>
Jeff Law [Thu, 21 Jun 2012 15:26:41 +0000 (09:26 -0600)]
2012-06-21  Jeff Law  <law@redhat.com>

        [BZ #13882]
        * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
        uint16_t for elements in the "seen" array to avoid char overflows.
        * elf/dl-fini.c (_dl_sort_fini): Likewise.
        * elf/dl-open.c (dl_open_worker): Likewise.

12 years agoAdd ChangeLog ...
Carlos O'Donell [Thu, 21 Jun 2012 15:04:35 +0000 (08:04 -0700)]
Add ChangeLog ...

... for feca660a796e5782498bd6d6673999d9e26b5f4d.

12 years agoRegenerate libc.pot.
Carlos O'Donell [Thu, 21 Jun 2012 14:58:27 +0000 (07:58 -0700)]
Regenerate libc.pot.

Enhance scripts/list-sources.sh to search glibc-ports
for translatable strings.

12 years agoFix typo in name
Andreas Jaeger [Thu, 21 Jun 2012 14:45:27 +0000 (16:45 +0200)]
Fix typo in name

12 years agoAvoid -Wconversion warning for htons
Andreas Jaeger [Thu, 21 Jun 2012 13:49:33 +0000 (15:49 +0200)]
Avoid -Wconversion warning for htons

12 years agolocales/tr_CY: LC_TIME with copy cannot contain additional data
Petr Baudis [Wed, 20 Jun 2012 15:29:47 +0000 (17:29 +0200)]
locales/tr_CY: LC_TIME with copy cannot contain additional data

Luckily, tr_TR also sets first_weekday and first_workday to Monday,
so this is just not necessary.

12 years agolocales/mag_IN: Fix syntax error
Petr Baudis [Wed, 20 Jun 2012 15:29:08 +0000 (17:29 +0200)]
locales/mag_IN: Fix syntax error

12 years agoAccount for the extra stack size when rlimit is small enough
Siddhesh Poyarekar [Wed, 20 Jun 2012 07:33:13 +0000 (13:03 +0530)]
Account for the extra stack size when rlimit is small enough

When rlimit is small enough to be used as the stacksize to be returned
in pthread_getattr_np, cases where a stack is made executable due to a
DSO load get stack size that is larger than what the kernel
allows. This is because in such a case the stack size does not account
for the pages that have auxv and program arguments.

Additionally, the stacksize for the process derived from this should
be truncated to align to page size to avoid going beyond rlimit.

12 years agoUpdate MIPS32 ABI baselines for _gp_disp.
Joseph Myers [Tue, 19 Jun 2012 16:38:44 +0000 (16:38 +0000)]
Update MIPS32 ABI baselines for _gp_disp.

12 years agoUse x86-64 fpu_control.h for i386 and x86_64
H.J. Lu [Mon, 18 Jun 2012 18:43:51 +0000 (11:43 -0700)]
Use x86-64 fpu_control.h for i386 and x86_64

12 years agoUse __volatile__ to access fpu control word
H.J. Lu [Mon, 18 Jun 2012 18:09:58 +0000 (11:09 -0700)]
Use __volatile__ to access fpu control word

12 years agoUpdate news for fixed alpha bz
Richard Henderson [Fri, 15 Jun 2012 21:42:57 +0000 (14:42 -0700)]
Update news for fixed alpha bz

12 years agoMention BZ 14050/14117 in NEWS
H.J. Lu [Fri, 15 Jun 2012 21:33:57 +0000 (14:33 -0700)]
Mention BZ 14050/14117 in NEWS

12 years agoalpha: Define FP_TRAPPING_EXCEPTIONS
Richard Henderson [Fri, 15 Jun 2012 21:26:58 +0000 (14:26 -0700)]
alpha: Define FP_TRAPPING_EXCEPTIONS