[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/785] Bug in direct linkink to DLLs with ordinals
From: |
t_ono at hkfreak dot net |
Subject: |
[Bug binutils/785] Bug in direct linkink to DLLs with ordinals |
Date: |
29 Jan 2006 02:52:27 -0000 |
------- 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/785] Bug in direct linkink to DLLs with ordinals,
t_ono at hkfreak dot net <=