This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
matching '-Wl,' in a specs file
- From: Gunther Nikl <gni at gecko dot de>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 19 May 2005 10:57:04 +0200
- Subject: matching '-Wl,' in a specs file
Hello!
A few LINK_SPEC definitions contain a "%{Wl,*:%*}" sequence. AFAICT this
sequence doesn't have any effect since at least GCC 2.95, because gcc.c
doesn't recored "-Wl" options in array "switch" (used in process_brace_body)
but stores them in "infiles". Should it be possible to match against "-Wl,"
in a specs file?
Gunther