From patchwork Thu Dec 14 06:29:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stafford Horne X-Patchwork-Id: 848379 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=uclibc-ng.org (client-ip=89.238.66.15; helo=helium.openadk.org; envelope-from=devel-bounces@uclibc-ng.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="q4yAsTpc"; dkim-atps=neutral Received: from helium.openadk.org (helium.openadk.org [89.238.66.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yy3Ys4Fzdz9s83 for ; Thu, 14 Dec 2017 17:29:21 +1100 (AEDT) Received: from helium.openadk.org (localhost [IPv6:::1]) by helium.openadk.org (Postfix) with ESMTP id 30408106FD; Thu, 14 Dec 2017 07:29:18 +0100 (CET) X-Original-To: devel@uclibc-ng.org Delivered-To: devel@helium.openadk.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by helium.openadk.org (Postfix) with ESMTPS id EF534106F9 for ; Thu, 14 Dec 2017 07:29:15 +0100 (CET) Received: by mail-pf0-f194.google.com with SMTP id n6so2979163pfa.4 for ; Wed, 13 Dec 2017 22:29:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Yp4Vr75qrOyi8We0gRLuWDNhN4uuhg7O9yuJPP4NcKo=; b=q4yAsTpcWEBWwtuWth/jEKDAUfJ1+NSP55AMIodOd3pYOIBcBP27Vn9yMCqo4DNOLX 8DnMqvavm5aFF1ie99YjpVYHPwaXtoG0NyKCu24/Qa3YAQCg69G8IEkQCD9K0M0ZcGO0 A4TKGv46oUMEoVgwHJjeE0/oYd2lVjN4oqPU/cCBYXiusJkXidyzSUsZ3OELmxZjJr2w MOIpM2kuPXAiymvEtci5Za5ItGIBkZ+tP/Wd9+qxYHcpbPkoGddVoZOi3sC0wJGFmuBk 4vwrWxCm4dOfhlV9ugzR9eHq7CL+y1ZHOLnNB2YT6/ZElDAcqUr/gzJ/58f2Jf8MaGvX Vbqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Yp4Vr75qrOyi8We0gRLuWDNhN4uuhg7O9yuJPP4NcKo=; b=rQubldDQzmhipBSp/IcYcxzjLXn1O51pjpRT0bFPjx8w/cACwRx5Fw+UiDbzTM5KLq LBEgyTjKoU5o2HQhCQLcxTsivcCwUTQifrbglAl7ypmz8Uu+Tjz+HlUZU98BIW8TUoYo 839Rtv764jPrZkYreqhHsuS2/ji0LlWzUoroxm9LHghiGjs73GXH2OXkEchv0RQ+Nu2k gXWxJ5TxpfZ1i8Ti7ZgRgBZuNDw4e1dEVM4oNMJfbVXdtzjZFFERljsxtpsMmtW+c60j QVnwM8cU5iuC+zn6Wv6f963RhxCqUTVw1CzdOh6QHFV4r8V1uL32Jpzx5a9FWGXeGXgT kDwQ== X-Gm-Message-State: AKGB3mINdqMl+MmMCZ1Uke2nZDoreKiCCRQt2Hq3FULIIDWDBqeU6mo+ YVKm7ml234F4J6BRpS5rmig3pfZm X-Google-Smtp-Source: ACJfBosqf5gfbqd2NCyIQnCLQWAI6w/Q66cUfcBP+Xx5zUQrSmjoThLFuQbm9vTQQN9wEWEeGqjRzQ== X-Received: by 10.84.253.8 with SMTP id z8mr1217230pll.131.1513232953956; Wed, 13 Dec 2017 22:29:13 -0800 (PST) Received: from localhost (g41.219-103-184.ppp.wakwak.ne.jp. [219.103.184.41]) by smtp.gmail.com with ESMTPSA id i85sm6326537pfi.54.2017.12.13.22.29.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Dec 2017 22:29:13 -0800 (PST) From: Stafford Horne To: uclibc-ng Devel Date: Thu, 14 Dec 2017 15:29:05 +0900 Message-Id: <20171214062909.8602-1-shorne@gmail.com> X-Mailer: git-send-email 2.13.6 Subject: [uclibc-ng-devel] [PATCH 0/4] Use varargs for common syscall() implementation X-BeenThere: devel@uclibc-ng.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: uClibc-ng Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: devel-bounces@uclibc-ng.org Sender: "devel" Hello, This is a followup to the ("f764bcffe" or1k: syscall: Pass arguments on the stack) patch which fixes the issue where the definition of syscall() in unistd.h and the common implementation in uclibc-ng don't match. This series allows the implementation to match the definition and then goes on to remove generic implementations used by or1k, nds32 and arc. -Stafford Stafford Horne (4): syscall: Make common implementation match unistd.h or1k: Use new common syscall() implementation nds32: Use new common syscall() implementation arc: Use new common syscall() implementation libc/sysdeps/linux/arc/Makefile.arch | 2 +- libc/sysdeps/linux/arc/syscall.c | 17 ----------------- libc/sysdeps/linux/common/syscall.c | 18 +++++++++++++++++- libc/sysdeps/linux/nds32/Makefile.arch | 4 ++-- libc/sysdeps/linux/nds32/syscall.c | 28 ---------------------------- libc/sysdeps/linux/or1k/Makefile.arch | 2 +- libc/sysdeps/linux/or1k/syscall.c | 32 -------------------------------- 7 files changed, 21 insertions(+), 82 deletions(-) delete mode 100644 libc/sysdeps/linux/arc/syscall.c delete mode 100644 libc/sysdeps/linux/nds32/syscall.c delete mode 100644 libc/sysdeps/linux/or1k/syscall.c