Re: [kvm-unit-tests PATCH v3 2/6] lib/stack: print base addresses on relocation setups

Andrew Jones
2023-07-01T11:34:43Z

On Wed, Jun 28, 2023 at 12:13:51AM +0000, Nadav Amit wrote:
...
> diff --git a/powerpc/Makefile.common b/powerpc/Makefile.common
> index 8ce0034..c2e976e 100644
> --- a/powerpc/Makefile.common
> +++ b/powerpc/Makefile.common
> @@ -24,6 +24,7 @@ CFLAGS += -ffreestanding
> CFLAGS += -O2 -msoft-float -mno-altivec $(mabi_no_altivec)
> CFLAGS += -I $(SRCDIR)/lib -I $(SRCDIR)/lib/libfdt -I lib
> CFLAGS += -Wa,-mregnames
> +CFLAGS += -DCONFIG_RELOC
>

I dropped this change. powerpc doesn't define _text and _etext.
I'll leave it to the ppc people to decide if they want this and
want to add _text and _etext to get it.

Thanks,
drew