* lib/target-supports.exp (check_gc_sections_available):
Add proper pattern quote.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151279
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-09-01 Loren J. Rittle <ljrittle@acm.org>
+
+ * lib/target-supports.exp (check_gc_sections_available):
+ Add proper pattern quote.
+
2009-08-31 Uros Bizjak <ubizjak@gmail.com>
Kaz Kojima <kkojima@gcc.gnu.org>
# Check if the ld used by gcc supports --gc-sections.
set gcc_spec [${tool}_target_compile "-dumpspecs" "" "none" ""]
- regsub ".*\n\*linker:\[ \t\]*\n(\[^ \t\n\]*).*" "$gcc_spec" {\1} linker
+ regsub ".*\n\\*linker:\[ \t\]*\n(\[^ \t\n\]*).*" "$gcc_spec" {\1} linker
set gcc_ld [lindex [${tool}_target_compile "-print-prog-name=$linker" "" "none" ""] 0]
set ld_output [remote_exec host "$gcc_ld" "--help"]
if { [ string first "--gc-sections" $ld_output ] >= 0 } {