elf.h (7ae383be81781c5e1347f71c3eb0d53ce5188200) elf.h (03dce595270f22d59a6f37e9170287c1afd94bc2)
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

--- 290 unchanged lines hidden (view full) ---

299 \
300 clear_thread_flag(TIF_HYBRID_FPREGS); \
301 set_thread_flag(TIF_32BIT_FPREGS); \
302 \
303 mips_set_personality_fp(state); \
304 \
305 current->thread.abi = &mips_abi; \
306 \
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

--- 290 unchanged lines hidden (view full) ---

299 \
300 clear_thread_flag(TIF_HYBRID_FPREGS); \
301 set_thread_flag(TIF_32BIT_FPREGS); \
302 \
303 mips_set_personality_fp(state); \
304 \
305 current->thread.abi = &mips_abi; \
306 \
307 current->thread.fpu.fcr31 = current_cpu_data.fpu_csr31; \
307 current->thread.fpu.fcr31 = boot_cpu_data.fpu_csr31; \
308} while (0)
309
310#endif /* CONFIG_32BIT */
311
312#ifdef CONFIG_64BIT
313
314#ifdef CONFIG_MIPS32_N32
315#define __SET_PERSONALITY32_N32() \

--- 45 unchanged lines hidden (view full) ---

361 clear_thread_flag(TIF_HYBRID_FPREGS); \
362 clear_thread_flag(TIF_32BIT_ADDR); \
363 \
364 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
365 __SET_PERSONALITY32(ex, state); \
366 else \
367 current->thread.abi = &mips_abi; \
368 \
308} while (0)
309
310#endif /* CONFIG_32BIT */
311
312#ifdef CONFIG_64BIT
313
314#ifdef CONFIG_MIPS32_N32
315#define __SET_PERSONALITY32_N32() \

--- 45 unchanged lines hidden (view full) ---

361 clear_thread_flag(TIF_HYBRID_FPREGS); \
362 clear_thread_flag(TIF_32BIT_ADDR); \
363 \
364 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
365 __SET_PERSONALITY32(ex, state); \
366 else \
367 current->thread.abi = &mips_abi; \
368 \
369 current->thread.fpu.fcr31 = current_cpu_data.fpu_csr31; \
369 current->thread.fpu.fcr31 = boot_cpu_data.fpu_csr31; \
370 \
371 p = personality(current->personality); \
372 if (p != PER_LINUX32 && p != PER_LINUX) \
373 set_personality(PER_LINUX); \
374} while (0)
375
376#endif /* CONFIG_64BIT */
377

--- 70 unchanged lines hidden ---
370 \
371 p = personality(current->personality); \
372 if (p != PER_LINUX32 && p != PER_LINUX) \
373 set_personality(PER_LINUX); \
374} while (0)
375
376#endif /* CONFIG_64BIT */
377

--- 70 unchanged lines hidden ---