Move EXCEPTION_ENABLE_SUPPORTED out of math-tests.h.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 24 Aug 2018 19:18:16 +0000 (19:18 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 24 Aug 2018 19:18:16 +0000 (19:18 +0000)
commit895ef79e04a953cac1493863bcae29ad85657ee1
tree0411bbf8de2cc223a554481326a8df2a3d9baec6
parentca3aac57efa89fc62813c86955a6b0f8dce8b3e7
Move EXCEPTION_ENABLE_SUPPORTED out of math-tests.h.

Continuing moving macros out of math-tests.h to smaller headers
following typo-proof conventions instead of using #ifndef, this patch
moves the EXCEPTION_ENABLE_SUPPORTED macro out to its own
math-tests-trap.h header.

Tested with build-many-glibcs.py.

* sysdeps/generic/math-tests-trap.h: New file.
* sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
(EXCEPTION_ENABLE_SUPPORTED): Do not define here.
* sysdeps/aarch64/math-tests.h: Remove file.
* sysdeps/arm/math-tests.h: Likewise.
* sysdeps/riscv/math-tests.h: Likewise.
* sysdeps/aarch64/math-tests-trap.h: New file.
* sysdeps/arm/math-tests-trap.h: Likewise.
* sysdeps/riscv/math-tests-trap.h: Likewise.
ChangeLog
sysdeps/aarch64/math-tests-trap.h [moved from sysdeps/aarch64/math-tests.h with 82% similarity]
sysdeps/arm/math-tests-trap.h [moved from sysdeps/arm/math-tests.h with 78% similarity]
sysdeps/generic/math-tests-trap.h [new file with mode: 0644]
sysdeps/generic/math-tests.h
sysdeps/riscv/math-tests-trap.h [moved from sysdeps/riscv/math-tests.h with 82% similarity]