mirror of
https://github.com/asmjit/asmjit
synced 2026-06-08 13:13:30 +00:00
64a88ed1d8
* Always use both base_address and section_offset to check whether
the current position in code is absolute.
* Before this work, it was possible in some places to get invalid
offsets because the section was not .text, but base_address was
set.
* Additionally, beacuse the first section is special, it always
needs the highest possible order, so no section can go before
it - this ensures compatibility with all past code that only
used the first section with base_address set and expected that
the code being emitted will always be absolute.