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: gc-section


On Tue, Mar 19, 2002 at 10:55:21AM +1030, Alan Modra wrote:
> > Is this 'drop' the only problem one will come across if one were to have GC
> > work with shared libraries ?
> 
> You would also need to traverse all dynamic symbols the library
> exports, and ensure that you don't drop their sections.  The library
> itself may not reference all of it's symbols.

Is gc-sections even generally feasible in a dynamically linked binary? 
Some could be provided for the use of a dlopen'd library, for instance.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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