Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 208084 Details for
Bug 288977
dev-libs/elfutils-0.143 breaks debugedit, which mangles gcc -ffast-math objects when built with FEATURES=installsources
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Lubomir Rintel's patch rebased on elfutils-0.143
elfutils-0.143-elf32_updatefile.c.patch (text/plain), 789 bytes, created by
Hugo Mildenberger
on 2009-10-23 23:02:54 UTC
(
hide
)
Description:
Lubomir Rintel's patch rebased on elfutils-0.143
Filename:
MIME Type:
Creator:
Hugo Mildenberger
Created:
2009-10-23 23:02:54 UTC
Size:
789 bytes
patch
obsolete
>#if fill_mmap() was run for a section that's past the shdr_end, but does >#not immediately follow the section headers the fill start would be >#determined incorrectly as shdr_end, which would wipe off contents of >#sections between shdr_end and current one. >--- a/libelf/elf32_updatefile.c 2009-10-23 21:33:06.000000000 +0200 >+++ b/libelf/elf32_updatefile.c 2009-10-23 21:39:38.000000000 +0200 >@@ -322,8 +322,11 @@ > > if (last_position + written != scn_start + offset > && shdr_end < scn_start + offset) >- memset (shdr_end, __libelf_fill_byte, >- scn_start + offset - shdr_end); >+ { >+ char *fill_start = MAX (shdr_end, scn_start); >+ memset (fill_start, __libelf_fill_byte, >+ scn_start + offset - fill_start); >+ } > } > > if (scn->data_list_rear != NULL)
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 288977
:
207116
|
207285
|
207287
|
207806
|
208000
| 208084