fix little-endians
Merge branch 't/seg' into r/csft5

Conflicts:
	src/sphinx.h