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: 1235571 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-109334-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha1 header.s=default header.b=DocsAPLy; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=KrGq7ZIX; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48G0q05T5Vz9sRR for ; Mon, 10 Feb 2020 07:23:24 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:in-reply-to:references :message-id:date:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=RCTbo3TznTPYsZeR OhQL3EZaNVIZARisgWXnVOWInxbov7aiYzz6Fyz1+GxnzYKxBy2qRTzqGxDN6A/s umFgKp0UUWvp/vNHfmaJCy0hg8uBcOABGzgu9SgHZHRz8zxrhqZNC66npm+84Gzy 6kOPEUP1gRrW9Ylskm1kpEXWUhE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:in-reply-to:references :message-id:date:mime-version:content-type :content-transfer-encoding; s=default; bh=77oecuVVU4BZHkg5BZJX2n EMo/8=; b=DocsAPLyljgfcpv9E5Xyr1/7hfpgO+GdGgTEveJGAUkqrJLkbg9FAK 7auMtGgiTwD4PkEAAhynrrx7A+Vj6wvI6iJSJmVWMhTB1otr5lOXhEYcH8AJ8tCP 20y4uuPOjKjtLEMLRqDEB4+yxWA9yCUb6QyNc5PU8UD7YtolS6hJw= 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