linux/arch
Peter Zijlstra b5effd3815 debug: Fix __bug_table[] in arch linker scripts
The kbuild test robot reported this build failure on a number
of architectures:

 >         make.cross ARCH=arm
 >    lib/lib.a(bug.o): In function `find_bug':
 > >> lib/bug.c:135: undefined reference to `__start___bug_table'
 > >> lib/bug.c:135: undefined reference to `__stop___bug_table'

Caused by:

  19d436268d ("debug: Add _ONCE() logic to report_bug()")

Which moved the BUG_TABLE from RO_DATA_SECTION() to RW_DATA_SECTION(),
but a number of architectures don't use RW_DATA_SECTION(), so they
ended up with no __bug_table[] ...

Ideally all those would use RW_DATA_SECTION() in their linker scripts,
but that's for another day.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: kbuild test robot <fengguang.wu@intel.com>
Cc: kbuild-all@01.org
Cc: tipbuild@zytor.com
Link: http://lkml.kernel.org/r/20170330154927.o6qmgfp4bdhrajbm@hirez.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-04-03 10:22:40 +02:00
..
alpha sched/headers: Move task->mm handling methods to <linux/sched/mm.h> 2017-03-03 01:43:28 +01:00
arc arch, mm: convert all architectures to use 5level-fixup.h 2017-03-09 11:48:47 -08:00
arm debug: Fix __bug_table[] in arch linker scripts 2017-04-03 10:22:40 +02:00
arm64 debug: Add _ONCE() logic to report_bug() 2017-03-30 09:37:20 +02:00
avr32 debug: Fix __bug_table[] in arch linker scripts 2017-04-03 10:22:40 +02:00
blackfin debug: Fix __bug_table[] in arch linker scripts 2017-04-03 10:22:40 +02:00
c6x debug: Fix __bug_table[] in arch linker scripts 2017-04-03 10:22:40 +02:00
cris debug: Fix __bug_table[] in arch linker scripts 2017-04-03 10:22:40 +02:00
frv debug: Fix __bug_table[] in arch linker scripts 2017-04-03 10:22:40 +02:00
h8300 arch, mm: convert all architectures to use 5level-fixup.h 2017-03-09 11:48:47 -08:00
hexagon arch, mm: convert all architectures to use 5level-fixup.h 2017-03-09 11:48:47 -08:00
ia64 debug: Fix __bug_table[] in arch linker scripts 2017-04-03 10:22:40 +02:00
m32r sched/headers: Move task->mm handling methods to <linux/sched/mm.h> 2017-03-03 01:43:28 +01:00
m68k sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
metag arch, mm: convert all architectures to use 5level-fixup.h 2017-03-09 11:48:47 -08:00
microblaze arch, mm: convert all architectures to use 5level-fixup.h 2017-03-09 11:48:47 -08:00
mips debug: Fix __bug_table[] in arch linker scripts 2017-04-03 10:22:40 +02:00
mn10300 arch, mm: convert all architectures to use 5level-fixup.h 2017-03-09 11:48:47 -08:00
nios2 arch, mm: convert all architectures to use 5level-fixup.h 2017-03-09 11:48:47 -08:00
openrisc openrisc: Export symbols needed by modules 2017-03-16 00:12:57 +09:00
parisc debug: Add _ONCE() logic to report_bug() 2017-03-30 09:37:20 +02:00
powerpc debug: Fix __bug_table[] in arch linker scripts 2017-04-03 10:22:40 +02:00
s390 debug: Add _ONCE() logic to report_bug() 2017-03-30 09:37:20 +02:00
score Fixup for arch/score after extable.h introduction 2017-03-11 14:16:50 -08:00
sh debug: Add _ONCE() logic to report_bug() 2017-03-30 09:37:20 +02:00
sparc arch, mm: convert all architectures to use 5level-fixup.h 2017-03-09 11:48:47 -08:00
tile arch, mm: convert all architectures to use 5level-fixup.h 2017-03-09 11:48:47 -08:00
um x86/debug: Implement __WARN() using UD0 2017-03-27 10:20:28 +02:00
unicore32 arch, mm: convert all architectures to use 5level-fixup.h 2017-03-09 11:48:47 -08:00
x86 debug: Fix __bug_table[] in arch linker scripts 2017-04-03 10:22:40 +02:00
xtensa arch, mm: convert all architectures to use 5level-fixup.h 2017-03-09 11:48:47 -08:00
.gitignore
Kconfig scripts/spelling.txt: add "an user" pattern and fix typo instances 2017-02-27 18:43:46 -08:00