This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

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


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.


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