>>> On 24.08.18 at 11:58, <roger....@citrix.com> wrote: > --- /dev/null > +++ b/tools/firmware/hvmloader/hvmloader.lds > @@ -0,0 +1,13 @@ > +SECTIONS > +{ > + . = 0x100000; > + /* > + * NB: there's no need to use the AT keyword in order to set the LMA, by > + * default the linker will use VMA = LMA unless specified otherwise. > + */ > + .text : { *(.text) } > + .rodata : { *(.rodata) } > + .data : { *(.data) } > + .bss : { *(.bss) } > + _end = .; > +}
Is this really sufficient? Iirc the compiler could create quite a few more variants of the sections named above, like .rodata.str* or .text.cold. Hence at the very least I'd expect .<section> on the right sides above to be accompanied by .<section>.* . Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel