From patchwork Sun Feb 9 20:21:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 37830 Received: (qmail 31065 invoked by alias); 9 Feb 2020 20:21:44 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 30985 invoked by uid 89); 9 Feb 2020 20:21:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=wired X-HELO: us-smtp-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581279701; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GuAQgtLI+EZd3jGGcWYzH5AQgujWrUG1qJa9XEVNn+0=; b=KrGq7ZIXnQXic6cTuRFYneRxCfASAiqKv5AegfaFdZ8dOeQWcBMHeWhyKG2XA6RmvFg2ph 3X0rygzGxk39xFwSVx9CFx1+GiYTrqJxMCScGH0xdQTUc84IxcYrHpzR+kHE8bPE330mVF 9/bwcXzff7yBoP71I9t5odTbDuVrcR0= From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH 26/26] microblaze: vfork is always available In-Reply-To: References: X-From-Line: b59c4d3ad6448be3db09f92c36fbe29edb1f18b1 Mon Sep 17 00:00:00 2001 Message-Id: Date: Sun, 09 Feb 2020 21:21:35 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Due to the built-in tables, __NR_vfork is always defined, so the fork-based fallback code is never used. (It appears that the vfork system call was wired up when the port was contributed to the kernel.) Reviewed-by: Adhemerval Zanella --- sysdeps/unix/sysv/linux/microblaze/vfork.S | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sysdeps/unix/sysv/linux/microblaze/vfork.S b/sysdeps/unix/sysv/linux/microblaze/vfork.S index 7bff659ff3..913aa06e2e 100644 --- a/sysdeps/unix/sysv/linux/microblaze/vfork.S +++ b/sysdeps/unix/sysv/linux/microblaze/vfork.S @@ -28,11 +28,7 @@ ENTRY (__vfork) -#ifdef __NR_vfork DO_CALL (vfork, 0) -#else - DO_CALL (fork, 0) -#endif addik r12,r0,-4095 cmpu r12,r12,r3 bgei r12,SYSCALL_ERROR_LABEL