aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2020-04-30 23:23:36 -0300
committerAlexandre Oliva <oliva@gnu.org>2020-04-30 23:23:36 -0300
commit7eee6d219617123a94cf0872821b1f78c2a9b8f1 (patch)
treeafa9554ea010ea1cbe1dad7ce380a2d2d9705dfb /gcc/doc
parentf3043feb1b278586b5dcf357a893e3ab57b1e51d (diff)
downloadgcc-7eee6d219617123a94cf0872821b1f78c2a9b8f1.zip
gcc-7eee6d219617123a94cf0872821b1f78c2a9b8f1.tar.gz
gcc-7eee6d219617123a94cf0872821b1f78c2a9b8f1.tar.bz2
document effective target fileio
check_effective_target_fileio was added to gcc/testsuite/lib/target-supports.exp the other day, without documentation. This patch adds the corresponding documentation. for gcc/ChangeLog * doc/sourcebuild.texi (Effective-Target Keywords): Document the newly-introduced fileio effective target.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/sourcebuild.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index 66f3576..240d6e4 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -2244,6 +2244,12 @@ Target provides @file{fenv.h} include file.
Target supports @file{fenv.h} with all the standard IEEE exceptions
and floating-point exceptions are raised by arithmetic operations.
+@item fileio
+Target offers such file I/O library functions as @code{fopen},
+@code{fclose}, @code{tmpnam}, and @code{remove}. This is a link-time
+requirement for the presence of the functions in the library; even if
+they fail at runtime, the requirement is still regarded as satisfied.
+
@item freestanding
Target is @samp{freestanding} as defined in section 4 of the C99 standard.
Effectively, it is a target which supports no extra headers or libraries