aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorArmin Brauns via Gcc-patches <gcc-patches@gcc.gnu.org>2020-11-16 17:14:31 -0700
committerJeff Law <law@redhat.com>2020-11-16 17:14:31 -0700
commita019766f996f57e53a8d1a9e72033e1e1487a150 (patch)
tree761cbaed57495cca67a7e413900b8e7e612052d1 /gcc/gcc.c
parent948ef14225368651f2f4fe1fccb6b6704affc9fa (diff)
downloadgcc-a019766f996f57e53a8d1a9e72033e1e1487a150.zip
gcc-a019766f996f57e53a8d1a9e72033e1e1487a150.tar.gz
gcc-a019766f996f57e53a8d1a9e72033e1e1487a150.tar.bz2
Update documentation for spec files
gcc * gcc.c: Document %T spec file directive. * doc/invoke.texi: Remove %p, %P spec file directives. Add %M, %R, %V, %nSTR, %>S, %<S*, %{%:function(args):X}, %@{...} spec file directives add sanitize, version-compare, include, gt and debug-level-gt spec functions.
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index cdf4d4f..766bfc1 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -542,6 +542,12 @@ or with constant text in a single argument.
%s current argument is the name of a library or startup file of some sort.
Search for that file in a standard list of directories
and substitute the full name found.
+ %T current argument is the name of a linker script.
+ Search for that file in the current list of directories to scan for
+ libraries. If the file is located, insert a --script option into the
+ command line followed by the full path name found. If the file is
+ not found then generate an error message.
+ Note: the current working directory is not searched.
%eSTR Print STR as an error message. STR is terminated by a newline.
Use this when inconsistent options are detected.
%nSTR Print STR as a notice. STR is terminated by a newline.