diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2016-12-10 17:18:09 +0000 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2016-12-10 18:13:23 +0000 |
| commit | d31226c8738d948e2bb4133b56597fff25169e43 (patch) | |
| tree | b3dce82abb39746d036b75f623a62d74c961b302 /i386-link.c | |
| parent | ee2108d07d1f16700e97b3f876a213ae6949bf0e (diff) | |
| download | tinycc-d31226c8738d948e2bb4133b56597fff25169e43.tar.gz tinycc-d31226c8738d948e2bb4133b56597fff25169e43.tar.bz2 | |
Remove now useless pltoff_addend reloc info
Last use for pltoff_addend field of relocs_info array was removed in
commit 25927df3b75c5ce2b64ab8acdcc5974b4e1c89c1. It is now useless so
this commit removes it and all initialization related to it.
Diffstat (limited to 'i386-link.c')
| -rw-r--r-- | i386-link.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/i386-link.c b/i386-link.c index a7ef73f..59d6fa7 100644 --- a/i386-link.c +++ b/i386-link.c @@ -23,17 +23,17 @@ static ElfW_Rel *qrel; /* ptr to next reloc entry reused */ ST_DATA struct reloc_info relocs_info[R_NUM] = { - INIT_RELOC_INFO (R_386_32, 0, NO_GOTPLT_ENTRY, 0) - INIT_RELOC_INFO (R_386_PC32, 1, AUTO_GOTPLT_ENTRY, 0) - INIT_RELOC_INFO (R_386_PLT32, 1, ALWAYS_GOTPLT_ENTRY, 0) - INIT_RELOC_INFO (R_386_GLOB_DAT, 0, NO_GOTPLT_ENTRY, 0) - INIT_RELOC_INFO (R_386_JMP_SLOT, 1, NO_GOTPLT_ENTRY, 0) - INIT_RELOC_INFO (R_386_GOTPC, 0, BUILD_GOT_ONLY, 0) - INIT_RELOC_INFO (R_386_GOTOFF, 0, BUILD_GOT_ONLY, 0) - INIT_RELOC_INFO (R_386_GOT32, 0, ALWAYS_GOTPLT_ENTRY, 0) - INIT_RELOC_INFO (R_386_GOT32X, 0, ALWAYS_GOTPLT_ENTRY, 0) - INIT_RELOC_INFO (R_386_16, 0, NO_GOTPLT_ENTRY, 0) - INIT_RELOC_INFO (R_386_PC16, 1, AUTO_GOTPLT_ENTRY, 0) + INIT_RELOC_INFO (R_386_32, 0, NO_GOTPLT_ENTRY) + INIT_RELOC_INFO (R_386_PC32, 1, AUTO_GOTPLT_ENTRY) + INIT_RELOC_INFO (R_386_PLT32, 1, ALWAYS_GOTPLT_ENTRY) + INIT_RELOC_INFO (R_386_GLOB_DAT, 0, NO_GOTPLT_ENTRY) + INIT_RELOC_INFO (R_386_JMP_SLOT, 1, NO_GOTPLT_ENTRY) + INIT_RELOC_INFO (R_386_GOTPC, 0, BUILD_GOT_ONLY) + INIT_RELOC_INFO (R_386_GOTOFF, 0, BUILD_GOT_ONLY) + INIT_RELOC_INFO (R_386_GOT32, 0, ALWAYS_GOTPLT_ENTRY) + INIT_RELOC_INFO (R_386_GOT32X, 0, ALWAYS_GOTPLT_ENTRY) + INIT_RELOC_INFO (R_386_16, 0, NO_GOTPLT_ENTRY) + INIT_RELOC_INFO (R_386_PC16, 1, AUTO_GOTPLT_ENTRY) }; void relocate_init(Section *sr) |
