From patchwork Thu Nov 23 18:02:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri John Ledkov X-Patchwork-Id: 169081 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp621232vqx; Thu, 23 Nov 2023 10:03:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHSsYJd9T/2hCy4+EliMtHp87gcIz01l1jXGbLeTgXF9wYbz5V2HEhX36G0ST4XV/lf2PPp X-Received: by 2002:a05:6808:e83:b0:3b5:6432:e0eb with SMTP id k3-20020a0568080e8300b003b56432e0ebmr133472oil.38.1700762633586; Thu, 23 Nov 2023 10:03:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700762633; cv=none; d=google.com; s=arc-20160816; b=w25TpuUzIQPROsQTTkEylts5+aO7u/Dt5zcf2i69tTD8ByxAKopEPrAAv8fTgysqmM ehspr2aryjQB4Or2h23PS5WOiyem4YrOyZIY0opEx82K08j9SLy82VYsldmrzX2n4wd7 BpIigSpo6c7XroHt1bFXpzh5NiTXeC26IUY8nNqpTwdeLa/iN4RDPhudMARpGWhG2SAh HHm9DjwXzMA5JtEiJSqpwJzA1ntqYmVM+jrTp6VYoZDPKVKlCeEoHFYBGXe6JzmORs8L nNHwV9bAhd5N9J9LIhIu2tOYq+2EY3vDl8i3s7O2B7d0c5rxlDGyyDutBiyv5q7axeO2 tGDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=R1n8ksDNdCksuRnFAcfne+WFQ6Clq7m+xUS67MT50PI=; fh=Ko90S6CcquqsKV5pBC25n2aB8JM02zepEUn8C/ehD7Y=; b=CmDDM5b/FJsKMpB27uRr5jrwN33Zvr96DH6FUQ/efbB8UYR1fAsCML2onPKnoKh2YX 7mJwv8G+jczuW04Zvt1YDddHjKSvIbmyxJH78O7PSmQbTGlg0Zf113XH/18/BxBLEe/T FDBN/o4vnGHQZea3nRc8p51WAtwhskgWemfz2qTaSZt4KXfEiXIdCMQ0sL5Z7B0tOJn9 uX4UEVhjg1PMJa+vKj3NhI3+Lbqg7Xd6VBptgbwf49EzWZam3yGO6yLLlC8ObnGRwa7v XRnzRHMAEJJTic7cp0Od5AfP19B3GW3uyG17Kth1lo/bulFyJzGqWbt/vJ9YC0P7SXnI Cfvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=nSSYG+2v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id bl28-20020a056808309c00b003a7ef91b24asi651396oib.137.2023.11.23.10.03.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 10:03:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=nSSYG+2v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 6C14D8253FC1; Thu, 23 Nov 2023 10:03:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345686AbjKWSD3 (ORCPT + 99 others); Thu, 23 Nov 2023 13:03:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231408AbjKWSDU (ORCPT ); Thu, 23 Nov 2023 13:03:20 -0500 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02D97170D for ; Thu, 23 Nov 2023 10:03:18 -0800 (PST) Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 0D849420C3 for ; Thu, 23 Nov 2023 18:03:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1700762589; bh=R1n8ksDNdCksuRnFAcfne+WFQ6Clq7m+xUS67MT50PI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nSSYG+2v6U3wbTQ+u1/TJ+LyzNOrhqzCYNnD/gaWhsS70wTjQArJbJcDof3Re8EZ5 bCTPw22nexk33t788lEPvObqTk+a3JDoH2ZmRQRAno7wXrMDtQsmtn38btcOCSwDiC HHCtrtMflmQOUz8lV7BSbOmPXosXw8AMXtv6FUobcUrBKyQuoCR5NI0oEdubNamPXF ZHEai+xkY2juBW6JCNPUbaonoPIWxj1fXkf77NQRqBQs3xA3tyVMkzo7AJoVKmlDyO 15wGrJAZMLlkuQdwr+45CcgsDNRZOJDXACJxdOKI33yTh7U2CUSUmxFCi4ulkQbZRu aHsjLkFu4J02Q== Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-332e3f4c0b6so489086f8f.2 for ; Thu, 23 Nov 2023 10:03:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700762583; x=1701367383; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R1n8ksDNdCksuRnFAcfne+WFQ6Clq7m+xUS67MT50PI=; b=gUykt2uHR/ww6WVsUwQGKDrlE+UyeJcxJ5ODlPo/HkRapCfrBMJhKmbpyfItjnL04C QOWeT4Q9Irq5WxnPdxwzs8dpO0jFYtZhyZjbDFR2Gcg599sHJw+oW8c6jRD1mDU7LBIA ICYwTavn05cZM8Nv3+KaGzA0a3d58FMrJUZt6Qz9UJjYiHSP0XxUYmJGiSc5XcXx7M1L G6kXrFpz9wgwW536XG6JtmjOBd4CC16X3WFonc4d+nTRUZdCXfYOZDYKAEC2n1F99RX4 Te0zR+DwapjkMZAau8RYqlteWGYnynepyXHnDVlLMxG100R9pEpYUVN82ocgtAEGFuEY ZhyA== X-Gm-Message-State: AOJu0YxjSBVn0QMxinhcj2i/1CxB4GcGcnMuZIS8FgOYpd6sutztm+9h qCyE55Fb63RixTBb/xSGGZmELRUOjScm2GkNllR+FZXbcjceQLsHXVI38cEmEFuNhDxGfXuquvm kSuG7H2p7kcwsIX1xgIQpYPQOo7QNOkqqKW+uGuwRhZL1JwXZV+pH X-Received: by 2002:a5d:688e:0:b0:332:ca0b:5793 with SMTP id h14-20020a5d688e000000b00332ca0b5793mr145434wru.19.1700762583070; Thu, 23 Nov 2023 10:03:03 -0800 (PST) X-Received: by 2002:a5d:688e:0:b0:332:ca0b:5793 with SMTP id h14-20020a5d688e000000b00332ca0b5793mr145406wru.19.1700762582657; Thu, 23 Nov 2023 10:03:02 -0800 (PST) Received: from localhost ([2001:67c:1560:8007::aac:c15c]) by smtp.gmail.com with ESMTPSA id c9-20020adfef49000000b0032fb7b4f191sm2268350wrp.91.2023.11.23.10.03.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 10:03:01 -0800 (PST) From: Dimitri John Ledkov To: Richard Henderson , Ivan Kokshaysky , Matt Turner , Geert Uytterhoeven , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H . Peter Anvin" Cc: linux-alpha@vger.kernel.org, linux-m68k@lists.linux-m68k.org, x86@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/5] alpha: stop shipping a.out.h uapi headers Date: Thu, 23 Nov 2023 18:02:42 +0000 Message-Id: <20231123180246.750674-3-dimitri.ledkov@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231123180246.750674-1-dimitri.ledkov@canonical.com> References: <20231123180246.750674-1-dimitri.ledkov@canonical.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 23 Nov 2023 10:03:40 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783378879394702511 X-GMAIL-MSGID: 1783378879394702511 Stop shipping a.out.h uapi headers, unused. Signed-off-by: Dimitri John Ledkov --- arch/alpha/include/uapi/asm/a.out.h | 92 ----------------------------- 1 file changed, 92 deletions(-) delete mode 100644 arch/alpha/include/uapi/asm/a.out.h diff --git a/arch/alpha/include/uapi/asm/a.out.h b/arch/alpha/include/uapi/asm/a.out.h deleted file mode 100644 index 7d692df04b..0000000000 --- a/arch/alpha/include/uapi/asm/a.out.h +++ /dev/null @@ -1,92 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI__ALPHA_A_OUT_H__ -#define _UAPI__ALPHA_A_OUT_H__ - -#include - -/* - * OSF/1 ECOFF header structs. ECOFF files consist of: - * - a file header (struct filehdr), - * - an a.out header (struct aouthdr), - * - one or more section headers (struct scnhdr). - * The filhdr's "f_nscns" field contains the - * number of section headers. - */ - -struct filehdr -{ - /* OSF/1 "file" header */ - __u16 f_magic, f_nscns; - __u32 f_timdat; - __u64 f_symptr; - __u32 f_nsyms; - __u16 f_opthdr, f_flags; -}; - -struct aouthdr -{ - __u64 info; /* after that it looks quite normal.. */ - __u64 tsize; - __u64 dsize; - __u64 bsize; - __u64 entry; - __u64 text_start; /* with a few additions that actually make sense */ - __u64 data_start; - __u64 bss_start; - __u32 gprmask, fprmask; /* bitmask of general & floating point regs used in binary */ - __u64 gpvalue; -}; - -struct scnhdr -{ - char s_name[8]; - __u64 s_paddr; - __u64 s_vaddr; - __u64 s_size; - __u64 s_scnptr; - __u64 s_relptr; - __u64 s_lnnoptr; - __u16 s_nreloc; - __u16 s_nlnno; - __u32 s_flags; -}; - -struct exec -{ - /* OSF/1 "file" header */ - struct filehdr fh; - struct aouthdr ah; -}; - -/* - * Define's so that the kernel exec code can access the a.out header - * fields... - */ -#define a_info ah.info -#define a_text ah.tsize -#define a_data ah.dsize -#define a_bss ah.bsize -#define a_entry ah.entry -#define a_textstart ah.text_start -#define a_datastart ah.data_start -#define a_bssstart ah.bss_start -#define a_gprmask ah.gprmask -#define a_fprmask ah.fprmask -#define a_gpvalue ah.gpvalue - -#define N_TXTADDR(x) ((x).a_textstart) -#define N_DATADDR(x) ((x).a_datastart) -#define N_BSSADDR(x) ((x).a_bssstart) -#define N_DRSIZE(x) 0 -#define N_TRSIZE(x) 0 -#define N_SYMSIZE(x) 0 - -#define AOUTHSZ sizeof(struct aouthdr) -#define SCNHSZ sizeof(struct scnhdr) -#define SCNROUND 16 - -#define N_TXTOFF(x) \ - ((long) N_MAGIC(x) == ZMAGIC ? 0 : \ - (sizeof(struct exec) + (x).fh.f_nscns*SCNHSZ + SCNROUND - 1) & ~(SCNROUND - 1)) - -#endif /* _UAPI__ALPHA_A_OUT_H__ */