mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
make: Sanitize pie.lds.S
Build one "section for all" only. This reflects what we really do runtime with generated parasite and restorer blobs. Signle section is named as ".crblob". Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
e2f745b920
commit
662bfd5fbc
28
pie.lds.S
28
pie.lds.S
@ -3,16 +3,26 @@ OUTPUT_ARCH(i386:x86-64)
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = 0;
|
||||
.text : {
|
||||
.crblob 0x0 : {
|
||||
*(.head.text)
|
||||
*(.text)
|
||||
. = ALIGN(8);
|
||||
}
|
||||
.data : {
|
||||
*(.data)
|
||||
*(.rodata)
|
||||
*(.bss)
|
||||
. = ALIGN(8);
|
||||
. = ALIGN(32);
|
||||
*(.data*)
|
||||
. = ALIGN(32);
|
||||
*(.rodata*)
|
||||
. = ALIGN(32);
|
||||
*(.bss*)
|
||||
. = ALIGN(32);
|
||||
*(.export)
|
||||
. = ALIGN(32);
|
||||
} =0x00000000
|
||||
|
||||
/DISCARD/ : {
|
||||
*(.debug*)
|
||||
*(.comment*)
|
||||
*(.note*)
|
||||
*(.group*)
|
||||
*(.eh_frame*)
|
||||
*(*)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user