diff options
Diffstat (limited to 'exec/exec.c')
| -rw-r--r-- | exec/exec.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/exec/exec.c b/exec/exec.c index b9c3e4ec92a..b83e34bc1b2 100644 --- a/exec/exec.c +++ b/exec/exec.c | |||
| @@ -231,10 +231,10 @@ struct exec_jump_command | |||
| 231 | /* The value of AT_BASE inside the aux vector. */ | 231 | /* The value of AT_BASE inside the aux vector. */ |
| 232 | USER_WORD at_base; | 232 | USER_WORD at_base; |
| 233 | 233 | ||
| 234 | #if defined __mips__ | 234 | #if defined __mips__ && !defined __LP64__ |
| 235 | /* The FPU mode to apply. Not used when !MIPS_NABI. */ | 235 | /* The FPU mode to apply. Not used when !MIPS_NABI. */ |
| 236 | USER_WORD fpu_mode; | 236 | USER_WORD fpu_mode; |
| 237 | #endif /* defined __mips__ */ | 237 | #endif /* defined __mips__ && !defined __LP64__ */ |
| 238 | }; | 238 | }; |
| 239 | 239 | ||
| 240 | 240 | ||
| @@ -918,6 +918,7 @@ exec_0 (char *name, struct exec_tracee *tracee, | |||
| 918 | USER_WORD header_offset; | 918 | USER_WORD header_offset; |
| 919 | USER_WORD name_len, aligned_len; | 919 | USER_WORD name_len, aligned_len; |
| 920 | struct exec_jump_command jump; | 920 | struct exec_jump_command jump; |
| 921 | /* This also encompasses !__LP64__. */ | ||
| 921 | #if defined __mips__ && !defined MIPS_NABI | 922 | #if defined __mips__ && !defined MIPS_NABI |
| 922 | int fpu_mode; | 923 | int fpu_mode; |
| 923 | #endif /* defined __mips__ && !defined MIPS_NABI */ | 924 | #endif /* defined __mips__ && !defined MIPS_NABI */ |
| @@ -1130,9 +1131,9 @@ exec_0 (char *name, struct exec_tracee *tracee, | |||
| 1130 | fpu_mode = FP_FRE; | 1131 | fpu_mode = FP_FRE; |
| 1131 | 1132 | ||
| 1132 | jump.fpu_mode = fpu_mode; | 1133 | jump.fpu_mode = fpu_mode; |
| 1133 | #elif defined __mips__ | 1134 | #elif defined __mips__ && !defined __LP64__ |
| 1134 | jump.fpu_mode = 0; | 1135 | jump.fpu_mode = 0; |
| 1135 | #endif /* defined __mips__ && !defined MIPS_NABI */ | 1136 | #endif /* defined __mips__ && defined MIPS_NABI && !defined __LP64__ */ |
| 1136 | 1137 | ||
| 1137 | /* The offset used for at_phdr should be that of the first | 1138 | /* The offset used for at_phdr should be that of the first |
| 1138 | mapping. */ | 1139 | mapping. */ |