The debug informations (source file and line #) are messed up when ld links
object files. The ld version for this test is 2.16.90.0.3 (20050510)
Here is the test case
(1) test files
//test1.c
static int test1_v1;
static int test1_v2;
static int test1_v3;
int main(void)
{
return 0;
}
//test2.c
I can't build a 68k C cross compiler under cygwin
starting from:
binutils-2.16
newlib-1.13.0
gcc-4.0.0
because an error compiling libgcc2.c in function
_fixunsdfsi for M68040
Using binutils-2.15 there is no more error and the
generated 68k cross compiler works