You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, there is no official support yet for IA-16 segment relocations in the ELF file format, and the actual relocation support I implemented into the gcc-ia16 toolchain is rather hacky.
A while back Mr. Anvin (nasm maintainer) actually proposed a way to represent IA-16 segment:offset addresses, which is more rigorous and flexible than the current default method. But there are a few problems:
it is incompatible with the current scheme (which is used by existing code, e.g. the FreeDOS kernel), and
Mr. Anvin has not really implemented the new method in nasm yet, as far as I know.
This is a NASM feature request I submitted, to support calling C functions far with immediate calls from NASM: https://bugzilla.nasm.us/show_bug.cgi?id=3392694
The text was updated successfully, but these errors were encountered: