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 -