Changeset 34211 in vbox
- Timestamp:
- Nov 19, 2010 4:55:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/fakedri_drv.c
r34210 r34211 186 186 char patch[FAKEDRI_JMP64_PATCH_SIZE]; 187 187 void *shift; 188 int ignore_size=false; 188 189 189 190 #ifndef VBOX_NO_MESA_PATCH_REPORTS … … 249 250 /*it's a rel8 jmp, so we're going to patch the place it targets instead of jmp itself*/ 250 251 dlip.dli_saddr = (void*) ((intptr_t)dlip.dli_saddr + ((char*)dlip.dli_saddr)[1] + 2); 251 sym->st_size = FAKEDRI_JMP64_PATCH_SIZE;252 ignore_size = true; 252 253 } 253 254 else … … 275 276 { 276 277 /*try to insert 64bit abs jmp*/ 277 if (sym->st_size>=FAKEDRI_JMP64_PATCH_SIZE )278 if (sym->st_size>=FAKEDRI_JMP64_PATCH_SIZE || ignore_size) 278 279 { 279 280 # ifndef VBOX_NO_MESA_PATCH_REPORTS
Note:
See TracChangeset
for help on using the changeset viewer.