-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, we were improperly distinguishing object symbols versus function symbols by looking at the type of the relocation. We now use the type of the underlying symbol to know precisely whether we're relocating an object or a function. Furthermore, we now also consider symbol binding, in two situations: * It is fine for a WEAK bound symbol to not have a relocation - we emit a warning when this is the case, and do relocate if a symbol is available, but some weird artifacts (e.g., `_Jv_RegisterClasses`, which seems to be some Java stuff and would do some extra work if it were to exist) do not seem to have definitions; * We only eagerly relocate against GLOBAL bound symbols, not against LOCAL ones.
- Loading branch information
Showing
3 changed files
with
45 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters