>>> On 18.09.17 at 21:37, <konrad.w...@oracle.com> wrote: > On Tue, Sep 12, 2017 at 02:57:04AM -0600, Jan Beulich wrote: >> >>> On 12.09.17 at 02:22, <kon...@kernel.org> wrote: >> > If I compile the test-case under ARM32 it works OK (as the >> > .livepatch.depends ends up being aligned to four bytes). >> >> So why is that? What entity is creating this section (or the >> directive(s) to create it)? > > gcc > > Looking at the xen_bye_world.o produced by cross-compiler: > > xen_bye_world.o: file format elf32-littlearm > > Contents of section .rodata: > 0000 78656e5f 65787472 615f7665 7273696f xen_extra_versio > 0010 6e00 n. > > And native: > > xen_bye_world.o: file format elf32-littlearm > > Contents of section .rodata: > 0000 78656e5f 65787472 615f7665 7273696f xen_extra_versio > 0010 6e000000 n...
This may rather be a gas than a gcc behavioral difference. What's the alignment of .rodata in both cases? Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel