Files
kernel_arpi/include/linux
Arnd Bergmann 6e7b64b9dd elfcore: fix building with clang
kernel/elfcore.c only contains weak symbols, which triggers a bug with
clang in combination with recordmcount:

  Cannot find symbol for section 2: .text.
  kernel/elfcore.o: failed

Move the empty stubs into linux/elfcore.h as inline functions.  As only
two architectures use these, just use the architecture specific Kconfig
symbols to key off the declaration.

Link: https://lkml.kernel.org/r/20201204165742.3815221-2-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Barret Rhoden <brho@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-12-11 14:02:14 -08:00
..
2020-10-28 13:18:56 +01:00
2020-10-02 14:59:25 -07:00
2020-10-02 15:00:49 -07:00
2020-10-16 17:21:51 +02:00
2020-12-11 14:02:14 -08:00
2020-10-27 16:22:43 +01:00
2020-11-19 22:38:29 -05:00
2020-10-13 18:38:32 -07:00
2020-10-07 14:28:39 -04:00
2020-10-28 11:41:15 -06:00
2020-10-18 09:27:10 -07:00
2020-11-06 10:05:18 -08:00
2020-12-04 17:39:58 +01:00
2020-10-18 09:27:10 -07:00
2020-10-05 13:21:49 +02:00