http://lists.nongnu.org/archive/html/tinycc-devel/2017-12/msg00031.html
Unified · Split
| @@ -1832,7 +1832,7 @@ static int final_sections_reloc(TCCState *s1) · 1831 unmodified lines | |||
| 1832 | /* XXX: ignore sections with allocated relocations ? */ | 1832 | /* XXX: ignore sections with allocated relocations ? */ |
| 1833 | for(i = 1; i < s1->nb_sections; i++) { | 1833 | for(i = 1; i < s1->nb_sections; i++) { |
| 1834 | s = s1->sections[i]; | 1834 | s = s1->sections[i]; |
| 1835 | #if defined(TCC_TARGET_I386) || defined(TCC_MUSL) | 1835 | #if defined(TCC_TARGET_I386) |
| 1836 | if (s->reloc && s != s1->got && (s->sh_flags & SHF_ALLOC)) //gr | 1836 | if (s->reloc && s != s1->got && (s->sh_flags & SHF_ALLOC)) //gr |
| 1837 | /* On X86 gdb 7.3 works in any case but gdb 6.6 will crash if SHF_ALLOC | 1837 | /* On X86 gdb 7.3 works in any case but gdb 6.6 will crash if SHF_ALLOC |
| 1838 | checking is removed */ | 1838 | checking is removed */ |