https://sourceware.org/bugzilla/show_bug.cgi?id=18372
Bug ID: 18372
Summary: Discarded PE resource sections improperly handled,
assert error in peXXigen.c
Product: binutils
Version: 2.26 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: toni.spets at iki dot fi
Target Milestone: ---
Created attachment 8299
--> https://sourceware.org/bugzilla/attachment.cgi?id=8299&action=edit
Ignore discarded PE rsrc sections
If you /DISCARD/ a resource section in linker script, it is not properly
ignored when merging resources and throws this assert:
i686-w64-mingw32-ld: BFD (GNU Binutils) 2.25 assertion fail peigen.c:4146
Very edge case but I unfortunately hit it. Attached patch ignores these
sections.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils