This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Making a symbol dynamic in executable


On Fri, Feb 23, 2001 at 06:16:01PM -0800, Zack Weinberg wrote:
> 
> That implies, to me, that there might be a way to force just one
> symbol into the dynamic symbol table.  I know very little about this.
> Worst case (in ELF), couldn't we bodge an entry into .dynsym by hand?
> 

Funny you asked. The short answer is no. But we did get a request to add
STV_EXPORT to the ELF visibility in gABI. Right now, we have STV_DEFAULT,
STV_INTERNAL, STV_HIDDEN and STV_PROTECTED. STV_EXPORT does exactly what
you were asking for. If I remembered right, it came from some C++ compiler
people :-).

I think we asked for more info on it and also we have very limited bits
left in st_other. Many people want to use them for different purposes.


-- 
H.J. Lu (hjl@valinux.com)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]