gadget: fix compiler warning
fix all section mismatches