Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixup code that explicitly references Code Segment 0x5B.
This is the ring-3 32-bit linear address space's code segment, and it is hardcoded on OS/2. Generally it isn't explicitly referenced, but things like CSet/2 would generate thunks that hardcode jmps to it when returning to 32-bit mode, so you have to patch those out (Linux also hardcodes a code segment number, but doesn't promise the value won't change, and indeed, it's different between x86, x86-64, and x86-on-x86-64 apps).
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 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