This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Generic object attributes patch
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.