aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/boot/compressed/vmlinux_64.lds
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/compressed/vmlinux_64.lds')
-rw-r--r--arch/x86/boot/compressed/vmlinux_64.lds8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86/boot/compressed/vmlinux_64.lds b/arch/x86/boot/compressed/vmlinux_64.lds
index 8d63b3a22ce..f6e5b445f45 100644
--- a/arch/x86/boot/compressed/vmlinux_64.lds
+++ b/arch/x86/boot/compressed/vmlinux_64.lds
@@ -7,11 +7,15 @@ SECTIONS
* address 0.
*/
. = 0;
- .text : {
+ .text.head : {
_head = . ;
*(.text.head)
_ehead = . ;
- *(.text.compressed)
+ }
+ .rodata.compressed : {
+ *(.rodata.compressed)
+ }
+ .text : {
_text = .; /* Text */
*(.text)
*(.text.*)