Fixes problem 1 of https://bugs.llvm.org/show_bug.cgi?id=36717
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Seems the following comment https://bugs.llvm.org/show_bug.cgi?id=36717#c2 from @jhenderson was never answered.
Can you explain why it is a problem?
Comment Actions
I was very late at my time when I was making the change. The size is encoded in uleb128, so............ the output section naturally contains unaligned entries. An alignment will be a bad idea.
A symbolic relocation referencing a local symbol is fine. If it references a global symbol, there could be problems like https://sourceware.org/bugzilla/show_bug.cgi?id=24896