This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Shared libraries: Avoiding lazy procedure linkage
- From: Tushar <tusharpadlikar at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 16 Nov 2004 04:20:22 -0800 (PST)
- Subject: Shared libraries: Avoiding lazy procedure linkage
Hello,
I've used gcc 3.4.1 and gcc 2.95.3 (This is actually
arm-linux-gcc)for creating shared libraries. There is
a difference in the way these two tool chains generate
libraries.
In case of 3.4.1 the generated code uses lazy
proceprocedure linkage (uses .plt .got route ) in
shared libraries. In case of 2.95.3..... it doesnt do
this. The compilation/linking options remaining the
same.
My question is...if its possible to avoid this lazy
procedure linkage in case of 3.4.1 using some command
line option. (which is seemingly default in 2.95.3)
thanx
Tushar
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com