Date: Mon, 12 Sep 2005 22:18:02 GMT From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 83516 for review Message-ID: <200509122218.j8CMI2lU089186@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=83516 Change 83516 by peter@peter_melody on 2005/09/12 22:17:09 Relocate the PLT jump slot entries in a woefully inadequate and incorrect way. I'm ignoring the value and addend records because the two kernel modules that I care about have them all zeros. In the real world this needs to be done correctly because its inevitible that something will put an offset here sooner or later. Affected files ... .. //depot/projects/hammer/sys/amd64/amd64/elf_machdep.c#31 edit Differences ... ==== //depot/projects/hammer/sys/amd64/amd64/elf_machdep.c#31 (text+ko) ==== @@ -195,6 +195,7 @@ break; case R_X86_64_GLOB_DAT: /* S */ + case R_X86_64_JMP_SLOT: /* S */ addr = lookup(lf, symidx, 1); if (addr == 0) return -1;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509122218.j8CMI2lU089186>