NASM __i686.get_pc_thunk
NASM __i686.get_pc_thunk
- Subject: NASM __i686.get_pc_thunk
- From: "mm w" <email@hidden>
- Date: Thu, 2 Aug 2007 16:00:10 +0200
-------------------- lp.asm --------------------
global _main
extern _printf
section .text
_main:
push say
call _printf
add esp, 4
ret
say:
db 'Lupus Magnus', 10, 0
-------------------- lp.asm --------------------
----------------------------------------------------
$> nasm -f macho -o lp_nasm.o lp.asm
$> nm lp_nasm.o
00000000 T _main
U _printf
00000011 t say
----------------------------------------------------
did i miss something ?
+
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden