On Wed, 2015-06-17 at 10:56 +0100, Wei Liu wrote: > On Thu, Jun 11, 2015 at 06:05:20PM +0200, Roger Pau Monne wrote: > > xc_dom_load_elf_symtab was incorrectly trying to perform the same > > calculations already done in elf_parse_bsdsyms when load == 0 is used. > > Instead of trying to repeat the calculations, just trust what > > elf_parse_bsdsyms has already accounted for. > > > > This also simplifies the code by allowing the non-load case to return > > earlier. > > > > Signed-off-by: Roger Pau Monné <roger....@citrix.com> > > Cc: Ian Jackson <ian.jack...@eu.citrix.com> > > Cc: Stefano Stabellini <stefano.stabell...@eu.citrix.com> > > Cc: Ian Campbell <ian.campb...@citrix.com> > > Cc: Wei Liu <wei.l...@citrix.com> > > Acked-by: Wei Liu <wei.l...@citrix.com>
Applied, thanks (#1 was committed by Jan already). _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel