Subject: Re: [PATCH v2 2/5] powerpc/boot: Fix crt0.S syntax for clang

From: Segher Boessenkool <[email-masked]>
Date: Fri, 14 Sep 2018 16:08:41 -0500

On Fri, Sep 14, 2018 at 10:47:08AM -0700, Nick Desaulniers wrote:
> On Thu, Sep 13, 2018 at 9:07 PM Joel Stanley <[email-masked]> wrote:
> >  10:    addis   r12,r12,(-RELACOUNT)@ha
> > -       cmpdi   r12,RELACOUNT@l
> > +       cmpdi   r12,(RELACOUNT)@l
> 
> Yep, as we can see above, when RELACOUNT is negated, it's wrapped in
> parens.

The only thing that does is make it easier for humans to read; it means
exactly the same thing.

Segher