Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85566 - grub 0.96 + netboot needs some pic loving
Summary: grub 0.96 + netboot needs some pic loving
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-16 15:58 UTC by SpanKY
Modified: 2005-07-21 19:22 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2005-03-16 15:58:22 UTC
see Bug 80693 for history here
Comment 1 PaX Team 2005-05-08 14:22:47 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).
Comment 2 SpanKY gentoo-dev 2005-05-08 22:11:07 UTC
thanks pax guys ... ive merged these changes into 0.96-r2

swegener: could you take this patch upstream please ?
Comment 3 SpanKY gentoo-dev 2005-07-21 19:22:09 UTC
e-mailed upstream