link.exe ignores REL32 relocations on 32-bit x86, as well as relocations against non-function symbols such as labels. This makes lld do the same.
Details
Details
Diff Detail
Diff Detail
- Repository
- rLLD LLVM Linker
Event Timeline
Comment Actions
I tried this out on 32-bit Chrome's setup.exe, and the cf function table shrinks from 4302 functions to 1160.
Comment Actions
Thanks!
test/COFF/gfids-relocations32.s | ||
---|---|---|
11 | If readobj could symbolize, perhaps with the export table, we could make this readable. |
If readobj could symbolize, perhaps with the export table, we could make this readable.