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

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
This commit is contained in:
Jeffrey Oldham 2001-01-03 18:22:23 +00:00 committed by Jeffrey D. Oldham
parent 79424a4fdb
commit 9ef6d39a0f
2 changed files with 12 additions and 2 deletions

View 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.

View 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
}
}
}