Revision 48733d19 linux-user/elfload.c
b/linux-user/elfload.c | ||
---|---|---|
334 | 334 |
|
335 | 335 |
#endif |
336 | 336 |
|
337 |
#ifdef TARGET_CRIS |
|
338 |
|
|
339 |
#define ELF_START_MMAP 0x80000000 |
|
340 |
|
|
341 |
#define elf_check_arch(x) ( (x) == EM_CRIS ) |
|
342 |
|
|
343 |
#define ELF_CLASS ELFCLASS32 |
|
344 |
#define ELF_DATA ELFDATA2LSB |
|
345 |
#define ELF_ARCH EM_CRIS |
|
346 |
|
|
347 |
static inline void init_thread(struct target_pt_regs *regs, struct image_info *infop) |
|
348 |
{ |
|
349 |
regs->erp = infop->entry; |
|
350 |
} |
|
351 |
|
|
352 |
#define USE_ELF_CORE_DUMP |
|
353 |
#define ELF_EXEC_PAGESIZE 8192 |
|
354 |
|
|
355 |
#endif |
|
356 |
|
|
337 | 357 |
#ifdef TARGET_M68K |
338 | 358 |
|
339 | 359 |
#define ELF_START_MMAP 0x80000000 |
Also available in: Unified diff