Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BOLT] Set local symbols in relocation mode to zero
Summary: Strobelight is getting confused by local symbols that we do not update in relocation mode. These symbols were preserved by the linker in relocation mode in order support emitting relocations against local labels, but they are unused. Issue a quick fix to this by detecting such symbols and setting their value to zero. This patch also fixes an issue with the symbol table that was assigning the wrong section index to symbols associated with the .text section. (cherry picked from FBD5271277)
- Loading branch information