aboutsummaryrefslogtreecommitdiff
path: root/lib/target.exp
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2001-09-11 17:13:46 +0000
committerRob Savoye <rob@welcomehome.org>2001-09-11 17:13:46 +0000
commite77af0ef603a6cfd7c3c4c904b310ea94d40411a (patch)
treebf1f0c4dc51a276ac8a05c968742fa4de20a5963 /lib/target.exp
parent660ddaf6eb8f69b3ec95939bfbcc66cefd7847bc (diff)
downloaddejagnu-e77af0ef603a6cfd7c3c4c904b310ea94d40411a.zip
dejagnu-e77af0ef603a6cfd7c3c4c904b310ea94d40411a.tar.gz
dejagnu-e77af0ef603a6cfd7c3c4c904b310ea94d40411a.tar.bz2
* lib/target.exp: Ignore ld's warning about alternative functions
to use.
Diffstat (limited to 'lib/target.exp')
-rw-r--r--lib/target.exp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/target.exp b/lib/target.exp
index 7a4b782..fc0fdb9 100644
--- a/lib/target.exp
+++ b/lib/target.exp
@@ -268,7 +268,10 @@ proc prune_warnings { text } {
# GNU ld warns about functions marked as dangerous in GNU libc.
regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*function is dangerous\[^\n\]*" $text "" text
- # Libgloss libnosys defines functions that warn when linked in
+ # GNU ld warns about functions marked as dangerous in GNU libc.
+ regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*the use of \[^\n\]* is dangerous, better use \[^\n\]*" $text "" text
+
+ # Libgloss libnosys defines functions that warn when linked in
regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*is not implemented and will always fail\[^\n\]*" $text "" text
# Cygwin cc1 warns about -fpic and -fPIC