| 2444 | lswp(&d->entsize); |
| 2445 | } |
| 2446 | static void swap_symbol(struct symbol *d, struct symbol *s) |
| 2447 | { |
| 2448 | memcpy(d, s, sizeof(struct symbol)); |
| 2449 | lswp(&d->name); |
| 2450 | wswp(&d->shindex); |
| 2451 | lswp(&d->value); |
| 2452 | lswp(&d->size); |
| 2453 | } |
| 2454 | static void swap_rel(struct rel *d, struct rel *s) |
| 2455 | { |
| 2456 | memcpy(d, s, sizeof(struct rel)); |
no test coverage detected