[CRIU] [PATCH 04/20] multiarch: added the PIE linker script template.

Alexander Kartashov alekskartashov at parallels.com
Wed Dec 12 11:22:27 EST 2012


On 12/12/2012 07:47 PM, Pavel Emelyanov wrote:
> On 12/12/2012 05:34 PM, alekskartashov at parallels.com wrote:
>> From: Alexander Kartashov <alekskartashov at parallels.com>
>>
>> Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
>> ---
>>   pie/pie.lds.S.in |   23 +++++++++++++++++++++++
>>   1 file changed, 23 insertions(+)
>>   create mode 100644 pie/pie.lds.S.in
>>
>> diff --git a/pie/pie.lds.S.in b/pie/pie.lds.S.in
>> new file mode 100644
>> index 0000000..7f8fcb3
>> --- /dev/null
>> +++ b/pie/pie.lds.S.in
>> @@ -0,0 +1,23 @@
>> +SECTIONS
>> +{
>> +	.crblob 0x0 : {
>> +		*(.head.text)
>> +		*(.text)
>> +		. = ALIGN(32);
>> +		*(.data*)
>> +		. = ALIGN(32);
>> +		*(.rodata*)
>> +		. = ALIGN(32);
>> +		*(.bss*)
>> +		. = ALIGN(32);
>> +	} =0x00000000
>> +
>> +	/DISCARD/ : {
>> +		*(.debug*)
>> +		*(.comment*)
>> +		*(.note*)
>> +		*(.group*)
>> +		*(.eh_frame*)
>> +		*(*)
>> +	}
>> +}
>>
> Shouldn't it be instead renamed from existing pie.lds.S rather than being added
> and then removed?
>

Thank you for the advice, it will be fixed in the next version.

-- 
Sincerely yours,
Alexander Kartashov

Intern
Core team

www.parallels.com

Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com



More information about the CRIU mailing list