Remove redundant section wildcard members in kernel linker script
This commit is contained in:
parent
d1efbdf3bd
commit
2c49f5cec3
1 changed files with 7 additions and 7 deletions
|
@ -16,7 +16,7 @@ SECTIONS
|
|||
*/
|
||||
.text : {
|
||||
/* Match any section that starts with .text. */
|
||||
*(.text .text.*)
|
||||
*(.text*)
|
||||
|
||||
/* Align the next section to a 4KB (page) boundary. */
|
||||
. = ALIGN(0x1000);
|
||||
|
@ -44,9 +44,9 @@ SECTIONS
|
|||
.rodata : {
|
||||
/* Align on quadword boundary. */
|
||||
. = ALIGN(16);
|
||||
*(.srodata .srodata.*) /* do not need to distinguish this from .rodata */
|
||||
*(.srodata*) /* do not need to distinguish this from .rodata */
|
||||
. = ALIGN(16);
|
||||
*(.rodata .rodata.*)
|
||||
*(.rodata*)
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -55,9 +55,9 @@ SECTIONS
|
|||
*/
|
||||
.data : {
|
||||
. = ALIGN(16);
|
||||
*(.sdata .sdata.*) /* do not need to distinguish this from .data */
|
||||
*(.sdata*) /* do not need to distinguish this from .data */
|
||||
. = ALIGN(16);
|
||||
*(.data .data.*)
|
||||
*(.data*)
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -68,9 +68,9 @@ SECTIONS
|
|||
*/
|
||||
.bss : {
|
||||
. = ALIGN(16);
|
||||
*(.sbss .sbss.*) /* do not need to distinguish this from .bss */
|
||||
*(.sbss*) /* do not need to distinguish this from .bss */
|
||||
. = ALIGN(16);
|
||||
*(.bss .bss.*)
|
||||
*(.bss*)
|
||||
}
|
||||
|
||||
/* Define symbol end as current location, note that this is not aligned, see vm.c */
|
||||
|
|
Loading…
Add table
Reference in a new issue