testsuite: Introduce be/le selectors
authorSegher Boessenkool <segher@kernel.crashing.org>
Wed, 23 May 2018 17:31:05 +0000 (19:31 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Wed, 23 May 2018 17:31:05 +0000 (19:31 +0200)
commit89453706e0032f9a9c2107631873d9dad38dc14c
treeb52bc1928c80ad8cb0845efe311bf3ac89f40950
parenta347241b939399be041672fa6dfbc6c8c1853e28
testsuite: Introduce be/le selectors

This patch creates "be" and "le" selectors, which can be used by all
architectures, similar to ilp32 and lp64.

* doc/sourcebuild.texi (Endianness): New subsubsection.

gcc/testsuite/
* lib/target-supports.exp (check_effective_target_be): New.
(check_effective_target_le): New.

From-SVN: r260623
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp