|
@@ -76,10 +76,10 @@ SECTIONS
|
|
__init_begin = .;
|
|
__init_begin = .;
|
|
.init.text : {
|
|
.init.text : {
|
|
_sinittext = .;
|
|
_sinittext = .;
|
|
- *(.init.text)
|
|
|
|
|
|
+ INIT_TEXT
|
|
_einittext = .;
|
|
_einittext = .;
|
|
}
|
|
}
|
|
- .init.data : { *(.init.data) }
|
|
|
|
|
|
+ .init.data : { INIT_DATA }
|
|
. = ALIGN(16);
|
|
. = ALIGN(16);
|
|
__setup_start = .;
|
|
__setup_start = .;
|
|
.init.setup : { *(.init.setup) }
|
|
.init.setup : { *(.init.setup) }
|
|
@@ -100,8 +100,8 @@ SECTIONS
|
|
.altinstr_replacement : { *(.altinstr_replacement) }
|
|
.altinstr_replacement : { *(.altinstr_replacement) }
|
|
/* .exit.text is discard at runtime, not link time, to deal with references
|
|
/* .exit.text is discard at runtime, not link time, to deal with references
|
|
from .altinstructions and .eh_frame */
|
|
from .altinstructions and .eh_frame */
|
|
- .exit.text : { *(.exit.text) }
|
|
|
|
- .exit.data : { *(.exit.data) }
|
|
|
|
|
|
+ .exit.text : { EXIT_TEXT }
|
|
|
|
+ .exit.data : { EXIT_DATA }
|
|
|
|
|
|
#ifdef CONFIG_BLK_DEV_INITRD
|
|
#ifdef CONFIG_BLK_DEV_INITRD
|
|
. = ALIGN(4096);
|
|
. = ALIGN(4096);
|
|
@@ -124,8 +124,8 @@ SECTIONS
|
|
|
|
|
|
/* Sections to be discarded */
|
|
/* Sections to be discarded */
|
|
/DISCARD/ : {
|
|
/DISCARD/ : {
|
|
- *(.exit.text)
|
|
|
|
- *(.exit.data)
|
|
|
|
|
|
+ EXIT_TEXT
|
|
|
|
+ EXIT_DATA
|
|
*(.exitcall.exit)
|
|
*(.exitcall.exit)
|
|
}
|
|
}
|
|
|
|
|