This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 08/15] nios2: Use Linux kABI for syscall return
- From: Vineet Gupta <Vineet dot Gupta1 at synopsys dot com>
- To: Vineet Gupta <Vineet dot Gupta1 at synopsys dot com>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Cc: arcml <linux-snps-arc at lists dot infradead dot org>
- Date: Thu, 20 Feb 2020 21:04:09 +0000
- Subject: Re: [PATCH 08/15] nios2: Use Linux kABI for syscall return
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synopsys.com; dmarc=pass action=none header.from=synopsys.com; dkim=pass header.d=synopsys.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xiAtSEdG6zLyCGawuWjaxwes25teP+JlPyrV5Cy9iqE=; b=Ry+6bFaW0HSvQ0DVgpVPK/ieI3YrwZ+tUm6UldnDyD6eE9DxAZWbtHVxcmXpaUuanxv+XoHsiBE8+IGnj1CHpi1sbVayt3fYtaLbp3FUtnWeobNOJE4r79JXFb2ZmEf05qUWktmQ+NCLbu5BB4C31ycL926lXhvQJuiBvOEdp+WPkfwHvFeaTOC5LzLsnwDC7+mc+hD8cAYabNHw8VNY1ksDp2GTQuXnsBN75tMJiRfry7APUXpunUp3x2dGM778FUoA73pAS+AqFgJPpln7soC9ROoAlYEAwOvomav1iRiQrmnYV30Z4idQbxvLHC4jAipaMM5QpqVGaho+qhbmTA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QF4etsWMQRXQwB/mNthlH+yxEnRdfr8qd5HUcIaxxBvsZCLYbNpxgtICJPsV/P6lGgzg+eeiI2/ZaW5jIekXmzPlx4qz79h2biTPtZiOpy6UfZGOhhyDX4XS6Ze8UTxkGreT1MwgzBqEqz2Hnh7VgVTT4s6cU5bjSCFI8mEGOiCzxcOiQSiU2KXV/l6/zd+osdn1cbbK/AGYEEjthw+v4gNUdL+JiSarFi269q1AKLRChnpYD3D61TBmYUS95A7uGqmGbKbdkm4GkvNRSWT9JoWPDAQSbnL/SlZ/qx+17rlIxN33AjeJEPQhcNwMRwgEXUDDmXYtKi336gchY+xjFA==
- References: <20200210192038.23588-1-adhemerval.zanella@linaro.org> <20200210192038.23588-8-adhemerval.zanella@linaro.org> <10265c86-aba3-12f9-9208-4a4c6ad31d28@synopsys.com> <4d32b8a1-e294-d2b7-f150-2c55281614ed@linaro.org> <8f88415f-18cc-17ef-91ca-b0dc101558d9@synopsys.com>
On 2/20/20 12:39 PM, Vineet Gupta wrote:
> Am I not following this correctly ?
Oh never mind, they use 2 seperate regs to convey syscall result and error, so
your code is right.