Summary: | Incorrect check for .gnu.linkonce section | ||
---|---|---|---|
Product: | binutils | Reporter: | H.J. Lu <hjl.tools> |
Component: | ld | Assignee: | unassigned |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | amodra |
Priority: | P2 | ||
Version: | 2.22 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
H.J. Lu
2011-08-16 18:18:53 UTC
name + sizeof (".gnu.linkonce.") - 2 always starts with a dot, so the check would become pointless. gnu.linkonce section name usually is .gnu.linkonce.TYPE.KEY. But kernel driver may have .gnu.linkonce.this_module. What should be key here? The only reason you would want a key of "this_module" is to match a group with signature "this_module". I don't think that makes a great deal of sense. Hmm, I suppose we are hitting the assert. Feel free to remove it. |