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]
Other format: [Raw text]

Re: .preinit_array


On Tue, Mar 05, 2002 at 01:14:03PM +1030, Alan Modra wrote:
> My copy of the draft spec says:
> 
> ".preinit_array
> This section holds an array of function pointers that contributes to a
> single pre-initialization array for the executable or shared object
> containing the section."
> 
> >From the above, it seems incorrect to exclude .preinit_array from
> shared libs.  Do you have an updated spec?
> 

Mine says:

Initialization and Termination Functions

...

     Finally, an executable file may have pre-initialization functions. These   
     functions are executed after the dynamic linker has built the process      
     image and performed relocations but before any shared object               
     initialization functions. Pre-initialization functions are not permitted   
     in shared objects.                                                         


H.J.


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