module: refactor out section header rewriting
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 18:59:06 +0000 (12:59 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 03:29:06 +0000 (12:59 +0930)
Put all the "rewrite and check section headers" in one place.  This
adds another iteration over the sections, but it's far clearer.  We
iterate once for every find_section() so we already iterate over many
times.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found