------- Additional Comments From t_ono at hkfreak dot net  2006-01-29 02:52 
-------
Hmm, no comments so far.

I will add a testcase.
--<testdll.c>--
void func1()
{
  printf("func1 called\n");
}

int data1;

void func2()
{
  printf("func2 called\n");
}
--<testdll.def>--
EXPORTS
        func1
        func2
        data1 @ 2
--<test.c>--
int main()
{
  printf("calling func1\n");
  func1();
  printf("calling func2\n");
  func2();
  return 0;
}
--
After creating a dll with testdll.c and testdll.def and directly linking 
testdll.dll to test.c, the executable crashes.

I will add a patch to remedy the problem.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


http://sourceware.org/bugzilla/show_bug.cgi?id=785

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to