PERFORCE change 83516 for review
Peter Wemm
peter at FreeBSD.org
Mon Sep 12 15:18:04 PDT 2005
http://perforce.freebsd.org/chv.cgi?CH=83516
Change 83516 by peter at 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;
More information about the p4-projects
mailing list