elf.h (a02001086bbfb4da35d1228bebc2f1b442db455f) | elf.h (4227a2d4efc9c84f35826dc4d1e6dc183f6c1c05) |
---|---|
1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Much of this is taken from binutils and GNU libc ... 7 */ 8#ifndef _ASM_ELF_H --- 255 unchanged lines hidden (view full) --- 264 265#define SET_PERSONALITY(ex) \ 266do { \ 267 if ((ex).e_flags & EF_MIPS_FP64) \ 268 clear_thread_flag(TIF_32BIT_FPREGS); \ 269 else \ 270 set_thread_flag(TIF_32BIT_FPREGS); \ 271 \ | 1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Much of this is taken from binutils and GNU libc ... 7 */ 8#ifndef _ASM_ELF_H --- 255 unchanged lines hidden (view full) --- 264 265#define SET_PERSONALITY(ex) \ 266do { \ 267 if ((ex).e_flags & EF_MIPS_FP64) \ 268 clear_thread_flag(TIF_32BIT_FPREGS); \ 269 else \ 270 set_thread_flag(TIF_32BIT_FPREGS); \ 271 \ |
272 clear_thread_flag(TIF_HYBRID_FPREGS); \ 273 \ |
|
272 if (personality(current->personality) != PER_LINUX) \ 273 set_personality(PER_LINUX); \ 274 \ 275 current->thread.abi = &mips_abi; \ 276} while (0) 277 278#endif /* CONFIG_32BIT */ 279 --- 40 unchanged lines hidden (view full) --- 320#endif 321 322#define SET_PERSONALITY(ex) \ 323do { \ 324 unsigned int p; \ 325 \ 326 clear_thread_flag(TIF_32BIT_REGS); \ 327 clear_thread_flag(TIF_32BIT_FPREGS); \ | 274 if (personality(current->personality) != PER_LINUX) \ 275 set_personality(PER_LINUX); \ 276 \ 277 current->thread.abi = &mips_abi; \ 278} while (0) 279 280#endif /* CONFIG_32BIT */ 281 --- 40 unchanged lines hidden (view full) --- 322#endif 323 324#define SET_PERSONALITY(ex) \ 325do { \ 326 unsigned int p; \ 327 \ 328 clear_thread_flag(TIF_32BIT_REGS); \ 329 clear_thread_flag(TIF_32BIT_FPREGS); \ |
330 clear_thread_flag(TIF_HYBRID_FPREGS); \ |
|
328 clear_thread_flag(TIF_32BIT_ADDR); \ 329 \ 330 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \ 331 __SET_PERSONALITY32(ex); \ 332 else \ 333 current->thread.abi = &mips_abi; \ 334 \ 335 p = personality(current->personality); \ --- 58 unchanged lines hidden --- | 331 clear_thread_flag(TIF_32BIT_ADDR); \ 332 \ 333 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \ 334 __SET_PERSONALITY32(ex); \ 335 else \ 336 current->thread.abi = &mips_abi; \ 337 \ 338 p = personality(current->personality); \ --- 58 unchanged lines hidden --- |