* lib/target-supports.exp (check_alias_available): Don't mangle
function `g' in test program.
From-SVN: r78208
+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
# 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 ""]