Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20514e9f authored by Ian Campbell's avatar Ian Campbell Committed by Ingo Molnar
Browse files

x86: switch to .rodata.compressed in arch/x86/boot/compressed/vmlinux_??.scr



vmlinux_64 and vmlinux_32.scr are now identical

size shows an expected movement from .text to .rodata and 4 extra bytes
of padding.

Signed-off-by: default avatarIan Campbell <ijc@hellion.org.uk>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 004426eb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -12,8 +12,8 @@ SECTIONS
		*(.text.head)
		_ehead = . ;
	}
	.data.compressed : {
		*(.data.compressed)
	.rodata.compressed : {
		*(.rodata.compressed)
	}
	.text :	{
		_text = .; 	/* Text */
+1 −1
Original line number Diff line number Diff line
SECTIONS
{
  .data.compressed : {
  .rodata.compressed : {
	input_len = .;
	LONG(input_data_end - input_data) input_data = .;
	*(.data)
+6 −2
Original line number Diff line number Diff line
@@ -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.*)
+1 −1
Original line number Diff line number Diff line
SECTIONS
{
  .text.compressed : {
  .rodata.compressed : {
	input_len = .;
	LONG(input_data_end - input_data) input_data = .;
	*(.data)