lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <2C15D00D262B7245B1D8D1799F04D88F052A6F42@mtw01ex01.mindtree.com>
Date:	Fri, 27 Apr 2007 14:15:48 +0530
From:	"Parav K Pandit" <Parav_Pandit@...dtree.com>
To:	"linux-kernel" <linux-kernel@...r.kernel.org>
Subject: assembly code in the loadable kernel module

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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