SUSPICIOUS CODE

jacob navia jacob@jacob.remcomp.fr
Thu Jul 13 17:15:51 GMT 2023


OK then. All those « details » were unknown to me.

This is actually normal. 

Free software supposes that many people read the code and examine it for bugs. I was doing just that, and without comments, the code looked suspicious. 

In no way I was trying to say your work was badly done or similar stuff.

Thanks for your time.

Jacob


> Le 13 juil. 2023 à 15:54, Michael Matz <matz@suse.de> a écrit :
> 
> Hello,
> 
> On Wed, 12 Jul 2023, jacob navia wrote:
> 
>> This change was introduced on Aug 18th 2011 by Mr Alan Modra with the 
>> rather terse comment: "(get_frag_for_reloc): New function. ».
> 
> Nope.  The third loop (the one you're asking about) wasn't added with the 
> above, but rather by commit 740bdc67c057 (also by Alan).  It contains 
> testcase and justification.  (Hint: as last resort, and only then, a reloc 
> is associated with a frag at the _end_ of section. frags can be 
> var-length).
> 
> The testsuite is run (as usual with many GNU projects) with 'make check' 
> after the appropriate configure and make steps.
> 
> 
> Ciao,
> Michael.



More information about the Binutils mailing list