[PATCH] powerpc/boot: Use address-of operator on section symbols
Geoff Levand
geoff at infradead.org
Thu Jun 25 11:18:48 AEST 2020
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 at infradead.org>
More information about the Linuxppc-dev
mailing list