diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-13 13:58:00 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-13 13:58:00 +0000 |
commit | 388bb21af622a413cc37f6df1f3ac5a92e951760 (patch) | |
tree | e714421ffbe16fe3bcbb7d6a48fdd47c6f2427cd /linux-user/elfload.c | |
parent | 29929e349009731a2fb22a983da75f67b6e78362 (diff) | |
download | qemu-388bb21af622a413cc37f6df1f3ac5a92e951760.zip qemu-388bb21af622a413cc37f6df1f3ac5a92e951760.tar.gz qemu-388bb21af622a413cc37f6df1f3ac5a92e951760.tar.bz2 |
MIPS linux-user update.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2810 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/elfload.c')
-rw-r--r-- | linux-user/elfload.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 1256dba..c130692 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -287,7 +287,11 @@ static inline void init_thread(struct target_pt_regs *_regs, struct image_info * #define elf_check_arch(x) ( (x) == EM_MIPS ) +#ifdef TARGET_MIPS64 +#define ELF_CLASS ELFCLASS64 +#else #define ELF_CLASS ELFCLASS32 +#endif #ifdef TARGET_WORDS_BIGENDIAN #define ELF_DATA ELFDATA2MSB #else @@ -302,6 +306,9 @@ static inline void init_thread(struct target_pt_regs *regs, struct image_info *i regs->regs[29] = infop->start_stack; } +#define USE_ELF_CORE_DUMP +#define ELF_EXEC_PAGESIZE 4096 + #endif /* TARGET_MIPS */ #ifdef TARGET_SH4 |