This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Puzzle about the _fini function in ia64 Linux
- From: Gewj <geweijin at sinosoft dot com dot cn>
- To: "binutils at sources dot redhat dot com" <binutils at sources dot redhat dot com>
- Date: Thu, 16 Sep 2004 22:24:23 +0800
- Subject: Puzzle about the _fini function in ia64 Linux
Hi,
I'm working on a ia64 linux,(kernel 2.4.18,gcc3-3.0.4-1)system.
I redefine the _fini function in a dll library with the -nostartfiles in
its Makefile.
then I write a execute process which have many threads, all those
threads linked with this library in its Makefile, the puzzle thing is
in some case, it seems that in some threads, the _fini function of the
library have been called even since the library was been used by other
threads.
Does the above thing may happen(gcc bug in ia64) or it turn out to be my
fault?
Thank you for any help.
Regards
--
Ivod.