mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
49c16254b4
* testsuite/config/default.exp: If not already set then create the CCC_OVERRIDE_OPTIONS environment variable to help when running the testsuite with clang. * testsuite/ld-elf/pr22269-1.c: Add a missing return statement. * testsuite/ld-elfvers/vers.exp: Add checks to detect if files were built before attempting to copy them.
10 lines
100 B
C
10 lines
100 B
C
extern int foo __attribute ((weak));
|
|
|
|
int
|
|
_start (void)
|
|
{
|
|
if (&foo)
|
|
return foo;
|
|
return 0;
|
|
}
|