move the validity check to its own function.
commitb40fd4967693473b5cd60b453ca878ffd9af08bc
authorNicJA <NicJA@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 17 Apr 2017 22:16:41 +0000 (17 22:16 +0000)
committerNicJA <NicJA@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 17 Apr 2017 22:16:41 +0000 (17 22:16 +0000)
treed8952f13c3b0e99c94d292c7ad41acbfb78b72e5
parent6e4b8d37d5572c027b0d96c4c492ea6e9d694d93
move the validity check to its own function.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@54546 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
tools/elf2hunk/elf2hunk.c