[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1/4] xz: use initconst for hypervisor build



>>> On 19.06.19 at 13:02, <roger.pau@xxxxxxxxxx> wrote:
> Or else clang adds a .init.rodata.cst8 section to the resulting object
> file, which is not handled by the Xen linker script and can end up
> before the text section which contains the headers, thus resulting in
> a not usable binary.

To be honest I'd prefer if we went with just the change suggested
by Andrew, getting the linker script back in line with
SPECIAL_DATA_SECTIONS. The static const items in the
decompressors were left un-annotated intentionally, since the
.rodata.* thingies want/need taking care of anyway. After all you
won't (I hope) suggest also annotating the various string literals.

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.