>>> On 19.06.19 at 13:02, <roger....@citrix.com> 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@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel