From patchwork Mon Feb 20 14:29:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 65277 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6FA2A383FDE4 for ; Mon, 20 Feb 2023 14:32:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6FA2A383FDE4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676903536; bh=Ic2uH+7aiKh2+Xpn/Hh1ZPhjZas+jutjndwrXB/pIEI=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=oJKN7wmC82Y8+DeEinSFaUHRrfwVUSHZ7Ydjpfnoj2217vyGuMym2+zjBuDTUZVdf ZColSUlsz7raCcYgfM101Od7V4llFChJ6QznIsrzps8ASIUa7iIhiy3ptMT6N3bX/D 5feA8VSDe67ZKXMhk4TfFNnk4I06FIAmu8GSW41A= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-oa1-x33.google.com (mail-oa1-x33.google.com [IPv6:2001:4860:4864:20::33]) by sourceware.org (Postfix) with ESMTPS id 4332A384183D for ; Mon, 20 Feb 2023 14:30:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4332A384183D Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-1720d087ff4so1370256fac.1 for ; Mon, 20 Feb 2023 06:30:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=Ic2uH+7aiKh2+Xpn/Hh1ZPhjZas+jutjndwrXB/pIEI=; b=g6L38fWiolL1yECH4KjFg3vCOBgaara5KnxbGTNoTmOeUL/LVYDJT+i8GGHJx1bAQG wYSU+/geJD+lSFTRJae+piVJI2WBNKqrKFmI9ZvOAgVWYK96vg9Q29ETLaac0jfEGVh3 K3znbBM+oCNmRVFbru+lE0P+FZ6FBTzKE3sMn7boAiA8YI9WLjSXXhVJ1sT6WJIiJcJP GcL+TrQCv52XW8y9/bUrEAlEMKPQVqvv+epHZTUSdwRsWhY7CuB6UkqzHcAMva+br5Ld FaniK0Xb4jJcZ2fUkwL7eeoxJIb2qzIa0UQgOtTAFUQ5u8q98neqpU/z52NsxmoNsY30 GI9Q== X-Gm-Message-State: AO0yUKWqubeVgYvTfq8dhWJh/5fDJlWzbUhIeHCL02MPCI8Qllm/Z56G W2v8jb0PW4Tsl8D65fMeBhxykCjyZTN0oiszn8I= X-Google-Smtp-Source: AK7set/q2yWVEkyRcO2W8glbSqhrVZPyBMk5fS7v+rJZEtEja2HhN9m/kYhoQysRc2XBjzSJh/sl8w== X-Received: by 2002:a05:6871:806:b0:16a:2408:ba8b with SMTP id q6-20020a056871080600b0016a2408ba8bmr8111666oap.3.1676903416446; Mon, 20 Feb 2023 06:30:16 -0800 (PST) Received: from mandiga.. ([2804:1b3:a7c3:3a5:41b1:cd01:745d:be16]) by smtp.gmail.com with ESMTPSA id g1-20020a056870c38100b0016b0369f08fsm4446774oao.15.2023.02.20.06.30.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 06:30:15 -0800 (PST) To: libc-alpha@sourceware.org Cc: Carlos O'Donell Subject: [PATCH v3 5/5] Linux: Remove generic Implies Date: Mon, 20 Feb 2023 11:29:57 -0300 Message-Id: <20230220142957.1180692-6-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230220142957.1180692-1-adhemerval.zanella@linaro.org> References: <20230220142957.1180692-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Adhemerval Zanella via Libc-alpha From: Adhemerval Zanella Netto Reply-To: Adhemerval Zanella Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" The default Linux implementation already handled the Linux generic ABIs interface used on newer architectures, so there is no need to Imply the generic any longer. Reviewed-by: Carlos O'Donell Tested-by: Carlos O'Donell --- sysdeps/unix/sysv/linux/aarch64/Implies | 1 - sysdeps/unix/sysv/linux/arc/Implies | 2 -- sysdeps/unix/sysv/linux/csky/Implies | 2 -- sysdeps/unix/sysv/linux/generic/README | 11 ----------- sysdeps/unix/sysv/linux/loongarch/lp64/Implies | 1 - sysdeps/unix/sysv/linux/nios2/Implies | 2 -- sysdeps/unix/sysv/linux/or1k/Implies | 2 -- sysdeps/unix/sysv/linux/riscv/rv32/Implies | 2 -- sysdeps/unix/sysv/linux/riscv/rv64/Implies | 1 - 9 files changed, 24 deletions(-) delete mode 100644 sysdeps/unix/sysv/linux/generic/README diff --git a/sysdeps/unix/sysv/linux/aarch64/Implies b/sysdeps/unix/sysv/linux/aarch64/Implies index 4409e19b92..9c2d2c9870 100644 --- a/sysdeps/unix/sysv/linux/aarch64/Implies +++ b/sysdeps/unix/sysv/linux/aarch64/Implies @@ -1,3 +1,2 @@ aarch64/nptl -unix/sysv/linux/generic unix/sysv/linux/wordsize-64 diff --git a/sysdeps/unix/sysv/linux/arc/Implies b/sysdeps/unix/sysv/linux/arc/Implies index 7f739a0340..5c1698c045 100644 --- a/sysdeps/unix/sysv/linux/arc/Implies +++ b/sysdeps/unix/sysv/linux/arc/Implies @@ -1,3 +1 @@ arc/nptl -unix/sysv/linux/generic/wordsize-32 -unix/sysv/linux/generic diff --git a/sysdeps/unix/sysv/linux/csky/Implies b/sysdeps/unix/sysv/linux/csky/Implies index f37776ccef..2259772947 100644 --- a/sysdeps/unix/sysv/linux/csky/Implies +++ b/sysdeps/unix/sysv/linux/csky/Implies @@ -1,3 +1 @@ -unix/sysv/linux/generic/wordsize-32 -unix/sysv/linux/generic csky/nptl diff --git a/sysdeps/unix/sysv/linux/generic/README b/sysdeps/unix/sysv/linux/generic/README deleted file mode 100644 index 301a6107e1..0000000000 --- a/sysdeps/unix/sysv/linux/generic/README +++ /dev/null @@ -1,11 +0,0 @@ -This hierarchy supports Linux systems using the new -asm-generic/unistd.h, which removes many familiar old syscalls. For -example, to implement open(), newer Linux architectures require glibc -to invoke the __NR_openat syscall with AT_FDCWD. This hierarchy -provides all those implementations. - -It also provides support for 32-bit platforms using the 64-bit kernel -syscall APIs, as the 32-bit ones are no longer provided. Note that -newer ILP32 environments (x32 or AArch64:ILP32, for example) are -converting to use more 64-bit types in kernel syscalls, so that aspect -of this support is in more flux as of this writing. diff --git a/sysdeps/unix/sysv/linux/loongarch/lp64/Implies b/sysdeps/unix/sysv/linux/loongarch/lp64/Implies index 117c2b8efe..e0390cc3bf 100644 --- a/sysdeps/unix/sysv/linux/loongarch/lp64/Implies +++ b/sysdeps/unix/sysv/linux/loongarch/lp64/Implies @@ -1,3 +1,2 @@ unix/sysv/linux/loongarch -unix/sysv/linux/generic unix/sysv/linux/wordsize-64 diff --git a/sysdeps/unix/sysv/linux/nios2/Implies b/sysdeps/unix/sysv/linux/nios2/Implies index 4d0478bf8f..e6c9be4665 100644 --- a/sysdeps/unix/sysv/linux/nios2/Implies +++ b/sysdeps/unix/sysv/linux/nios2/Implies @@ -1,3 +1 @@ nios2/nptl -unix/sysv/linux/generic/wordsize-32 -unix/sysv/linux/generic diff --git a/sysdeps/unix/sysv/linux/or1k/Implies b/sysdeps/unix/sysv/linux/or1k/Implies index f39f16c04a..07f8e71adc 100644 --- a/sysdeps/unix/sysv/linux/or1k/Implies +++ b/sysdeps/unix/sysv/linux/or1k/Implies @@ -1,3 +1 @@ or1k/nptl -unix/sysv/linux/generic/wordsize-32 -unix/sysv/linux/generic diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/Implies b/sysdeps/unix/sysv/linux/riscv/rv32/Implies index 8b7deb33cd..83db34c5d5 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/Implies +++ b/sysdeps/unix/sysv/linux/riscv/rv32/Implies @@ -1,3 +1 @@ unix/sysv/linux/riscv -unix/sysv/linux/generic/wordsize-32 -unix/sysv/linux/generic diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/Implies b/sysdeps/unix/sysv/linux/riscv/rv64/Implies index f042343bf7..2f9ad9ff94 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/Implies +++ b/sysdeps/unix/sysv/linux/riscv/rv64/Implies @@ -1,3 +1,2 @@ unix/sysv/linux/riscv -unix/sysv/linux/generic unix/sysv/linux/wordsize-64