diff options
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 55413e568f07..a19120c4e109 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -628,6 +628,14 @@ | |||
628 | #define INITRAMFS | 628 | #define INITRAMFS |
629 | #endif | 629 | #endif |
630 | 630 | ||
631 | #define DISCARDS \ | ||
632 | /DISCARD/ : { \ | ||
633 | EXIT_TEXT \ | ||
634 | EXIT_DATA \ | ||
635 | *(.exitcall.exit) \ | ||
636 | *(.discard) \ | ||
637 | } | ||
638 | |||
631 | /** | 639 | /** |
632 | * PERCPU_VADDR - define output section for percpu area | 640 | * PERCPU_VADDR - define output section for percpu area |
633 | * @vaddr: explicit base address (optional) | 641 | * @vaddr: explicit base address (optional) |