swap_ptrdiff
scratch.ret_addr = swap_ptrdiff(ent->ret_addr);
scratch.handler_addr = swap_ptrdiff(ent->handler_addr);
scratch.type_block = swap_ptrdiff(ent->type_block);