public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
To: Adhemerval Zanella <adhemerval.zanella@linaro.org>,
	"libc-alpha@sourceware.org" <libc-alpha@sourceware.org>
Subject: Re: [PATCH v7 08/13] ARC: Linux ABI
Date: Mon, 6 Jul 2020 18:33:29 +0000	[thread overview]
Message-ID: <6d637355-0678-f148-4316-3162ebed3b5a@synopsys.com> (raw)
In-Reply-To: <22bb51af-602a-f2ea-3ae5-4cd1392bc18f@linaro.org>

On 7/2/20 1:44 PM, Adhemerval Zanella via Libc-alpha wrote:
> 
> 
> On 15/06/2020 17:14, Vineet Gupta via Libc-alpha wrote:
>> ---
> 
> LGTM with soem nits regarding indentation.
> 
> Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

>> +
>> +#ifdef __USE_MISC
>> +extern int cacheflush (void *__addr, const int __nbytes, const int __op) __THROW;
>> +#endif
>> +
>> +__END_DECLS
>> +
>> +#endif
> 
> Ok (althoug the const int is not really required here).

Removed.

> 
>> diff --git a/sysdeps/unix/sysv/linux/arc/sys/ucontext.h b/sysdeps/unix/sysv/linux/arc/sys/ucontext.h
..
>> +typedef struct
>> +  {
>> +    unsigned long int __pad;
>> +    unsigned long int __bta;
>> +    unsigned long int __lp_start, __lp_end, __lp_count;
>> +    unsigned long int __status32, __ret, __blink;
>> +    unsigned long int __fp, __gp;
>> +    unsigned long int __r12, __r11, __r10, __r9, __r8, __r7;
>> +    unsigned long int __r6, __r5, __r4, __r3, __r2, __r1, __r0;
>> +    unsigned long int __sp;
>> +    unsigned long int __r26;
>> +    unsigned long int __r25, __r24, __r23, __r22, __r21, __r20;
>> +    unsigned long int __r19, __r18, __r17, __r16, __r15, __r14, __r13;
>> +    unsigned long int __efa;
>> +    unsigned long int __stop_pc;
>> +    unsigned long int __r30, __r58, __r59;
>> +  } mcontext_t;
>> +
>> +/* Userlevel context.  */
>> +typedef struct ucontext_t
>> +  {
>> +    unsigned long int __uc_flags;
>> +    struct ucontext_t *uc_link;
>> +    stack_t uc_stack;
>> +    mcontext_t uc_mcontext;
>> +    sigset_t uc_sigmask;
>> +  } ucontext_t;
>> +
>> +#endif
> 
> The indentation is not really following the GNU guidelines here.

So, these need to start at column #1, per [1] ?

I don't mind fixing it but all other implementations of this file have the format
exactly like above.

[1] https://www.gnu.org/prep/standards/html_node/Formatting.html#Formatting


>> diff --git a/sysdeps/unix/sysv/linux/arc/sys/user.h b/sysdeps/unix/sysv/linux/arc/sys/user.h
..
>> +
>> +struct user {
>> +  int dummy;
>> +};
>> +
>> +#endif
> 
> Same as before.

