linux/arch/powerpc/kernel/vdso
Michael Ellerman 42449052c9 powerpc/vdso: No need to undef powerpc for 64-bit build
The vdso Makefile adds -U$(ARCH) to CPPFLAGS for the vdso64.lds linker
script. ARCH is always powerpc, so it becomes -Upowerpc, which means
undefine the "powerpc" symbol.

But the 64-bit compiler doesn't define powerpc in the first place,
compare:

  $ gcc-5.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc -m32 -E -dM - </dev/null | grep -w powerpc
  #define powerpc 1
  $ gcc-5.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc -m64 -E -dM - </dev/null | grep -w powerpc
  $

So there's no need to undefine it for the 64-bit linker script.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231206115548.1466874-2-mpe@ellerman.id.au
2023-12-07 23:34:38 +11:00
..
.gitignore
cacheflush.S powerpc/vdso: Fix __kernel_sync_dicache sequence with coherent icache 2022-07-27 21:36:04 +10:00
datapage.S
gen_vdso32_offsets.sh
gen_vdso64_offsets.sh
getcpu.S
gettimeofday.S powerpc: add CFUNC assembly label annotation 2023-04-20 12:54:24 +10:00
Makefile powerpc/vdso: No need to undef powerpc for 64-bit build 2023-12-07 23:34:38 +11:00
note.S
sigtramp32.S
sigtramp64.S
vdso32.lds.S powerpc/build: vdso linker warning for orphan sections 2023-06-15 14:04:19 +10:00
vdso64.lds.S powerpc/build: vdso linker warning for orphan sections 2023-06-15 14:04:19 +10:00
vgettimeofday.c