[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200625022228.GA2871607@ubuntu-n2-xlarge-x86>
Date: Wed, 24 Jun 2020 19:22:28 -0700
From: Nathan Chancellor <natechancellor@...il.com>
To: Geoff Levand <geoff@...radead.org>
Cc: Michael Ellerman <mpe@...erman.id.au>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com, Joel Stanley <joel@....id.au>
Subject: Re: [PATCH] powerpc/boot: Use address-of operator on section symbols
Hi Geoff,
On Wed, Jun 24, 2020 at 06:18:48PM -0700, Geoff Levand wrote:
> Hi Nathan,
>
> On 6/23/20 8:59 PM, Nathan Chancellor wrote:
> > These are not true arrays, they are linker defined symbols, which are
> > just addresses. Using the address of operator silences the warning
> > and does not change the resulting assembly with either clang/ld.lld
> > or gcc/ld (tested with diff + objdump -Dr).
>
> Thanks for your patch. I tested this patch applied to v5.8-rc2 on a
> PS3 and it seems OK.
>
> Tested-by: Geoff Levand <geoff@...radead.org>
Thanks a lot for the quick response and testing, I really appreciate it!
Cheers,
Nathan
Powered by blists - more mailing lists