This reloction must copy initialized data from the library to the program .bss segment. Currently made like for ARM (to remove noise of defaukt case). Is this true?
Unified · Split
| @@ -576,6 +576,12 @@ ST_FUNC void relocate_section(TCCState *s1, Section *s) · 575 unmodified lines | ||
| 576 | 576 | case R_386_RELATIVE: |
| 577 | 577 | /* do nothing */ |
| 578 | 578 | break; |
| 579 | + case R_386_COPY: | |
| 580 | + /* This reloction must copy initialized data from the library | |
| 581 | + to the program .bss segment. Currently made like for ARM | |
| 582 | + (to remove noise of defaukt case). Is this true? | |
| 583 | + */ | |
| 584 | + break; | |
| 579 | 585 | default: |
| 580 | 586 | fprintf(stderr,"FIXME: handle reloc type %d at %x [%p] to %x\n", |
| 581 | 587 | type, (unsigned)addr, ptr, (unsigned)val); |