public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* assembly code in the loadable kernel module
@ 2007-04-27  8:45 Parav K Pandit
  2007-04-27  9:40 ` Jan Engelhardt
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Parav K Pandit @ 2007-04-27  8:45 UTC (permalink / raw)
  To: linux-kernel

Hi,

I have written one function in assembly for my kernel module.
Function is in module3.s file.
I have added the module3.o file in the object list in the Makefile.
But it shows compile time warning and following output.

What do I need to do to compile assembly code in my kernel module.

CC [M]  /home/parav/cache_improve/test_module/module1.o
CC [M]  /home/parav/cache_improve/test_module/module2.o
as -a32 -o /home/parav/cache_improve/test_module/module3.o
/home/parav/cache_improve/test_module/module3.s
LD [M]  /home/parav/cache_improve/test_module/sdk3_module.o
Building modules, stage 2.
MODPOST
Warning: could not find /home/parav/cache_improve/test_module/.module3.o.cmd
for /home/parav/cache_improve/test_module/module3.o
*** Warning: "test_func"
[/home/parav/cache_improve/test_module/sdk3_module.ko] undefined!
*** Warning: "" [/home/parav/cache_improve/test_module/sdk3_module.ko]
undefined!

I expect CC[M] kind of command for the module3.o file also so that
.module3.o.cmd file gets generated.

Regards,
Parav Pandit



DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return  e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.  Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-05-01 13:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-27  8:45 assembly code in the loadable kernel module Parav K Pandit
2007-04-27  9:40 ` Jan Engelhardt
2007-04-27 10:59 ` Sam Ravnborg
2007-04-27 11:27 ` linux-os (Dick Johnson)
2007-04-27 11:57   ` Marat Buharov
2007-04-27 12:11     ` Robert P. J. Day
2007-04-27 16:12     ` Daniel Hazelton
2007-04-27 21:06       ` linux-os (Dick Johnson)
2007-05-01 13:08         ` Valdis.Kletnieks
2007-04-27 21:31       ` Lee Revell
2007-04-27 21:55         ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox