Generic object attributes patch

H. J. Lu hjl@lucon.org
Fri Jun 29 15:44:00 GMT 2007


On Fri, Jun 29, 2007 at 03:45:48PM +0100, Nick Clifton wrote:
> Hi Joseph,
> 
> >Tested with cross to arm-none-eabi.  OK to commit?
> 
> Please could you test a couple more targets first, just to be safe - an 
> x86 linux target and maybe a COFF based target.  Just to make sure that 
> there are no gotchas.  Assuming that those tests pass then this patch is 
> approved.
> 

I don't belive this patch should go in ASIS. Linker should check 
attribute conflicts between object files and shared libraries. One
example is:

http://sourceware.org/ml/binutils/2007-06/msg00279.html

That is a shared library may have different wchar_t attribute
than object files, which can lead to run-time failure. The current
scheme won't catch such conflicts.


H.J.



More information about the Binutils mailing list