]> gcc.gnu.org Git - gcc.git/commitdiff
target-supports.exp (check_alias_available): Modified to indicate aliases not support...
authorJeffrey Oldham <oldham@codesourcery.com>
Wed, 3 Jan 2001 18:22:23 +0000 (18:22 +0000)
committerJeffrey D. Oldham <oldham@gcc.gnu.org>
Wed, 3 Jan 2001 18:22:23 +0000 (18:22 +0000)
2001-01-03  Jeffrey Oldham  <oldham@codesourcery.com>

* lib/target-supports.exp (check_alias_available): Modified to
indicate aliases not supported if only weak aliases are supported.

From-SVN: r38667

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index f29c39029744b3bce88644a2b67e07c6cbd820bb..6bf11589d66683aa37d423e435ebcbb0ac8d0892 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-03  Jeffrey Oldham  <oldham@codesourcery.com>
+
+       * lib/target-supports.exp (check_alias_available): Modified to
+       indicate aliases not supported if only weak aliases are supported. 
+
 2001-01-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * gcc.c-torture/execute/string-opt-8.c: Add more testcases.
index 35f1188035a7ba4c2c45c2f89ef4f8da0924551a..054fdb8f77033fdf4646f73fc19b7e3ab50bdde4 100644 (file)
@@ -1,4 +1,4 @@
-#   Copyright (C) 1999 Free Software Foundation, Inc.
+#   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -85,7 +85,12 @@ proc check_alias_available { testfile } {
                    set alias_available_saved no
                }
            } else {
-               set alias_available_saved dontknow
+               if [regexp "only weak aliases are supported" $lines] {
+               verbose "check_alias_available  target supports only weak aliases" 2
+               set alias_available_saved no
+               } else {
+                   set alias_available_saved dontknow
+               }
            }
        }
        
This page took 0.079463 seconds and 5 git commands to generate.