diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 4e2e1cc505ab..d1ea7ce0b4cb 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -530,9 +530,18 @@ | |||
530 | *(.scommon) \ | 530 | *(.scommon) \ |
531 | } | 531 | } |
532 | 532 | ||
533 | /* | ||
534 | * Allow archectures to redefine BSS_FIRST_SECTIONS to add extra | ||
535 | * sections to the front of bss. | ||
536 | */ | ||
537 | #ifndef BSS_FIRST_SECTIONS | ||
538 | #define BSS_FIRST_SECTIONS | ||
539 | #endif | ||
540 | |||
533 | #define BSS(bss_align) \ | 541 | #define BSS(bss_align) \ |
534 | . = ALIGN(bss_align); \ | 542 | . = ALIGN(bss_align); \ |
535 | .bss : AT(ADDR(.bss) - LOAD_OFFSET) { \ | 543 | .bss : AT(ADDR(.bss) - LOAD_OFFSET) { \ |
544 | BSS_FIRST_SECTIONS \ | ||
536 | *(.bss..page_aligned) \ | 545 | *(.bss..page_aligned) \ |
537 | *(.dynbss) \ | 546 | *(.dynbss) \ |
538 | *(.bss) \ | 547 | *(.bss) \ |