function `g' in test program.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78208
138bc75d-0d04-0410-961f-
82ee72b054a4
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
# 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 ""]