Commit 54a47870 by Kaveh R. Ghazi Committed by Kaveh Ghazi

target-supports.exp (check_alias_available): Don't mangle function `g' in test program.

	* lib/target-supports.exp (check_alias_available): Don't mangle
	function `g' in test program.

From-SVN: r78208
parent 0d856ba2
2004-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* lib/target-supports.exp (check_alias_available): Don't mangle
function `g' in test program.
2004-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* lib/target-supports.exp (check_profiling_available): Check
argument to determine whether we support a profiling type.
* lib/gcc-dg.exp (dg-require-profiling): Pass argument to
......
......@@ -109,6 +109,7 @@ proc check_alias_available { } {
# Compile a small test program. The definition of "g" is
# necessary to keep the Solaris assembler from complaining
# about the program.
puts $f "#ifdef __cplusplus\nextern \"C\"\n#endif\n"
puts $f "void g() {} void f() __attribute__((alias(\"g\")));"
close $f
set lines [${tool}_target_compile "tmp.c" "tmp.o" object ""]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment