aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2018-05-23 19:31:05 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2018-05-23 19:31:05 +0200
commit89453706e0032f9a9c2107631873d9dad38dc14c (patch)
treeb52bc1928c80ad8cb0845efe311bf3ac89f40950 /gcc/doc
parenta347241b939399be041672fa6dfbc6c8c1853e28 (diff)
downloadgcc-89453706e0032f9a9c2107631873d9dad38dc14c.zip
gcc-89453706e0032f9a9c2107631873d9dad38dc14c.tar.gz
gcc-89453706e0032f9a9c2107631873d9dad38dc14c.tar.bz2
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
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/sourcebuild.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index dfb0578..596007d 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -1313,6 +1313,16 @@ By convention, keywords ending in @code{_nocache} can also include options
specified for the particular test in an earlier @code{dg-options} or
@code{dg-add-options} directive.
+@subsubsection Endianness
+
+@table @code
+@item be
+Target uses big-endian memory order for multi-byte and multi-word data.
+
+@item le
+Target uses little-endian memory order for multi-byte and multi-word data.
+@end table
+
@subsubsection Data type sizes
@table @code