unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH 01/15] powerpc: Consolidate Linux syscall definition
Date: Tue, 11 Feb 2020 20:43:40 +0100	[thread overview]
Message-ID: <87tv3wnc43.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <20200210192038.23588-1-adhemerval.zanella@linaro.org> (Adhemerval Zanella's message of "Mon, 10 Feb 2020 16:20:24 -0300")

* Adhemerval Zanella:

> +/* Define __set_errno() for INLINE_SYSCALL macro below.  */
> +#ifndef __ASSEMBLER__
> +#include <errno.h>
> +#endif

Missing indentation (but the existing files are not consistent about
that).

> +/* Pointer mangling support.  */
> +#if defined(__PPC64__) || defined(__powerpc64__)
> +# define LOAD  ld
> +# define TPREG r13
> +#else
> +# define LOAD  lwz
> +# define TPREG r2
> +#endif

Can you restrict those to #ifdef __ASSEMBLER__?  <sysdep.h> is a
fairly widely included header, and this has the potential of breaking
future changes that compile on other architectures.

Rest looks okay to me, but maybe a POWER maintainer wants to have a
look as well.

  parent reply	other threads:[~2020-02-11 19:45 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-10 19:20 [PATCH 01/15] powerpc: Consolidate Linux syscall definition Adhemerval Zanella
2020-02-10 19:20 ` [PATCH 02/15] powerpc: Use Linux kABI for syscall return Adhemerval Zanella
2020-02-11 11:18   ` Florian Weimer
2020-02-11 12:14     ` Adhemerval Zanella
2020-02-11 12:31       ` Florian Weimer
2020-02-11 13:31         ` Adhemerval Zanella
2020-02-11 19:45           ` Florian Weimer
2020-02-11 19:45   ` Florian Weimer
2020-02-12 13:24     ` Adhemerval Zanella
2020-02-10 19:20 ` [PATCH 03/15] sparc: " Adhemerval Zanella
2020-02-11 11:15   ` Florian Weimer
2020-02-11 18:55     ` Adhemerval Zanella
2020-02-11 19:24       ` Florian Weimer
2020-02-11 20:29         ` Adhemerval Zanella
2020-02-11 21:15           ` Florian Weimer
2020-02-12 12:35             ` Adhemerval Zanella
2020-02-12 12:38               ` Florian Weimer
2020-02-12 12:56                 ` Adhemerval Zanella
2020-02-10 19:20 ` [PATCH 04/15] alpha: Refactor syscall and " Adhemerval Zanella
2020-02-10 19:20 ` [PATCH 05/15] ia64: " Adhemerval Zanella
2020-02-10 19:20 ` [PATCH 06/15] mips64: Consolidate Linux sysdep.h Adhemerval Zanella
2020-02-10 22:48   ` Joseph Myers
2020-02-11 19:05     ` Adhemerval Zanella
2020-02-10 19:20 ` [PATCH 07/15] mips: Use Linux kABI for syscall return Adhemerval Zanella
2020-02-10 19:20 ` [PATCH 08/15] nios2: " Adhemerval Zanella
2020-02-11 11:20   ` Florian Weimer
2020-02-11 19:09     ` Adhemerval Zanella
2020-02-11 11:50   ` Andreas Schwab
2020-02-19 21:40   ` Vineet Gupta
2020-02-20 13:14     ` Adhemerval Zanella
2020-02-20 20:39       ` Vineet Gupta
2020-02-20 21:04         ` Vineet Gupta
2020-02-27 17:49           ` Adhemerval Zanella
2020-02-10 19:20 ` [PATCH 09/15] microblaze: Avoid clobbering register parameters in syscall Adhemerval Zanella
2020-02-11 11:21   ` Florian Weimer
2020-02-11 19:10     ` Adhemerval Zanella
2020-02-10 19:20 ` [PATCH 10/15] riscv: " Adhemerval Zanella
2020-02-10 19:51   ` DJ Delorie
2020-02-10 21:27     ` Palmer Dabbelt
2020-02-10 21:55       ` Adhemerval Zanella
2020-02-10 19:20 ` [PATCH 11/15] s390: Consolidate Linux syscall definition Adhemerval Zanella
2020-02-10 19:20 ` [PATCH 12/15] sparc: Avoid clobbering register parameters in syscall Adhemerval Zanella
2020-02-11 11:22   ` Florian Weimer
2020-02-11 19:17     ` Adhemerval Zanella
2020-02-10 19:20 ` [PATCH 13/15] linux: Consolidate INLINE_SYSCALL Adhemerval Zanella
2020-02-11 12:03   ` Florian Weimer
2020-02-11 20:53     ` Adhemerval Zanella
2020-02-11 21:00       ` Florian Weimer
2020-02-10 19:20 ` [PATCH 14/15] nptl: Remove ununsed pthread-errnos.h rule Adhemerval Zanella
2020-02-11 11:23   ` Florian Weimer
2020-02-11 11:51     ` Florian Weimer
2020-02-11 21:01       ` Adhemerval Zanella
2020-02-10 19:20 ` [PATCH 15/15] linux: Remove INTERNAL_SYSCALL_DECL Adhemerval Zanella
2020-02-11 12:34   ` Florian Weimer
2020-02-11 12:36   ` Florian Weimer
2020-02-11 20:57     ` Adhemerval Zanella
2020-02-11 12:48   ` Florian Weimer
2020-02-11 20:55     ` Adhemerval Zanella
2020-02-15  7:51   ` Andreas Schwab
2020-02-15  9:32     ` [PATCH] arm: fix use of INTERNAL_SYSCALL_CALL Andreas Schwab
2020-02-15  9:55       ` Florian Weimer
2020-02-11 19:43 ` Florian Weimer [this message]
2020-02-12 13:19   ` [PATCH 01/15] powerpc: Consolidate Linux syscall definition Adhemerval Zanella

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/libc/involved.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tv3wnc43.fsf@mid.deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    --cc=adhemerval.zanella@linaro.org \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).