You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
all archs: consolidate init and exit sections in vmlinux.lds.h
This patch consolidate all definitions of .init.text, .init.data and .exit.text, .exit.data section definitions in the generic vmlinux.lds.h. This is a preparational patch - alone it does not buy us much good. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
@@ -114,11 +114,11 @@ SECTIONS
|
||||
__init_begin = .;
|
||||
.init.text : {
|
||||
_sinittext = .;
|
||||
*(.init.text)
|
||||
INIT_TEXT
|
||||
_einittext = .;
|
||||
}
|
||||
.init.data : {
|
||||
*(.init.data)
|
||||
INIT_DATA
|
||||
}
|
||||
. = ALIGN(16);
|
||||
.init.setup : {
|
||||
@@ -144,10 +144,10 @@ SECTIONS
|
||||
* references from .rodata
|
||||
*/
|
||||
.exit.text : {
|
||||
*(.exit.text)
|
||||
EXIT_TEXT
|
||||
}
|
||||
.exit.data : {
|
||||
*(.exit.data)
|
||||
EXIT_DATA
|
||||
}
|
||||
#if defined(CONFIG_BLK_DEV_INITRD)
|
||||
. = ALIGN(_PAGE_SIZE);
|
||||
|
||||
Reference in New Issue
Block a user