[dpdk-dev] [PATCHv2 1/4] pmdinfogen: Add buildtools and pmdinfogen utility
Neil Horman
nhorman at tuxdriver.com
Thu May 19 14:00:56 CEST 2016
On Thu, May 19, 2016 at 10:51:19AM +0300, Panu Matilainen wrote:
> On 05/19/2016 12:08 AM, Neil Horman wrote:
> [...]
> > + if (strcmp(secname, ".modinfo") == 0) {
> > + if (nobits)
> > + fprintf(stderr, "%s has NOBITS .modinfo\n", filename);
> > + info->modinfo = (void *)hdr + sechdrs[i].sh_offset;
> > + info->modinfo_len = sechdrs[i].sh_size;
> > + } else if (strcmp(secname, "__ksymtab") == 0)
> > + info->export_sec = i;
> > + else if (strcmp(secname, "__ksymtab_unused") == 0)
> > + info->export_unused_sec = i;
> > + else if (strcmp(secname, "__ksymtab_gpl") == 0)
> > + info->export_gpl_sec = i;
> > + else if (strcmp(secname, "__ksymtab_unused_gpl") == 0)
> > + info->export_unused_gpl_sec = i;
> > + else if (strcmp(secname, "__ksymtab_gpl_future") == 0)
> > + info->export_gpl_future_sec = i;
> > +
>
> Looks like a leftover from kernel modpost.c, not needed in DPDK.
>
> - Panu -
>
Yup, I'll remove it
Neil
More information about the dev
mailing list