Generic object attributes patch

H. J. Lu hjl@lucon.org
Wed Jun 27 14:35:00 GMT 2007


On Wed, Jun 27, 2007 at 02:00:24PM +0000, Joseph S. Myers wrote:
> On Wed, 27 Jun 2007, H. J. Lu wrote:
> 
> > I don't think you should merge attributes between object files and
> > shared libraries. It is mainly to detect incompatibilities bewteen
> > object files and shared libraries.
> 
> A backend ELF hook to check for consistency with shared library attributes 
> can be added later if desired.  I don't think it's needed in the initial 
> infrastructure.

It may not be a simple backend hook. You may need to design your
infrastructure to support it.  You need to be able to create, 
copy and read a new program segment.



H.J.



More information about the Binutils mailing list