This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Link time checking for incompatible flags


On Thu, Apr 22, 2004 at 04:54:32AM -0700, Mike Stump wrote:
> Ah, but it can still be done.  It does compare size, so one merely has 
> to encode the value into the size instead of the contents of the 
> section.  I suspect one could add the memcmp to ldlang.c, if one wanted.

Yes, you could.  However, ld doesn't give an error, only a warning..

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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