Revision eeeac3f3
b/linux-user/syscall.c | ||
---|---|---|
2319 | 2319 |
if (!ldt_table) |
2320 | 2320 |
return -TARGET_ENOMEM; |
2321 | 2321 |
memset(ldt_table, 0, TARGET_LDT_ENTRIES * TARGET_LDT_ENTRY_SIZE); |
2322 |
env->ldt.base = h2g(ldt_table); |
|
2322 |
env->ldt.base = h2g((unsigned long)ldt_table);
|
|
2323 | 2323 |
env->ldt.limit = 0xffff; |
2324 | 2324 |
} |
2325 | 2325 |
|
... | ... | |
4268 | 4268 |
case TARGET_NR_getdents: |
4269 | 4269 |
#if TARGET_ABI_BITS != 32 |
4270 | 4270 |
goto unimplemented; |
4271 |
#warning not supported |
|
4272 | 4271 |
#elif TARGET_ABI_BITS == 32 && HOST_LONG_BITS == 64 |
4273 | 4272 |
{ |
4274 | 4273 |
struct target_dirent *target_dirp; |
Also available in: Unified diff