From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Petter Wahlman" To: Jason Moxham Cc: gcc-help@gcc.gnu.org Subject: Re: -fPIC Date: Mon, 20 Aug 2001 00:00:00 -0000 Message-id: X-SW-Source: 2001-08/msg00156.html hi! position independent code (PIC) uses the ebx register to store the address of the global offset table (GOT), this register should thus be used with caution. i belive you'r code references ebx with the "...: "b" (b).." expression. shared libraries are genarally marginally slower than statically linked libs because the linker has to dynamically evaluate procedure linkage table entries (PLT), and modify the global table offset's memory image accordingly (unless the LD_BIND_NOW environment variable is set). regards Petter Wahlman