summaryrefslogtreecommitdiff
path: root/arch/alpha/include/asm/a.out.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2022-09-26 17:15:32 -0500
committerKees Cook <keescook@chromium.org>2022-09-27 07:11:02 -0700
commit987f20a9dcce3989e48d87cff3952c095c994445 (patch)
tree144497d441fe71d3996eb073bd3bd52bfc9d7224 /arch/alpha/include/asm/a.out.h
parent33a2d6bc3480f9f8ac8c8def29854f98cc8bfee2 (diff)
a.out: Remove the a.out implementation
In commit 19e8b701e258 ("a.out: Stop building a.out/osf1 support on alpha and m68k") the last users of a.out were disabled. As nothing has turned up to cause this change to be reverted, let's remove the code implementing a.out support as well. There may be userspace users of the uapi bits left so the uapi headers have been left untouched. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Arnd Bergmann <arnd@arndb.de> # arm defconfigs Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/871qrx3hq3.fsf@email.froward.int.ebiederm.org
Diffstat (limited to 'arch/alpha/include/asm/a.out.h')
-rw-r--r--arch/alpha/include/asm/a.out.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/alpha/include/asm/a.out.h b/arch/alpha/include/asm/a.out.h
deleted file mode 100644
index d2346b7caff1..000000000000
--- a/arch/alpha/include/asm/a.out.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __ALPHA_A_OUT_H__
-#define __ALPHA_A_OUT_H__
-
-#include <uapi/asm/a.out.h>
-
-
-/* Assume that start addresses below 4G belong to a TASO application.
- Unfortunately, there is no proper bit in the exec header to check.
- Worse, we have to notice the start address before swapping to use
- /sbin/loader, which of course is _not_ a TASO application. */
-#define SET_AOUT_PERSONALITY(BFPM, EX) \
- set_personality (((BFPM->taso || EX.ah.entry < 0x100000000L \
- ? ADDR_LIMIT_32BIT : 0) | PER_OSF4))
-
-#endif /* __A_OUT_GNU_H__ */