Now I am trying to add a small piece of Assembly program with three
functions (lock, unlock and wait_lock) to do the locking. Reading gcc man
page, it seems gcc will support aseembly source. However, when I add
folowing line:
hpfclock.o:
gcc -c -g $(CFLAGS} ${INCLUDES) hpfclock.s
The gcc doesn't treat hpfclock.s as program file and only take first part as
a function.
Does Linux has a particular assemble compiler, such as masm, for assembly
code?
If not, what line I can put in makefile to make assembley file compiled
successfully?
Thanks!
-eddie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/