The .s file I have created looks like this:

#include <sys/asm_linkage.h
ENTRY(magic_1)
sethi   (1), %g0
SET_SIZE(magic_1)

ENTRY(magic_2)
sethi   (2), %g0
SET_SIZE(magic_2)
I'm not a sparc assembler expert. But, if these are functions then where is the return instruction (is it retl?)
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to