This is fixed to start at column 1.

  reply	other threads:[~2020-07-06 18:33 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-15 20:14 [PATCH v7 00/13] glibc port to ARC processors Vineet Gupta
2020-06-15 20:14 ` [PATCH v7 01/13] ARC: ABI Implementation Vineet Gupta
2020-07-01  0:06   ` [PATCH v7.1 " Vineet Gupta
2020-07-01 16:50     ` Adhemerval Zanella
2020-07-01 19:36       ` Vineet Gupta
2020-07-01 19:45         ` Adhemerval Zanella
2020-06-15 20:14 ` [PATCH v7 02/13] ARC: startup and dynamic linking code Vineet Gupta
2020-07-02 11:12   ` Adhemerval Zanella
2020-07-02 16:14     ` Vineet Gupta
2020-06-15 20:14 ` [PATCH v7 03/13] ARC: Thread Local Storage support Vineet Gupta
2020-07-01  0:07   ` [PATCH v7.1 " Vineet Gupta
2020-07-02 18:30     ` Adhemerval Zanella
2020-07-03  0:04       ` Vineet Gupta
2020-06-15 20:14 ` [PATCH v7 04/13] ARC: Atomics and Locking primitives Vineet Gupta
2020-07-02 16:41   ` Adhemerval Zanella
2020-06-15 20:14 ` [PATCH v7 05/13] ARC: math soft float support Vineet Gupta
2020-07-02 16:59   ` Adhemerval Zanella
2020-06-15 20:14 ` [PATCH v7 06/13] ARC: hardware floating point support Vineet Gupta
2020-07-01  0:08   ` [PATCH v7.1 " Vineet Gupta
2020-07-02 18:55     ` Adhemerval Zanella
2020-07-03  0:09       ` Vineet Gupta
2020-07-03  2:16         ` Adhemerval Zanella
2020-07-03  3:05           ` Vineet Gupta
2020-07-03 17:11             ` Adhemerval Zanella
2020-07-07 20:23               ` Vineet Gupta
2020-07-08 16:27                 ` Adhemerval Zanella
2020-06-15 20:14 ` [PATCH v7 07/13] ARC: Linux Syscall Interface Vineet Gupta
2020-07-01  0:08   ` [PATCH v7.1 " Vineet Gupta
2020-07-03  2:47     ` Adhemerval Zanella
2020-07-04  3:54       ` Vineet Gupta
2020-07-06 13:20         ` Adhemerval Zanella
2020-07-07  1:25           ` Vineet Gupta
2020-07-07 19:24             ` Adhemerval Zanella
2020-07-07 20:55               ` [PATCH v7.2 " Vineet Gupta
2020-07-08 16:31                 ` Adhemerval Zanella
2020-07-08 19:32                   ` Vineet Gupta
2020-07-09 16:03                     ` Adhemerval Zanella
2020-07-09 16:24                       ` Vineet Gupta
2020-07-09 16:25                         ` Adhemerval Zanella
2020-07-09 21:13                         ` Vineet Gupta
2020-07-09 21:36                           ` ARC testsuite regressions (was Re: [PATCH v7.2 07/13] ARC: Linux Syscall Interface) Vineet Gupta
2020-07-09 22:01                             ` Alistair Francis
2020-07-09 22:16                               ` Vineet Gupta
2020-07-10  9:28                               ` Florian Weimer
2020-07-10 15:53                                 ` Vineet Gupta
2020-07-10 17:02                                   ` Florian Weimer
2020-07-10 20:07                                     ` Vineet Gupta
2020-07-10 20:32                                       ` Florian Weimer
2020-07-10 19:12                                   ` Alistair Francis
2020-07-10 20:33                                     ` Florian Weimer
2020-07-10 20:56                                       ` Alistair Francis
2020-07-10 19:10                                 ` Alistair Francis
2020-07-07 21:07               ` [PATCH v7.1 07/13] ARC: Linux Syscall Interface Vineet Gupta
2020-07-07 21:32                 ` Joseph Myers
2020-07-07 23:16                   ` Vineet Gupta
2020-07-08 16:27                     ` Adhemerval Zanella
2020-06-15 20:14 ` [PATCH v7 08/13] ARC: Linux ABI Vineet Gupta
2020-07-02 20:44   ` Adhemerval Zanella
2020-07-06 18:33     ` Vineet Gupta [this message]
2020-07-06 18:36       ` Adhemerval Zanella
2020-07-06 18:44         ` Vineet Gupta
2020-06-15 20:14 ` [PATCH v7 09/13] ARC: Linux Startup and Dynamic Loading Vineet Gupta
2020-07-03 16:54   ` Adhemerval Zanella
2020-06-15 20:14 ` [PATCH v7 10/13] ARC: ABI lists Vineet Gupta
2020-07-01  0:09   ` [PATCH v7.1 " Vineet Gupta
2020-07-03 16:56     ` Adhemerval Zanella
2020-06-15 20:14 ` [PATCH v7 11/13] ARC: Build Infrastructure Vineet Gupta
2020-07-03 17:09   ` Adhemerval Zanella
2020-06-15 20:14 ` [PATCH v7 12/13] build-many-glibcs.py: Enable ARC builds Vineet Gupta
2020-07-03 17:37   ` Adhemerval Zanella
2020-06-15 20:14 ` [PATCH v7 13/13] Documentation for ARC port Vineet Gupta
2020-07-03 17:38   ` Adhemerval Zanella
2020-06-23 16:56 ` [PATCH v7 00/13] glibc port to ARC processors Vineet Gupta
2020-07-01  0:11   ` Vineet Gupta
2020-07-01  1:44     ` Adhemerval Zanella
2020-07-01 19:13       ` Vineet Gupta
2020-07-02  1:00         ` ARC math test regressions (was Re: [PATCH v7 00/13] glibc port to ARC processors) Vineet Gupta
2020-07-02  7:17           ` Andreas Schwab
2020-07-02 16:27           ` Joseph Myers
2020-07-02 17:45             ` Vineet Gupta
2020-07-02 21:27       ` [PATCH v7 00/13] glibc port to ARC processors Joseph Myers

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

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

  git send-email \
    --in-reply-to=6d637355-0678-f148-4316-3162ebed3b5a@synopsys.com \
    --to=vineet.gupta1@synopsys.com \
    --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).