Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Rename .bss.page_aligned to .bss..page_aligned.

Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>

authored by

Tim Abbott and committed by
Michal Marek
7c74df07 75b13483

+4 -4
+1 -1
arch/x86/kernel/vmlinux.lds.S
··· 305 305 . = ALIGN(PAGE_SIZE); 306 306 .bss : AT(ADDR(.bss) - LOAD_OFFSET) { 307 307 __bss_start = .; 308 - *(.bss.page_aligned) 308 + *(.bss..page_aligned) 309 309 *(.bss) 310 310 . = ALIGN(4); 311 311 __bss_stop = .;
+1 -1
include/asm-generic/vmlinux.lds.h
··· 499 499 #define BSS(bss_align) \ 500 500 . = ALIGN(bss_align); \ 501 501 .bss : AT(ADDR(.bss) - LOAD_OFFSET) { \ 502 - *(.bss.page_aligned) \ 502 + *(.bss..page_aligned) \ 503 503 *(.dynbss) \ 504 504 *(.bss) \ 505 505 *(COMMON) \
+2 -2
include/linux/linkage.h
··· 19 19 #endif 20 20 21 21 #define __page_aligned_data __section(.data..page_aligned) __aligned(PAGE_SIZE) 22 - #define __page_aligned_bss __section(.bss.page_aligned) __aligned(PAGE_SIZE) 22 + #define __page_aligned_bss __section(.bss..page_aligned) __aligned(PAGE_SIZE) 23 23 24 24 /* 25 25 * For assembly routines. ··· 28 28 * alignment directives yourself 29 29 */ 30 30 #define __PAGE_ALIGNED_DATA .section ".data..page_aligned", "aw" 31 - #define __PAGE_ALIGNED_BSS .section ".bss.page_aligned", "aw" 31 + #define __PAGE_ALIGNED_BSS .section ".bss..page_aligned", "aw" 32 32 33 33 /* 34 34 * This is used by architectures to keep arguments on the stack