On Mon, 2013-03-25 at 12:19 -0500, Mark Hatle wrote:
> +Sections 23 and 24 (.plt and .bss) which are NOBITS have a loaded data 
> address
> +of 0, but a size != 0.

That doesn't seem like totally unreasonable behaviour for a NOBITS
section.  What were you expecting libelf to do in that case?

++      if (data != NULL && size != 0)
++        hashFunctionContextUpdateMC (&ctx, &chunk);

I suppose one could argue that allocating a chunk of zero-filled memory
of the right size and then hashing that would be a slightly better fix.
Whether it matters in practice or not would depend on what exactly is
going into this hash and what it's being used for.

p.



_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to