Revision 630be16f dyngen.c
b/dyngen.c | ||
---|---|---|
485 | 485 |
{ |
486 | 486 |
uint8_t *p; |
487 | 487 |
p = p_end - 4; |
488 |
#if 0 |
|
489 |
/* XXX: check why it occurs */ |
|
488 | 490 |
if (p == p_start) |
489 | 491 |
error("empty code for %s", name); |
492 |
#endif |
|
490 | 493 |
if (get32((uint32_t *)p) != 0x6bfa8001) |
491 | 494 |
error("ret expected at the end of %s", name); |
492 | 495 |
copy_size = p - p_start; |
Also available in: Unified diff