commit | 8b5f61a795fe37be090b0fd18b6b7271db9298e0 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Thu Aug 05 12:59:06 2010 -0600 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Thu Aug 05 12:59:06 2010 +0930 |
tree | 4440e449af9207b25e62b4d8ad0dc16500720e65 | |
parent | 3264d3f9dd532ed9c3eb9491619e3f485b72747f [diff] |
module: refactor out section header rewriting 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>