History

added GOT support

bellard committed 24 years ago

Commit be44fce1 parent 7b54a531 file · +5 −0Browse files

Unified · Split

i386-gen.c+5−0
@@ -114,6 +114,11 @@ void greloc_patch(unsigned char *ptr, · 113 unmodified lines
114 case R_386_PC32:114 case R_386_PC32:
115 *(int *)ptr += val - addr;115 *(int *)ptr += val - addr;
116 break;116 break;
117 case R_386_GOTPC:
118 *(int *)ptr += val - addr; /* XXX: use GOT address directly
119 instead of relying on
120 _GLOBAL_OFFSET_TABLE symbol ? */
121 break;
117 }122 }
118}123}
119 124

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