qemu-intel64: simplify linker script
simplify linker script for qemu-intel64 - remove not needed AT instructions Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
parent
f6e4ab25bd
commit
e58efb17cc
|
@ -67,7 +67,8 @@ SECTIONS
|
||||||
_etext = ABSOLUTE(.);
|
_etext = ABSOLUTE(.);
|
||||||
}
|
}
|
||||||
|
|
||||||
.rodata ALIGN(0x1000) : AT ( (LOADADDR (.text) + SIZEOF (.text) + 0xFFF) & 0xFFFFFFFFFFFFF000 )
|
|
||||||
|
.rodata ALIGN(0x1000) :
|
||||||
{
|
{
|
||||||
_srodata = ABSOLUTE(.);
|
_srodata = ABSOLUTE(.);
|
||||||
*(.rodata .rodata.*)
|
*(.rodata .rodata.*)
|
||||||
|
@ -83,7 +84,7 @@ SECTIONS
|
||||||
_erodata = ABSOLUTE(.);
|
_erodata = ABSOLUTE(.);
|
||||||
}
|
}
|
||||||
|
|
||||||
.data ALIGN(0x1000) : AT ( (LOADADDR (.rodata) + SIZEOF (.rodata) + 0xFFF) & 0xFFFFFFFFFFFFF000 )
|
.data ALIGN(0x1000) :
|
||||||
{
|
{
|
||||||
_sdata = ABSOLUTE(.);
|
_sdata = ABSOLUTE(.);
|
||||||
*(.data .data.*)
|
*(.data .data.*)
|
||||||
|
@ -93,7 +94,7 @@ SECTIONS
|
||||||
_edata = ABSOLUTE(.);
|
_edata = ABSOLUTE(.);
|
||||||
}
|
}
|
||||||
|
|
||||||
.bss ALIGN(0x1000) : AT ( (LOADADDR (.data) + SIZEOF (.data) + 0xFFF) & 0xFFFFFFFFFFFFF000 )
|
.bss ALIGN(0x1000) :
|
||||||
{
|
{
|
||||||
_sbss = ABSOLUTE(.);
|
_sbss = ABSOLUTE(.);
|
||||||
*(.bss .bss.*)
|
*(.bss .bss.*)
|
||||||
|
|
Loading…
Reference in New Issue