History

Fix stab support for apple

herman ten brugge committed 3 years ago

Commit d605d751 parent d5781511 file · +5 −0Browse files

Unified · Split

tccelf.c+5−0
@@ -1584,6 +1584,11 @@ ST_FUNC void tcc_add_btstub(TCCState *s1) · 1583 unmodified lines
1584 section_ptr_add(s, 3 * PTR_SIZE);1584 section_ptr_add(s, 3 * PTR_SIZE);
1585 /* prog_base : local nameless symbol with offset 0 at SHN_ABS */1585 /* prog_base : local nameless symbol with offset 0 at SHN_ABS */
1586 put_ptr(s1, NULL, 0);1586 put_ptr(s1, NULL, 0);
1587#if defined TCC_TARGET_MACHO
1588 /* adjust for __PAGEZERO */
1589 write64le(data_section->data + data_section->data_offset - PTR_SIZE,
1590 (uint64_t)1 << 32);
1591#endif
1587 n = 2 * PTR_SIZE;1592 n = 2 * PTR_SIZE;
1588#ifdef CONFIG_TCC_BCHECK1593#ifdef CONFIG_TCC_BCHECK
1589 if (s1->do_bounds_check) {1594 if (s1->do_bounds_check) {

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