History

fix debug info with musl on x86_64

http://lists.nongnu.org/archive/html/tinycc-devel/2017-12/msg00031.html

foobar committed 8 years ago

Commit 988e2ff1 parent 414b2241 file · +1 −1Browse files

Unified · Split

tccelf.c+1−1
@@ -1832,7 +1832,7 @@ static int final_sections_reloc(TCCState *s1) · 1831 unmodified lines
18321832 /* XXX: ignore sections with allocated relocations ? */
18331833 for(i = 1; i < s1->nb_sections; i++) {
18341834 s = s1->sections[i];
1835−#if defined(TCC_TARGET_I386) || defined(TCC_MUSL)
1835+#if defined(TCC_TARGET_I386)
18361836 if (s->reloc && s != s1->got && (s->sh_flags & SHF_ALLOC)) //gr
18371837 /* On X86 gdb 7.3 works in any case but gdb 6.6 will crash if SHF_ALLOC
18381838 checking is removed */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t