Unified · Split
| @@ -725,7 +725,7 @@ static void build_got(TCCState *s1) · 724 unmodified lines | |||
| 725 | add_elf_sym(symtab_section, 0, 4, ELFW(ST_INFO)(STB_GLOBAL, STT_OBJECT), | 725 | add_elf_sym(symtab_section, 0, 4, ELFW(ST_INFO)(STB_GLOBAL, STT_OBJECT), |
| 726 | 0, s1->got->sh_num, "_GLOBAL_OFFSET_TABLE_"); | 726 | 0, s1->got->sh_num, "_GLOBAL_OFFSET_TABLE_"); |
| 727 | ptr = section_ptr_add(s1->got, 3 * PTR_SIZE); | 727 | ptr = section_ptr_add(s1->got, 3 * PTR_SIZE); |
| 728 | #ifdef PTR_SIZE == 4 | 728 | #if PTR_SIZE == 4 |
| 729 | /* keep space for _DYNAMIC pointer, if present */ | 729 | /* keep space for _DYNAMIC pointer, if present */ |
| 730 | put32(ptr, 0); | 730 | put32(ptr, 0); |
| 731 | /* two dummy got entries */ | 731 | /* two dummy got entries */ |