History

silly bug fix: s/#ifdef PTR_SIZE == 4/#if PTR_SIZE == 4/

Shinichiro Hamaji committed 17 years ago

Commit ba8c95a1 parent 27d23341 file · +1 −1Browse files

Unified · Split

tccelf.c+1−1
@@ -725,7 +725,7 @@ static void build_got(TCCState *s1) · 724 unmodified lines
725725 add_elf_sym(symtab_section, 0, 4, ELFW(ST_INFO)(STB_GLOBAL, STT_OBJECT),
726726 0, s1->got->sh_num, "_GLOBAL_OFFSET_TABLE_");
727727 ptr = section_ptr_add(s1->got, 3 * PTR_SIZE);
728−#ifdef PTR_SIZE == 4
728+#if PTR_SIZE == 4
729729 /* keep space for _DYNAMIC pointer, if present */
730730 put32(ptr, 0);
731731 /* two dummy got entries */

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