| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2014 Imagination Technologies |
|---|
| 3 | 4 | * Author: Paul Burton <paul.burton@mips.com> |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 6 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 7 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 8 | | - * option) any later version. |
|---|
| 9 | 5 | */ |
|---|
| 10 | 6 | |
|---|
| 11 | 7 | #include <linux/binfmts.h> |
|---|
| .. | .. |
|---|
| 15 | 11 | |
|---|
| 16 | 12 | #include <asm/cpu-features.h> |
|---|
| 17 | 13 | #include <asm/cpu-info.h> |
|---|
| 14 | + |
|---|
| 15 | +#ifdef CONFIG_MIPS_FP_SUPPORT |
|---|
| 18 | 16 | |
|---|
| 19 | 17 | /* Whether to accept legacy-NaN and 2008-NaN user binaries. */ |
|---|
| 20 | 18 | bool mips_use_nan_legacy; |
|---|
| .. | .. |
|---|
| 326 | 324 | } |
|---|
| 327 | 325 | } |
|---|
| 328 | 326 | |
|---|
| 327 | +#endif /* CONFIG_MIPS_FP_SUPPORT */ |
|---|
| 328 | + |
|---|
| 329 | 329 | int mips_elf_read_implies_exec(void *elf_ex, int exstack) |
|---|
| 330 | 330 | { |
|---|
| 331 | 331 | if (exstack != EXSTACK_DISABLE_X) { |
|---|