Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 45404 Details for
Bug 69724
scilab/scicos libtool interface lacking '--tag' option
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
solves text relocations in grub binary
grub-0.94-textrel.patch (text/plain), 999 bytes, created by
Peter S. Mazinger
on 2004-12-06 15:41:49 UTC
(
hide
)
Description:
solves text relocations in grub binary
Filename:
MIME Type:
Creator:
Peter S. Mazinger
Created:
2004-12-06 15:41:49 UTC
Size:
999 bytes
patch
obsolete
>--- stage2/char_io.c.mps Mon May 10 22:20:57 2004 >+++ stage2/char_io.c Mon May 10 22:27:54 2004 >@@ -1162,33 +1162,42 @@ > } > #endif /* ! STAGE1_5 */ > >+#ifdef __PIC__ >+extern char _start[]; >+extern char _end[]; >+#endif >+ > int > memcheck (int addr, int len) > { > #ifdef GRUB_UTIL >+#ifdef __PIC__ >+ if (_start <= addr && _end > addr + len) >+#else > static int start_addr (void) > { > int ret; > # if defined(HAVE_START_SYMBOL) > asm volatile ("movl $start, %0" : "=a" (ret)); > # elif defined(HAVE_USCORE_START_SYMBOL) > asm volatile ("movl $_start, %0" : "=a" (ret)); > # endif > return ret; > } > > static int end_addr (void) > { > int ret; > # if defined(HAVE_END_SYMBOL) > asm volatile ("movl $end, %0" : "=a" (ret)); > # elif defined(HAVE_USCORE_END_SYMBOL) > asm volatile ("movl $_end, %0" : "=a" (ret)); > # endif > return ret; > } > > if (start_addr () <= addr && end_addr () > addr + len) >+#endif > return ! errnum; > #endif /* GRUB_UTIL */ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 69724
:
45402
| 45404