Summary: | grub 0.96 + netboot needs some pic loving | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pageexec, rockoo, swegener |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
SpanKY
2005-03-16 15:58:22 UTC
a while ago i fixed netboot/main.c for PIE/PIC: --- grub-0.94.orig/netboot/main.c 2004-05-11 10:38:24.000000000 +0200 +++ grub-0.94/netboot/main.c 2003-07-09 13:45:37.000000000 +0200 @@ -701,7 +701,7 @@ "adcw %%ax,%0\n\t" /* add carry of previous iteration */ "loop 1b\n\t" "adcw $0,%0" /* add carry of last iteration */ - : "=b" (*sum), "=S"(start), "=c"(len) + : "=r" (*sum), "=S"(start), "=c"(len) : "0"(*sum), "1"(start), "2"(len) : "ax", "cc" ); on another note, there's this nxstack patch that looks quite messy but it seems to remove nested functions for good, in that case the ebuild need no longer call chpax/paxctl (not that if it was needed before, E/EMUTRAMP detection worked fine). thanks pax guys ... ive merged these changes into 0.96-r2 swegener: could you take this patch upstream please ? e-mailed upstream |