"Warning: size of symbol FOO changed from X to Y in OBJ"

H . J . Lu hjl@lucon.org
Thu May 31 00:14:00 GMT 2001


On Wed, May 30, 2001 at 11:54:29PM -0700, Ian Lance Taylor wrote:
> 
> Yes, that is definitely true.  However, if BFD wants to report a fatal
> error, it should arrange to return false.  Calling _bfd_error_handler
> is not a mechanism for reporting a fatal error.
> 
> It's true that styp_to_sec_flags currently has no way to report error.
> However, that is easily fixed.  Once that is done, it's easy to change
> make_a_section_from_file to check for an error return and return false
> if it finds one.

I have no objections to revert my patch. I will leave it to Nick.

BTW, I believe "Warning: size of symbol FOO changed from X to Y in OBJ"
is a fatal error if X > Y.


H.J.



More information about the Binutils mailing list