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: Ian Campbell <ijc@hellion.org.uk> Cc: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
004426eb29
commit
20514e9f6e
|
@ -12,8 +12,8 @@ SECTIONS
|
||||||
*(.text.head)
|
*(.text.head)
|
||||||
_ehead = . ;
|
_ehead = . ;
|
||||||
}
|
}
|
||||||
.data.compressed : {
|
.rodata.compressed : {
|
||||||
*(.data.compressed)
|
*(.rodata.compressed)
|
||||||
}
|
}
|
||||||
.text : {
|
.text : {
|
||||||
_text = .; /* Text */
|
_text = .; /* Text */
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
.data.compressed : {
|
.rodata.compressed : {
|
||||||
input_len = .;
|
input_len = .;
|
||||||
LONG(input_data_end - input_data) input_data = .;
|
LONG(input_data_end - input_data) input_data = .;
|
||||||
*(.data)
|
*(.data)
|
||||||
|
|
|
@ -7,11 +7,15 @@ SECTIONS
|
||||||
* address 0.
|
* address 0.
|
||||||
*/
|
*/
|
||||||
. = 0;
|
. = 0;
|
||||||
.text : {
|
.text.head : {
|
||||||
_head = . ;
|
_head = . ;
|
||||||
*(.text.head)
|
*(.text.head)
|
||||||
_ehead = . ;
|
_ehead = . ;
|
||||||
*(.text.compressed)
|
}
|
||||||
|
.rodata.compressed : {
|
||||||
|
*(.rodata.compressed)
|
||||||
|
}
|
||||||
|
.text : {
|
||||||
_text = .; /* Text */
|
_text = .; /* Text */
|
||||||
*(.text)
|
*(.text)
|
||||||
*(.text.*)
|
*(.text.*)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
.text.compressed : {
|
.rodata.compressed : {
|
||||||
input_len = .;
|
input_len = .;
|
||||||
LONG(input_data_end - input_data) input_data = .;
|
LONG(input_data_end - input_data) input_data = .;
|
||||||
*(.data)
|
*(.data)
|
||||||
|
|
Loading…
Reference in New Issue