On 08/24/2016 03:22 AM, Konrad Rzeszutek Wilk wrote:
So that when we apply the patch again the .bss is cleared.
Otherwise we may find some variables containing old values.
The payloads may contain various .bss - especially if -fdata-sections
is used which can create .bss.<name> sections.
After having thought about this again, I'm not sure it makes much sense.
Any data sections in the payload are not reset to their initial values,
so resetting the bss only may result in an unexpected combination of new
& old data/bss.
Perhaps it just needs to be documented that a payload's bss/data is
untouched across revert/apply?
--
Ross Lagerwall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel