diff options
| author | seyko <seyko2@gmail.com> | 2016-04-03 18:13:53 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2016-04-03 18:13:53 +0300 |
| commit | 5278d217ff4c36497ab8fff2a128f2991ca9dd0a (patch) | |
| tree | eab7decf0f436a95f372f91b4fcdb1da43b293d8 | |
| parent | 41785a0bf9d505a3647a10ddc330417f52fd4528 (diff) | |
| download | tinycc-5278d217ff4c36497ab8fff2a128f2991ca9dd0a.tar.gz tinycc-5278d217ff4c36497ab8fff2a128f2991ca9dd0a.tar.bz2 | |
R_386_COPY
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?
| -rw-r--r-- | tccelf.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -576,6 +576,12 @@ ST_FUNC void relocate_section(TCCState *s1, Section *s) case R_386_RELATIVE: /* do nothing */ break; + case R_386_COPY: + /* 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? + */ + break; default: fprintf(stderr,"FIXME: handle reloc type %d at %x [%p] to %x\n", type, (unsigned)addr, ptr, (unsigned)val); |
