[syslinux] com32: custom int3 handler

H. Peter Anvin hpa at zytor.com
Mon Nov 22 08:13:08 PST 2004


Jeff Kalikstein wrote:
> 
> Call me stubborn, but I just really like keeping my
> code inside of C files.  I took your suggestion above
> and hacked it into the following (which works!):
> 
[...]
> 
> I couldn't figure out how to let the gcc inline
> assembler export it's labels to the rest of the C
> code, so you see the ugly little hack I did there.  Is
> there a better way?  I'm pretty new to this low level
> gcc stuff, and I really appreciate your insight.
> 

Yes, use a .S file.  You're always going to lose if you insist on using a 
hammer instead of a screwdriver.

	-hpa




More information about the Syslinux mailing list