entry: replace init_*_seg with memcpy/memset
Merge pull request #96 from rampant1018/master

loader: replace init_*_seg with memcpy/memset