PERFORCE change 28156 for review
Peter Wemm
peter at FreeBSD.org
Fri Apr 4 19:51:01 PST 2003
http://perforce.freebsd.org/chv.cgi?CH=28156
Change 28156 by peter at peter_overcee on 2003/04/04 19:50:55
make this compile.. XXX hiding here
Affected files ...
.. //depot/projects/hammer/sys/x86_64/x86_64/elf_machdep.c#6 edit
Differences ...
==== //depot/projects/hammer/sys/x86_64/x86_64/elf_machdep.c#6 (text+ko) ====
@@ -117,7 +117,7 @@
}
if (local) {
- if (rtype == R_386_RELATIVE) { /* A + B */
+ if (rtype == R_X86_64_RELATIVE) { /* A + B */
addr = relocbase + addend;
if (*where != addr)
*where = addr;
@@ -144,7 +144,7 @@
if (addr == 0)
return -1;
addr += addend - (Elf_Addr)where;
- XXX needs to be 32 bit *where, not 64 bit
+ /* XXX needs to be 32 bit *where, not 64 bit */
if (*where != addr)
*where = addr;
break;
More information about the p4-projects
mailing list