[fpc-pascal]Dynamic Symbol Information For Functions and Procedures in Linux ELF
ecmel at ercansoy.com
Fri Jun 1 16:49:19 CEST 2001
I think there is a distinction between static symbols and dynamic symbols.
libglade auto-connect feature (which uses gmodule) works only with dynamic
the C program always generates dynamic symbols for on_window1_destroy
function. Even after I strip the C binary, the dynamic symbols stay there.
On the other hand, FPC does not include any function -even those are
actually used and called in the code, in the dynamic symbol table.
If I enable debug info, the function names are included in the static
table but not in the dynamic one.
Is there a compiler directive/switch in FPC which does this?
On 2001.06.01 16:11 Michael Van Canneyt wrote:
> On Fri, 1 Jun 2001, Ecmel ERCAN wrote:
> > Hi,
> > Thanks for the answer, but I have tried this before and no way
> > When I type:
> > objdump -T test
> > The on_window1_destroy is not listed there.
> Are you stripping your binary ? The symbol will be removed then, since it
> is not used.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
More information about the fpc-pascal