[syslinux] Exporting real-mode functions

H. Peter Anvin hpa at zytor.com
Mon Jun 1 09:55:11 PDT 2009


A question was asked on the IRC channel about how to get the address of
a real-mode symbol -- or any assembly symbol in general.

The answer is that you have to declare it global.

In NASM syntax:

		global func
func:

In GAS syntax:

		.globl func
func:

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.




More information about the Syslinux mailing list