+
+ if (kvMajor > 6 || (kvMajor == 6 && kvMinor >= 3))
+ {
+ rc = vtoykmod_find_section64(oldbuf, ".gnu.linkonce.this_module", &oldoff, &oldlen, &sec);
+ rc += vtoykmod_find_section64(newbuf, ".gnu.linkonce.this_module", &newoff, &newlen, NULL);
+ if (rc == 0)
+ {
+ debug("section .gnu.linkonce.this_module change oldlen:0x%x to newlen:0x%x\n", oldlen, newlen);
+ if (sec)
+ {
+ sec->sh_size = newlen;
+ }
+ }
+ else
+ {
+ debug("section .gnu.linkonce.this_module not found\n");
+ }
+ }