-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of non-volatile unresolved symrefs on ppc32
As it turns out, under certain corner cases we can generate unresolved symrefs that are not marked as volatile. In the event that such a symref is loaded as a long on ppc32, LoadStoreHandler would get confused and fail to use its handling for unresolved on such symrefs. Instead, it would generate two separate loads/stores, leaving an unused snippet that will cause a crash later. This has been corrected and LoadStoreHandler now checks for unresolved before checking volatility. Signed-off-by: Ben Thomas <ben@benthomas.ca>
- Loading branch information
1 parent
5d25291
commit 6bfb49b
Showing
1 changed file
with
57 additions
and
57 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