diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-08-13 17:21:51 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-08-13 17:21:51 +0100 |
commit | c53bb876f4ca0c7a622f0909772f5b6f23ff5de4 (patch) | |
tree | f274a3ae0b2d5f19a9858be9b8dc2794778bdc2e /gcc | |
parent | 65a3896a182c3518f3ba7b5cecaf7d1ca7badf0c (diff) | |
download | gcc-c53bb876f4ca0c7a622f0909772f5b6f23ff5de4.zip gcc-c53bb876f4ca0c7a622f0909772f5b6f23ff5de4.tar.gz gcc-c53bb876f4ca0c7a622f0909772f5b6f23ff5de4.tar.bz2 |
Improve documentation of target hooks for libc functions
* target.def (libc_has_function, libc_has_fast_function): Improve
documentation strings.
* doc/tm.texi: Regenerate.
From-SVN: r274387
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 4 | ||||
-rw-r--r-- | gcc/target.def | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 573c779..5e699b1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-08-13 Jonathan Wakely <jwakely@redhat.com> + + * target.def (libc_has_function, libc_has_fast_function): Improve + documentation strings. + * doc/tm.texi: Regenerate. + 2019-08-13 Caroline Tice <cmtice@google.com> PR other/91396 diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 8e5b01c..89990cb 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -5591,12 +5591,12 @@ macro, a reasonable default is used. @deftypefn {Target Hook} bool TARGET_LIBC_HAS_FUNCTION (enum function_class @var{fn_class}) This hook determines whether a function from a class of functions -@var{fn_class} is present at the runtime. +@var{fn_class} is present in the target C library. @end deftypefn @deftypefn {Target Hook} bool TARGET_LIBC_HAS_FAST_FUNCTION (int @var{fcode}) This hook determines whether a function from a class of functions -@var{fn_class} has a fast implementation. +@code{(enum function_class)}@var{fcode} has a fast implementation. @end deftypefn @defmac NEXT_OBJC_RUNTIME diff --git a/gcc/target.def b/gcc/target.def index 7cc0f37..73334e0 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -2545,14 +2545,14 @@ set via @code{__attribute__}.", DEFHOOK (libc_has_function, "This hook determines whether a function from a class of functions\n\ -@var{fn_class} is present at the runtime.", +@var{fn_class} is present in the target C library.", bool, (enum function_class fn_class), default_libc_has_function) DEFHOOK (libc_has_fast_function, "This hook determines whether a function from a class of functions\n\ -@var{fn_class} has a fast implementation.", +@code{(enum function_class)}@var{fcode} has a fast implementation.", bool, (int fcode), default_libc_has_fast_function) |