mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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>
This commit is contained in:
parent
75b1348372
commit
7c74df07f9
3 changed files with 4 additions and 4 deletions
|
@ -305,7 +305,7 @@ SECTIONS
|
||||||
. = ALIGN(PAGE_SIZE);
|
. = ALIGN(PAGE_SIZE);
|
||||||
.bss : AT(ADDR(.bss) - LOAD_OFFSET) {
|
.bss : AT(ADDR(.bss) - LOAD_OFFSET) {
|
||||||
__bss_start = .;
|
__bss_start = .;
|
||||||
*(.bss.page_aligned)
|
*(.bss..page_aligned)
|
||||||
*(.bss)
|
*(.bss)
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__bss_stop = .;
|
__bss_stop = .;
|
||||||
|
|
|
@ -499,7 +499,7 @@
|
||||||
#define BSS(bss_align) \
|
#define BSS(bss_align) \
|
||||||
. = ALIGN(bss_align); \
|
. = ALIGN(bss_align); \
|
||||||
.bss : AT(ADDR(.bss) - LOAD_OFFSET) { \
|
.bss : AT(ADDR(.bss) - LOAD_OFFSET) { \
|
||||||
*(.bss.page_aligned) \
|
*(.bss..page_aligned) \
|
||||||
*(.dynbss) \
|
*(.dynbss) \
|
||||||
*(.bss) \
|
*(.bss) \
|
||||||
*(COMMON) \
|
*(COMMON) \
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define __page_aligned_data __section(.data..page_aligned) __aligned(PAGE_SIZE)
|
#define __page_aligned_data __section(.data..page_aligned) __aligned(PAGE_SIZE)
|
||||||
#define __page_aligned_bss __section(.bss.page_aligned) __aligned(PAGE_SIZE)
|
#define __page_aligned_bss __section(.bss..page_aligned) __aligned(PAGE_SIZE)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* For assembly routines.
|
* For assembly routines.
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
* alignment directives yourself
|
* alignment directives yourself
|
||||||
*/
|
*/
|
||||||
#define __PAGE_ALIGNED_DATA .section ".data..page_aligned", "aw"
|
#define __PAGE_ALIGNED_DATA .section ".data..page_aligned", "aw"
|
||||||
#define __PAGE_ALIGNED_BSS .section ".bss.page_aligned", "aw"
|
#define __PAGE_ALIGNED_BSS .section ".bss..page_aligned", "aw"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is used by architectures to keep arguments on the stack
|
* This is used by architectures to keep arguments on the stack
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue