]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Correct ld script wildcard matching description
authorAlan Modra <amodra@gmail.com>
Sun, 7 Nov 2021 21:49:34 +0000 (08:19 +1030)
committerAlan Modra <amodra@gmail.com>
Sun, 7 Nov 2021 21:49:34 +0000 (08:19 +1030)
Goes with commit 68bbb9f788d0

* ld.texi (Input Section Wildcards): Delete paragraph incorrectly
saying '*' does not match '/'.

ld/ld.texi

index db410f0bf2d63e08d4b6532de0fc38de83b95e1c..e6c1f42c98500c093d0d84436a3ac572ab66a6c2 100644 (file)
@@ -5022,13 +5022,6 @@ character may be used to specify a range of characters, as in
 quotes the following character
 @end table
 
-When a file name is matched with a wildcard, the wildcard characters
-will not match a @samp{/} character (used to separate directory names on
-Unix).  A pattern consisting of a single @samp{*} character is an
-exception; it will always match any file name, whether it contains a
-@samp{/} or not.  In a section name, the wildcard characters will match
-a @samp{/} character.
-
 File name wildcard patterns only match files which are explicitly
 specified on the command line or in an @code{INPUT} command.  The linker
 does not search directories to expand wildcards.