diff options
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index f1992dc5c424..bf2851f93937 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -67,6 +67,8 @@ | |||
67 | *(.rodata1) \ | 67 | *(.rodata1) \ |
68 | } \ | 68 | } \ |
69 | \ | 69 | \ |
70 | BUG_TABLE \ | ||
71 | \ | ||
70 | /* PCI quirks */ \ | 72 | /* PCI quirks */ \ |
71 | .pci_fixup : AT(ADDR(.pci_fixup) - LOAD_OFFSET) { \ | 73 | .pci_fixup : AT(ADDR(.pci_fixup) - LOAD_OFFSET) { \ |
72 | VMLINUX_SYMBOL(__start_pci_fixups_early) = .; \ | 74 | VMLINUX_SYMBOL(__start_pci_fixups_early) = .; \ |
@@ -312,6 +314,7 @@ | |||
312 | .stab.indexstr 0 : { *(.stab.indexstr) } \ | 314 | .stab.indexstr 0 : { *(.stab.indexstr) } \ |
313 | .comment 0 : { *(.comment) } | 315 | .comment 0 : { *(.comment) } |
314 | 316 | ||
317 | #ifdef CONFIG_GENERIC_BUG | ||
315 | #define BUG_TABLE \ | 318 | #define BUG_TABLE \ |
316 | . = ALIGN(8); \ | 319 | . = ALIGN(8); \ |
317 | __bug_table : AT(ADDR(__bug_table) - LOAD_OFFSET) { \ | 320 | __bug_table : AT(ADDR(__bug_table) - LOAD_OFFSET) { \ |
@@ -319,6 +322,9 @@ | |||
319 | *(__bug_table) \ | 322 | *(__bug_table) \ |
320 | __stop___bug_table = .; \ | 323 | __stop___bug_table = .; \ |
321 | } | 324 | } |
325 | #else | ||
326 | #define BUG_TABLE | ||
327 | #endif | ||
322 | 328 | ||
323 | #ifdef CONFIG_PM_TRACE | 329 | #ifdef CONFIG_PM_TRACE |
324 | #define TRACEDATA \ | 330 | #define TRACEDATA \ |