-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store linkage table addresses as offsets from the table base
If we want to make linkage space relocatable (not to suggest that it's easy or even possible), then table-relative values will make more sense. And for detecting overflow, check if the entry being written ends at or below the space end, not whether it starts strictly below the end, in case the table size is not an exact multiple of the entry size.
- Loading branch information
Showing
2 changed files
with
22 additions
and
21 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