commit | d08c68fec94b26663257d24dbb8d94f2ed8935cd | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mark@klomp.org> | Mon Jun 03 18:00:20 2019 +0200 |
committer | Mark Wielaard <mark@klomp.org> | Mon Jun 03 18:00:20 2019 +0200 |
tree | 39007ac4ea9659f88cc0737c6e72caaa851eac87 | |
parent | bfcf8b1fee8805b42b262baf352c58574df59362 [diff] |
tests: elfcopy --reverse-offs should only swap sections next to each other. The run-reverse-sections-self.sh (which really should have been called "swap-sections") could fail if the ELF file had sections that were not directly next to each other swapped. Add a check to make sure the swapped sections are actually directly next to each other. Signed-off-by: Mark Wielaard <mark@klomp.org>